wjc
2022-06-30 56dfdc1bf7e7f2bb2456f29c3686dfa935a89e80
HDL_ON/DAL/ThirdPartySdk/HDLLinphone.cs
@@ -117,6 +117,7 @@
            if (mHDLSipInfo == null) return;
#if __IOS__
            //Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().Login("1003", "123456", "192.168.31.194:5060");
            //Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().Login("6666", "85521566", "116.62.26.215:5060");
            Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().Login(mHDLSipInfo.sipAccount, mHDLSipInfo.sipPasswd, mHDLSipInfo.realm);
#else
@@ -397,7 +398,10 @@
            if (isCallIn)
            {
#if __IOS__
#else
                HDLLinphoneKit.Instance.HangUp();
#endif
            }
            else
            {
@@ -431,10 +435,10 @@
        }
        #endregion
#endregion
        #region ■  --  跳转呼叫页面_______________________________
#region ■  --  跳转呼叫页面_______________________________
        /// <summary>
        /// 收到推送,后判断呼叫住宅是否为当前住宅,不是的话重新获取SIP账号并登录
        /// </summary>
@@ -452,6 +456,8 @@
            mHDLCallVideoInfo.InterphoneType = InterphoneType.HDL.ToString();
            mHDLCallVideoInfo.DeviceSipAccount = mESVideoInfo.deviceSipAccount;
            InitCallInfo(mHDLCallVideoInfo);
            if (isHdlLinphone)
            {
@@ -535,7 +541,8 @@
            var intent = new Intent(Shared.Application.Activity, typeof(Com.Hdl.Hdllinphonesdk.Activity.HDLLinphoneIntercomActivity));
            if (mHDLCallVideoInfo != null)
            {
                intent.PutExtra(HDLLinphoneKit.KeyTitleName, mHDLCallVideoInfo.DeviceName);
                //intent.PutExtra(HDLLinphoneKit.KeyTitleName, mHDLCallVideoInfo.DeviceName);
                intent.PutExtra(HDLLinphoneKit.KeyTitleName, mHDLCallVideoInfo.CallId);
            }
            Shared.Application.Activity.StartActivity(intent);
#endif
@@ -629,10 +636,10 @@
            return checkIncomingCallThread == null || checkIncomingCallThread.ThreadState != ThreadState.Running;
        }
        #endregion
#endregion
        #region ■  --  Android相关操作_______________________________
#region ■  --  Android相关操作_______________________________
#if __Android__
@@ -727,13 +734,13 @@
        }
#endif
        #endregion
#endregion
        #region ■  --  iOS相关操作_______________________________
#region ■  --  iOS相关操作_______________________________
#if __IOS__
        #region OnHDLLinphoneCallDelegate
#region OnHDLLinphoneCallDelegate
        /// <summary>
        /// 
        /// </summary>
@@ -810,10 +817,10 @@
        }
        #endregion
#endregion
#endif
        #endregion
#endregion
    }