static void spokes_CallAnswered(object sender, CallAnsweredArgs e) { Console.WriteLine("CallAnswered, sending message to Client App via socket..."); if (socket == null) { Console.WriteLine("INFO: No client connected."); return; } socket.sendMsg("CallAnswered,"+e.CallId+","+e.CallSource); }
// Call control (headset button call control notification from Spokes): ************************************************************ private void OnCallAnswered(CallAnsweredArgs e) { if (CallAnswered != null) CallAnswered(this, e); }
void m_spokes_CallAnswered(object sender, CallAnsweredArgs e) { OnPltEvent(new PltEventArgs(PltEventType.CallAnswered, e.CallId.ToString(), e.CallSource)); }
void spokes_CallAnswered(object sender, CallAnsweredArgs e) { LogMessage(MethodInfo.GetCurrentMethod().Name, ">>> User has answered call, call id: " + e.CallId); // if this was My Softphone's call then activate the audio link to headset if (e.CallId > 0 && e.CallSource.CompareTo(APP_NAME) == 0) { //m_spokes.ConnectAudioLinkToDevice(true); SimulatePhoneAudio(); m_spokes.SetMute(false); } else LogMessage(MethodInfo.GetCurrentMethod().Name, ">>> Ignoring spurious call event, call id: " + e.CallId+", call source = "+e.CallSource); }
void m_spokes_CallAnswered(object sender, CallAnsweredArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ VoIP call was Answered: id="+e.CallId+", source="+e.CallSource); }
private void OnCallAnswered(object sender, CallAnsweredArgs e) { _traceContext.Status(String.Format("DeviceManager.OnCallAnswered {0}", e.CallId)); if (CallAnsweredByDevice != null) { CallAnsweredByDevice(this, e); } }