2
0

sounds.xml 5.5 KB

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