demo-ivr-pt-PT.xml 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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="demo_ivr_count">
  4. <input pattern="^(\d+)$">
  5. <match>
  6. <action function="play-file" data="voicemail/vm-you_have.wav"/>
  7. <action function="say" data="$1" method="pronounced" type="name_spelled"/>
  8. <action function="play-file" data="voicemail/vm-messages.wav"/>
  9. </match>
  10. </input>
  11. </macro>
  12. <macro name="demo_ivr_main_menu" pause="100"> <!-- See conf/autoload_config/ivr.conf.xml for an example on how to use this macro in an IVR -->
  13. <input pattern="(.*)">
  14. <match>
  15. <!-- string together several existing sound files to create one long greeting -->
  16. <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
  17. <action function="play-file" data="ivr/ivr-this_ivr_will_let_you_test_features.wav"/>
  18. <action function="play-file" data="ivr/ivr-you_may_exit_by_hanging_up.wav"/>
  19. <!-- note that you can do more than just play files, e.g. have pauses and do TTS -->
  20. <!-- Menu option 1: Call FreeSWITCH conference-->
  21. <action function="play-file" data="ivr/ivr-enter_ext_pound.wav"/>
  22. <action function="play-file" data="silence_stream://1500"/>
  23. <action function="play-file" data="ivr/ivr-to_call_the_freeswitch_conference.wav"/>
  24. <action function="play-file" data="ivr/ivr-please.wav"/>
  25. <action function="play-file" data="voicemail/vm-press.wav"/>
  26. <action function="play-file" data="digits/1.wav"/>
  27. <!-- Menu option 2: Do FreeSWITCH echo test -->
  28. <action function="play-file" data="ivr/ivr-to_do_a_freeswitch_echo_test.wav"/>
  29. <action function="play-file" data="ivr/ivr-please.wav"/>
  30. <action function="play-file" data="voicemail/vm-press.wav"/>
  31. <action function="play-file" data="digits/2.wav"/>
  32. <!-- Menu option 3: Listen to Music on Hold -->
  33. <action function="play-file" data="ivr/ivr-to_listen_to_moh.wav"/>
  34. <action function="play-file" data="ivr/ivr-please.wav"/>
  35. <action function="play-file" data="voicemail/vm-press.wav"/>
  36. <action function="play-file" data="digits/3.wav"/>
  37. <!-- Menu option 4: Register for ClueCon -->
  38. <action function="play-file" data="ivr/ivr-register_for_cluecon.wav"/>
  39. <action function="play-file" data="digits/4.wav"/>
  40. <!-- Menu option 5: Listen to screaming monkeys -->
  41. <action function="play-file" data="ivr/ivr-to_hear_screaming_monkeys.wav"/>
  42. <action function="play-file" data="ivr/ivr-please.wav"/>
  43. <action function="play-file" data="voicemail/vm-press.wav"/>
  44. <action function="play-file" data="digits/5.wav"/>
  45. <!-- Menu option 6: Hear a sample submenu -->
  46. <action function="play-file" data="ivr/ivr-to_hear_sample_submenu.wav"/>
  47. <action function="play-file" data="ivr/ivr-please.wav"/>
  48. <action function="play-file" data="voicemail/vm-press.wav"/>
  49. <action function="play-file" data="digits/6.wav"/>
  50. <!-- Menu option 9: Repeat these options -->
  51. <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
  52. <action function="play-file" data="ivr/ivr-please.wav"/>
  53. <action function="play-file" data="voicemail/vm-press.wav"/>
  54. <action function="play-file" data="digits/9.wav"/>
  55. <action function="play-file" data="silence_stream://2000"/>
  56. </match>
  57. </input>
  58. </macro>
  59. <!-- The following macro is the same as demo_ivr_main_menu except it is the "short" version -->
  60. <!-- The short version has all the options but not the initial greeting -->
  61. <macro name="demo_ivr_main_menu_short" pause="100">
  62. <input pattern="(.*)">
  63. <match>
  64. <!-- Menu option 1: Call FreeSWITCH conference-->
  65. <action function="play-file" data="silence_stream://1000"/>
  66. <action function="play-file" data="ivr/ivr-to_call_the_freeswitch_conference.wav"/>
  67. <action function="play-file" data="ivr/ivr-please.wav"/>
  68. <action function="play-file" data="voicemail/vm-press.wav"/>
  69. <action function="play-file" data="digits/1.wav"/>
  70. <!-- Menu option 2: Do FreeSWITCH echo test -->
  71. <action function="play-file" data="ivr/ivr-to_do_a_freeswitch_echo_test.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/2.wav"/>
  75. <!-- Menu option 3: Listen to Music on Hold -->
  76. <action function="play-file" data="ivr/ivr-to_listen_to_moh.wav"/>
  77. <action function="play-file" data="ivr/ivr-please.wav"/>
  78. <action function="play-file" data="voicemail/vm-press.wav"/>
  79. <action function="play-file" data="digits/3.wav"/>
  80. <!-- Menu option 4: Hear a sample submenu -->
  81. <action function="play-file" data="ivr/ivr-to_hear_sample_submenu.wav"/>
  82. <action function="play-file" data="ivr/ivr-please.wav"/>
  83. <action function="play-file" data="voicemail/vm-press.wav"/>
  84. <action function="play-file" data="digits/4.wav"/>
  85. <!-- Menu option 5: Listen to screaming monkeys -->
  86. <action function="play-file" data="ivr/ivr-to_hear_screaming_monkeys.wav"/>
  87. <action function="play-file" data="ivr/ivr-please.wav"/>
  88. <action function="play-file" data="voicemail/vm-press.wav"/>
  89. <action function="play-file" data="digits/5.wav"/>
  90. <!-- Menu option 9: Repeat these options -->
  91. <action function="play-file" data="ivr/ivr-to_repeat_these_options.wav"/>
  92. <action function="play-file" data="ivr/ivr-please.wav"/>
  93. <action function="play-file" data="voicemail/vm-press.wav"/>
  94. <action function="play-file" data="digits/9.wav"/>
  95. <action function="play-file" data="silence_stream://2000"/>
  96. </match>
  97. </input>
  98. </macro>
  99. <!-- The following macro is the "long" greeting for the demo_ivr_sub_menu -->
  100. <macro name="demo_ivr_sub_menu">
  101. <input pattern="(.*)">
  102. <match>
  103. <action function="play-file" data="ivr/ivr-welcome_to_freeswitch.wav"/>
  104. <action function="play-file" data="ivr/ivr-sample_submenu.wav"/>
  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. <!-- The following macro is the same as demo_ivr_sub_menu except it is the "short" version -->
  114. <!-- The short version has all the options but not the initial greeting -->
  115. <macro name="demo_ivr_sub_menu_short">
  116. <input pattern="(.*)">
  117. <match>
  118. <!-- Menu option *: Return to top menu -->
  119. <action function="play-file" data="ivr/ivr-to_return_to_previous_menu.wav"/>
  120. <action function="play-file" data="ivr/ivr-please.wav"/>
  121. <action function="play-file" data="voicemail/vm-press.wav"/>
  122. <action function="play-file" data="digits/star.wav"/>
  123. </match>
  124. </input>
  125. </macro>
  126. </include><!--This line will be ignored it's here to validate the xml and is optional -->