Questions tagged [vonage]
For questions relating to usage of the Vonage (formerly Nexmo and OpenTok) communications APIs for Messaging (SMS, MMS, social chats apps such as Facebook Messenger and WhatsApp), Verify, Voice, and Video, as well as associated tooling and language-specific SDKs.
312
questions
0
votes
0
answers
11
views
Getting rid of excess blank buffer from tokbox audio bus
I have a requirement to programmatically read the buffer of tokbox audio bus. As per their documentation [here][1]
they are asking you to continually call ReadRenderData method with the amount of ...
0
votes
0
answers
23
views
Vonage Api Call Function
Hey I got my code to receive calls but for some reason when I run the script it doesn’t place an out going call. I am not getting no error message or anything it just simply won’t call,But I set up ...
0
votes
0
answers
23
views
Symfony SMS - multiple transporters
I am just updating my symfony project to send sms with VONAGE
https://symfony.com/doc/current/notifier.html
I used to have nexmo package to send it, so I could send either by NAME or a number. However ...
-1
votes
1
answer
42
views
Vonage Voice Api Calling Error : Exception has occurred: TypeError Expecting a PEM-formatted key
import os
from os.path import join, dirname
from pprint import pprint
from vonage import *
from dotenv import load_dotenv
dotenv_path = join(dirname(file), "../.env")
load_dotenv(...
0
votes
1
answer
32
views
Opentalk(Vonage) API set callertune for detect phone call ringing
How to detect the time when a phone starts ringing for outgoing calls.I am developing an application in which i am trying to make a call programatically and when call is connected to internet like ...
2
votes
1
answer
109
views
Android device shows microphone is actively being used even though session is paused and audio is disabled
Start publishing to a session, notice that Android OS now reports that camera and microphone is being used by the app, which is fine.
Call session.onPause() followed by publisher.publishAudio = false....
0
votes
3
answers
132
views
How to change the back of video in vonage
Members,
I am using Vonage API for video calling.
I want to change the video background, Can anyone guide me on this.!
Looking forward to hearing from you!!
Thank you!!
0
votes
0
answers
75
views
From Vonage video API to Vonage Business Communications app
Goodmorning,
I need to build a simple web app in which an user push a button, after pressing it a video call starts and I am trying to find the easyest solution.
In few minutes I was able to embed a ...
0
votes
0
answers
106
views
Laravel prevent sending to notification channel with return statement
I'm trying to prevent sending to my Nexmo SMS notification channel based on some criteria in my project. I've already got some code to prevent sending to my channel in my via method which seems to ...
0
votes
0
answers
40
views
Tokbox / Opentok Session has reached its connection limit
We have implemented a Tokbox/Opeontok application for live video stream which generally works great but we've had quite a few users unable to join a session and encountering an error message 'Session ...
0
votes
0
answers
49
views
React native can't send sms with Vonage Nexmo
I am trying to send sms via Vonage Nexmo, I get this error:
{"_bodyBlob": {"_data": {"__collector": [Object], "blobId": "03232404-7668-4E97-ADB3-...
1
vote
1
answer
188
views
Incoming call notification - Android/iOS
I am developing a voip based phone call app specially for video conferencing type calls. Everything works via normal push notifications.
how do I show incoming call screen with sound e.g.
I am trying ...
0
votes
0
answers
87
views
Experienced sound volume issues with Tokbox/Vonage Video API on iPhone to iPhone calls?
We've implemented Vonage's Video API in our application without any significant problems until we recently noticed a very low sound volume for one of the two participants on a video call when the ...
0
votes
1
answer
60
views
Vonage voice API
We built an application using Vonage voice API, in which the inbound call is received on the webpage. However, we are not finding a way to fetch and display caller ID/caller phone number from the ...
0
votes
1
answer
112
views
Laravel 8.0 Warning with Nexmo-Bridge
i have a problem since upgrading to laravel 8.0 with vonage/Nexmo. The website still works but CronJobs doesn't work (because of the Warning probably?).
Here is the Warning that appears in the Apache ...
0
votes
1
answer
44
views
Opentok / Vonage screenshot sample for Android return solid green image
We tried the code sample provided by Opentok for capturing screenshot of publisher but it is not working. It returns solid green screen. Can some one please provide working code sample?
0
votes
1
answer
204
views
How to resolve 'system:error:invalid-token' In Nexmo Vonage SDK changing to a new app in the same account
I am using "@vonage/server-sdk": "2.10.7-beta-2" package on server to create users in Vonage.
To create the user, I used this API
const Vonage = require('@vonage/server-sdk');
...
0
votes
0
answers
37
views
OpenTok | Subscribe stream error | 1600 - OTSubscriberWebRTCError
I have developed an app with Ionic Framework and used the plugin "cordova-plugin-opentok" v3.4.1 (last version 3.4.3 produces an error) to implement OpenTok video calls for medical ...
0
votes
1
answer
34
views
How can I add a user name to a nexmo sms sent directly
I need to send an sms containing the user name, how can I do that in laravel please?
0
votes
1
answer
66
views
How can I send an nexmo SMS using livewire?
I have my codes working fine but the SMS is not sent to the mobile number. I am using livewire components and everywhere I'm searching about Nexmo sms notification, it about using controllers. How can ...
0
votes
0
answers
56
views
openTok: publisher.setVideoSource(deviceId) return Failed to execute 'addTrack' on 'MediaStream': parameter 1 is not of type 'MediaStreamTrack'
With mobile I tried to switch the camera device from front to back but when passing the deviceId to setVideoSource I got this error
Failed to execute 'addTrack' on 'MediaStream': parameter 1 is not ...
0
votes
0
answers
67
views
openTok setVideoSource not working to switch the camera
When trying to switch the camera using publisher.setVideoSource(deviceId) I got this error here:
Failed to execute 'addTrack' on 'MediaStream': parameter 1 is not of
type 'MediaStreamTrack'.
0
votes
0
answers
142
views
Issues during video call(opentok-react-native)
We are facing some issues during video call. Below are the scenarios:
1)When Internet stops working from one end then on the other end no event is received regarding the same.
2)When user mute/unmute ...
0
votes
1
answer
52
views
vonage publish insertDefaultUI and mirror options
i can't find any info on that
publish options insertDefaultUI set to false and mirror set to true do not work together?
const publisher = OT.initPublisher({
insertDefaultUI: false,
mirror: true
});...
0
votes
0
answers
60
views
Vonage, Video reconnect. When I reconnect by getting two packets of the event
When a player enters a building it sends a signal to the server, and the user starts streaming for everyone and also subscribes to all.
var session = OT.initSession(data.apiKey, data.sessionId);
var ...
1
vote
0
answers
50
views
Unable to get the otWhiteboard_update Signal from Host to other participant
I'm trying to use the opentok Whiteboard functionality.
Scenario: As a participant in the session, I cannot catch the otWhiteboard_update signal from the host who initiated the Whiteboard operation.
...
0
votes
1
answer
41
views
OpenTok Archiving to Microsoft OneDrive
I know it's possible to link archiving to upload to Amazon S3 or Microsoft Azure after a call - is it possible to link it to Microsoft Teams or OneDrive? I'm unfamiliar with S3 storage solutions and ...
1
vote
1
answer
60
views
Nexmo inbound phone call features suddenly not working - code unchanged for 2 years
We have an order status system with many users (store owners). All are assigned Nexmo numbers by myself - numbers that we own - and all link to my own application which connects to our db storing all ...
0
votes
1
answer
32
views
How to listen session:success event in nexmo client js?
I follow tutorial here: https://developer.nexmo.com/client-sdk/tutorials/app-to-phone/client-sdk/app-to-phone/main-screen/javascript
listen session:success event with bellow script not working.
const ...
0
votes
2
answers
67
views
How to send message to phone# outside of the US?
My Nodejs app uses nexmo 2.8.0 to send message to cell phones and it works fine with US phone number. My question is how to send the message to phone# of other countries such as China and Hong Kong? ...
0
votes
1
answer
357
views
Guzzle/Nexmo Issues After Upgrading to Laravel 8
I recently performed a rather large update to this web app, and for the most part it went off without a hitch... Until the app tries to send an SMS notification from staging/production.
The upgrade ...
0
votes
0
answers
97
views
Custom user credentials for Nexmo / Vonage in Laravel notification
I'm writing a Laravel SMS notification with Nexmo channel. I don't want to use global API key but a different user-specific API key / secret instead. I tried to do it this way:
class MyNotification ...
0
votes
1
answer
107
views
Send SMS using Nextel API with sender number visible Express
I am using Vonage API for sending SMS through Node JS application. The receiver receives the message but from an anonymous number. Is there a way to show some text in From field so that the receiver ...
0
votes
0
answers
194
views
Laravel: Too few arguments to function Vonage\Client::Vonage\{closure}(), 4 passed and exactly 5 expected
I am trying to make a sms notification using nexmo. I dont know what it means Too few arguments to function Vonage\Client::Vonage{closure}(), 4 passed and exactly 5 expected. I was trying to search ...
0
votes
1
answer
422
views
How to send bulk SMS using Nexmo/Vonage
I'm using Nexmo/Vonage for sending SMS, Nexmo allows 30 concurrent requests for the operations, and for sending messages it allows 1 SMS/Sec for long code and 30mps (message per second) for the toll-...
0
votes
2
answers
143
views
Problem between firebase function and Twilio & Nexmo
I'm trying to deploy javascript function to Firebase that containing code to send SMS by Twilio.
Twilio js code run ok when testing it in stand alone separate file.
When uploading complete code ...
1
vote
2
answers
190
views
error downloading laravel/nexmo via composer
When iam trying to download the nexmo package via composer i get stopped.
composer require nexmo/laravel
I have also tried to restrict with lower version like this
composer require nexmo/laravel ...
1
vote
1
answer
288
views
Laravel 8: Nexmo not sending code to mobile number country pakistan (Cannot send message without a sender address)
I am using laravel 8. I want to send a notification SMS through nexmo when user register, but it doesn't work. It says Swift_TransportException Cannot send message without a sender address. I cannot ...
1
vote
1
answer
121
views
Nexmo API change on Text to Speech?
For a very long time I've been using the following to send text-to-speech alerts from my applications.
curl 'https://api-us-1.nexmo.com/tts/json' \
-d api_key=****** \
-d api_secret=****** \
-d to=...
3
votes
1
answer
2k
views
convert audio file to Linear PCM 16-bit
I am trying to send an audio file through a websocket, and I realised that in order to do so i need to convert the mp3 file to a Linear PCM 16-bit code, but i cant find a way to do so.
here is what i ...
0
votes
0
answers
267
views
Nexmo/Vonage : Client error: `GET https://api.nexmo.com/beta/users` resulted in a `401 Unauthorized`
I try to get list users from vonage API with laravel http client but get code 401. this the response:
{"description":"You did not provide a valid token. Please provide a valid token.&...
1
vote
1
answer
75
views
How to create user and link to existing nexmo application?
Is posible to create user and link user to existsing application using vonage-php-sdk-core package?
https://github.com/Vonage/vonage-php-sdk-core
i can make application and user with Vonage CLI, but i ...
1
vote
3
answers
199
views
Playing DTMF tones into a call
We're trying to determine a way to send DTMF into the call. As we understand, It's only possible by using this Vonage API -> https://developer.nexmo.com/api/voice?theme=dark#play-dtmf. But ...
0
votes
1
answer
144
views
Nexmo error Builder#withClaim() is meant to be used for non-registered claims, check the documentation on how to set claim "sub"
I can't generate jwt from provided claims. this my code:
$keypair = new \Vonage\Client\Credentials\Keypair(file_get_contents(storage_path('voip/vonage/private.key')), env('NEXMO_APPLICATION_ID'));
...
5
votes
1
answer
380
views
java.lang.AbstractMethodError: I get this exception when I am trying to initiate an outbound voice call using nexmo(vonage) API
My pom.xml for all the relevant dependencies. No other dependencies use the below dependencies internally.
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<...
1
vote
1
answer
78
views
Nexmo 2FA is not working/ is bugged, dependency doesn't include some methods needed for recieving the code and verifying it
The tutorial showed at https://dashboard.nexmo.com/getting-started/verify says that everything should work by coding:
1 NexmoClient client = NexmoClient.Builder()
2 .apiKey("HIDDEN-CODE-I-...
0
votes
1
answer
332
views
Video On/Off Button is not showing in Vonage Video API
I am working on a video conference solution which involves one-to-one video call (doctor-patient), To implement webRTC I am using vonage api solution, I have tried their embed video call solution ...
0
votes
1
answer
60
views
How to record Google Hangout Meeting using Vonage(earlier nexmo) APIs?
I am trying to find API which can record google hangout meeting in Vonage API documents. But unfortunately I have not been able to find it. Does Vonage provide such functionality? Can anyone redirect ...
3
votes
1
answer
195
views
HttpResponseException: Bad Request occurs while implementing call inbound using vonage SDK
I am trying to implement call functionality using nexmo api in my spring MVC project, but I keep on getting the below exception
com.vonage.client.VonageResponseParseException: Unable to parse response....
2
votes
1
answer
248
views
java.lang.AbstractMethodError occurs while trying to implement call inbound of nexmo SDK through rabbitMQ
I am trying to integrate call inbound feature using nexmo java SDK to my spring MVC project with help of rabbitMQ. But I keep on getting the exception below
[WARN ] 2021-01-26 14:52:26.913 [org....