Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

XX-10474: LG/Nortel 68xx reboot only works when updating speed dials

- send check sync NOTIFY to first line (instead MAC))
  • Loading branch information...
commit 6b81e7d1ddd810a14418faec668917a60fa7079e 1 parent 5733f39
George Niculae dizzy authored
7 sipXlg-nortel/src/org/sipfoundry/sipxconfig/phone/lg_nortel/LgNortelPhone.java
View
@@ -24,6 +24,7 @@
import org.sipfoundry.sipxconfig.device.ProfileContext;
import org.sipfoundry.sipxconfig.device.ProfileFilter;
import org.sipfoundry.sipxconfig.device.ProfileLocation;
+import org.sipfoundry.sipxconfig.device.RestartException;
import org.sipfoundry.sipxconfig.phone.Line;
import org.sipfoundry.sipxconfig.phone.LineInfo;
import org.sipfoundry.sipxconfig.phone.Phone;
@@ -194,7 +195,11 @@ protected void setLineInfo(Line line, LineInfo lineInfo) {
@Override
public void restart() {
- sendCheckSyncToMac();
+ try {
+ sendCheckSyncToFirstLine();
+ } catch (RestartException ex) {
+ sendCheckSyncToMac();
+ }
}
public void setPhonebookFilename(String phonebookFilename) {
2  sipXlg-nortel/test/org/sipfoundry/sipxconfig/phone/lg_nortel/LgNortelPhoneTest.java
View
@@ -75,7 +75,7 @@ public void testRestart() throws Exception {
Phone phone = new LgNortelPhone();
phone.setModel(lgNortelModel);
- PhoneTestDriver testDriver = PhoneTestDriver.supplyTestData(phone,true,false,false,true);
+ PhoneTestDriver testDriver = PhoneTestDriver.supplyTestData(phone,true,false,false,false);
phone.restart();
testDriver.getSipControl().verify();
Please sign in to comment.
Something went wrong with that request. Please try again.