[cisco-voip] DB Get Step UCCX 7.0

Mike O mikeeo at msn.com
Fri Aug 14 16:30:11 EDT 2009


use int.ValueOf(string) then use .length  attach the script I will take a look at it.
  ----- Original Message ----- 
  From: Voice Noob 
  To: 'Fuermann, Jason' ; 'cisco-voip voyp list' 
  Sent: Friday, August 14, 2009 3:47 PM
  Subject: Re: [cisco-voip] DB Get Step UCCX 7.0


  This does not seem to work. The .length() is expecting an integer and this is a string value. Anything else? 

   

  From: Fuermann, Jason [mailto:JBF005 at shsu.edu] 
  Sent: Friday, August 14, 2009 2:32 PM
  To: 'Voice Noob'; 'cisco-voip voyp list'
  Subject: RE: [cisco-voip] DB Get Step UCCX 7.0

   

  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.

   

   



------------------------------------------------------------------------------


  _______________________________________________
  cisco-voip mailing list
  cisco-voip at puck.nether.net
  https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20090814/7f8c9ced/attachment.html>


More information about the cisco-voip mailing list