Closed AI-General closed 3 months ago
Should I use 2 vonage phone for this?
Actually, if I use 2 vonage phone numbers, is it possible, I just need to make 2 websocket tunnel and transfer messages. But I want to do that without vonage phone.
Thank you
@AI-General, I am checking your code sample. It still uses callback, which is how it was done in version 2 of the SDK. The error is showing a package that is in version 3. I don't know which version of the SDK you are using.
In any case, in Version 3, the transferCallWithNCCO
method can transfer the call. Here is a link to our documentation which has a code sample for you: https://developer.vonage.com/en/voice/voice-api/code-snippets/controlling-conversations/transfer-a-call-inline-ncco?source=voice&lang=javascript
How do I
transfer call
API/Product
Voice
Code Sample
Now I am in call with real number 1.
I need to transfer number 1 to number 2.
I used this code:
But I met following error:
How to fix this?
Please help me.
Thank you