cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
580
Views
5
Helpful
6
Replies

Q on dial peer

user-cisco
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

Yes.

Thanks for the appreciation and good luck!

View solution in original post

6 Replies 6

paolo bevilacqua
Hall of Fame
Hall of Fame

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!

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

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!

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?

Yes.

Thanks for the appreciation and good luck!

thank you