Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Translation Rule for incoming PRI to FAX and Phones

I have a PRI into a 2921 router and need to split into DiD to phones and DID/FAX to a TCL script. The PRI is sending 4 digits....so to get to phones...that's easy...do nothing!!!

The fax numbers are in the same range so i need  a way to identify them in a translation rule and prepend the  6 digits back on to it so the script can read the fax and pass on to an email box. numbers are:

xxx-xxx-1100-1138 are going to phones and come in on PRI w/ the correct 4 digits

xxx-xxx-1139-1159 are fax numbers for users and come in the same way on the PRI

What i have now::

!
voice translation-rule 20
rule 1 /8550/ /1192/
rule 2 /6727/ /1199/
rule 3 /1153/ /1153/
rule 4 /1139/ /8889351139/

rule 5 /11[4-5][0-9]/ /888935/

rule 4 is a single fax number and this works....i only have 15 lines in the translation rule!!!

This is what happens...........

rtr-1#test voice translation-rule 20 1140
Matched with rule 5
Original number: 1140   Translated number: 888935
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

Any help would be appreciated

Thanks

   John

  • IP Telephony
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Translation Rule for incoming PRI to FAX and Phones

Remove the \ in front of the 8. Should be:

rule 5 /^\(11[4-5][0-9]\)/ /888935\1/

Brandon

4 REPLIES

Re: Translation Rule for incoming PRI to FAX and Phones

Try this:

voice translation-rule 20
rule 1 /8550/ /1192/
rule 2 /6727/ /1199/
rule 3 /1153/ /1153/
rule 4 /1139/ /8889351139/

rule 5 /^\(11[4-5][0-9]\)/ /888935\1/

Hope this helps.

Brandon

New Member

Re: Translation Rule for incoming PRI to FAX and Phones

Get something wierd::

voice translation-rule 20
rule 1 /8550/ /1192/
rule 2 /6727/ /1199/
rule 3 /1153/ /1153/
rule 4 /1139/ /2179351139/
rule 5 /^\(11[4-5][0-9]\)/ /\888935\1/
!
!

!
         
cli-rtr-1#test voice translation-rule 20 1155
Matched with rule 5
Original number: 1155   Translated number: 889351155
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

It drops the the a digit at the beginning!!!!

Re: Translation Rule for incoming PRI to FAX and Phones

Remove the \ in front of the 8. Should be:

rule 5 /^\(11[4-5][0-9]\)/ /888935\1/

Brandon

New Member

Re: Translation Rule for incoming PRI to FAX and Phones

That is it....THNKS SO MUCH!!!!!

333
Views
0
Helpful
4
Replies
This widget could not be displayed.