| | |
| | | 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 |
| | |
| | | |
| | | if (isCallIn) |
| | | { |
| | | #if __IOS__ |
| | | #else |
| | | HDLLinphoneKit.Instance.HangUp(); |
| | | #endif |
| | | } |
| | | else |
| | | { |
| | |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | |
| | | #region ■ -- 跳转呼叫页面_______________________________ |
| | | #region ■ -- 跳转呼叫页面_______________________________ |
| | | /// <summary> |
| | | /// 收到推送,后判断呼叫住宅是否为当前住宅,不是的话重新获取SIP账号并登录 |
| | | /// </summary> |
| | |
| | | return checkIncomingCallThread == null || checkIncomingCallThread.ThreadState != ThreadState.Running; |
| | | } |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | |
| | | #region ■ -- Android相关操作_______________________________ |
| | | #region ■ -- Android相关操作_______________________________ |
| | | |
| | | #if __Android__ |
| | | |
| | |
| | | } |
| | | |
| | | #endif |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region ■ -- iOS相关操作_______________________________ |
| | | #region ■ -- iOS相关操作_______________________________ |
| | | |
| | | #if __IOS__ |
| | | |
| | | #region OnHDLLinphoneCallDelegate |
| | | #region OnHDLLinphoneCallDelegate |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | #endregion |
| | | #endif |
| | | |
| | | #endregion |
| | | #endregion |
| | | |
| | | } |
| | | |