Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Alter digits dialed in a vector

Alter digits dialed in a vector

Alter digits dialed in a vector

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.

RE: Alter digits dialed in a vector

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!

RE: Alter digits dialed in a vector

Maybe ARS digit conversion may be an option as well.

RE: Alter digits dialed in a vector

If you use "set digits = digits CATL 5 this will add a 5 to the left" (CATR does the same but at the right).

RE: Alter digits dialed in a vector

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close