|
@@ -324,11 +324,11 @@ class WatchHome2Activity : BaseActivity<WatchHomeActivityPresenter, WatchActivit
|
|
DaemonEnv.startServiceSafely(this, WdKeepAliveService::class.java)
|
|
DaemonEnv.startServiceSafely(this, WdKeepAliveService::class.java)
|
|
}*/
|
|
}*/
|
|
|
|
|
|
- if (serverIpInfo.sipIp != null) {
|
|
|
|
- Constants.sip_ip = serverIpInfo.sipIp
|
|
|
|
|
|
+ if (serverIpInfo.sipPublicIp != null) {
|
|
|
|
+ Constants.sip_ip = serverIpInfo.sipPublicIp
|
|
}
|
|
}
|
|
- if (serverIpInfo.sipPort != null) {
|
|
|
|
- Constants.sip_port = serverIpInfo.sipPort
|
|
|
|
|
|
+ if (serverIpInfo.sipPublicPort != null) {
|
|
|
|
+ Constants.sip_port = serverIpInfo.sipPublicPort
|
|
}
|
|
}
|
|
|
|
|
|
if (serverIpInfo.voiceType != null) {
|
|
if (serverIpInfo.voiceType != null) {
|