Detect Hangup and stop processing
Posted: Tue Nov 05, 2013 11:13 am
I wonder if someone can assist me I have a global catch disconnect block
<?xml version="1.0"?>
<vxml version="2.0">
<var name="panicTelephoneNumber" expr=""/>
<var name="dtmf_pin" expr="" />
<catch event="connection.disconnect.hangup">
<log label="LALog">Hangup Event</log>
<submit next="#doHangup" />
</catch>
Below this we have several menu sections based on the status from a host system that is working fine.
If I call up the IVR and it reads out my status, then if I hang up my first menu selection is selected by default
I thought that the catch block would trap the disconnect and exit for me. Am I missing something.
<?xml version="1.0"?>
<vxml version="2.0">
<var name="panicTelephoneNumber" expr=""/>
<var name="dtmf_pin" expr="" />
<catch event="connection.disconnect.hangup">
<log label="LALog">Hangup Event</log>
<submit next="#doHangup" />
</catch>
Below this we have several menu sections based on the status from a host system that is working fine.
If I call up the IVR and it reads out my status, then if I hang up my first menu selection is selected by default
I thought that the catch block would trap the disconnect and exit for me. Am I missing something.