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

Call connect and hangup

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
dnovakovic
Posts: 4
Joined: Wed Nov 14, 2012 4:27 am

Call connect and hangup

Post by dnovakovic »

Hi all,
I have a question regarding events during call processing... Is it possible to execute some code on call "ringing" (or "offering") event and only then decide whether to connect call and reject it?
Same questions is for hangup. Is it possible to catch call hangup event, run some processing script and only then decide to terminate the script?

Basically, these features are similar to call events that are available in ccxml.

Kind regards,
Dejan Novakovic

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

Re: Call connect and hangup

Post by support »

Hi,

Regarding your questions:

1) It is not possible to execute any code during the time where the call is "ringing" and hasn't been connected yet.

2) However, it is possible to do post-call processing upon hangup of an event. To do this, you would setup a <catch event=connection.disconnect.hangup> event within your VoiceXML code that would execute your script once the caller hangs up.

Regards,
Plum Support

Post Reply