Dial Rules Call Server Configuration
Polycom, Inc. 231
• You can add a filtering preliminary script to any dial rule to restrict the
behavior of that rule.
For example, if you know that all the aliases of a specific neighbor
gatekeeper are exactly ten digits long, you may want to route calls to that
gatekeeper only if the dial string begins with a certain prefix followed by
exactly ten digits.
To accomplish this, add a preliminary script to the service prefix dial rule
that rejects all dial strings that begin with the prefix, but aren’t followed
by exactly ten digits.
• To exclude certain dial strings, combine a filtering preliminary script with
the Block action.
• You can use a preliminary script to modify the dial strings accepted by any
of the rules.
For example, to be able to call an enterprise partner by dialing the prefix 7
followed by an alias in the partner’s namespace, configure a Resolve to
external address action with a preliminary script that transforms the
string
7xxxx
to
H323:xxxx@enterprisepartner.com
.
Note
In a mixed H.323 and SIP environment, be aware that the Polycom DMA system
acts as a seamless gateway. If an H.323 device sends it a Location Request (LRQ)
and the dial plan contains a dial rule using the Resolve to external SIP peer
action, the DMA system will respond with a Location Confirm (LCF) because it can
resolve the address by routing the H.323 call through its gateway to the SIP
peer(s).
You can prevent H.323 calls from being routed to SIP peers by restricting which
calls are routed to them in one or more of the following ways:
• Assign each SIP peer an authorized domain or domains (this is a good idea in
any case in order to avoid dialing loops). See “Edit External SIP Peer Dialog
Box” on page 102.
• Assign each SIP peer a prefix or prefix range. See “Edit External SIP Peer
Dialog Box” on page 102.
• Add a preliminary script to the dial rule using the Resolve to external SIP peer
action that ensures that the rule will only match a SIP address. See “Sample
Preliminary and Postliminary Scripts” on page 236.
• Make the dial rule using the Resolve to external SIP peer action the last rule
and ensure that all H.323 calls will match against one of the preceding dial rules.