sip.js.sessionmanager.call.md
October 20, 2022 ยท View on GitHub
Home > sip.js > SessionManager > call
SessionManager.call() method
Make an outgoing call.
Signature:
call(destination: string, inviterOptions?: InviterOptions, inviterInviteOptions?: InviterInviteOptions): Promise<Inviter>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| destination | string | The target destination to call. A SIP address to send the INVITE to. |
| inviterOptions | InviterOptions | Optional options for Inviter constructor. |
| inviterInviteOptions | InviterInviteOptions | Optional options for Inviter.invite(). |
Returns:
Promise<Inviter>
Remarks
Send an INVITE request to create a new Session. Resolves when the INVITE request is sent, otherwise rejects. Use onCallAnswered delegate method to determine if Session is established.