Q on dial peer

Answered Question
Jun 18th, 2008

hi

i have two simple enquiries on dial peers,

first, for international calls, i created dial peer with destination pattern of 900T, where 9 is outside access code, what i want is:

i want to strip only 9 from the pattern, how can i do this? i'm asking this because international calls may be of 13 difgits, 14 digits, or more so if i configured forward-digits 13 it will work for the 13th pattern and won't work for the 14th and others

second, when i have for example 12 FXO ports, shall i configure each pattern (local, national, mobile,....) and map it for the every FXO port like for example:

destination-pattern 050.......

port 0/0/0

destination-pattern 050.......

port 0/0/1

destination-pattern 050.......

port 0/0/2

destination-pattern 050.......

port 0/0/3

destination-pattern 050.......

port 0/1/0

.

.

ando so on

and for the next destination pattern the same and so on...

please advice

thanks

I have this problem too.
0 votes
Correct Answer by Paolo Bevilacqua about 8 years 5 months ago

Yes.

Thanks for the appreciation and good luck!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Paolo Bevilacqua Wed, 06/18/2008 - 04:05

Hi, two ways to prevent digits from stripping in variable-length pots DP:

dial-peer voice XXX pots

destination-pattern 900[1-9].......T

prefix 00

OR

dial-peer voice XXX pots

destination-pattern 9[0][0][1-9].......T

To use multiple ports, configure trunk groups:

voice-port x/y/x

trunk-group fxo

[repeat for all applicable voice ports]

then reference "trunkgroup fxo" instead of port under DP.

Hope this helps, please rate post if it does!

user-cisco Wed, 06/18/2008 - 06:32

thanks paulo for ur nice response,

for 9[0][0][1-9].......T

as i understood any thing between [] will not be stripped in pots DP, right? so i don't need to do any digit stripping and then the only digit that will be stripped in this case is 9?

another thing, why should i put [1-9] in both examples u introduced? can't i use

900.......T

and

9[0][0].......T

only since the dot can be any digit, and i have here no restriction on what the digit is? or there is some reason so u used [1-9]?

please help

thanks agian

Paolo Bevilacqua Wed, 06/18/2008 - 07:02

Hi, yes, and international codes all begin with digits from 1 to 9, so [1-9] is the correct configuration.

Please remember to rate useful posts!

user-cisco Wed, 06/18/2008 - 07:06

thanks paulo for ur nice response,

for 9[0][0][1-9].......T

as i understood any thing between [] will not be stripped in pots DP, right? so i don't need to do any digit stripping and then the only digit that will be stripped in this case is 9?

Actions

This Discussion