<transfer> tag issues
Posted: Tue Jan 03, 2006 11:39 am
I have two problems I need to solve with the <transfer> tag.
1. If the caller hangs up while the system is ringing the destination the system doesn't appear to terminate the call. How do I make the system terminate the call in this event.
2. The system is not transfering the ANI of the originating call to the outbound call. It comes in a "No CallerID". How can ANI be set on the outbound call.
Here is an example of the transfer code I'm using.
<?xml version="1.0" encoding="UTF-8" ?>
<vxml version="2.0" application="/plum/root.xml">
<form id="calltransfer">
<transfer name="Calling" dest="904613XXXX" bridge="true" connecttimeout="45s">
<filled>
<if cond="Calling == 'busy'">
<prompt>Sorry, our lines are busy. Please try your call again later.</prompt>
<exit />
<elseif cond="Calling == 'noanswer'" />
<prompt>there was no answer. please try your call again later.</prompt>
<elseif cond="Calling == 'far_end_disconnect'" />
<prompt>the other party hung up. please try your call again later.</prompt>
</if>
</filled>
</transfer>
<block>
<disconnect />
</block>
</form>
</vxml>
1. If the caller hangs up while the system is ringing the destination the system doesn't appear to terminate the call. How do I make the system terminate the call in this event.
2. The system is not transfering the ANI of the originating call to the outbound call. It comes in a "No CallerID". How can ANI be set on the outbound call.
Here is an example of the transfer code I'm using.
<?xml version="1.0" encoding="UTF-8" ?>
<vxml version="2.0" application="/plum/root.xml">
<form id="calltransfer">
<transfer name="Calling" dest="904613XXXX" bridge="true" connecttimeout="45s">
<filled>
<if cond="Calling == 'busy'">
<prompt>Sorry, our lines are busy. Please try your call again later.</prompt>
<exit />
<elseif cond="Calling == 'noanswer'" />
<prompt>there was no answer. please try your call again later.</prompt>
<elseif cond="Calling == 'far_end_disconnect'" />
<prompt>the other party hung up. please try your call again later.</prompt>
</if>
</filled>
</transfer>
<block>
<disconnect />
</block>
</form>
</vxml>