Skip to content
Kim Rostgaard Christensen edited this page Aug 23, 2013 · 1 revision

POST /account/register (But implemented in current git master as GET for convenience)

Registers a previously added account.

Notice! This is a blocking call that (unfortunately) locks up the library until a reply has been received, or a timeout is reached. All other API calls will block while the PJSUA tries to connect.

Parameters.

account=sip account identifier (such as user@pbxhost)

Condition: Success.

HTTP 200 OK with a JSON status body containing the status of the registration.

TODO

Condition: Error.

HTTP 500 Server error with empty body.

Clone this wiki locally