Page 1 of 1

Call connect and hangup

Posted: Sun Dec 09, 2012 1:38 am
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

Re: Call connect and hangup

Posted: Mon Dec 10, 2012 11:10 am
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