How translation rule can i use to remove 6 digits of DID number received from ITSP and pass on 4 digits to the PABX (integrated with ISDN pri ) on cisco voice gateway.
The incoming dial peer is voip dial peer because call is coming from ITSP using SIP.
For eg DID number range is 0419137101 - 0419137599
If I follow, I believe you could use something like this:
voice translation-rule 1
rule 1 /.+\(....\)/ /\1/
voice translation-profile strip6
translate called 1
dial-peer voice 1 voip ! Inbound SIP dialpeer
translation-profile incoming strip6