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

Why tranfer a call in outbounding call is not work?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
yong.teng@hp.com
Posts: 2
Joined: Mon Oct 15, 2007 1:16 pm

Why tranfer a call in outbounding call is not work?

Post by yong.teng@hp.com »

Hi there, I tried to do bridgeg/transfer call in outbounding call, each time I got a phone call from PlumVoice and the Voice tells me that there is server error. The following XML is sent out as result of start_url in our apache server. When I comment out tranfer call XML part, everying is OK. When I uncomment out the XML transfer call part, outbound call failed. Any Idea?

=== Start VXML
<?xml version="1.0" ?>
- <vxml version="2.0">
<property name="timeout" value="5s" />
- <catch event="noinput">
<goto next="#finish" />
</catch>
- <form>
- <block>
<prompt>This is a message from jotbear. Welcome from Jotinfo.com Please visit us as well on the web at http://jotbear.jotinfo.com</prompt>
<goto next="#mainmenu" />
</block>
</form>
- <menu id="mainmenu">
<prompt>Thanks. You can hang up now, or Press 1 to repeat this message. If you have questions about this message and want to get connected to us press 2 or call us at 14087678789</prompt>
<choice dtmf="1" next="#repeat">Repeat</choice>
<choice dtmf="2" next="#contact">Contact</choice>
</menu>
- <form id="repeat">
<block>Welcome from Jotinfo.com Please visit us as well on the web at http://jotbear.jotinfo.com</block>
</form>
- <form id="contact">
- <block>
- <transfer dest="14087458905">
<prompt>Please wait while we connect your call</prompt>
</transfer>
</block>
</form>
- <form id="finish">
- <block>
<prompt>Thanks you. Good bye!</prompt>
</block>
</form>
</vxml>

=== end of VXML

Regards,

John

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

IVR code for using <transfer> tag

Post by support »

Hi,

Looking at your IVR code, you place your <transfer> tags within <block> tags, as shown here:

Code: Select all

<block>
<transfer dest="14087458905">
<prompt>Please wait while we connect your call</prompt>
</transfer>
</block>
 
However, <transfer> tags can only be placed within <form> tags. This might explain why you are getting this IVR error.

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

yong.teng@hp.com
Posts: 2
Joined: Mon Oct 15, 2007 1:16 pm

Post by yong.teng@hp.com »

Hi there,

Thanks, It fixed the problem. Now get a new issue.

<form id="contact">
- <transfer dest="tel:+14087878795;ani=4087778845" type="bridge" bridge="true" connecttimeout="30" maxtime="0">
<prompt>Please wait while we connect your call</prompt>
</transfer>
</form>


This outbound transfer somehow now transfer the voice call to different phone number other than 14087878795.


Thanks and Best Regards

John

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

Call log needed for IVR developers to determine problem

Post by support »

Hi,

Can you post an IVR call log of this IVR problem occurring? This would help us better understand the IVR issue.

Also, you should only be specifying either type="bridge" or bridge="true", but not both of them in the IVR tag, <transfer>.

Regards,
Plum Support

Post Reply