Page 1 of 1

Are there any limits on what can be done in a hangup handler

Posted: Fri Jun 13, 2003 2:26 pm
by support
Any executable VoiceXML code can go within a <catch> block. However it should be noted that great care be taken when catching a telephone.disconnect.* event: If a <catch> block contains VoiceXML code that generates another disconnect event (for instance a <prompt> within a <catch> block will throw another disconnect event since you can not play a prompt after a call's been hung up), it will put the channel into a loop which may take some time to break out of. The platform will exit from a loop after 100 iterations of the same code but, depending on the severity of the error, this may take some time and will lock a channel for that period of time.