06-18-2008 02:14 AM - edited 03-15-2019 11:21 AM
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
Solved! Go to Solution.
06-18-2008 07:24 AM
06-18-2008 04:05 AM
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!
06-18-2008 06:32 AM
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
06-18-2008 07:02 AM
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!
06-18-2008 07:06 AM
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?
06-18-2008 07:24 AM
Yes.
Thanks for the appreciation and good luck!
06-18-2008 08:49 AM
thank you
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: