Guest Guest_zackrspv Report post Posted 02/11/2004 09:58 PM I have it to where Voiceguide looks up the telephone number of the caller based on the PIN code accessed; how do i get it to do one of the following (only one of the following not both) 1. Match the phone number with the Caller-id Number 2. Only return the last 4 digits of the phone number to play back to the customer. Thanks! Share this post Link to post
SupportTeam Report post Posted 02/11/2004 10:55 PM 1. Match the phone number with the Caller-id Number Easiest to use an Evaluate Expression module. The expression you would use in the module is something like: '$RV_CIDNUMBER' = '$RV[RetrieveCID_1]' 2. Only return the last 4 digits of the phone number to play back to the customer. to return last 4 digits of the $RV[RetrieveCID_1] you will need to use a VBSCript function. In a Run VB Script module use: sLast4Digits = right("$RV[RetrieveCID_1]", 4) set vg = CreateObject("VoiceGuide.CommandLink") vg.Run_ResultReturn $RV_LINEID, "[sLast4Digits]{" & sLast4Digits & "}" set vg = Nothing Then the last 4 digits will be accessible using the $RV[sLast4Digits] Result Variable. Share this post Link to post