[cisco-voip] DB Get Step UCCX 7.0
Fuermann, Jason
JBF005 at shsu.edu
Fri Aug 14 15:31:50 EDT 2009
Could always use the length() function to check it. Length=Variable.length(). (Note that I haven't tried this in CRS before)
From: Voice Noob [mailto:voicenoob at gmail.com]
Sent: Friday, August 14, 2009 2:26 PM
To: Fuermann, Jason; 'cisco-voip voyp list'
Subject: RE: [cisco-voip] DB Get Step UCCX 7.0
Never mind I got it. Thanks for the help.
Any suggestion on the 10 digit problem? I am prompting for a call back phone number and if they enter 7 digits I want to prompt them to try again and put in 10 digits. How can I check the length of a string variable.
From: Fuermann, Jason [mailto:JBF005 at shsu.edu]
Sent: Friday, August 14, 2009 2:08 PM
To: 'Voice Noob'; 'cisco-voip voyp list'
Subject: RE: [cisco-voip] DB Get Step UCCX 7.0
Use the set step with the trim function. Variable=Variable.trim()
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Voice Noob
Sent: Friday, August 14, 2009 1:57 PM
To: ask-icd-ivr-support at external.cisco.com; 'cisco-voip voyp list'
Subject: [cisco-voip] DB Get Step UCCX 7.0
I am using a DB Get step. The field I am using is 20 characters long and the results are varying length. UCCX is returning the entire 20 characters padding the end with blank spaces. How can I modify the script to check the length of the string and remove the blank spaces at the end.
This may also help with another problem I have which is where the caller enters their number as 7 digits but I need them to enter 10 digits. I need to check the total number of characters and if it's less than 10 characters I will play a prompt and loop them back to the get digit step.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090814/931f7c92/attachment.html>
More information about the cisco-voip
mailing list