cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
259
Views
0
Helpful
1
Replies

Help with a voice translation rule

jerold.baker
Level 1
Level 1

I have a gateway that has a PRI attached and it receives inbound calls for 2 DID blocks. 1[89]XX and 1[45]XX. I need to write a translation rule for SRST that will pass any calls received for 1[89]XX through just like it was received (XXXX) and will append a 3 to the beginning of anything that is received for 1[45]XX so it will look like 31[45]XX. I suck at translation rules and my gateway gatekeeper book is in another state. Can someone help me out?

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Pick one:

rule 1 /^14/ /314/

rule 2 /^15/ /315/

or

rule 1 /^1\([45]\)/ /31\1/

The 1[89]xx 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!

View solution in original post

1 Reply 1

paolo bevilacqua
Hall of Fame
Hall of Fame

Pick one:

rule 1 /^14/ /314/

rule 2 /^15/ /315/

or

rule 1 /^1\([45]\)/ /31\1/

The 1[89]xx 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!