10-24-2005 03:14 AM - edited 03-13-2019 10:57 AM
I need to make transformation of calling party number for incoming call (CID) on MGCP gateway. I create transformation rule :
translation-rule 2
Rule 0 ^0. 0
Rule 1 ^1. 0511
Rule 2 ^2. 0512
Rule 3 ^3. 0513
Rule 4 ^4. 0514
Rule 5 ^5. 0515
Rule 6 ^6. 0516
Rule 7 ^7. 0517
Rule 8 ^8. 0518
Rule 9 ^9. 0519
voice-port 1/0:15
translate calling 2
I get unchanged CID on my phone.
10-24-2005 03:23 AM
You can use translation patterns in CallManager, so you can change the incoming numbers.
Regards,
Juan Luis
10-24-2005 08:18 AM
It's an easy mistake you've made DJ (I've done it myself) - you need to use the "Voice translation-rule" command, rather than "translation-rule" command.
e.g.:
voice translation-rule 1
rule 1 /^1/ /0511/
rule 2 /^2/ /0512/
10-24-2005 10:33 PM
I try with voice translation rule, but voice translation-rule work only on h.323 gateways not on MGCP gateways.
10-25-2005 12:38 AM
Naturally - with MGCP everything is backhauled to CM. Changing the CLI is one of the main reasons we use H.323 over MGCP still today.
If you need to use MGCP, then you need to run it through CallManager translation patterns as the previous respondent suggested.
10-25-2005 06:14 AM
I think the other guys have already told you what needs to be done here.
Translation rules apply only to H.323 gateways. As you have an MGCP gateway, everything is handled by the CM and not by the gateway.
SO, in your case, depending on the dialled number, create a translation pattern (after checking which digits are actually sent to the CM from the gateway and to the gateway by the TELCO). Once you know that, create a translation pattern and change the Calling Party Transformation mask to whatever number you want. This way, to whatever phone you send the call to from the translation pattern, it will see the transformed number.
Lemme know incase of any questions.
11-15-2005 04:26 AM
Yes, I agree with all these persons...Need to go through the CCM Translation PAttern.
However, is there a way to translate Calling depending on the calling party.
When I get a call from internationnal, this call arrives with CID = CC+NSN
I would like to be able to change this, depending on the CC!!!!!
For example, if CC = 33, i remore 33 and put 0 instead.
Anyone has an idea ?
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