Example #1
0
 static void dam_NewChannel(object sender, NewChannelEvent e)
 {
     Console.WriteLine("New channel Event"
         + "\n\tChannel\t\t" + e.Channel
         + "\n\tUniqueId\t" + e.UniqueId
         + "\n\tCallerId\t" + e.CallerId
         + "\n\tCallerIdName\t" + e.CallerIdName
         + "\n\tState\t\t" + e.State
         + "\n\tDateReceived\t" + e.DateReceived.ToString()
         );
 }
Example #2
0
 private LineControlConnection getLineControlConnectionFromChannelInfo(NewChannelEvent ev)
 {
     LineControlConnection lcc = new LineControlConnection();
     lcc.callid = ev.UniqueId;
     lcc.contact = "";
     lcc.remoteState = Wybecom.TalkPortal.CTI.Proxy.ConnectionState.unknown;
     lcc.state = Wybecom.TalkPortal.CTI.Proxy.ConnectionState.unknown;
     lcc.terminalState = TerminalState.unknown;
     return lcc;
 }