cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
0
Helpful
5
Replies

How to append a prefix "9" on missed calls

pambosch
Level 1
Level 1

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

marinaibm
Level 4
Level 4

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

View solution in original post

5 Replies 5

marinaibm
Level 4
Level 4

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

thanks a lot,

That really solved my problem.

Thanks again

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

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.

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.