06-05-2003 05:31 AM - edited 03-13-2019 12:12 AM
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
Solved! Go to Solution.
06-05-2003 05:45 AM
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
06-05-2003 05:45 AM
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
06-05-2003 06:08 AM
thanks a lot,
That really solved my problem.
Thanks again
06-05-2003 11:14 AM
How do you handle calls from internal parties? Does this feature also append a 9 to the internal number?
06-05-2003 11:47 AM
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.
06-06-2003 09:35 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide