public void TransferCall(string TransferTo) { if (_call != null) { _call.BlindTransfer(TransferTo); } }
private void transferButton_Click(object sender, EventArgs e) { if (call != null && !string.IsNullOrEmpty(to.Text)) { call.BlindTransfer(to.Text); } }
// We can transfer the call to an other client. There are other transfer types aswell (f.e.: AttendedTransfer()) /// <summary> /// Transfers the call to the specified target. /// </summary> /// <param name="target"></param> public void TransferTo(string target) { if (_call != null && !string.IsNullOrEmpty(target)) { _call.BlindTransfer(target); } }
void DtmfReceived(object sender, VoIPEventArgs <DtmfInfo> e) { //_dtmfPressed = true; //_dtmfChain += DtmfNamedEventConverter.DtmfNamedEventsToString(e.Item.Signal.Signal); int Dtmf = e.Item.Signal.Signal; // MessageBox.Show(Dtmf.ToString()); if (Dtmf.ToString() == "1") { _Call.BlindTransfer("039295559"); } }
private void btn_Transfer_Click(object sender, EventArgs e) { string transferTo = "1001"; if (call == null) { return; } if (string.IsNullOrEmpty(transferTo)) { return; } call.BlindTransfer(transferTo); lb_Log.Items.Add("Transfering to:" + transferTo); }
void btn_Transfer_Click(object sender, EventArgs e) { string transferTo = "1001"; if (_call == null) { return; } if (string.IsNullOrEmpty(transferTo)) { return; } if (_call.CallState != CallState.InCall) { return; } _call.BlindTransfer(transferTo); InvokeGUIThread(() => { tb_Display.Text = "Transfering to:" + transferTo; }); }