cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1572
Views
5
Helpful
2
Replies

Prefix 9 on incoming calling party number for CallerID purposes.

 

I have a customer who is running CUCM9.1 with voice gateways running IOS15. They are stripping 9 on their outgoing dial peers. When they try to call utilizing the call logs (missed and received call lists), the call fails because there is no 9 in front of the number.

As I suspected, when I stripped the local area code, and prepended 9 through the route pattern, dialing 4 digit extensions caused the delay waiting for the interdigit timer. IIRC, there is a way to prepend a 9 on the incoming calling party's phone number, so that it shows up with a 9 on Caller ID on the Cisco Phones.

Is anyone familiar with this? I've done it before, but can't remember what we did. I'm taking notes this time....

 

the only thing I can see to apply to the incoming dial peer affects the called party, which would only affect call routing, not Caller ID.

 

Thanks!!

Jonathan Beardsley CCNA Voice; MCITP Telecom & Network Administrator DECOSIMO
2 Replies 2

Ayodeji Okanlawon
VIP Alumni
VIP Alumni

Hi, please follow the steps below:


1. You use the incoming calling partty settings on the gateway to prefix the appropriate digits...ie 9 for local, 91 National, 900 international etc

 
2. You configure a calling party xformation pattern that macthes each of these numbers eg. 9.1[2-9]XX[2-9]XXXXXX. , 9.00! On the pattern you configure it to strip predot..

 
3. You configure your calling party xformation CSS to have access to the partition of these patterns...You then check your phones to eithe use calling party CSS on the phone settings or use the device pool settings...

 
Now when the call comes into your gateway, if it is a national call a 91 is prefixed as you have defined it. Now this 91.XXXXXXX pattern is passed through the calling party xformation pattern an the 91 is stripped before it is presented to the phones. However on the call logs i.e missed calls, the 91 will be there

 

Please rate all useful posts

Ayodeji,

 

Thanks for your response. I am saving this for future use. In this scenario, we really wanted to keep this function on the gateway itself, and adjust the Calling Party Number as it comes in to the gateway. This keeps consistent with the site's configuration of digit manipulation all taking place on the Voice Gateway.

Here is what I came up with:

 

EXISTING:

voice translation-rule 100
 rule 1 /^0869/ /3260/
 rule 2 /^0150/ /4126/
 rule 3 /^9611/ /4679/
!

voice translation-profile IN
 translate called 100
!
dial-peer voice 1 pots
 translation-profile incoming IN
 answer-address .
 incoming called-number .
 direct-inward-dial
 port 0/0/0:23

Proposed addition

 

voice translation-rule 1055
 rule 1 /^502\(.......\)/ /9\1/ -> Strips 502 and carries 7 digits over and prefixes 9 to the set.
 rule 2 /^[2-9].*/ /91&/ -> Prefixes 91 to any LD number
 rule 3 /^011\(.*\)/ /9011\1/ -> Prefixes 9 to any international number

voice translation-profile IN
 translate called 100
 translate calling 105

Tests:

 

2921(cfg-translation-rule)#do test voice translation-r 105 5025551000
Matched with rule 1
Original number: 5025551000     Translated number: 95551000
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

2921(cfg-translation-rule)#do test voice translation-r 105 2125551000
Matched with rule 2
Original number: 2125551000     Translated number: 912125551000
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

2921(cfg-translation-rule)#do test voice translation-r 105 011333444225551000
Matched with rule 3
Original number: 011333444225551000     Translated number: 9011333444225551000
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

 

2921(cfg-translation-rule)#do sh voice translation-rule 105
Translation-rule tag: 105

        Rule 1:
        Match pattern: ^502\(.......\)
        Replace pattern: 9\1
        Match type: none                Replace type: none
        Match plan: none                Replace plan: none

        Rule 2:
        Match pattern: ^[2-9].*
        Replace pattern: 91&
        Match type: none                Replace type: none
        Match plan: none                Replace plan: none

        Rule 3:
        Match pattern: ^011\(.*\)
        Replace pattern: 9011\1
        Match type: none                Replace type: none
        Match plan: none                Replace plan: none

 

 

 

 

Jonathan Beardsley CCNA Voice; MCITP Telecom & Network Administrator DECOSIMO
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: