This task establishes a connection to a SIP Servlet RA entity. Connections are saved in memory for
use by subsequent
SipServletTasks
in the same Ant build (same JVM instance).
Therefore this task must be executed before any
SipServletTasks
.
Subsequent SipServletTasks
in the build will reuse the last successful connection.
Alternatively these tasks can specify a connection using their connectionrefid
attribute, which
must match the id
attribute of a previous connect
task.
The host
, port
, username
and password
parameters can be set automatically from Ant properties, see the table below. The raentity
parameter
is required, so that a connection is established to a SIP Servlet RA entity MBean.
Ant Parameters
Attribute |
Description |
Required |
raentity |
Name of the SIP Servlet RA entity to connect to. |
Yes. |
id |
A reference that SipServletTasks can use to refer to this connection. |
No. |
host |
Hostname or IP address of Rhino node |
No, may be omitted if ${rhino.remote.host} property is defined. |
port |
Port for the RMI management interface. |
No, may be omitted if ${rhino.remote.port} property is defined. |
username |
User for the RMI management interface. |
No, ay be omitted if ${rhino.remote.user} property is defined. |
password |
Password for the RMI management interface. |
No, may be omitted if ${rhino.remote.password} property is defined. |
Example
<connect raentity="ss-1"/>