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

Q on dial peer

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
Hall of Fame Super Gold

Re: Q on dial peer

Yes.

Thanks for the appreciation and good luck!

6 REPLIES
Hall of Fame Super Gold

Re: Q on dial peer

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!

New Member

Re: Q on dial peer

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

Hall of Fame Super Gold

Re: Q on dial peer

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!

New Member

Re: Q on dial peer

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?

Hall of Fame Super Gold

Re: Q on dial peer

Yes.

Thanks for the appreciation and good luck!

New Member

Re: Q on dial peer

thank you

276
Views
5
Helpful
6
Replies