To
add an external address to an external platform definition,
use the following sis-console commands, Ant task, or related MBean operations.
Console commands
addexternalplatformaddress
Command |
addexternalplatformaddress <ra-entity> <platform-name> <address> [insert-pos] Add an address to an external platform definition, optionally inserting the address at a specified position
|
||
|---|---|---|---|
Example |
To add the external address $ ./sis-console addexternalplatformaddress sis VPN-External sip:vpn2.mycompany.com:5060;transport=tcp 1 Added address sip:vpn2.mycompany.com:5060;transport=tcp to external platform definition VPN-External at position 1 To add the external address $ ./sis-console addexternalplatformaddress sis VPN-External type=c7,ri=pcssn,pc=7,ssn=146 Added address type=c7,ri=pcssn,pc=7,ssn=146 to external platform definition VPN-External |
Ant task
addexternalplatformaddress
Task |
<addexternalplatformaddress extPlatformName="..." type="..." address="..." position="..."/> |
|---|---|
Example |
To add the external address <sis-sip-management>
<addexternalplatformaddress
extPlatformName="VPN-External"
address="sip:vpn2.mycompany.com:5060;transport=tcp"
position="1"/>
</sis-sip-management>
To add the external address <sis-in-management>
<addexternalplatformaddress
extPlatformName="VPN-External"
address="type=c7,ri=pcssn,pc=7,ssn=146"/>
</sis-in-management>
|
Mbean operations
MBean |
|---|
addAddress
Operations |
public void addAddress(String address)
throws NullPointerException, InvalidArgumentException,
DuplicateAddressException, ManagementException;
|
|---|
addAddress
Operations |
public void addAddress(String address, int position)
throws NullPointerException, InvalidArgumentException,
DuplicateAddressException, ManagementException;
|
|---|
