SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Programmable Voice: Why the <Dial> Action URL May Not Be Called

 

Question

Why was my  <Dial> action URL not called after a call ended? 

 

Product

  • Programmable Voice

 

Answer

The <Dial> verb’s action URL in Twilio Programmable Voice is called when the <Dial> completes, and the callee (the party being dialed) hangs up first. If the caller hangs up first and their call disconnects before the callee (child call), the action URL is not triggered. In some cases, delays in disconnecting the parent call may cause the child call to terminate first, resulting in the action URL being called even when the caller hangs up first. However, this is not guaranteed and depends on the timing of call disconnections.

For consistent notifications when a <Dial> completes—regardless of who hangs up—use the statusCallback URL with a <Dial> Noun: <Number> <Sip> <Conference> <Client>. This callback is always triggered when the <Dial> ends, no matter which party disconnects.

 

Additional Information 

Have more questions? Submit a request
Powered by Zendesk