hangup

View as Markdown

hangup

  • hangup(reason?): Promise<void>

Hangs up the call.

Parameters

NameTypeDescription
reason?"error" | "hangup" | "cancel" | "busy" | "noAnswer" | "decline"Optional reason for hanging up.

Returns

Promise<void>

Example

1call.hangup();