AgentStream
...
Unidirectional Streaming
Stream Applet
2 min
configuring a unidirectional stream stream applet you can enable unidirectional streaming on a call flow using the streaming applet the applet takes 3 parameters 1\ action you can either start a new stream or stop a stream that you started earlier in the same call flow you will use the stop action if you have started a unidirectional stream earlier in the same flow when you choose stop, that is the only input you need to configure 2\ url this is the url to which exotel will stream the voice media you can either specify a wss endpoint or an https endpoint if you specify an http/https endpoint, exotel expects the https endpoint to return a wss url in its response this is to allow a dynamic endpoints for the same call flow b have dynamic custom parameters that can be passed to the websocket endpoint to handle any application specific customization when you specify a https endpoint, it must return a json with the key “url” { "url" "wss\ //streamhandler yourdomain com" } on receiving this, exotel will initiate a connection to wss\ //streamhandler yourdomain com 3\ next applet in the case if unidirectional stream, the stream would be created and the call flow proceeds to the next applet configured
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.