SipNode.dial() method

Place a call. A node carries one call at a time: from here until that call has disconnected — however it ends — a further dial() is refused (onDialRejected, reason busy) rather than hanging up the call in progress. Once it has disconnected the node is idle and can dial again, to the same address or another; the node, its id and its subscriptions are unchanged throughout.

The call’s progress arrives through onStatus (and onDisconnect when it ends); a dial() that places no call at all, through onDialRejected.

Signature:

dial(address?: string): void;

Parameters

Parameter Type Description

address

string

(Optional) The SIP address to call. Omit to call the node’s configured call.address.

Returns:

void