ANVEO.DIRECT.TRUNK.UPDATE - API REQUEST
|
|
|
ANVEO.DIRECT.TRUNK.UPDATE - Updates DID SIP Trunk Details.
|
|
Description
|
|
ANVEO.DIRECT.TRUNK.UPDATE API Action is used to updated SIP Trunk details.
|
|
Arguments
|
|
TRUNK.ID
Required. SIP Trunk ID. You can obtain it from 'Configure Trunks' page in your Anveo Direct Account.
|
|
Example:
<PARAMETER NAME="TRUNK.ID">1</PARAMETER>
|
|
TITLE
Optional. A title for your SIP Trunk.
|
|
Example:
<PARAMETER NAME="TITLE">My Test Trunk</PARAMETER>
|
|
SIP.URI
Optional. Primary SIP URI for the trunk.
|
|
Example:
<PARAMETER NAME="SIP.URI">$[E164]$@myserverip:port</PARAMETER>
|
|
SIP.URI.FAILOVER
Optional. Failover SIP URI for the trunk.
|
|
Example:
<PARAMETER NAME="SIP.URI.FAILOVER">$[E164]$@myserverip2:port</PARAMETER>
|
|
Response
|
|
Anveo will return SUCCESS when no errors were found and SIP Trunk was updated successfully.
|
|
API Request Example
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="ANVEO.DIRECT.TRUNK.UPDATE">
<PARAMETER NAME="TRUNK.ID">GEOGRAPHIC</PARAMETER>
<PARAMETER NAME="TITLE">Test Trunk</PARAMETER>
<PARAMETER NAME="SIP.URI">$[E164]$@233.111.111.111:5060</PARAMETER>
<PARAMETER NAME="SIP.URI.FAILOVER">$[E164]$@233.111.111.112:5060</PARAMETER>
</ACTION>
</REQUEST>
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
</RESPONSE>
|
|
|