|
@@ -59,7 +59,6 @@ import kr.co.icontrols.callengine.engine.CallManager.CALLTYPE;
|
|
|
import kr.co.icontrols.wallpadcall.declare.Common;
|
|
|
import kr.co.icontrols.wallpadcall.declare.Declare;
|
|
|
import kr.co.icontrols.wallpadcall.declare.Declare.CALLTRIGGER;
|
|
|
-import kr.co.icontrols.wallpadcall.declare.Global;
|
|
|
|
|
|
public class SIPStun extends Service {
|
|
|
|
|
@@ -4815,11 +4814,10 @@ public class SIPStun extends Service {
|
|
|
private String getDongString() {
|
|
|
try {
|
|
|
String strResult = "";
|
|
|
-// wallpaddbmgr DBMGR = new wallpaddbmgr(this);
|
|
|
-// AddressSet Addr = DBMGR.getAddressMGR();
|
|
|
-// DBMGR.closeDB();
|
|
|
- strResult = Global.getIPadressDongHo()[1];
|
|
|
- //strResult = Addr.Dong;
|
|
|
+ wallpaddbmgr DBMGR = new wallpaddbmgr(this);
|
|
|
+ AddressSet Addr = DBMGR.getAddressMGR();
|
|
|
+ DBMGR.closeDB();
|
|
|
+ strResult = Addr.Dong;
|
|
|
LOG("[getDongString] strResult [" + strResult + "]");
|
|
|
return strResult;
|
|
|
} catch (RuntimeException re) {
|
|
@@ -4834,11 +4832,10 @@ public class SIPStun extends Service {
|
|
|
private String getHoString() {
|
|
|
try {
|
|
|
String strResult = "";
|
|
|
-// wallpaddbmgr DBMGR = new wallpaddbmgr(this);
|
|
|
-// AddressSet Addr = DBMGR.getAddressMGR();
|
|
|
-// DBMGR.closeDB();
|
|
|
-// strResult = Addr.Ho;
|
|
|
- strResult = Global.getIPadressDongHo()[2];
|
|
|
+ wallpaddbmgr DBMGR = new wallpaddbmgr(this);
|
|
|
+ AddressSet Addr = DBMGR.getAddressMGR();
|
|
|
+ DBMGR.closeDB();
|
|
|
+ strResult = Addr.Ho;
|
|
|
LOG("[getHoString] strResult [" + strResult + "]");
|
|
|
return strResult;
|
|
|
} catch (RuntimeException re) {
|