Jump to content

Recommended Posts

Posted
Trying to process a call from an extension and do some stuff in our API via REST post using Pivot in a call flow. I am returning proper TwiML from our API, and <Say> command works, but <Dial> does not. I would like to use the <Dial> command, based on the result of our REST API processing... May be it's unsupported? If so - is there a resource to lookup all available TwiML commands that are supported?


Here is the "Response" that is successfully interpreted by the Pivot:

<?xml version="1.0" encoding="UTF-8"?>
  <Response>
    <Say voice="woman" language="en-gb">Thank you, you may hang up now!</Say>
    <Hangup/>
  </Response>



And this one reads the <Say> portion but does not dial 0 :(

<?xml version="1.0" encoding="UTF-8"?>
  <Response>
    <Say voice="man" language="en-gb">Terribly sorry, but something went wrong. Please stay on the line, connecting to front desk.</Say>
    <Dial>0</Dial>
    </Hangup>
  </Response>
×
×
  • Create New...