Interface: AgentInfo
Properties
aor
aor:
string
The agent’s address-of-record (sip:user@domain).
calls
calls:
number
Number of active calls on this agent.
name
name:
string
The agent’s name (as passed to new Agent(name, …)).
peer?
optionalpeer?:Peer
The current call’s remote party, if there is a call.
reason?
optionalreason?:string
SIP reason phrase of the last response, if any.
registered
registered:
boolean
Whether the agent is currently registered.
state
state:
State
Current call phase (compare against State.*).
statusCode?
optionalstatusCode?:number
SIP status code of the last response, if any.