You can now forward unanswered
Team calls to a Twilio function and implement whatever advanced custom call handling your use-case needs.
To Set up:
Super Users can configure a Team’s calling rules to forward unanswered calls to a Twilio Function directly from the Account Portal by editing the Team in question.
Function Requirements:
Your Twilio function must respond to POST requests with valid TwiML to ensure proper call handling.
Call Event Visibility in the Spoke Account Portal:
Successful Forward: A "Forwarded call " event is logged that includes the function's URL, and is visible to Super Users in the Spoke Account Portal's Call Details page.
Failed Forward: If the request fails (due to an error in your function), the caller is redirected back to the Team’s voicemail in Spoke. In the event of a failure, a "ForwardToPostEndpointFailed" event is logged showing the Twilio error code, and is visible to Super Users in the Spoke Account Portal's Call Details page