SipNode.reject() method

Reject an inbound call the node is holding (only meaningful with inbound: "manual", after onIncomingCall). Harmless if the node is not holding a call.

Signature:

reject(code?: number, reason?: string): void;

Parameters

Parameter Type Description

code

number

(Optional) SIP status code to reject with. Defaults to 486 (Busy Here).

reason

string

(Optional) Optional reason phrase.

Returns:

void