cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
5
Helpful
1
Replies

Voice translation rule assistance

wbarren
Level 1
Level 1

I am trying to accomplish the following.  I have a number that is dialed 5560*1 and I need to append a # to it.  This is being done on a POTS dial peer.  I also need to have a pause so I am adding a prefix on it.  I need to add the # in the VG224 and have changed the dial-peer terminator.  what would be the easiest way to accomplish this?  num-exp or voice translation rule?  Or something I am missing?  Thanks in advanced.

dial-peer voice 30261 pots

destination-pattern 5560..

progress_ind setup enable 3

port 2/1

forward-digits all

prefix ,

!

!

dial-peer terminator F

1 Reply 1

William Bell
VIP Alumni
VIP Alumni

Hello,

You could look at translation rules. Example:

voice translation-rule 99

rule 1 /^5560.1$/ /\0#/

voice translation-profile TEST

translate called 99

dial-peer voice 30261 pots

translation-p out TEST

Not sure how the pause will work here but you can put a comma in the translation-rule and it will accept it. So:

voice translation-rule 99

rule 1 /^5560.1$/ /,\0#/

Will be accepted by the CLI parser and will kick out what you expect when testing the rule:

VGW#test voice translation-r 99 556091

Matched with rule 1

Original number: 556091 Translated number: ,556091#

Original number type: none      Translated number type: none

Original number plan: none      Translated number plan: none

Now, will it work when outpulsed on the POTS? Not sure, you will need to test that.

HTH.

-Bill (http://ucguerrilla.com)

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify