function hangupCall() {
    // Hang up on an existing call if present
    if (window.existingCall) {
        window.existingCall.close();
    }

    // Call ended callback.
    onCallEnded();
}
/**
 * Hangup the call if it exists.
 *
 * @return void
 */
Hangup the call if it exists.
@return void
Hangup the call if it exists . @return void
function hangupCall() {
    if (window.existingCall) {
        window.existingCall.close();
    }
    onCallEnded();
}
function hangupCall ( ) { if ( window . existingCall ) { window . existingCall . close ( ) ; } onCallEnded ( ) ; }
Hangup the call if it exists.
Hangup the call if it exists .
// Hang up on an existing call if present // Call ended callback.