cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
888
Views
0
Helpful
3
Replies

Dial Peer

LEE LAMEY
Level 1
Level 1

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

3 Replies 3

babatunde_sanda
Level 1
Level 1

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.

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

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)