Пример #1
0
        public static async Task <bool> SipUdpPingAsync(this ISipClient sipClient, string targetHost, int port)
        {
            SipDialogue sd = sipClient.GetNewDialogue(RequestMethods.Options);
            await sd.StartDialogueFlow();

            return(true);
        }
Пример #2
0
 public static async Task RegisterAsync(this ISipClient sipClient)
 {
     SipDialogue sd = sipClient.GetNewDialogue(RequestMethods.Register);
     await sd.StartDialogueFlow();
 }