public void hold() { if (state == CALL_STATE.Answered || (state == CALL_STATE.Ringing && this == active_call && is_outgoing)) PortAudio.HoldAll(); }