SipRegistration

An account registration state change: the result of a REGISTER, a refresh, an unregistration, or a failed retry. Emitted on every change and on each failed attempt. A registration failure is only ever this event — it never fails the node or interrupts a call.

Field

Type

Repeated

Description

state

SipRegistration.State

code

uint32

SIP status code (e.g. 200, 401, 403; 0 if there was no response at all).

reason

string

SIP reason phrase.

expires_seconds

uint32

Granted lease in seconds when registered (0 otherwise).

Member of

Message

Description

SipEvent