We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

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

Answers to common Plum DEV questions

Moderators: admin, support

Locked
support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

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

Post 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.

Locked