Im trying to strip the 0 on all outbound calls going to the PSTN at one of our remote sites.
Did some research but cant find a document on how to strip the 0, there's a lot of information on manipulating the called number and expanding on the calling number, but I cant find anything on how to strip the 0 from the calling number on outbound calls.
The Telco is using some old exchange equipment which expects all calling numbers to be 9 digits, but we are sending 10. As a result our numbers get masked with the trigger number of the PRI. Ive tried to configure a calling party transformation pattern and strip on the pre-dot, but this had no effect. This is how I configured the transformation pattern, but not sure if it was done correctly though
On the transformation patter I did the following
Partition: Test_PT (a empty partition I created, and tied it to Calling Search Space "Test_CSS")
Discard digit instruction: PreDot
Everything else I left on the default settings.
On the PRI of the gateway where I want to strip the digits, I went to the Call Routing Information - Outbound calls section, and unchecked the "Use device pool calling party transformation CSS" and from the Calling party transformation CSS drop menu I selected the "Test_CSS" which I created.
A DNA showed that the outbound calls don't even hit the transformation mask, and a debug confirmed that no digit strip is occurring.
If anyone can assist in letting me know where I went wrong with my transformation mask, or any other ideas on how I can get rid of that pesky 0 in the calling party information, it would be much appreciated.
Adding a tip to what correctly suggested from my friend Deji (+5) you can act on Voice gateway by applying translation rules for calling number.
lets assume that your calling number is 05551234
voice translation-rule 1
rule 1 /^0/ /\1/
voice translation-profile StripZero
translate calling 1
Apply translation profile StripZero to your outgoing dial peer