public bool UnHold(string callid, string caller) { TapiCall call = null; TapiAddress address = GetAddress(caller); bool success = false; if (address != null) { foreach (TapiCall tc in address.Calls) { if (tc.Id.ToString() == callid) { call = tc; break; } } if (call != null) { log.Debug("Unholding call " + callid + " from " + caller); call.Unhold(); success = true; } } return(success); }
private void btnUnhold_Click(object sender, EventArgs e) { _call.Unhold(); }