Below are the sipservlet-console and Ant commands for installing a DAR configuration.
A DAR configuration can be installed from a text file, or by specifying the DAR configuration inline in the Ant task. Installing a new DAR configuration automatically replaces the RA entities' previous DAR configuration, if any. The change takes effect immediately. |
Console
Syntax |
install-dar-config <ra-entity> <config file> |
---|---|
Example |
install-dar-config ss /path/to/dar.properties |
Ant
Syntax |
<sipservlet:installdarconfig file="..."/> or including the DAR configuration inline: <sipservlet:installdarconfig> <!-- Insert DAR rules here... ---> </sipservlet:installdarconfig> |
---|---|
Example |
<sipservlet:installdarconfig file="/path/to/dar.properties"/> or inline: <sipservlet:installdarconfig> INVITE: ("my-app", "DAR:P-Served-User", "ORIGINATING", "", "NO_ROUTE", "0"), ... </sipservlet:installdarconfig> |