Below are the sipservlet-console and Ant commands for updating network interfaces.
The properties of a network interface can be updated by specifying the interface name and the new property values. In sipservlet-console or Ant, setting a property value to the literal string null removes the property from the network interface, so the property reverts to its default value.
|
Console
Syntax |
updatenetworkinterface <ra-entity> <interface-name> (<property> <value>)* |
---|---|
Example |
To update a network interface’s address and port: updatenetworkinterface ss public IPAddress 192.168.99.4 Port 5600 |
Ant
Syntax |
<sipservlet:updatenetworkinterface name="..."> <sipservlet:property name="..." value="..."/> </sipservlet:updatenetworkinterface> |
---|---|
Example |
To update a network interface’s address and port: <sipservlet:updatenetworkinterface name="public"> <sipservlet:property name="IPAddress" value="192.168.99.4"/> <sipservlet:property name="Port" value="5600"/> </sipservlet:updatenetworkinterface> |