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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

How to append a prefix "9" on missed calls

We have callmanager 3.2 with H323 PSTN gateway. We have PRI number with several DID extensions. We have to dial prefix "9" to get outside line. When I get a missed call (incoming PSTN) on my 7960 phone, I see the missed number without the prefix "9" in front (obviously). If I want to dial this number, I have to press "edit dial" on my 7960 and append a "9" in front, and then press "dial". Is there a way that the system will automatically append this "9" in front of the incoming calling number, so that I don't have to do it manually?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Silver

Re: How to append a prefix "9" on missed calls

Configure a translation rule on the gw to prepend the 9 in the calling party number:

translation-rule 1 <-----

Rule 1 ^0.% 90

Rule 2 ^1.% 91

Rule 3 ^2.% 92

Rule 4 ^3.% 93

Rule 5 ^4.% 94

Rule 6 ^5.% 95

Rule 7 ^6.% 96

Rule 8 ^7.% 97

Rule 9 ^8.% 98

Rule 10 ^9.% 99

Dial-peer voice 1 voip

Translate outgoing calling 1 <-------

Destination-pattern 4...

session target ipv4:10.1.1.1

5 REPLIES
Silver

Re: How to append a prefix "9" on missed calls

Configure a translation rule on the gw to prepend the 9 in the calling party number:

translation-rule 1 <-----

Rule 1 ^0.% 90

Rule 2 ^1.% 91

Rule 3 ^2.% 92

Rule 4 ^3.% 93

Rule 5 ^4.% 94

Rule 6 ^5.% 95

Rule 7 ^6.% 96

Rule 8 ^7.% 97

Rule 9 ^8.% 98

Rule 10 ^9.% 99

Dial-peer voice 1 voip

Translate outgoing calling 1 <-------

Destination-pattern 4...

session target ipv4:10.1.1.1

New Member

Re: How to append a prefix "9" on missed calls

thanks a lot,

That really solved my problem.

Thanks again

New Member

Re: How to append a prefix "9" on missed calls

How do you handle calls from internal parties? Does this feature also append a 9 to the internal number?

New Member

Re: How to append a prefix "9" on missed calls

What is proposed here is a translation pattern that would run on the H.323 gateway. Therefore, it will only transform calling numbers that are coming in through the voice gateway. This is usually preferred, as most dialplans only need the 9 appended on external calls.

However, this does cause a problem if the system uses MGCP gateway. In that case, a translation pattern on the Callmanager is the only option.

New Member

Re: How to append a prefix "9" on missed calls

Hi,

Just as an addition to the answer above. You can do the same thing with one line

translation-rule 1

Rule 1 ^.% 9

!

c2600#test translation-rule 1 12345455

The replaced number: 912345455

Hope it helps

Tola.

202
Views
0
Helpful
5
Replies