VoiceCallMethodshangupAsk a question|Copy page|View as Markdown|More actionshangup hangup(reason?): Promise<void> Hangs up the call. Parameters NameTypeDescriptionreason?"error" | "hangup" | "cancel" | "busy" | "noAnswer" | "decline"Optional reason for hanging up. Returns Promise<void> Example 1call.hangup();