Beispiel #1
0
        void RTCClient_entstatus(RTCAudio sender, string status)
        {
            try
            {
                switch (status)
                {
                case "InPorgress":
                    entstatus(sender.ChannelId, status);
                    break;

                case "Connected":
                    entstatus(sender.ChannelId, status);
                    break;

                case "Disconnected":
                    entstatus(sender.ChannelId, status);
                    break;

                case "Incoming":
                    entstatus(sender.ChannelId, status);
                    break;

                case "Answering":
                    entstatus(sender.ChannelId, status);
                    break;

                case "Hold":
                    entstatus(sender.ChannelId, status);
                    break;
                }
            }
            catch (Exception ex)
            {
                VMuktiHelper.ExceptionHandler(ex, "RTCCLient_entstatus()", "VMuktiAudio.VistaService\\RTCClient.cs");
            }
        }
Beispiel #2
0
        void RTCClient_entstatus(RTCAudio sender, string status)
        {
            try
            {
                switch (status)
                {
                    case "InPorgress":
                        entstatus(sender.ChannelId, status);
                        break;

                    case "Connected":
                        entstatus(sender.ChannelId, status);
                        break;

                    case "Disconnected":
                        entstatus(sender.ChannelId, status);
                        break;

                    case "Incoming":
                        entstatus(sender.ChannelId, status);
                        break;

                    case "Answering":
                        entstatus(sender.ChannelId, status);
                        break;

                    case "Hold":
                        entstatus(sender.ChannelId, status);
                        break;

                }
            }
            catch (Exception ex)
            {
                VMuktiHelper.ExceptionHandler(ex, "RTCCLient_entstatus()", "VMuktiAudio.VistaService\\RTCClient.cs");
            }
        }