new-demo-ivr.xml 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="Windows-1252"?>
  2. <include><!--This line will be ignored it's here to validate the xml and is optional -->
  3. <macro name="new_demo_ivr_main_menu" pause="100"> <!-- See conf/ivr_menus/ivr.conf.xml for an example on how to use this macro in an IVR -->
  4. <input pattern="(.*)">
  5. <match>
  6. <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
  7. <action function="play-file" data="silence_stream://500"/>
  8. <!-- Menu option 1: For information about FreeSWITCH... -->
  9. <action function="play-file" data="misc/misc-information_about_freeswitch.wav"/>
  10. <action function="play-file" data="digits/1.wav"/>
  11. <!-- Menu option 2: To learn more about FreeSWITCH Solutions... -->
  12. <action function="play-file" data="misc/misc-learn_more_about_freeswitch_solutions.wav"/>
  13. <action function="play-file" data="digits/2.wav"/>
  14. <!-- Menu option 3: To hear about ClueCon -->
  15. <action function="play-file" data="misc/misc-to_hear_about_cluecon.wav"/>
  16. <action function="play-file" data="digits/3.wav"/>
  17. <!-- Menu option 4: For other options -->
  18. <action function="play-file" data="ivr/ivr-for_other_options.wav"/>
  19. <action function="play-file" data="digits/4.wav"/>
  20. <!-- Menu option 9: Repeat these options -->
  21. <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
  22. <action function="play-file" data="ivr/ivr-please.wav"/>
  23. <action function="play-file" data="voicemail/vm-press.wav"/>
  24. <action function="play-file" data="digits/9.wav"/>
  25. <action function="play-file" data="silence_stream://2000"/>
  26. </match>
  27. </input>
  28. </macro>
  29. <!-- The following macro is the same as new_demo_ivr_main_menu except it is the "short" version -->
  30. <!-- The short version has all the options but not the initial greeting -->
  31. <macro name="new_demo_ivr_main_menu_short" pause="100">
  32. <input pattern="(.*)">
  33. <match>
  34. <!-- Menu option 1: For information about FreeSWITCH... -->
  35. <action function="play-file" data="misc/misc-information_about_freeswitch.wav"/>
  36. <action function="play-file" data="digits/1.wav"/>
  37. <!-- Menu option 2: To learn more about FreeSWITCH Solutions... -->
  38. <action function="play-file" data="misc/misc-learn_more_about_freeswitch_solutions.wav"/>
  39. <action function="play-file" data="digits/2.wav"/>
  40. <!-- Menu option 3: To hear about ClueCon -->
  41. <action function="play-file" data="misc/misc-to_hear_about_cluecon.wav"/>
  42. <action function="play-file" data="digits/3.wav"/>
  43. <!-- Menu option 4: For other options -->
  44. <action function="play-file" data="ivr/ivr-for_other_options.wav"/>
  45. <action function="play-file" data="digits/4.wav"/>
  46. <!-- Menu option 9: Repeat these options -->
  47. <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
  48. <action function="play-file" data="ivr/ivr-please.wav"/>
  49. <action function="play-file" data="voicemail/vm-press.wav"/>
  50. <action function="play-file" data="digits/9.wav"/>
  51. <action function="play-file" data="silence_stream://2000"/>
  52. </match>
  53. </input>
  54. </macro>
  55. <!-- More information about FreeSWITCH... -->
  56. <macro name="learn_about_freeswitch_sub_menu">
  57. <input pattern="(.*)">
  58. <match>
  59. <!-- Information about FreeSWITCH and OSTAG... -->
  60. <action function="play-file" data="misc-freeswitch_is_state_of_the_art.wav"/>
  61. <action function="play-file" data="silence_stream://50"/>
  62. <action function="play-file" data="misc-it_is_stable_scalable_extensible.wav"/>
  63. <action function="play-file" data="silence_stream://50"/>
  64. <action function="play-file" data="misc-free_to_download.wav"/>
  65. <action function="play-file" data="silence_stream://50"/>
  66. <action function="play-file" data="misc-freeswitch_sponsored_by_ostag.wav"/>
  67. <action function="play-file" data="silence_stream://50"/>
  68. <action function="play-file" data="misc-ostag_learn_more.wav"/>
  69. <action function="play-file" data="silence_stream://50"/>
  70. <!-- Menu option 9: Repeat this information -->
  71. <action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
  72. <action function="play-file" data="ivr/ivr-please.wav"/>
  73. <action function="play-file" data="voicemail/vm-press.wav"/>
  74. <action function="play-file" data="digits/9.wav"/>
  75. <action function="play-file" data="silence_stream://2000"/>
  76. <!-- Menu option *: Return to top menu -->
  77. <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
  78. <action function="play-file" data="ivr/ivr-please.wav"/>
  79. <action function="play-file" data="voicemail/vm-press.wav"/>
  80. <action function="play-file" data="digits/star.wav"/>
  81. </match>
  82. </input>
  83. </macro>
  84. <!-- More information about FreeSWITCH Solutions... -->
  85. <macro name="learn_about_freeswitch_solutions_sub_menu">
  86. <input pattern="(.*)">
  87. <match>
  88. <!-- Information about FreeSWITCH Solutions... -->
  89. <action function="play-file" data="[[sounds from tony/brian]]"/>
  90. <action function="play-file" data="silence_stream://50"/>
  91. <action function="play-file" data="[[sounds from tony/brian]]"/>
  92. <action function="play-file" data="silence_stream://50"/>
  93. <action function="play-file" data="[[sounds from tony/brian]]"/>
  94. <action function="play-file" data="silence_stream://50"/>
  95. <action function="play-file" data="[[sounds from tony/brian]]"/>
  96. <action function="play-file" data="silence_stream://50"/>
  97. <action function="play-file" data="[[sounds from tony/brian]]"/>
  98. <action function="play-file" data="silence_stream://50"/>
  99. <!-- Menu option 9: Repeat this information -->
  100. <action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
  101. <action function="play-file" data="ivr/ivr-please.wav"/>
  102. <action function="play-file" data="voicemail/vm-press.wav"/>
  103. <action function="play-file" data="digits/9.wav"/>
  104. <action function="play-file" data="silence_stream://2000"/>
  105. <!-- Menu option *: Return to top menu -->
  106. <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
  107. <action function="play-file" data="ivr/ivr-please.wav"/>
  108. <action function="play-file" data="voicemail/vm-press.wav"/>
  109. <action function="play-file" data="digits/star.wav"/>
  110. </match>
  111. </input>
  112. </macro>
  113. <!-- More information about ClueCon -->
  114. <macro name="learn_about_cluecon_sub_menu">
  115. <input pattern="(.*)">
  116. <match>
  117. <!-- Information about ClueCon... -->
  118. <action function="play-file" data="misc-cluecon_is_premier_conference.wav"/>
  119. <action function="play-file" data="silence_stream://50"/>
  120. <action function="play-file" data="misc-chicago_each_summer.wav"/>
  121. <action function="play-file" data="silence_stream://50"/>
  122. <action function="play-file" data="misc-wide_range_of_persons.wav"/>
  123. <action function="play-file" data="silence_stream://50"/>
  124. <action function="play-file" data="misc-support_open_source_by_attending.wav"/>
  125. <action function="play-file" data="silence_stream://500"/>
  126. <action function="play-file" data="ivr-register_for_cluecon.wav"/>
  127. <action function="play-file" data="ivr/ivr-please.wav"/>
  128. <action function="play-file" data="voicemail/vm-press.wav"/>
  129. <action function="play-file" data="digits/1.wav"/>
  130. <action function="play-file" data="silence_stream://500"/>
  131. <!-- Menu option 9: Repeat this information -->
  132. <action function="play-file" data="ivr/ivr-repeat_this_information.wav"/>
  133. <action function="play-file" data="ivr/ivr-please.wav"/>
  134. <action function="play-file" data="voicemail/vm-press.wav"/>
  135. <action function="play-file" data="digits/9.wav"/>
  136. <action function="play-file" data="silence_stream://2000"/>
  137. <!-- Menu option *: Return to top menu -->
  138. <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
  139. <action function="play-file" data="ivr/ivr-please.wav"/>
  140. <action function="play-file" data="voicemail/vm-press.wav"/>
  141. <action function="play-file" data="digits/star.wav"/>
  142. </match>
  143. </input>
  144. </macro>
  145. </include><!--This line will be ignored it's here to validate the xml and is optional -->