Exemplo n.º 1
0
        private void DoTerminateCall(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.TerminateCall(call);
        }
Exemplo n.º 2
0
        private void DoHoldCall(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.HoldCall(call);
        }
Exemplo n.º 3
0
        private void DoResumeCall(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.ResumeCall(call);
        }
Exemplo n.º 4
0
        private void DoSetAudioRouteHeadset(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.SetAudioRoute(call, CallAudioRoute.AudioRoute_ToHeadset); // bring up rf link if required
        }
Exemplo n.º 5
0
        private void DoAnswerCall(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.AnsweredCall(call);
        }
Exemplo n.º 6
0
        private static void DoTerminateCall(int callid)
        {
            Console.WriteLine("Performing outgoing call, id = " + callid);
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.TerminateCall(call);
        }
Exemplo n.º 7
0
        private void DoInsertCall(int callid, string contactname)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };
            Contact contact = new Contact()
            {
                Name = contactname
            };

            _callCommand.InsertCall(call, contact);
        }
Exemplo n.º 8
0
        private void DoOutgoingCall(int callid, string contactname)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };
            Contact contact = new Contact()
            {
                Name = contactname
            };

            _callCommand.OutgoingCall(call, contact, CallAudioRoute.AudioRoute_ToHeadset);
        }
Exemplo n.º 9
0
        private static void DoOutgoingCall(int callid, string contactname)
        {
            Console.WriteLine("Performing outgoing call, id = " + callid);
            COMCall call = new COMCall()
            {
                Id = callid
            };
            Contact contact = new Contact()
            {
                Name = contactname
            };

            _callCommand.OutgoingCall(call, contact, CallAudioRoute.AudioRoute_ToHeadset);
        }
Exemplo n.º 10
0
        private void DoIncomingCall(int callid, string contactname)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };
            Contact contact = new Contact()
            {
                Name = contactname
            };

            _callCommand.IncomingCall(call, contact, CallRingTone.RingTone_Unknown,
                                      CallAudioRoute.AudioRoute_ToHeadset);
        }
Exemplo n.º 11
0
        private static void DoIncomingCall(int callid, string contactname)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };
            Contact contact = new Contact()
            {
                Name = contactname
            };

            _callCommand.IncomingCall(call, contact, CallRingTone.RingTone_Unknown,
                                      CallAudioRoute.AudioRoute_ToHeadset);
            Console.WriteLine("Performing incoming call, id = " + callid);
        }