diff --git a/luciexpress/htdocs/plugins/phone/pages/phone.numbers.html b/luciexpress/htdocs/plugins/phone/pages/phone.numbers.html index fd9141d11..926127887 100644 --- a/luciexpress/htdocs/plugins/phone/pages/phone.numbers.html +++ b/luciexpress/htdocs/plugins/phone/pages/phone.numbers.html @@ -21,27 +21,6 @@ - {{ 'Phone Lines' | translate }} - {{ 'phone.lines.info' | translate }} - - - - - - - {{line.extension.value}} - - - - - - - - - - - - diff --git a/luciexpress/htdocs/plugins/phone/pages/phone.numbers.js b/luciexpress/htdocs/plugins/phone/pages/phone.numbers.js index 52077cbd3..446111a1e 100644 --- a/luciexpress/htdocs/plugins/phone/pages/phone.numbers.js +++ b/luciexpress/htdocs/plugins/phone/pages/phone.numbers.js @@ -3,8 +3,8 @@ JUCI.app .controller("PhoneNumbersPageCtrl", function($scope, $uci){ $uci.sync("voice_client").done(function(){ - $scope.phone_lines = $uci.voice_client["@brcm_line"]; $scope.phone_numbers = $uci.voice_client["@sip_service_provider"]; + $scope.phone_lines = $uci.voice_client["@brcm_line"]; $scope.allSipAccounts = $scope.phone_numbers.map(function(x){ return { label: x.name.value, diff --git a/luciexpress/htdocs/plugins/phone/plugin.json b/luciexpress/htdocs/plugins/phone/plugin.json index 8cd11eedb..6d0b27684 100644 --- a/luciexpress/htdocs/plugins/phone/plugin.json +++ b/luciexpress/htdocs/plugins/phone/plugin.json @@ -13,6 +13,9 @@ "phone/numbers": { "view": "pages/phone.numbers" }, + "phone/lines": { + "view": "pages/phone.lines" + }, "phone/ringing_schedule": { "view": "pages/phone.ringing_schedule" }, diff --git a/luciexpress/share/menu.d/phone.json b/luciexpress/share/menu.d/phone.json deleted file mode 100644 index 9341fcbd6..000000000 --- a/luciexpress/share/menu.d/phone.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "phone": { - "title": "Phone", - "index": 20 - }, - "phone/call_log": { - "title": "Call Log", - "acls": [ ], - "index": 10 - }, - "phone/number_blocking": { - "title": "Number Blocking", - "modes": [ "expert" ], - "acls": [ ], - "index": 20 - }, - "phone/ringing_schedule": { - "title": "Ringing Schedule", - "modes": [ "expert" ], - "acls": [ ], - "index": 30 - }, - "phone/numbers": { - "title": "Numbers", - "modes": [ "expert" ], - "acls": [ ], - "index": 40 - }, - "phone/speed_dialing": { - "title": "Speed Dialing", - "modes": [ "expert" ], - "acls": [ ], - "index": 50 - } -}