You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

REST API Method: POST /rest/siplocalauthtable/{identifier}/siplocalauthentry/{identifier}

Modifies a SIP Local Passthrough Authorization Table Entry given a specific Table Entry ID in a given SIP Local Passthrough Authorization Table.

URL:

https://134.56.227.163/rest/siplocalauthtable/{identifier}/siplocalauthentry/{identifier}

HTTP Method

POST

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
AorTypeYesYesEnum1Possible values:
  • 0 - e_HostNone
  • 1 - e_HostLocal
  • 2 - e_HostRemote
  • 3 - e_HostStatic
Specifies how the Address of Record (AOR) is received from a SIP endpoint
  • Local
    - the contact registrant is the Sonus SBC 1000/2000 system
  • Remote
    - the contact registrant is a separate SIP Server/Proxy host
AORYesYesstringnone512 - Max Length Identifies the address of record for this client to be registered to the SIP server. If Type of Address of Record is set to Remote, the URI must contain protocol:user@host, for example: sip:17324609000@remoterserver.com. When a the Sonus SBC 1000/2000 system receives a SIP request, this authorization table is searched for a match and uses the realm/user/password to challenge the request.
UserYesNostringnone64 - Max Length Specifies the user name used by the proxy to challenge a request message.
EncryptedPasswordYesNostringnone64 - Max Length Encrypted password used along with the user name to calculate digest authentication.

Helpful Tip

The POST can contain either only the attributes that are being updated, or the full set of attributes for the resource

Usage Example: (about cURL | requires a session token)

Put code example here

Response:

Put Code response here
  • No labels