Default templates.xml in FW 1.4

templates.xml
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <templates>
  3. <template prio="30" name="@string/speed_dial_title" icon="@drawable/invite">
  4. <keyConfiguration>
  5. <function>
  6. <invocations>
  7. <invocation>
  8. <invite>
  9. <uri/>
  10. <line>
  11. <id/>
  12. </line>
  13. </invite>
  14. </invocation>
  15. </invocations>
  16. <reactions>
  17. <reaction>
  18. <presence>
  19. <subscribe type="dialog">
  20. <uri/>
  21. <line>
  22. <id/>
  23. </line>
  24. </subscribe>
  25. </presence>
  26. </reaction>
  27. </reactions>
  28. </function>
  29. </keyConfiguration>
  30. <parameters>
  31. <parameter name="@string/uri">
  32. <path>//subscribe/uri</path>
  33. <path>//invite/uri</path>
  34. <mode>append</mode>
  35. </parameter>
  36. <parameter optional="true" name="@string/identity">
  37. <path>//subscribe/line/id</path>
  38. <path>//invite/line/id</path>
  39. </parameter>
  40. </parameters>
  41. </template>
  42. <template prio="10" name="@string/call_waiting_title" icon="@drawable/call_waiting">
  43. <keyConfiguration>
  44. <function>
  45. <invocations>
  46. <invocation>
  47. <setting path="/telephony/callWaiting/active">
  48. <values>
  49. <value>true</value>
  50. <led ledColor="green"/>
  51. </values>
  52. <values>
  53. <value>false</value>
  54. <led ledColor="off"/>
  55. </values>
  56. </setting>
  57. </invocation>
  58. </invocations>
  59. </function>
  60. </keyConfiguration>
  61. </template>
  62. <template prio="10" name="@string/do_not_disturb_title" icon="@drawable/dnd">
  63. <keyConfiguration>
  64. <function>
  65. <invocations>
  66. <invocation>
  67. <setting path="/telephony/doNotDisturb/active">
  68. <values>
  69. <value>true</value>
  70. <led ledColor="red"/>
  71. </values>
  72. <values>
  73. <value>false</value>
  74. <led ledColor="off"/>
  75. </values>
  76. </setting>
  77. </invocation>
  78. </invocations>
  79. </function>
  80. </keyConfiguration>
  81. </template>
  82. <template prio="10" name="@string/clir_title" icon="@drawable/clir">
  83. <keyConfiguration>
  84. <function>
  85. <invocations>
  86. <invocation>
  87. <setting path="/telephony/clir/active">
  88. <values>
  89. <value>true</value>
  90. <led ledColor="green"/>
  91. </values>
  92. <values>
  93. <value>false</value>
  94. <led ledColor="off"/>
  95. </values>
  96. </setting>
  97. </invocation>
  98. </invocations>
  99. </function>
  100. </keyConfiguration>
  101. </template>
  102. <template prio="10" name="@string/call_forwarding_unconditional_title" icon="@drawable/call_forwarding">
  103. <keyConfiguration>
  104. <lua>
  105. <code>pathPrefix = "/telephony/callForwarding/unconditional/"
  106. require "callforward"</code>
  107. </lua>
  108. </keyConfiguration>
  109. </template>
  110. <template prio="10" name="@string/call_forwarding_busy_title" icon="@drawable/call_forwarding">
  111. <keyConfiguration>
  112. <lua>
  113. <code>pathPrefix = "/telephony/callForwarding/busy/"
  114. require "callforward"</code>
  115. </lua>
  116. </keyConfiguration>
  117. </template>
  118. <template prio="10" name="@string/call_forwarding_no_response_title" icon="@drawable/call_forwarding">
  119. <keyConfiguration>
  120. <lua>
  121. <code>pathPrefix = "/telephony/callForwarding/noResponse/"
  122. require "callforward"</code>
  123. </lua>
  124. </keyConfiguration>
  125. </template>
  126. <template prio="20" name="@string/line_title" icon="@drawable/line">
  127. <keyConfiguration>
  128. <line>
  129. <id/>
  130. </line>
  131. </keyConfiguration>
  132. <parameters>
  133. <parameter name="@string/identity">
  134. <path>//line/id</path>
  135. </parameter>
  136. </parameters>
  137. </template>
  138. <template prio="10" name="@string/http_request_title" icon="@drawable/http_request">
  139. <keyConfiguration>
  140. <function>
  141. <invocations>
  142. <invocation>
  143. <http>
  144. <request httpMethod="get">
  145. <uri/>
  146. </request>
  147. <httpReactions>
  148. <responseCode ledColor="off">
  149. <responseCode>200</responseCode>
  150. </responseCode>
  151. </httpReactions>
  152. </http>
  153. </invocation>
  154. </invocations>
  155. </function>
  156. </keyConfiguration>
  157. <parameters>
  158. <parameter name="@string/uri">
  159. <path>//uri</path>
  160. </parameter>
  161. </parameters>
  162. </template>
  163. <template prio="10" name="@string/vpn" icon="@drawable/setting">
  164. <keyConfiguration>
  165. <function>
  166. <invocations>
  167. <invocation>
  168. <setting path="network/vpn/active">
  169. <values>
  170. <value>true</value>
  171. <led ledColor="green"/>
  172. </values>
  173. <values>
  174. <value>false</value>
  175. <led ledColor="off"/>
  176. </values>
  177. </setting>
  178. </invocation>
  179. </invocations>
  180. </function>
  181. </keyConfiguration>
  182. </template>
  183. <template prio="10" name="@string/browser" icon="@drawable/http_request">
  184. <keyConfiguration>
  185. <function>
  186. <invocations>
  187. <invocation>
  188. <intent>
  189. <action>android.intent.action.VIEW</action>
  190. <data/>
  191. <component>org.mozilla.klar/org.mozilla.focus.activity.IntentReceiverActivity</component>
  192. </intent>
  193. </invocation>
  194. </invocations>
  195. </function>
  196. </keyConfiguration>
  197. <parameters>
  198. <parameter name="@string/uri">
  199. <path>//data</path>
  200. </parameter>
  201. </parameters>
  202. </template>
  203. </templates>
  • en/products/comfortel-d-series/d-100-200/developer/provisioning/settings/templates/default1.4.txt
  • Last modified: 17.03.2020 16:47
  • (external edit)