Parameter is not posting properly to the next url
Posted: Mon Feb 04, 2008 3:07 am
Here is my vxml code
now the problem is that in MFSIVRProcessing.aspx i did not get ReferenceNumber properly
MessageRef = Request["ReferenceNumber"].ToString();
but in MessageRef i am not getting the value "9000000390" and instead of this value i get 90000000512.0000 which obviously throw exception while i try to convert it in to long kindly help me out on this matter
Code: Select all
<vxml version="2.0">
<var name="pincode" expr="0"/>
−
<form>
−
<block>
<audio src="http://audio.plumgroup.com/root/95227943/95227943_1.wav"/>
</block>
−
<field name="pin" type="digits?length=4">
−
<prompt>
<audio src="http://audio.plumgroup.com/root/95227943/95227943_2.wav"/>
</prompt>
−
−
<filled>
<assign name="pincode" expr="pin"/>
<var name="calledID" expr="session.telephone.ani"/>
<var name="ReferenceNumber" expr="9000000390"/>
<submit next="http://66.135.33.9/IVRScriptDEV/MFSIVRProcessing.aspx" method="post" namelist="pincode calledID ReferenceNumber"/>
</filled>
</field>
</form>
</vxml>
now the problem is that in MFSIVRProcessing.aspx i did not get ReferenceNumber properly
MessageRef = Request["ReferenceNumber"].ToString();
but in MessageRef i am not getting the value "9000000390" and instead of this value i get 90000000512.0000 which obviously throw exception while i try to convert it in to long kindly help me out on this matter