瀏覽代碼

3 updates to Mobile Twinning (#154)

* Update 390_mobile_twinning.xml

Added order attribute to extension tag in xml for dialplan

* Update README

Added not about App Defaults to Upgrade information.

* Update app_menu.php

Replaced underscore with dash in path to match application name.
Adrian Fretwell 4 年之前
父節點
當前提交
c0eb1c8523
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      mobile-twinning/390_mobile_twinning.xml
  2. 1 1
      mobile-twinning/README
  3. 1 1
      mobile-twinning/app_menu.php

+ 1 - 1
mobile-twinning/390_mobile_twinning.xml

@@ -1,5 +1,5 @@
 <context name="{v_context}">
 <context name="{v_context}">
-	<extension name="mobile-twinning" number="*662" continue="false" app_uuid="21152484-76fb-46ad-9035-ecbd3b5f908a" destination="true">
+	<extension name="mobile-twinning" number="*662" continue="false" app_uuid="21152484-76fb-46ad-9035-ecbd3b5f908a" destination="true" order="390">
 		<condition field="destination_number" expression="^\*662$">
 		<condition field="destination_number" expression="^\*662$">
 			<action application="answer" data=""/>
 			<action application="answer" data=""/>
 			<action application="lua" data="app.lua mobile_twinning"/>
 			<action application="lua" data="app.lua mobile_twinning"/>

+ 1 - 1
mobile-twinning/README

@@ -35,6 +35,6 @@ Set the permissions
 	
 	
 Log into the FusionPBX webpage
 Log into the FusionPBX webpage
 Advanced -> Upgrade
 Advanced -> Upgrade
-Menu Defaults and Permission Defaults.
+Menu Defaults and Permission Defaults (and App Defaults, if you want to add the 390_mobile_twinning.xml to appear in Dialplan Manager).
 Log out and back in
 Log out and back in
 
 

+ 1 - 1
mobile-twinning/app_menu.php

@@ -15,7 +15,7 @@ $apps[$x]['menu'][0]['title']['ar-eg'] = "";
 $apps[$x]['menu'][0]['uuid'] = "65580aed-834f-4eeb-8462-196fbf14144e";
 $apps[$x]['menu'][0]['uuid'] = "65580aed-834f-4eeb-8462-196fbf14144e";
 $apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
 $apps[$x]['menu'][0]['parent_uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5";
 $apps[$x]['menu'][0]['category'] = "internal";
 $apps[$x]['menu'][0]['category'] = "internal";
-$apps[$x]['menu'][0]['path'] = "/app/mobile_twinning/mobile_twinning.php";
+$apps[$x]['menu'][0]['path'] = "/app/mobile-twinning/mobile_twinning.php";
 //$apps[$x]['menu'][0]['groups'][] = "user";
 //$apps[$x]['menu'][0]['groups'][] = "user";
 $apps[$x]['menu'][0]['groups'][] = "admin";
 $apps[$x]['menu'][0]['groups'][] = "admin";
 $apps[$x]['menu'][0]['groups'][] = "superadmin";
 $apps[$x]['menu'][0]['groups'][] = "superadmin";