02-01-2012 11:53 AM
Is there a way to create a list of numbers and assign that to a dial peer instead of creating a dial peer for each individual number? Number are not in any sequence.
Thanks,
Lee
02-01-2012 12:07 PM
A dial peer is like a routing table for voice. Its like a one to one or one to many configuration.
If you want more than one number to be handled by a dialp peer, your option is to use wildcards.
so say instead of configuring something like ( am typing from memory but you get the idea)
dial-peer 122 pots
destination pattern 12345
port 0/1
you can type
dial-peer 122 pots
destination pattern 1.... (four dots)
port 0/1
This will match practically anything starting with 1 and four digits after.
02-01-2012 12:15 PM
Thanks. I am aware of that.
Is there a way to do the following?
dial-peer 122 pots
destination pattern LIST
port 0/1
List
5412342345
6512345987
2346571253
02-01-2012 01:52 PM
There is no common starting variable in the numbers so the best you probably will be able to do is .T
So it will be something like
dial-peer 122 pots
destination pattern .T (This will match at least a number and more till you stop dialing or interdigit timeout)
port 0/1
and with pots if the end is expecting the "calling ID" which in this case I presume you will need if your dial-peer is pots, you want to make sure no digits are stripped. So it will be something like
dial-peer 122 pots
destination pattern .T
port 0/1
no digit-strip or forward (number of digits)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide