[cisco-voip] DB Get Step UCCX 7.0

Fuermann, Jason JBF005 at shsu.edu
Fri Aug 14 15:08:25 EDT 2009


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/897c3009/attachment.html>


More information about the cisco-voip mailing list