Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alter digits dialed in a vector

Status
Not open for further replies.

DTDude

Technical User
Dec 4, 2011
131
US
I think there answer here is probably no, but...is there a way to alter/translate the digits a caller dials within a vector?

For instance, if a caller dials extension 4321 in a vector, is there any way of having the route-to number be 54321? I'm working on a 7.1 system with a really nasty dial plan (implemented before I arrived) and am looking for ways to avoid outside callers having to dial full extensions.

ARS is a no go in this case, as it will cause dial plan conflicts with other locations.
 
Certainly. Don't have a CM handy at the moment, but you'd use some math and maybe some variables. Others here I'm sure know off the top of their head.

Something like collect 4 digits after announcement X for none, set digits = digits + 50000 or something

You'll get into real fun math later when you want to enforce dialing 5 digits but not stop them from dialing 4, so you'll have "go to step 10 if digits >50000" and "go to step 20 if digits <9999" and then people asking you if they can skip the interdigit timeout when they dial 4 digits and stuff.

You'll have a great time!
 
If you use "set digits = digits CATL 5 this will add a 5 to the left" (CATR does the same but at the right).
 
Collect 4 digits after announcement X for Variable X (defined in my vector as AK)
Go to step X if AK = 4??? (assuming all of your extensions that start with 4 will get the 5 added in front)

Step X -> set AL = AK CATL 5
Route-to number AL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top