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.
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:
<?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.