</Gather>
<Gather> Tag Overview
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say>Thank you for calling Opentact. Please hold.</Say>
<Say>Now please enter a 1 to call the support team, 2 to call the tech team, or 0 to enter a private menu</Say>
<Gather dtmf_length="1" dtmf_stop="#">
<!-- SUPPORT TEAM -->
<DTMF value="1">
<Say>Switching the call to the support team</Say>
<Dial>
<To>[email protected]</To>
<To>[email protected]</To>
<To>[email protected]</To>
<Error>
<Say>Sorry, our support team is busy right now, please call again later</Say>
<Hangup/>
</Error>
</Dial>
</DTMF>
<!-- TECH TEAM -->
<DTMF value="2">
<Say>Switching the call to the tech team</Say>
<Dial>
<To>12223334455</To>
<To>12223334456</To>
<To>12223334457</To>
<Error>
<Say>Sorry, our tech team is busy right now, please call again later</Say>
<Hangup/>
</Error>
</Dial>
</DTMF>
<!-- PRIVATE MENU -->
<DTMF value="0">
<Say text="Now please enter a 4-digit code or # to stop entering a pin"/>
<Gather length="4" dtmf_stop="#" url="http://private.domain.com/rest/private_menu?token=TOKEN">
<!-- call URL will be transformed to: http://private.domain.com/rest/private_menu?token=TOKEN&dtmf=<DTMF>&from=<FROM>&tn=<TO>&state=live&sca=<SIP CONTROL APP UUID>&call=<CALL UUID> -->
<!-- This block would be called if something goes wrong with a remote endpoint response -->
<Error>
<Say>Oops, something is going wrong, please call again later</Say>
<Hangup/>
</Error>
</Gather>
</DTMF>
<!-- DEFAULT BEHAVIOR -->
<Default>
<Say>No DTMF code entered. Please call again</Say>
</Default>
<Error>
<Say>Wrong input menu code entered. Please call again</Say>
</Error>
</Gather>
<Say>Thank you for using our service, have a nice day!</Say>
<Hangup />
</Response>Last updated