Problem :
You want your MGCP controlled E1/T1 to present a single outbound CLI for a group of DN’s that is different from their individual DID’s. You also want all other DN’s to present as normal.
- You could hardset the Caller ID DN field on the E1 under “Call Routing Information – Outbound Calls” – This will overwrite all DN’s not just the ones you want
- You could adjust the “External Phone Number Mask” on the DN. – This works but it will also change the phone display and can have AAR Implications
- You could duplicate your dialplan in a seperate partition with new CSS’s and Route lists. Overwrite the CLI at the Route List – This is just yuck and doesn’t scale
Solution:
Transformation Patterns to the Rescue! A Transformation Pattern will allow you to adjust the Calling Party number when it hits the gateway conditionally based on the original internal calling party number.
- Create a Partition called CLIRewrite
- Create a CSS called CLIRewrite that looks at Partition CLIRewrite
- Configure your MGCP Gateway:
- Device > Gateway
- Select your Gateway
- Select your E1/T1 Interface
- Under “Call Routing Information – Outbound Calls Uncheck “Use Device Pool Calling Party Transformation CSS”
- Choose “CLIRewrite” in Calling Party Transformation CSS Combo Box
- Create your Transformation Mask:
- Call Routing > Transformation Pattern > Calling Party Transformation Pattern
- Click Add New
- Under Pattern enter the internal DN you wish to rewrite (Pattern matches like 28XX also work for matching multiple DN’s)
- Under Calling Party Transformation Mask enter the full number you wish to present out your E1
- Reset your MGCP gateway under Devices>Gateways
- I also had to do a “no mgcp” and then “mgcp” on the gateway itself
- Make a test call to your mobile phone to see the re-written number