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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Is it possible to have telcom switch to prefix 1 to a long distance call?

On CME, I can prefix 9 on all incoming calls, however, it's difficult to distinguish local calls and long distance calls. CME can't accommodate so many translation rules. long distance calls need prefixes 9 and 1. if telco switch is able to prefix 1 to the LD numbers sent to CME, it would do the trick.

thanks,

Jon

7 REPLIES
Hall of Fame Super Gold

Re: Is it possible to have telcom switch to prefix 1 to a long d

Telco will never do that for you.

It is possible to configure translation-rules to behave smart, I did that in some occasion.

Re: Is it possible to have telcom switch to prefix 1 to a long d

Hi Jon,

You can do this fairly easily. I assume you're trying to change the caller ID so that people can redial easily.

You get 16 rules, so you can do a pretty good amount, given that you don't already have a large pre-existing amount of rules.

I would think something like this would correctly do what you're looking for:

voice translation-rule 1

rule 1 /^\(..........\)$/ /91\1/

rule 2 /^\(.......\)$/ /1\1/

rule 3 /^\(817.......\)$/ /9\1/

voice translation-profile 1

translate calling 1

dial-peer voice 1 pots

incoming called-number .

translation-profile 1 incoming

What this translates to:

rule 1 - Check for the start of the string, then remember 10 digits, and check for the end of the string. Then, place a 9 and 1 before the string we remembered.

rule 2 - similar, but checks for 7 digits between the beginning and end of the string

rule 3 - example if you have a local area code you do not need to dial 1 for. In this case if you had to dial 817 numbers as 9-817-555-1234, this would cover that.

hth,

nick

New Member

Re: Is it possible to have telcom switch to prefix 1 to a long d

Hi, Nick,

the customer uses 10 digits local dialing. there are 2 area codes: 604, 778. the challenge is that only part of 604 and 778 numbers are local, some are LD one.

to me the rules should be like this:

voice translation-rule 1

rule 1 /^\(604676....\)$/ /9\1/

rule 2 /^\(778886....\)$/ /9\1/

rule 3 /^\([2-9]..[2-9]......\)$/ /91\1/

rule 15 /\(.*\)/ /9011\1/

I know that some prefixes can be summarized, still the amount is too big.

Another issue is that international calls may fall into the rules for North American calls.

thanks,

Jon

Hall of Fame Super Gold

Re: Is it possible to have telcom switch to prefix 1 to a long d

If you have ISDN, international calls will be present as so, and you can configure the translation rule to work for these only.

New Member

Re: Is it possible to have telcom switch to prefix 1 to a long d

Hi, Paolo, can you elaborate a little bit? I don't think I get you. the customer is using T1 Pri for PSTN.

Thanks.

Hall of Fame Super Gold

Re: Is it possible to have telcom switch to prefix 1 to a long d

Take "debug isdn q931" with "term mon" for various types of incoming calls. You can base the translation-rule on the plan/type sent by the switch.

New Member

Re: Is it possible to have telcom switch to prefix 1 to a long d

really good idea! I'll verify it when I have a chance. thanks a lot!

120
Views
4
Helpful
7
Replies