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

Difficulty with transfer in an outbound call.

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

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

Re: Difficulty with transfer in an outbound call.

Post by support »

Hi Zebigo,

By any chance, is the real number you are transferring to a toll-free number? If so, you cannot bridge transfer an outbound call to a toll-free number. This is because the outbound call is being placed from a toll-free number, and transferring toll-free to toll-free is not possible, since the U.S. telephone network does not allow for it (there would be no way to charge any party involved).

Hope this helps!

Regards,
Plum Support

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

Re: Difficulty with transfer in an outbound call.

Post by support »

Hi Zebigo,

We have attempted to reproduce your issue with the following IVR code:

Code: Select all

<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.1">
   <form id="message">
      <var name="my_id" expr="1"/>
      <var name="other_id" expr="2"/>
      <block>
         <prompt>Now connecting you to John. </prompt>
      </block>
      <transfer name="xfer" dest="tel:+1XXXXXXXXXX;ani=YYYYYYYYYY" bridge="true" connecttimeout="30s">
         <filled>
            <if cond="xfer=='busy'">
               <prompt>
                  The line is busy. Please hang up and try again later.
               </prompt>
               <elseif cond="xfer=='noanswer'"/>
               <prompt>
                  The other party did not answer the phone.
               </prompt>
               <elseif cond="xfer=='farenddisconnect'"/>
            </if>
            <disconnect/>
         </filled>
      </transfer>
      <catch event="connection.disconnect"><submit namelist="my_id other_id" next="disconnect_cleanup.php"/></catch>
   </form>
</vxml>
Using the above code on both inbound and outbound calls, we were able to successfully transfer to a landline from a cell phone, with the ANI set as a toll-free number. If you can provide us with the exact code you are using (with sensitive information removed, of course) we can attempt to further troubleshoot your issue.

Regards,
Plum Support

Post Reply