DEV Community

Binu Mathew
Binu Mathew

Posted on

Nexmo Get Call on WebApp using Websocket

I am creating an application in NodeJS using Express and Nexmo Voice API.

The Scenario is to get a Inbound call in the Web Browser of our Agent, So that he or she can get details of the client in the CRM

Nexmo allow us to use websocket endpoint and i got it to make call and get it to desktop, but dont know to make it accept calls and send replies from the agent.., I dont know how to stream audio two way..any help?

Top comments (4)

Collapse
 
bengreenberg profile image
Ben Greenberg

Hi Binu,

These tutorials may be helpful for you:

nexmo.com/blog/2018/05/13/connect-...
nexmo.com/blog/2017/01/26/handle-i...

I also have seen you on our Nexmo Community Slack, so please continue to be engaged there! Just in case you lost the info for it and can't connect again, it's here: developer.nexmo.com/community/slack

All the best,

Ben

Collapse
 
binumathew profile image
Binu Mathew

Hello Ben,

Thanks for your reply,

Nexmo Community Slack is slow and lack of support and most of the people in there are busy, i was there for 5-6 days, I am not familiar with web socket, i thought lets give a shot at other places

hope you understand, your sales send me to community and community is not usefull..

Collapse
 
bengreenberg profile image
Ben Greenberg • Edited

Hey Binu,

Sorry you feel that way! I noticed that you asked your question on Slack and got responses, and you also asked on Twitter, and also got responses. It seems you might need some more general help with getting started with Node.js and using websockets in general? There are some great articles and resources on dev.to about Node.js and getting up and running.

I found this article on dev that looks like a nice overview of websockets in Node: dev.to/itzmeanjan/working-with-web....

This article looks like a really good intro to the tech: dev.to/healeycodes/kicking-butt-an....

This article shows working code that utilizes Node.js and websockets together, it might be a helpful place to begin to explore how to build your own app: dev.to/linkinmedo/websocket-counte....

Best of luck to you!

Ben

Thread Thread
 
binumathew profile image
Binu Mathew

Got response, but not what i am looking for !! thats the problem.. any way let see, i hope github.com/nexmo-community/ws-phone this will help my need, but the problem now i am facing is , its old and not working properly !!