Hi,
I am looking for option where we can forward call to one of our techsupport number when user press an option given by us.
Could you pls. guide us what options we have.
Thanks,
Abhay
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
How call forward works?
Re: How call forward works?
Hi Abhay,
Yes, it is possible for you to do this through the <transfer> tag. The following code example demonstrates how you can do this:
transfertestscript.php
From this example, if the user presses 1, they are forwarded to support. However, please keep in mind that you cannot directly forward from a toll-free 800 number to a toll-free 800 number.
Regards,
Plum Support
Yes, it is possible for you to do this through the <transfer> tag. The following code example demonstrates how you can do this:
transfertestscript.php
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<form id="mainmenu">
<field name="myfield">
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 )
</grammar>
<prompt>
Press 1 if you'd like to be transferred to support. Press 2 if you'd like to exit.
</prompt>
<filled>
<if cond="myfield==1">
<goto next="#transfer"/>
<else/>
<prompt>
Now exiting.
</prompt>
</if>
</filled>
</field>
</form>
<form id="transfer">
<transfer dest="1112224567">
<prompt>
Transferring to support.
</prompt>
</transfer>
</form>
</vxml>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com