Installs a Default Application Router (DAR) configuration in a SIP Servlet RA entity.
This task invokes the
DARConfigurationManagementMXBean.installConfiguration(byte[])
management operation.
Ant Parameters
Attribute |
Description |
Required |
file |
Path to a DAR properties file. The syntax of the file is defined in
SIP Servlet 1.1 Appendix C. |
Yes, unless a DAR configuration has been provided inline in this element's text. |
connectionrefid |
The id of a previous connect
task that will be used to connect to a SIP Servlet RA entity. |
No. The connection from the last successful
connect task is used by default. |
failonerror |
Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. |
No. Default is false . |
Inline configuration
If the
installdarconfig
element contains text, the text is parsed as a DAR configuration,
as defined in SIP Servlet 1.1 Appendix C. Any Ant properties in the text will be substituted.
The element must contain either a
file
attribute or an inline DAR configuration, but not both.
Examples
<installdarconfig file="${resources}/prepay.dar.properties"/>
<installdarconfig>
INVITE: ("prepay", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "0")
SUBSCRIBE: ("presence", "DAR:From", "ORIGINATING", "", "NO_ROUTE", "1")
</installdarconfig>