AgentStream
...
Passthru Applet
More on Passthru Applet
4 min
best practices position passthru immediately after stream or voicebot applets backend should handle both flat and json query formats trigger fallback based on stream\[detailedstatus] actively monitor concurrency limits log streamsid, recordingurl, and detailed errors for debugging and auditing clearly interpret and handle disconnect causes (disconnectedby) passthru backend responses must comply with synchronous (http codes) or asynchronous processing models appropriately use cases real time monitoring of stream health dynamic routing based on real time stream conditions enhanced debugging through detailed error reporting optimised concurrency and call management graceful error handling and escalation mechanisms deployment strategy follow structured rollout dev environment validate passthru logic with mock logs qa/staging test real call scenarios thoroughly canary release (prod) roll out feature gradually, monitoring closely full release expand to all users upon successful canary release ensure rollback capabilities via feature flags and previous stable versions summary the passthru applet for agentstream significantly enhances standard passthru functionality by providing extensive stream metadata, failure reasons, and real time observability leverage these capabilities to monitor and optimize streaming performance facilitate precise error handling and debugging enable intelligent and dynamic routing decisions implement these advanced passthru mechanisms to build robust, observable, and scalable voice streaming integrations with exotel apis
🤔
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.