please kindly help out with a coldfusion script that will be able to handle variables ( i.e customerid and age ) sent from a vxml script.
can i get an equivilent of the following php script in coldfusion, please!!!
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
$customerid = $_GET[customerid];
$age = $_GET[age];
?>
<vxml version="2.0">
<form>
<block>
<prompt>
Your customer identification number is <?php echo($customerid)?>.
</prompt>
<prompt>
Your age is <?php echo($age)?>.
</prompt>
</block>
</form>
</vxml>
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
sending variables with coldfusion
IVR code should be the coldfusion equivalent of the php ex.
Hi,
While we don't have anyone on staff with any expertise on coldfusion, we believe the following IVR code example should be the coldfusion equivalent of the php example:
example.cfm
Hope this helps.
Regards,
Plum Support
While we don't have anyone on staff with any expertise on coldfusion, we believe the following IVR code example should be the coldfusion equivalent of the php example:
example.cfm
Code: Select all
<?xml version="1.0"?>
<cfset customerid=URL.customerid>
<cfset age=URL.age>
<vxml version="2.0">
<form>
<block>
<prompt>
Your customer identification number is <cfoutput>customerid</cfoutput>.
</prompt>
<prompt>
Your age is <cfoutput>age</cfoutput>.
</prompt>
</block>
</form>
</vxml>
Regards,
Plum Support
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com