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

"Catch" a hangup

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
gutsmith
Posts: 8
Joined: Mon Sep 17, 2007 2:14 pm

"Catch" a hangup

Post by gutsmith »

It's very important for my application to record when a user hangs up during a transfer. I am currenty using <catch event="connection.disconnect.hangup"> to submit my form when this occurs. However this only works after the call is connected. If the user hangs up during the ringing the transfer will continue until it hits the time limit and writes it up as a noanswer. Is there any way to catch a hangup before the connection?

Thanks

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

IVR fix to "Catch" a hangup

Post by support »

Hi,

We have been able to reproduce this IVR error and have identified it as a bug in the IVR platform. In the next version of the IVR platform, this IVR issue will be fixed.

As an interim solution, you could add a <prompt> tag with a <break/> inside of it to generate the "connection.disconnect.hangup".

For IVR example, in your <transfer> block:

Code: Select all

   <transfer name="mycall" dest="tel:+1-XXX-XXX-XXXX"
        transferaudio="music.wav" connecttimeout="20s" bridge="true">

     <filled>
       <prompt>
         <break/>
       </prompt>
       <assign name="mydur" expr="mycall$.duration"/>
         <if cond="mycall == 'busy'">
           <prompt>
             The line is busy. Please call again later.
           </prompt>
         <elseif cond="mycall == 'noanswer'"/>
           <prompt>
             Someone can't answer the phone now. 
           </prompt>
         </if>
     </filled>
   </transfer>
Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 4:07 pm, edited 3 times in total.

gutsmith
Posts: 8
Joined: Mon Sep 17, 2007 2:14 pm

Post by gutsmith »

Thanks! That works.

One more question about this situation,

Is there a way to stop the transfer ringing the callee once it has started? or does it always need to complete?

Thanks

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

Call always needs to complete in IVR system

Post by support »

Hi,

Yes, with the IVR system the IVR call always needs to complete.

Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 4:08 pm, edited 2 times in total.

gutsmith
Posts: 8
Joined: Mon Sep 17, 2007 2:14 pm

Re: "Catch" a hangup

Post by gutsmith »

support wrote:We have been able to reproduce this error and have identified it as a bug in the platform. In the next version of the platform, this issue will be fixed.

Thank you for your help, is there a release schedule or time estimate for your next platofrm version?

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

no release date for next version of IVR platform

Post by support »

Hi,

There is no guaranteed release date for the next version of the IVR platform yet. We hope to have the next version out by the end of Q1 of 2008.

Regards,
Plum Support

Post Reply