| | |
| | | |
| | | this.currentHDLSipInfo = mHDLSipInfo; |
| | | |
| | | if (mHDLSipInfo == null) return; |
| | | if (mHDLSipInfo == null) { |
| | | //new alert |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | #if __IOS__ |
| | | //Shared.IOS.HDLLinphoneSDK.HDLLinPhoneSDK.Instance().Login("1003", "123456", "192.168.31.194:5060"); |
| | |
| | | HDLLinphoneKit.Instance.SetAccountAndLogin( |
| | | mHDLSipInfo.sipAccount, |
| | | mHDLSipInfo.sipPasswd, |
| | | "139.159.157.75:46000", |
| | | "139.159.157.75:47000",//mHDLSipInfo.realm, |
| | | "sip:139.159.157.75:47000;transport=udp", |
| | | HDLLinphoneKit.InterPhoneTypeFreeview |
| | | ); |
| | | } |
| | |
| | | mHDLSipInfo.sipAccount, |
| | | mHDLSipInfo.sipPasswd, |
| | | mHDLSipInfo.realm, |
| | | "sip:139.159.157.75:47000;transport=udp", |
| | | HDLLinphoneKit.InterPhoneTypeHdl |
| | | ); |
| | | } |
| | |
| | | Utlis.WriteLine("CALL 获取SIP账号成功:" + mHDLSipInfo.sipAccount); |
| | | }); |
| | | } |
| | | else |
| | | { |
| | | new Alert("", $"获取Sip账号信息失败.", "确定").Show(); |
| | | } |
| | | } |
| | | catch { } |
| | | |