Home > sip.js > Registerer
A registerer registers a contact for an address of record (outgoing REGISTER).
Signature:
export declare class Registerer | Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(userAgent, options) | Constructs a new instance of the Registerer class. |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| contacts | Array<string> |
The registered contacts. | |
| retryAfter | number | undefined |
The number of seconds to wait before retrying to register. | |
| state | RegistererState |
The registration state. | |
| stateChange | Emitter<RegistererState> |
Emits when the registerer state changes. |
| Method | Modifiers | Description |
|---|---|---|
| dispose() | Destructor. | |
| register(options) | Sends the REGISTER request. | |
| unregister(options) | Sends the REGISTER request with expires equal to zero. |