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

outgoing transfer ANI

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
sbaraian
Posts: 18
Joined: Tue Oct 21, 2008 9:55 am

outgoing transfer ANI

Post by sbaraian »

I have a problem. I have this scenario fror outgoing call:
step 1: call the operator
step 2:operator picks up
step 3: transfer the call to the user
I want to use ani in the transfer tag for outgoing call and it doesn't work. When the system calls the operator, the ani works, so the operator sees the phone# that I want but if i use ani in the transfer tag, right away the system returns busy, if i don't use ani the transfer works.

Thanx

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

IVR code needed to demonstrate outgoing transfer needs

Post by support »

Hi,

Could you provide with a small sample of IVR code that demonstrates this IVR issue? This would help us in better understanding what you are trying to achieve.

Regards,
Plum Support
Last edited by support on Wed Feb 17, 2010 12:39 pm, edited 3 times in total.

sbaraian
Posts: 18
Joined: Tue Oct 21, 2008 9:55 am

Post by sbaraian »

this is the vxml file returned by the start_url after initiating an outbound call
<?xml version="1.0"?>
<vxml version="2.0" application="root.vxml">
<form id="transferOperator">
<block>
<var name="Duration" expr="'0'"/>
<assign name="CallId" />
<assign name="OutgoingId" />
<assign name="MenuId" expr="'100'" />
</block>
<transfer name="CallOperator" dest="tel:19174421439;ani=2122454222" connecttimeout="20s" bridge="true" >
<prompt>
Please wait while we connect you to the member.
</prompt>
<filled>
<if cond="CallOperator == 'busy'">
<prompt bargein="false">
The Member is busy. Try again later.
</prompt>
<exit/>
<elseif cond="CallOperator == 'noanswer'"/>
<prompt bargein="false">
The Member did not answer. Try again later.
</prompt>
<exit/>
<else/>
<data name="info1" src="getIVR.ashx" method="post" namelist="SessionId MenuId OutgoingId CallId" enctype="multipart/form-data"/>
</if>
</filled>
</transfer>
</form>
</vxml>

The problem is that instead of calling a member first and then transfer to an operator, I call the operator first and transfer to a member. But in this case, using ani in transfer returns busy right away, if I take the ani out, the transfer is made.

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

IVR code for transferring calls with ANI

Post by support »

Hi,

We have not been able to reproduce the IVR issue that you have described. We are placing an IVR outbound call to one of our local numbers with the ANI that you have posted, which then makes a transfer to another one of our phone numbers. Here's the IVR code we are using for the start_url:

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form id="transferOperator">
<!--block>
<var name="Duration" expr="'0'"/>
<assign name="CallId" />
<assign name="OutgoingId" />
<assign name="MenuId" expr="'100'" />
</block-->
<transfer name="CallOperator" dest="tel:1617xxxxxxx;ani=2122454222" connecttimeout="20s" bridge="true" >
<prompt>
Please wait while we connect you to the member.
</prompt>
<filled>
<if cond="CallOperator == 'busy'">
<prompt bargein="false">
The Member is busy. Try again later.
</prompt>
<exit/>
<elseif cond="CallOperator == 'noanswer'"/>
<prompt bargein="false">
The Member did not answer. Try again later.
</prompt>
<exit/>
<else/>
<data name="info1" src="getIVR.ashx" method="post" namelist="SessionId MenuId OutgoingId CallId" enctype="multipart/form-data"/>
</if>
</filled>
</transfer>
</form>
</vxml>
and we are placing the IVR outbound call to:

Code: Select all

<phone_number>tel:1617xxxxxxx;ani=2122454222</phone_number>
We have tried to reproduce this with 5 outbound calls, but have not been able to do so. Could you provide us with any other information that causes this IVR issue for you?

Regards,
Plum Support
Last edited by support on Wed Feb 17, 2010 12:41 pm, edited 3 times in total.

