Exemple #1
0
 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);
 }
Exemple #2
0
 // Call control (headset button call control notification from Spokes): ************************************************************
 private void OnCallAnswered(CallAnsweredArgs e)
 {
     if (CallAnswered != null)
         CallAnswered(this, e);
 }
Exemple #3
0
 void m_spokes_CallAnswered(object sender, CallAnsweredArgs e)
 {
     OnPltEvent(new PltEventArgs(PltEventType.CallAnswered, e.CallId.ToString(), e.CallSource));
 }
Exemple #4
0
 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);
 }
Exemple #5
0
 void m_spokes_CallAnswered(object sender, CallAnsweredArgs e)
 {
     DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ VoIP call was Answered: id="+e.CallId+", source="+e.CallSource);
 }
Exemple #6
0
        private void OnCallAnswered(object sender, CallAnsweredArgs e)
        {
            _traceContext.Status(String.Format("DeviceManager.OnCallAnswered {0}", e.CallId));

            if (CallAnsweredByDevice != null)
            {
                CallAnsweredByDevice(this, e);
            }
        }