Home > sip.js > InviterOptions
Options for Inviter constructor.
Signature:
export interface InviterOptions extends SessionOptions | Property | Type | Description |
|---|---|---|
| anonymous | boolean |
If true, an anonymous call. |
| earlyMedia | boolean |
If true, the first answer to the local offer is immediately utilized for media. Requires that the INVITE request MUST NOT fork. Has no effect if inviteWithoutSdp is true. Default is false. |
| extraHeaders | Array<string> |
Array of extra headers added to the INVITE. |
| inviteWithoutSdp | boolean |
If true, send INVITE without SDP. Default is false. |
| params | { fromDisplayName?: string; fromTag?: string; fromUri?: string | URI; toDisplayName?: string; toUri?: string | URI; } |
|
| renderbody | string |
|
| rendertype | string |
|
| sessionDescriptionHandlerModifiers | Array<SessionDescriptionHandlerModifier> |
Modifiers to pass to SessionDescriptionHandler during the initial INVITE transaction. |
| sessionDescriptionHandlerModifiersReInvite | Array<SessionDescriptionHandlerModifier> |
Modifiers to pass to SessionDescriptionHandler during re-INVITE transactions. |
| sessionDescriptionHandlerOptions | SessionDescriptionHandlerOptions |
Options to pass to SessionDescriptionHandler during the initial INVITE transaction. |
| sessionDescriptionHandlerOptionsReInvite | SessionDescriptionHandlerOptions |
Options to pass to SessionDescriptionHandler during re-INVITE transactions. |