Client Registration
This webhook is sent when a SIP client tries to register, it is configured at the account level
Headers
Authorization
Basic authentication of the form Basic <username:password>.
Request
provides details of the authentication request. The receiving server is responsible for authenticating the request as per RFC 2617
method
sip request method
realm
sip realm
username
sip username provided
expires
expiration requested, in seconds
nonce
nonce value
uri
sip uri in request
response
digest value calculated by the client
scheme
encryption protocol
algorithm
encryption algorithm used, default to MD5 if not provided
qop
qop value
cnonce
cnonce value
nc
nc value
Response
Your callback should return this HTTP status code in all cases.
if the request was authenticated and you wish to admit
the client to the network, this is indicated by setting the 'status'
attribute in the body to 'ok'
status
indicates whether the request was successfully authenticated
Allowed values:
message
a human-readable message
call_hook
url of application to invoke when this device places a call
expires
The expires value to grant to the requesting user.
If not provided, the expires value in the request is observed.
If provided, must be less than the requested expires value.
blacklist
If provided, represents a period in seconds during which the source IP address should be blacklisted by the platform (0 means forever).