Exemple #1
0
        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);
        }
Exemple #2
0
 private void btnUnhold_Click(object sender, EventArgs e)
 {
     _call.Unhold();
 }