From 19b211e5a9a5ff9c844a96a5d5e0230ca3628b80 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 25 五月 2023 14:56:11 +0800
Subject: [PATCH] ios 短信自动填充

---
 HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
index 52f4a76..247d98a 100644
--- a/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
+++ b/HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
@@ -134,8 +134,8 @@
                     mHDLSipInfo.sipAccount,
                     mHDLSipInfo.sipPasswd,
                     "139.159.157.75:47000",//mHDLSipInfo.realm,
-                    "sip:139.159.157.75:47000;transport=udp",
-                    HDLLinphoneKit.InterPhoneTypeFreeview
+                    //"sip:139.159.157.75:47000;transport=udp",
+                    HDLLinphoneKit.InterPhoneTypeFreeview//
                     );
             }
             else
@@ -144,7 +144,8 @@
                    mHDLSipInfo.sipAccount,
                    mHDLSipInfo.sipPasswd,
                    mHDLSipInfo.realm,
-                   "sip:139.159.157.75:47000;transport=udp",
+                   //mHDLSipInfo.proxy+ ";transport=udp",
+                   //"sip:139.159.157.75:47000;transport=udp",
                    HDLLinphoneKit.InterPhoneTypeHdl
                    );
             }
@@ -164,7 +165,14 @@
 
             Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().LogoutAllLinphoneUser();
 #else
-            HDLLinphoneKit.Instance.Logout();
+            if (HDLLinphoneKit.Instance != null)
+            {
+                HDLLinphoneKit.Instance.Logout();
+            }
+            else
+            {
+
+            }
 #endif
         }
 

--
Gitblit v1.8.0