I have a gateway that has a PRI attached and it receives inbound calls for 2 DID blocks. 1XX and 1XX. I need to write a translation rule for SRST that will pass any calls received for 1XX through just like it was received (XXXX) and will append a 3 to the beginning of anything that is received for 1XX so it will look like 31XX. I suck at translation rules and my gateway gatekeeper book is in another state. Can someone help me out?
rule 1 /^14/ /314/
rule 2 /^15/ /315/
rule 1 /^1\(\)/ /31\1/
The 1xx doesn't fall in that and goes unchanged.
Try rules first with "test voice translation-rule XXX .
Hope this helps, please rate post if it does!