void RClient_entstatus(int ChannelId, string status) { try { switch (status) { case "InPorgress": break; case "Connected": ClientNetP2PRTCVistaChannel.svcRTCEvent(ChannelId, status); break; case "Disconnected": ClientNetP2PRTCVistaChannel.svcRTCEvent(ChannelId, status); break; case "Incoming": ClientNetP2PRTCVistaChannel.svcRTCEvent(ChannelId, status); break; case "Hold": ClientNetP2PRTCVistaChannel.svcRTCEvent(ChannelId, status); break; } } catch (Exception ex) { } }