static void spokes_CallEnded(object sender, CallEndedArgs e) { Console.WriteLine("CallEnded, sending message to Client App via socket..."); if (socket == null) { Console.WriteLine("INFO: No client connected."); return; } socket.sendMsg("CallEnded," + e.CallId + "," + e.CallSource); }
void m_spokes_CallEnded(object sender, CallEndedArgs e) { // find the last incoming call in list PLTCallId theCall = new PLTCallId(); bool found = false; foreach (PLTCallId cid in m_callids) { if (cid.isIncoming) { theCall = cid; found = true; } } if (found) { m_callids.Remove(theCall); } OnPltEvent(new PltEventArgs(PltEventType.CallEnded, e.CallId.ToString(), e.CallSource)); }
void m_spokes_CallEnded(object sender, CallEndedArgs e) { DebugPrint(MethodInfo.GetCurrentMethod().Name, "@@@ VoIP call was Ended: id=" + e.CallId + ", source=" + e.CallSource); }