upgrade
This commit is contained in:
@@ -117,6 +117,7 @@ public class SipEngine implements BluetelInterface {
|
||||
this.ip = ip;
|
||||
this.port = port;
|
||||
myBluetelEngine.Register(name, pw, ip, port);
|
||||
isRelogin = false;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,6 +133,7 @@ public class SipEngine implements BluetelInterface {
|
||||
|
||||
@Override
|
||||
public void AccountState(String uri, boolean state) {
|
||||
if(isRelogin) return;
|
||||
logmy.e(uri + "-->" + state);
|
||||
if (state) {
|
||||
if (!onLine) {
|
||||
@@ -150,12 +152,11 @@ public class SipEngine implements BluetelInterface {
|
||||
}, null);
|
||||
}
|
||||
} else {
|
||||
if(!onLine && !isRelogin) {
|
||||
if(!onLine) {
|
||||
UIUtl.toastI("Sip登陆失败");
|
||||
ActivityMgr.sendMsg(CONS.LOGINFAILED, null);
|
||||
}
|
||||
}
|
||||
isRelogin = false;
|
||||
}
|
||||
|
||||
public boolean isMeetingCall(String phoneNo) {
|
||||
|
||||
Reference in New Issue
Block a user