Call connected duration in seconds (zero when call is not established).
True if the Call has active media.
True if the call has an active INVITE session and the INVITE session has not been disconnected.
Total call duration in seconds, including set-up time.
For incoming calls, this responds to the INVITE with an optional statusCode (defaults to 200) and optional reason phrase.
Sends DTMF digits to the remote end using the RFC 2833 payload format.
Returns formatted statistics about the call. If inclMediaStats is true, then statistics about the Call's media is included (default is true). indent is the string to use for indenting (default is two spaces).
Hangs up the call with an optional statusCode (defaults to 603) and optional reason phrase. This function is different than answering the call with 3xx-6xx response (with answer()), in that this function will hangup the call regardless of the state and role of the call, while answer() only works with incoming calls on EARLY state.
Puts the call on hold.
Attaches the Call to the event loop.
Releases a hold.
Transfers the call to destination.
Detaches the Call from the event loop (default).
Sends an UPDATE request.
Generated using TypeDoc
Call