SipSettings interface
Settings for a SIP node.
A SIP node is configured with an account and can make any number of calls over its lifetime, one at a time. Everything here is fixed for the life of the node (to use a different account, create a different node); calls are what come and go — placed with SipNode.dial() (or on creation, see autoDial), ended with SipNode.hangup() or by the far end. The node, its id, its subscriptions and anything subscribed to it carry on across calls.
Signature:
export interface SipSettings extends ProcessorNodeSettings<SipNode>, StreamStatisticsMixin
Extends: ProcessorNodeSettings<SipNode>, StreamStatisticsMixin
Properties
| Property | Type | Description |
|---|---|---|
boolean |
(Optional) |
|
(Optional) |
||
(Optional) |
||
boolean |
(Optional) |
|
number |
(Optional) |
|
"reject" | "auto" | "manual" |
(Optional) |
|
(Optional) |
||
(stats: SipConnectionStatistics) ⇒ void |
(Optional) |
|
(rejection: SipDialRejection) ⇒ void |
(Optional) |
|
(reason: SipDisconnectReason) ⇒ void |
(Optional) |
|
(digit: string) ⇒ void |
(Optional) |
|
(call: SipIncomingCall) ⇒ void |
(Optional) |
|
(codec: SipNegotiatedCodec) ⇒ void |
(Optional) |
|
(registration: SipRegistration) ⇒ void |
(Optional) |
|
(status: SipStatus) ⇒ void |
(Optional) |
|
string |
(Optional) |
|
string |
(Optional) |
|
number |
(Optional) |
|
{ start: number; end: number; } |
(Optional) |
|
8000 | 16000 | 48000 |
(Optional) |
|
number |
(Optional) |
|
boolean |
(Optional) |
|
number |
(Optional) |
|
string |
||
"disabled" | "optional" | "mandatory" |
(Optional) |
|
boolean |
(Optional) |
|
(Optional) when specified, drop the far end’s (inbound) audio until it is arriving at realtime, so a burst at call setup does not set the media T0 |
||
number |
(Optional) |
|
boolean |
(Optional) |
|
{ certFile?: string; privateKeyFile?: string; password?: string; caFile?: string; verifyServer?: boolean; } |
(Optional) |