sounds.xml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <include>
  2. <macro name="fifo_position">
  3. <input pattern="^(.*)$">
  4. <match>
  5. <action function="play-file" data="ivr/ivr-you_are_number.wav"/>
  6. <action function="say" data="${fifo_position}" method="pronounced" type="items"/>
  7. <action function="play-file" data="ivr/ivr-in_line.wav"/>
  8. </match>
  9. </input>
  10. </macro>
  11. <macro name="queue_position">
  12. <input pattern="^(\d+)$">
  13. <match>
  14. <action function="play-file" data="ivr/ivr-you_are_number.wav"/>
  15. <action function="say" data="$1" method="pronounced" type="items"/>
  16. <action function="play-file" data="ivr/ivr-in_line.wav"/>
  17. </match>
  18. </input>
  19. </macro>
  20. <macro name="has_called_conf">
  21. <input pattern="^(\d+)$">
  22. <match>
  23. <action function="play-file" data="$1"/>
  24. <action function="sleep" data="100"/>
  25. <action function="play-file" data="conference/conf-has_joined.wav"/>
  26. </match>
  27. </input>
  28. </macro>
  29. <macro name="has_left_conf">
  30. <input pattern="^(\d+)$">
  31. <match>
  32. <action function="play-file" data="$1"/>
  33. <action function="sleep" data="100"/>
  34. <action function="play-file" data="conference/conf-has_left.wav"/>
  35. </match>
  36. </input>
  37. </macro>
  38. <macro name="callers_in_conf">
  39. <input pattern="^1$" break_on_match="true">
  40. <match>
  41. <action function="sleep" data="500"/>
  42. <!--<action function="play-file" data="ivr/ivr-there_is.wav"/>-->
  43. <action function="play-file" data="digits/1.wav"/>
  44. <action function="sleep" data="100"/>
  45. <action function="play-file" data="conference/conf-listener_in_conference.wav"/>
  46. </match>
  47. </input>
  48. <input pattern="^(\d+)$">
  49. <match>
  50. <action function="sleep" data="500"/>
  51. <action function="play-file" data="ivr/ivr-there_are.wav"/>
  52. <action function="say" data="$1" method="pronounced" type="items"/>
  53. <action function="sleep" data="100"/>
  54. <action function="play-file" data="conference/conf-members_in_conference.wav"/>
  55. </match>
  56. <nomatch>
  57. <action function="sleep" data="500"/>
  58. <action function="play-file" data="ivr/ivr-there_are.wav"/>
  59. <action function="play-file" data="digits/0.wav"/>
  60. <action function="sleep" data="100"/>
  61. <action function="play-file" data="conference/conf-members_in_conference.wav"/>
  62. </nomatch>
  63. </input>
  64. </macro>
  65. <macro name="enter_dest_number">
  66. <input pattern="^(.*)$">
  67. <match>
  68. <action function="sleep" data="1000"/>
  69. <action function="play-file" data="ivr/ivr-enter_destination_telephone_number.wav"/>
  70. <action function="sleep" data="1000"/>
  71. </match>
  72. </input>
  73. </macro>
  74. <macro name="enter_src_number">
  75. <input pattern="^(.*)$">
  76. <match>
  77. <action function="sleep" data="1000"/>
  78. <action function="play-file" data="ivr/ivr-enter_source_telephone_number.wav"/>
  79. <action function="sleep" data="1000"/>
  80. </match>
  81. </input>
  82. </macro>
  83. <macro name="call_forward_set">
  84. <input pattern="^(\d+):(\d+)$">
  85. <match>
  86. <action function="sleep" data="1000"/>
  87. <action function="play-file" data="ivr/ivr-extension_number.wav"/>
  88. <action function="sleep" data="400"/>
  89. <action function="say" data="$1" method="iterated" type="number"/>
  90. <action function="sleep" data="400"/>
  91. <action function="play-file" data="digits/2.wav"/>
  92. <action function="sleep" data="1000"/>
  93. <action function="play-file" data="ivr/ivr-extension_number.wav"/>
  94. <action function="sleep" data="400"/>
  95. <action function="say" data="$2" method="iterated" type="number"/>
  96. <action function="sleep" data="1000"/>
  97. <action function="play-file" data="ivr/ivr-call_forwarding_has_been_set.wav"/>
  98. <action function="sleep" data="1500"/>
  99. </match>
  100. </input>
  101. </macro>
  102. <macro name="call_forward_cancel">
  103. <input pattern="^(\d+)$">
  104. <match>
  105. <action function="sleep" data="1000"/>
  106. <action function="play-file" data="ivr/ivr-extension_number.wav"/>
  107. <action function="sleep" data="400"/>
  108. <action function="say" data="$1" method="iterated" type="number"/>
  109. <action function="play-file" data="ivr/ivr-call_forwarding_has_been_cancelled.wav"/>
  110. <action function="sleep" data="1500"/>
  111. </match>
  112. </input>
  113. </macro>
  114. <macro name="screen_confirm">
  115. <input pattern="^(.*)$">
  116. <match>
  117. <action function="sleep" data="500"/>
  118. <action function="play-file" data="ivr/ivr-call_from.wav"/>
  119. <action function="sleep" data="250"/>
  120. <!-- Note, be sure to pass in the full path to the file or else!! -->
  121. <action function="play-file" data="$1"/>
  122. <action function="sleep" data="500"/>
  123. <action function="play-file" data="ivr/ivr-to_accept_press_one.wav"/>
  124. <action function="sleep" data="500"/>
  125. <action function="play-file" data="ivr/ivr-to_reject.wav"/>
  126. <action function="sleep" data="50"/>
  127. <action function="play-file" data="ivr/ivr-hang_up.wav"/>
  128. <action function="sleep" data="1500"/>
  129. <action function="play-file" data="ivr/ivr-call_from.wav"/>
  130. <action function="sleep" data="250"/>
  131. <action function="play-file" data="$1"/>
  132. <action function="sleep" data="500"/>
  133. <action function="play-file" data="ivr/ivr-to_accept_press_one.wav"/>
  134. <action function="sleep" data="500"/>
  135. <action function="play-file" data="ivr/ivr-to_reject.wav"/>
  136. <action function="sleep" data="50"/>
  137. <action function="play-file" data="ivr/ivr-hang_up.wav"/>
  138. <action function="sleep" data="1500"/>
  139. </match>
  140. </input>
  141. </macro>
  142. </include>
  143. <!--
  144. For Emacs:
  145. Local Variables:
  146. mode:xml
  147. indent-tabs-mode:nil
  148. tab-width:2
  149. c-basic-offset:2
  150. End:
  151. For VIM:
  152. vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab:
  153. -->