test-policy

The test-policy element tests and displays local policy routes from the ACLI.

Parameters

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.
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.
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.
time-of-day
Enable or disable use of the time of day value set in the start-time and end-time fields you set in configured local-policy elements
  • Values: enabled | disabled
carriers
Enter the 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.
media-profile
Enter a list of media profiles
show
Show the next hop and the associated carrier information for all routes matching the “from” and “to” addresses entered

Path

test-policy is available under the session-router path.

Notes

Type the show command to perform the actual test lookup after parameters have been entered.

The test-policy element can also be configured in Superuser mode as a command.