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

Transferring user to a telephone or mobile number

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
sylvansah
Posts: 3
Joined: Sun Mar 19, 2006 6:36 pm
Contact:

Transferring user to a telephone or mobile number

Post by sylvansah »

How can I transfer a user from the automated menu to a telephone or mobile number so that a live person can answer the call. E.g. press 1 if you will like to be transfered to the Sales department. Sales department number may be a telephone or a mobile number, which an agent can pick. This is a project i am trying to produce as part of my assessment at the college.

:( please help!

thanx
sylv

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

IVR code allows user to press 0 to switch to transfer form

Post by support »

Hello,

This information is covered in the Plum IVR Programmer's Reference Manual. You need to make use of the <transfer> tag, this is a standard form item and can be used like a field:

Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
  <form>
    <field name="customer_id" type="digits">
      <prompt>Please enter your customer ID or press 0 to transfer to an operator</prompt>
      <filled>
        <if cond="customer_id == 0">
          <goto next="#transfer"/>
        <else/>
          <!-- do something with the customer id -->
          <submit next="validate.php" namelist="customer_id"/>
        </if>
      </filled>
    </field>
  </form>

  <form id="#transfer">
    <transfer dest="12345678900">
      <prompt>You will now be transferred</prompt>
    </transfer>
  </form>

</vxml>
The above IVR code allows the user to press "0" to switch over to the transfer form. Once the user reaches the transfer form the prompt is played and the transfer is attempted. You can make use of the filled block to determine the result of a bridge transfer.

Regards,
Plum Support

Post Reply