Installation guide

TEST-POLICY ACLI COMMANDS N - Z
Version S-C6.1.0 Oracle Communications Session Border Controller ACLI Reference Guide 123
Release First appearance: 5.0
Example ACMEPACKET# test-pattern-rule expression ‘.*;tgid=(.+).*’
Notes This command exists both as a command and as a configuration element.
test-policy
The test-policy command is used to test routes configured for the address
translation feature. This command is also found in the session-router path. Details
on its use are found in the Configuration Elements N-Z chapter.
Syntax test-policy <argument>
Arguments <argument> The following are test-policy arguments:
Values carriers—Enter names of permitted carriers set in the
carriers fields set in configured local-policy elements. This
field is formatted as a list of comma-separated text strings
enclosed in quotation marks.
from-address—Enter the “from” address of the local policy
to look up/test. From addresses should be entered as SIP-
URLs in the form of
sip:19785551212@netnetsystems.com.
media-profiles—List media profiles
show—Show the next hop and the associated carrier
information for all routes matching the “from” and “to”
addresses entered
source-realm—Enter the name set in the source-realm field
of a configured local policy. Entering an “*” in this field
matches for any source realm. Leaving the field empty
indicates that only the “global” realm will be tested.
time-of-day—Decide whether to use the time of day value
set in the start-time and end-time fields set in configured
local-policy elements
–enabled | disabled
to-address—Enter the “to” address of the local policy to
look up/test. To addresses should be entered as SIP-URLs in
the form of
sip:19785551212@netnetsystems.com.
exit—End the test
Mode User
Release First appearance: 1.0
Notes This command exists both as a command and as a configuration element.