UCCx get digit string to dial a particular ext range

Unanswered Question
Jan 17th, 2014
User Badges:

I am currently using combination if Get Digit String step and Switch string step to dial an extension at anytime.
Customer wants the dial by extension option to be set so that it can only dial extensions in the 4XXX range only.
No other range should be dialed.
Thanks.

Sent from Cisco Technical Support iPhone App

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Hermanus Janse ... Fri, 01/17/2014 - 03:48
User Badges:
  • Silver, 250 points or more

you can maybe add an IF/else statement in your script saying if ext = 4XXX transfer else play prompt.

Chris Deren Fri, 01/17/2014 - 06:40
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

+5 to Hermanus Janse


You can simply check the DN range, assume the get digit is a string defined as strDigits, you would do:


if getDigit.length = 4 AND getDigit.substring(0)==4 then

     Route

else

     Do whatever


HTH,


Chris

Actions

This Discussion