cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
7
Replies

Assistance needed setting up international dial peer

pfc-corporate
Level 1
Level 1

Hello all, I need some assistance setting up an international dial peer on a UCME system.

Users are required to prefix outbound calls by dialing "8", but the 8 is not necessary to actually make the call over the outbound PRI. This is strictly an internal thing so I can route calls over different PRI's based on the prefix.

Since international is variable length, I need to use destination-pattern 8011T, but my 8 prefix throws a wrench at me. Normally, on my fixed length dial peers, I can use forward-digits so the 8 prefix is not forwarded.

Through some docs, I've found one possible solution using a translation-rule as follows:

dial-peer voice 200 pots

destination-pattern 011T

port 0/0/1:23

translate-outgoing called 1

!

translation-rule 1

rule 0 ^80110 0110

rule 1 ^80111 0111

rule 2 ^80112 0112

rule 3 ^80113 0113

rule 4 ^80114 0114

rule 5 ^80115 0115

rule 6 ^80116 0116

rule 7 ^80117 0117

rule 8 ^80118 0118

rule 9 ^80119 0119

!

Will this work properly on a pots dial peer? The example used it on a voip peer.

Is there another/better way to do this?

2 Accepted Solutions

Accepted Solutions

Marwan ALshawi
VIP Alumni
VIP Alumni

ofcourse it works

but do it like

voice translation-rule 1

rule 1 /^80110/ /0110 /

rule 2 /^80111/ /0111 /

.

.

.

.

then

voice trnaslation-profile profile1

translate called 1

dial-peer voice 200 pots

destination-pattern 8011T

port 0/0/1:23

translation-profile outgoing profile1

forward-digits all

note: the above outbound pots dial-peer will do the translation first then will use the forward-digits all.

good luck

if helpful Rate

View solution in original post

Chris Deren
Hall of Fame
Hall of Fame

Simply do this:

dial-peer voice 200 pots

destination-pattern 8011T

port 0/0/1:23

prefix 011

this way 8011 will be striped, but 011 will be prefixed.

HTH,

Chris

View solution in original post

7 Replies 7

Marwan ALshawi
VIP Alumni
VIP Alumni

ofcourse it works

but do it like

voice translation-rule 1

rule 1 /^80110/ /0110 /

rule 2 /^80111/ /0111 /

.

.

.

.

then

voice trnaslation-profile profile1

translate called 1

dial-peer voice 200 pots

destination-pattern 8011T

port 0/0/1:23

translation-profile outgoing profile1

forward-digits all

note: the above outbound pots dial-peer will do the translation first then will use the forward-digits all.

good luck

if helpful Rate

Chris Deren
Hall of Fame
Hall of Fame

Simply do this:

dial-peer voice 200 pots

destination-pattern 8011T

port 0/0/1:23

prefix 011

this way 8011 will be striped, but 011 will be prefixed.

HTH,

Chris

nice one Chris

but the one i have posted dose the work as well right !

sure, but why over complicate things when there is a simpler solution :-)

Chris

Thanks guys. Always nice to know all the options.

I take the prefix options modifes the destination-pattern so that any specified digits are removed and replaced by the prefix, and then any wildcard digits (such as . or a T) are appended ?

The way pots dial-peers work is they strip everything that's explicitly matched, so in your example since you had 8011T, 8011 is explicitely matched thus stripped. Wild cards are preserved, so if you had . T or [23] it will be preserved. Prefix simply prefixes digits after the stripping is performed.

HTH,

Chris

with pots dial peer any digits explicitly matched will be removed when the call gose outbound.. so with 8011... ot T and the user dial 801112345

the 8011 will be removed

with the prefix 011 the 011 will be prepended to to the rest of the dialed number then will be 01112345

with the trnalsation i have sent u the translation dose the job and the forward digit all just send the whol resulted number

thanks for rating and good luck