PassFinder AP2520 VoIP Router/Gateway Operation Manual
Version 1.10 / Mar. 2002
AddPac Technology Co., Ltd.
-
189
-
attempted through the POTS peer 102.
5.3.4.3.
Call barring
Using the
huntstop
and the
shutdown
of the dial peer explained before, users
can bar the outbound/inbound calls with certain patterns.
To bar calls of the outbound peer, define the pattern to bar in the destination
pattern and set the shutdown and the huntstop. If necessary, set the
preference and select all dial peers to bar first.
In the following example, VoIP peer 100 has been selected for all outbound
calls. However, if the called party number starts with 526 or the called party
number is 5441234, the call will not processed any more.
dial-peer voice 100 VoIP
destination-pattern T
session-target ras
dial-peer voice 101 VoIP
destination-pattern 526T
session-target ras
huntstop
shutdown
dial-peer voice 102 VoIP
destination-pattern 5441234
session-target ras
huntstop
shutdown
To bar calls for the inbound VoIP peer, define the pattern to bar in the
destination pattern and set the shutdown and the huntstop. If necessary, set
the preference and select the dial peer to bar first.
In the above example, if the calling party number of the inbound call starts
with 526 or is 5441234, the call will not processed any more.