Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

UCCx get digit string to dial a particular ext range

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

2 REPLIES

UCCx get digit string to dial a particular ext range

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

Voice CCIE #37771
Hall of Fame Super Silver

UCCx get digit string to dial a particular ext range

+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

196
Views
9
Helpful
2
Replies
CreatePlease to create content