sbaraian
Posts: 18
Joined: Tue Oct 21, 2008 9:55 am

Post by sbaraian »

I'm including the exact lines from the log files together with the vxml files:
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... 1226352092

<?xml version="1.0" ?>
- <vxml version="2.0">
- <form>
- <block>
<var name="callee_type" expr="'answeringmachine'" />
<var name="phone_number" expr="'tel:19174421439;ani=2127322490'" />
<var name="call_id" expr="'464076'" />
<var name="message_reference" expr="'tel:19179573841;ani=2127322490'" />
<var name="call_parameters" expr="'51'" />
<var name="campaign_parameters" expr="''" />
<submit next="http://nsdbivr.infotechfb.com/wsdbivr/outgoingIVR.ashx" method="post" namelist="callee_type phone_number call_id message_reference call_parameters campaign_parameters" />
</block>
</form>
</vxml>




VXI::var_element(name="callee_type" expr = "'answeringmachine'")VXI::var_element(name="phone_number" expr = "'tel:19174421439;ani=2127322490'")VXI::var_element(name="call_id" expr = "'464076'")VXI::var_element(name="message_reference" expr = "'tel:19179573841;ani=2127322490'")VXI::var_element(name="call_parameters" expr = "'51'")VXI::var_element(name="campaign_parameters" expr = "''")DocumentParser::FetchDocument(http://nsdbivr.infotechfb.com/wsdbivr/outgoingIVR.ashx)Posted form data is URL encodedAttempting to fetch http://nsdbivr.infotechfb.com/wsdbivr/outgoingIVR.ashx

<?xml version="1.0" ?>
- <vxml version="2.0" application="root.vxml">
- <form id="transferOperator">
- <block>
<var name="Duration" expr="'0'" />
<assign name="CallId" expr="'464076'" />
<assign name="OutgoingId" expr="'51'" />
<assign name="MenuId" expr="'100'" />
</block>
- <transfer name="CallOperator" dest="'tel:19179573841;ani=2127322490'" connecttimeout="20s" bridge="true">
<prompt>Please wait while we connect you to the member.</prompt>
- <filled>
+ <if cond="CallOperator == 'busy'">
<prompt bargein="false">The Member is busy. Try again later.</prompt>
<exit />
<elseif cond="CallOperator == 'noanswer'" />
<prompt bargein="false">The Member did not answer. Try again later.</prompt>
<exit />
<else />
<data name="info1" src="getIVR.ashx" method="post" namelist="SessionId MenuId OutgoingId CallId" enctype="multipart/form-data" />
</if>
</filled>
</transfer>
</form>
</vxml>

All t

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

IVR solutions to receiving busy message

Post by support »

Hi,

We are still unable to reproduce your IVR issue. However, we want to track down this issue further with you by having you try the following when you do your bridge transfer:

1) Try adding the ani in your bridge transfer, but without the "+" in the transfer number:

For an IVR example:

<transfer name="CallOperator" dest="tel:19179573841;ani=2127322490" connecttimeout="20s" bridge="true">

2) Try using a different ani in your bridge transfer:

For IVR example:

<transfer name="CallOperator" dest="tel:19179573841;ani=2127322491" connecttimeout="20s" bridge="true">

3) Try using the "+" in the transfer number, but without the ani:

For example:

<transfer name="CallOperator" dest="tel:+19179573841;ani=2127322490" connecttimeout="20s" bridge="true">

We just want to isolate this IVR issue by trying different combinations and seeing what could be causing this busy message for you.

Regards,
Plum Support
Last edited by support on Wed Feb 17, 2010 12:42 pm, edited 3 times in total.

sbaraian
Posts: 18
Joined: Tue Oct 21, 2008 9:55 am

Post by sbaraian »

Finally I realized i left apostrophes in attribute dest of tag transfer. it didn't throw an error but it didn't work.

Thanx again and sorry for all the trouble

Post Reply