opentok / opentok-nexmo-sip

OpenTok SIP Interconnect samples with Nexmo Voice API
MIT License
5 stars 16 forks source link

How does Dial-In-Conference work? #1

Open Matt-B50 opened 4 years ago

Matt-B50 commented 4 years ago

What happens after you run npm start?

I went to the server root, and got the message 'Cannot GET /' I go to /room/test (no instructions that this is what I'm supposed to do, but figured it out from the code) I get two buttons 1) Click Here to Dial Out to the Nexmo Conference - I click this and a room briefly appears, then disappears. I don't understand why I need to Dial Out, when this is supposed to be Dial In? 2) Click Here to Hang up - doesn't do anything.

I get my phone number and pin. When I call the phone number (set up on Nexmo earlier - does it need to wait for further provisioning?) I get a constant tone. No prompt to enter a pin.

Please provide further detail on how to use this example.

Matt-B50 commented 4 years ago

This is a documentation issue. The Nexmo dashboard says to enter the voice app URLs as http://example.com/event

this app needs to be set up with http://example.com:3000/nexmo-events & /nexmo-answer

Please update the readme.

qwertynik commented 3 years ago

Hello @Matt-B50

Did you manage to get this working? Would be helpful if you can post the steps about the same.

Thanks!

qwertynik commented 3 years ago

@msach22 Any help here would be greatly appreciated.

Matt-B50 commented 3 years ago

@qwertynik I don't recall getting this working on node.js, but I'm using PHP for my solution anyway, and did manage to get it working there.

Matt-B50 commented 3 years ago

This is a documentation issue. The Nexmo dashboard says to enter the voice app URLs as http://example.com/event

this app needs to be set up with http://example.com:3000/nexmo-events & /nexmo-answer

Please update the readme.

But the above might help.

qwertynik commented 3 years ago

@Matt-B50 Could you share your PHP solution? Of course not production code. But sample code on how you got it working?

Matt-B50 commented 3 years ago

@qwertynik Sorry - it was a few months back, whilst I did get Nexmo 'working' the call quality, stability and the support provided were not good enough. I ended up integrating Plivo with OpenTok's SIP Interconnect. Plivo's documentation and support is much better, as well as the availability of free phone numbers. There was a sample app on the web somewhere (OpenTok seemed to recommend Plivo before they were bought by Vonage). I think this is it: https://github.com/getchar/opentok-sip-samples/tree/master/Plivo-SIP-Conference. There's plenty of documentation provided by Plivo: https://www.plivo.com/docs/voice/quickstart/php/

qwertynik commented 3 years ago

Thanks for your time and detailed response @Matt-B50 I appreciate it. Will take a look at alternates if this solution does not work out.