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

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

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

            _callCommand.ResumeCall(call);
        }
Esempio 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
        }
Esempio n. 5
0
        private void DoAnswerCall(int callid)
        {
            COMCall call = new COMCall()
            {
                Id = callid
            };

            _callCommand.AnsweredCall(call);
        }
Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
        }
Esempio 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);
        }