Guest Dave L Report post Posted 01/13/2005 11:01 PM Hi The evaluate function looses the 0 (zero) in the CLI. Example the CLI is 0835555551 it only assigns the result as 835555551. How do I fix this? [Evaluate] Type=Evaluate DispSize=69 Txt=Evaluate the Result Variable specified, and select the path which matches the current value of the Result Variable Expression=$RV_CIDNUMBER ExprNewRV=CLI ExprStoreRV=1 ExprStoreInGlobalRV=0 on {timeout 0} goto [say Numbers 15] on {true} goto [say Numbers 15] Position=93,33 [say Numbers 15] Type=Say Numbers DispSize=69 Txt=Say the number, amount, date or the digits. See the list o options to see how the number supplied can be interpreted and spoken out... PlayFile2=$RV[CLI] Replay=0,0 SayNbrType=Digits on {timeout 0} goto [say Numbers 14] Position=93,148 [say Numbers 14] Type=Say Numbers DispSize=69 Txt=Say the number, amount, date or the digits. See the list o options to see how the number supplied can be interpreted and spoken out... PlayFile2=$RV_CIDNUMBER Replay=0,0 SayNbrType=Digits on {timeout 0} goto [Hangup] Position=95,254 Share this post Link to post
SupportTeam Report post Posted 01/14/2005 12:00 AM Specify: "$RV_CIDNUMBER" or: Cstr($RV_CIDNUMBER) as the expression to evaluate... otherwise it evaluates input as a number and the leading zero will get dropped... Share this post Link to post