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

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

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

PostFri Jun 13, 2003 2:26 pm

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.

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron