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

Unanswered Question
Jul 27th, 2009

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
Paolo Bevilacqua Mon, 07/27/2009 - 14:27

Telco will never do that for you.

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

Nicholas Matthews Mon, 07/27/2009 - 17:00

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

xiaoliangyue Tue, 07/28/2009 - 08:29

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

Paolo Bevilacqua Tue, 07/28/2009 - 08:52

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

xiaoliangyue Tue, 07/28/2009 - 10:31

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

Thanks.

Paolo Bevilacqua Tue, 07/28/2009 - 11:01

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.

Actions

This Discussion