Nexmo / wsbridge

Other
25 stars 18 forks source link

Can this module be embedded into Voice SIP to make it a Voice API? #5

Closed axchanda closed 5 years ago

axchanda commented 5 years ago

I had been using the Nexmo VOice API that provides the media as Websocket API and NCCO to control the calls. Can I adapt using this module with FreeSwitch and Nexmo Voice SIP to replicate the Nexmo Voice Websocket API on my side? Immediate replies appreciated. Thanks!

csiwek commented 5 years ago

Hello, This module only provides the Websocket endpoint that allows to make Outbound WS calls. It does not provide rich NCCO functionalities.

axchanda commented 5 years ago

@csiwek I beleieve this can be used to handle incoming calls too ( outbound or inbound calls will be handled by SIP ) and that media from OB or IB calls will be transferred to Websocket URL. Right?

Any idea on how to implement the NCCO functionalites with this on FreeSwitch? Firstly can it be implemented in FreeSwitch?

csiwek commented 5 years ago

Wsbridge endpoint can only make outbound WS calls. You can easily build a SIP to WS gateway with that. (SIP in any direction) Implementing full NCCO in FreeSWITCH is doable but hard. Perhaps very limited functionalities that work for your use case.