Speed dial

Example: speed dial template

speed_dial.xml
  1. <templates>
  2. <template prio="30" name="@string/speed_dial_title">
  3. <!-- This template is a plain copy of the original speeddial template.
  4.  
  5. When using SIP subscriptions, the phones try to subscribe to the uri at the registrar. If
  6. the uri is an external number, it can't be subscribed, so the registrar will answer the
  7. subscriptions request with 404, causing and endless try-to-subscribe-loop. Some registrars
  8. (e.g. an AVM Fritz!Box), will blacklist devices, that send to much requests.
  9. Because those subscriptions to external numbers aren't possible at all, they should be
  10. omitted completely.
  11. -->
  12. <keyConfiguration>
  13. <function>
  14. <invocations>
  15. <invocation>
  16. <invite>
  17. <uri/> <!-- will be filled by the uri-parameter -->
  18. <line>
  19. <id/> <!-- will be filled by the identity-parameter -->
  20. </line>
  21. </invite>
  22. </invocation>
  23. </invocations>
  24. <reactions>
  25. <reaction>
  26. <presence>
  27. <subscribe type="dialog">
  28. <uri/> <!-- will be filled via by the uri-parameter -->
  29. <line>
  30. <id/> <!-- will be filled via by the identity-parameter -->
  31. </line>
  32. </subscribe>
  33. </presence>
  34. </reaction>
  35. </reactions>
  36. </function>
  37. </keyConfiguration>
  38. <parameters>
  39. <parameter name="uri">
  40. <!-- entered by user in phone-UI or on website when configuring this key-function.
  41. Will then be pasted-in above where these xpaths point to: -->
  42. <path>//subscribe/uri</path>
  43. <path>//invite/uri</path>
  44. <mode>append</mode>
  45. </parameter>
  46. <parameter optional="true" name="identity">
  47. <!-- entered by user in phone-UI or on website when configuring this key-function.
  48. Will then be pasted-in above where these xpaths point to: -->
  49. <path>//subscribe/line/id</path>
  50. <path>//invite/line/id</path>
  51. </parameter>
  52. </parameters>
  53. </template>
  54. </templates>