Search code examples
socketswebsocketbrowservoicevxml

Using socket in Vxml and Voice browsers


I'm trying to link my backend with my vxml code and and frontend application (web-browser based). I want the backend to send out data to both my vxml application and web based one in sync.

So i came across sockets in network programming. Being new to voice browser not sure how I'm gonna link sockets there. Any help, source or guidelines regarding the same are appreciated.


Solution

  • The VoiceXML standard doesn't include support for websockets. Your platform might, though I've never seen it supported. I have seen linking of a VoiceXML and web application, but that was done through SCXML or doing some messy polling from the voicexml layer between prompt/input timeouts. SCXML has the advantage of interrupting a voicexml call flow at the trigger of an event.