ACCOUNT.SIP.DETAILS - API REQUEST
|
|
|
ACCOUNT.SIP.DETAILS - get SIP access details.
|
|
Description
|
|
ACCOUNT.SIP.DETAILS API Action is used to get SIP Username/Password for a given account.
|
|
Arguments
|
|
ACCOUNT_NUMBER
Optional. Only needed if voicemail is deleted from a sub-account.
|
|
|
Example:
<PARAMETER NAME="ACCOUNT_NUMBER">1234567890</PARAMETER>
|
|
Example:
param[ACCOUNT_NUMBER]=1234567890
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
RESULT XML node will contain SUCCESS if action is successful and SIPDETAILS XML node will contain USERNAME and PASSWORD information.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>df141891e2e883904b0b294dc5bq79c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="ACCOUNT.SIP.DETAILS">
<PARAMETER NAME="ACCOUNT_NUMBER">1234567890</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v2.asp?userkey=YOURAPIKEY&action=ACCOUNT.SIP.DETAILS¶m[ACCOUNT_NUMBER]=1234567890
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
<SIPDETAILS>
<USERNAME>1234567890</USERNAME>
<PASSWORD>SECRETPASSWORD</PASSWORD>
</SIPDETAILS>
</RESPONSE>
|
|
|