PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
269
-
This pattern is used to match dialed digits to a dial peer. The dial peer is then
used to complete the call. When a router receives voice data, it compares the
called number (the full E.164 telephone number) in the packet header with the
number configured as the destination pattern for the voice-telephony peer.
The router then strips out the left-justified numbers corresponding to the
destination pattern. If you have configured a prefix, the prefix is appended to
the front of the remaining numbers, creating a dial string, which the router then
dials. If all numbers in the destination pattern are stripped-out, the user receives
a dial tone.
There are certain areas in the world (for example, in certain European
countries) where valid telephone numbers can vary in length. Use the optional
control character
T
to indicate that a particular
destination-pattern
value is a
variable-length dial-string. In this case, the system does not match the dialed
numbers until the interdigit timeout value has expired.
5.7.4.4.5.
Examples
The following example configures the E.164 telephone number, "555-7922," for a
dial peer:
dial-peer voice 10 pots
destination-pattern 5557922
The following example shows configuration of a destination pattern in which
the digit numbers range between 5553409 and 5559499:
dial-peer voice 3 VoIP
destination-pattern 555[3-9]4[0-9]9
The following example shows configuration of a destination pattern in which
the digit numbers range between 5551439, 5553439, 5555439, 5557439, and
5559439:
dial-peer voice 4 VoIP
destination-pattern 555[13579]439