2
0

tts.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <include>
  2. <macro name="directory_intro">
  3. <input pattern="^(last_name)" break_on_match="false">
  4. <match>
  5. <action function="speak-text" data="Please enter the first few digit of the person last name"/>
  6. </match>
  7. </input>
  8. <input pattern="^(first_name)" break_on_match="false">
  9. <match>
  10. <action function="speak-text" data="Please enter the first few digit of the person first name"/>
  11. </match>
  12. </input>
  13. <input pattern="^(last_name):([0-9#*])$" break_on_match="false">
  14. <match>
  15. <action function="speak-text" data="to search by first name, press $2"/>
  16. </match>
  17. </input>
  18. <input pattern="^(first_name):([0-9#*])$" break_on_match="false">
  19. <match>
  20. <action function="speak-text" data="to search by last name, press $2"/>
  21. </match>
  22. </input>
  23. </macro>
  24. <macro name="directory_min_search_digits">
  25. <input pattern="^(.*)$">
  26. <match>
  27. <action function="speak-text" data="You need to specify a minimum the first $1 letters of the person name, try again."/>
  28. </match>
  29. </input>
  30. </macro>
  31. <macro name="directory_result_count">
  32. <input pattern="^0$" break_on_match="true">
  33. <match>
  34. <action function="speak-text" data="Your search match no user on this system, try again."/>
  35. </match>
  36. </input>
  37. <input pattern="^(.*)$">
  38. <match>
  39. <action function="speak-text" data="$1 result match your search"/>
  40. </match>
  41. </input>
  42. </macro>
  43. <macro name="directory_result_count_too_large">
  44. <input pattern="^(.*)$">
  45. <match>
  46. <action function="speak-text" data="Your search returned too many result, please try again"/>
  47. </match>
  48. </input>
  49. </macro>
  50. <macro name="directory_result_last">
  51. <input pattern="^(.*)$">
  52. <match>
  53. <action function="speak-text" data="No more result"/>
  54. </match>
  55. </input>
  56. </macro>
  57. <macro name="directory_result_item">
  58. <input pattern="^(.*)$">
  59. <match>
  60. <action function="speak-text" data="Result number $1"/>
  61. </match>
  62. </input>
  63. </macro>
  64. <macro name="directory_result_menu">
  65. <input pattern="^([0-9#*]),([0-9#*]),([0-9#*]),([0-9#*])$">
  66. <match>
  67. <action function="speak-text" data="To select this entry press $1, for the next entry press $2, for the previous entry press $3, to make a new search press $4"/>
  68. </match>
  69. </input>
  70. </macro>
  71. <macro name="directory_result_at">
  72. <input pattern="^(.*)$">
  73. <match>
  74. <action function="speak-text" data="at extension $1"/>
  75. </match>
  76. </input>
  77. </macro>
  78. <macro name="directory_result_say_name">
  79. <input pattern="^(.*)$">
  80. <match>
  81. <action function="speak-text" data="$1"/>
  82. </match>
  83. </input>
  84. </macro>
  85. </include>
  86. <!--
  87. For Emacs:
  88. Local Variables:
  89. mode:xml
  90. indent-tabs-mode:nil
  91. tab-width:2
  92. c-basic-offset:2
  93. End:
  94. For VIM:
  95. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  96. -->