示例#1
0
 private void DatMachIchWennsKlingelt(object sender, IncomingCallEventArgs e)
 {
     if (this.InvokeRequired)
     {
         this.Invoke(cgvoDelegate, e.CallerNumber);
     }
 }
示例#2
0
    private void ClientOnIncomingCall(IClient sender, IncomingCallEventArgs e)
    {
        if (_call != null)
        {
            e.Call.Reject(RejectMode.Busy, null);
        }

        _call = e.Call;
        BindCallEventHandlers();
        _call.Answer(CallSettings);
    }
示例#3
0
        void ipClient_CallConnected(object sender, IncomingCallEventArgs e)
        {
            // Clear our DTMF events
            dtmfEvents[e.LineNumber].Clear();

            if (e.Outbound)
            {
                RaiseCallConnected(new CallEventArgs(e.LineNumber, e.RemoteUserName, e.RemoteHost, e.LocalDisplayName, e.LocalUserName, e.RemoteIP, e.RemotePort, e.LocalHost, e.Outbound, e.SIPProfile));
            }
            else
            {
                RaiseCallConnected(new CallEventArgs(e.LineNumber, e.LocalUserName, e.LocalHost, e.RemoteDisplayName, e.RemoteUserName, e.RemoteIP, e.RemotePort, e.RemoteHost, e.Outbound, e.SIPProfile));
            }
        }
示例#4
0
        void sm_IncomingCall(object sender, IncomingCallEventArgs e)
        {
            /*PJSIP.CallInfo ci = e.Call.getInfo();
             * Console.WriteLine("Incoming Call:");
             * Console.WriteLine(ci.localContact);
             * Console.WriteLine(ci.stateText);*/

            foreach (Call call in sm.Calls.Values.ToList())
            {
                Console.WriteLine("State: " + call.State + " : " + call.LastState);
            }

            Refresh();
        }
 void ipClient_IncomingCall(object sender, IncomingCallEventArgs e)
 {
     RaiseIncomingCall(new CallEventArgs(e.LineNumber, e.LocalUserName, e.LocalHost, e.RemoteDisplayName, e.RemoteUserName, e.RemoteIP, e.RemotePort, e.RemoteHost, e.Outbound, e.SIPProfile));
 }
        void ipClient_CallConnected(object sender, IncomingCallEventArgs e)
        {
            // Clear our DTMF events
            dtmfEvents[e.LineNumber].Clear();

            if(e.Outbound)
                RaiseCallConnected(new CallEventArgs(e.LineNumber, e.RemoteUserName, e.RemoteHost, e.LocalDisplayName, e.LocalUserName, e.RemoteIP, e.RemotePort, e.LocalHost, e.Outbound, e.SIPProfile));
            else
                RaiseCallConnected(new CallEventArgs(e.LineNumber, e.LocalUserName, e.LocalHost, e.RemoteDisplayName, e.RemoteUserName, e.RemoteIP, e.RemotePort, e.RemoteHost, e.Outbound, e.SIPProfile));
        }
示例#7
0
 void ipClient_IncomingCall(object sender, IncomingCallEventArgs e)
 {
     RaiseIncomingCall(new CallEventArgs(e.LineNumber, e.LocalUserName, e.LocalHost, e.RemoteDisplayName, e.RemoteUserName, e.RemoteIP, e.RemotePort, e.RemoteHost, e.Outbound, e.SIPProfile));
 }
示例#8
0
 private static void Modem_IncomingCall(object sender, IncomingCallEventArgs e)
 {
     Console.WriteLine("Incoming call...");
 }
 void ipClient_CallConnected(object sender, IncomingCallEventArgs e)
 {
     lblStatus.Text = CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.TestDriveView_Connected);
 }
示例#10
0
 void ipClient_CallConnected(object sender, IncomingCallEventArgs e)
 {
     lblStatus.Text = CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.TestDriveView_Connected);
 }