voicemail_ivr.conf.xml 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <configuration name="voicemail_ivr.conf" description="Voicemail IVR">
  2. <profiles>
  3. <profile name="default">
  4. <settings>
  5. <param name="IVR-Maximum-Attempts" value="3" />
  6. <param name="IVR-Entry-Timeout" value="3000" />
  7. <param name="Record-Format" value="wav" />
  8. <!--<param name="Record-Sample-Rate" value="8000" />-->
  9. <param name="Record-Silence-Hits" value="4" />
  10. <param name="Record-Silence-Threshold" value="200" />
  11. <param name="Record-Maximum-Length" value="30" />
  12. <!--<param name="Record-Minimum-Length" value="3" />-->
  13. <param name="Exit-Purge" value="true" />
  14. <param name="Password-Mask" value="XXX." />
  15. <param name="User-Mask" value="X." />
  16. </settings>
  17. <apis>
  18. <api name="auth_login" value="vm_fsdb_auth_login" />
  19. <api name="msg_list" value="vm_fsdb_msg_list" />
  20. <api name="msg_count" value="vm_fsdb_msg_count" />
  21. <api name="msg_delete" value="vm_fsdb_msg_delete" />
  22. <api name="msg_undelete" value="vm_fsdb_msg_undelete" />
  23. <api name="msg_save" value="vm_fsdb_msg_save" />
  24. <api name="msg_purge" value="vm_fsdb_msg_purge" />
  25. <api name="msg_get" value="vm_fsdb_msg_get" />
  26. <api name="msg_forward" value="vm_fsdb_msg_forward" />
  27. <api name="pref_greeting_set" value="vm_fsdb_pref_greeting_set" />
  28. <api name="pref_greeting_get" value="vm_fsdb_pref_greeting_get" />
  29. <api name="pref_recname_set" value="vm_fsdb_pref_recname_set" />
  30. <api name="pref_password_set" value="vm_fsdb_pref_password_set" />
  31. </apis>
  32. <menus>
  33. <menu name="std_authenticate">
  34. <phrases>
  35. <phrase name="fail_auth" value="fail_auth@voicemail_ivr" />
  36. </phrases>
  37. <keys>
  38. </keys>
  39. </menu>
  40. <menu name="std_authenticate_ask_user">
  41. <phrases>
  42. <phrase name="instructions" value="enter_id@voicemail_ivr" />
  43. </phrases>
  44. <keys>
  45. <key dtmf="#" action="ivrengine:terminate_entry" variable="VM-Key-Terminator" />
  46. </keys>
  47. </menu>
  48. <menu name="std_authenticate_ask_password">
  49. <phrases>
  50. <phrase name="instructions" value="enter_pass@voicemail_ivr" />
  51. </phrases>
  52. <keys>
  53. <key dtmf="#" action="ivrengine:terminate_entry" variable="VM-Key-Terminator" />
  54. </keys>
  55. </menu>
  56. <menu name="std_main_menu">
  57. <settings>
  58. <param name="Action-On-New-Message" value="new_msg:std_navigator" />
  59. </settings>
  60. <phrases>
  61. <phrase name="msg_count" value="message_count@voicemail_ivr" />
  62. <phrase name="say_date" value="say_date_event@voicemail_ivr" />
  63. <phrase name="say_msg_number" value="say_message_number@voicemail_ivr" />
  64. <phrase name="menu_options" value="menu@voicemail_ivr" />
  65. </phrases>
  66. <keys>
  67. <key dtmf="1" action="new_msg:std_navigator" variable="VM-Key-Play-New-Messages" />
  68. <key dtmf="2" action="saved_msg:std_navigator" variable="VM-Key-Play-Saved-Messages" />
  69. <key dtmf="5" action="menu:std_preference" variable="VM-Key-Config-Menu"/>
  70. <key dtmf="#" action="return" variable="VM-Key-Terminator" />
  71. </keys>
  72. </menu>
  73. <menu name="std_navigator">
  74. <settings>
  75. <!--<param name="Nav-Action-On-Delete" value="next_msg" />-->
  76. </settings>
  77. <phrases>
  78. <phrase name="msg_count" value="message_count@voicemail_ivr" />
  79. <phrase name="say_date" value="say_date_event@voicemail_ivr" />
  80. <phrase name="say_msg_number" value="say_message_number@voicemail_ivr" />
  81. <phrase name="menu_options" value="listen_file_check@voicemail_ivr" />
  82. <phrase name="ack" value="ack@voicemail_ivr" />
  83. <phrase name="play_message" value="play_message@voicemail_ivr" />
  84. </phrases>
  85. <keys>
  86. <key dtmf="1" action="skip_intro" variable="VM-Key-Main-Listen-File" />
  87. <key dtmf="6" action="next_msg" variable="VM-Key-Main-Next-Msg" />
  88. <key dtmf="4" action="prev_msg" />
  89. <key dtmf="7" action="delete_msg" variable="VM-Key-Main-Delete-File" /> <!-- Same key for undelete if it already deleted -->
  90. <key dtmf="8" action="menu:std_forward" variable="VM-Key-Main-Forward" />
  91. <key dtmf="2" action="save_msg" variable="VM-Key-Main-Save-File" />
  92. <key dtmf="5" action="callback" variable="VM-Key-Main-Callback" />
  93. <key dtmf="#" action="return" /> <!-- TODO Might Conflict with future fast-forward -->
  94. </keys>
  95. </menu>
  96. <menu name="std_preference">
  97. <phrases>
  98. <phrase name="menu_options" value="config_menu@voicemail_ivr" />
  99. </phrases>
  100. <keys>
  101. <key dtmf="1" action="menu:std_record_greeting_with_slot" variable="VM-Key-Record-Greeting" />
  102. <key dtmf="2" action="menu:std_select_greeting_slot" variable="VM-Key-Choose-Greeting" />
  103. <key dtmf="3" action="menu:std_record_name" variable="VM-Key-Record-Name" />
  104. <key dtmf="6" action="menu:std_set_password" variable="VM-Key-Change-Password" />
  105. <key dtmf="0" action="return" variable="VM-Key-Main-Menu" />
  106. </keys>
  107. </menu>
  108. <menu name="std_record_greeting">
  109. <phrases>
  110. <phrase name="instructions" value="record_greeting@voicemail_ivr" />
  111. <phrase name="play_recording" value="play_recording@voicemail_ivr" />
  112. <phrase name="menu_options" value="record_file_check@voicemail_ivr" />
  113. </phrases>
  114. <keys>
  115. <key dtmf="1" action="listen" variable="VM-Key-Listen-File" />
  116. <key dtmf="2" action="save" variable="VM-Key-Save-File" />
  117. <key dtmf="4" action="rerecord" variable="VM-Key-ReRecord-File" />
  118. <key dtmf="#" action="skip_instruction" />
  119. </keys>
  120. </menu>
  121. <menu name="std_record_name">
  122. <phrases>
  123. <phrase name="instructions" value="record_name@voicemail_ivr" />
  124. <phrase name="play_recording" value="play_recording@voicemail_ivr" />
  125. <phrase name="menu_options" value="record_file_check@voicemail_ivr" />
  126. </phrases>
  127. <keys>
  128. <key dtmf="1" action="listen" variable="VM-Key-Listen-File" />
  129. <key dtmf="2" action="save" variable="VM-Key-Save-File" />
  130. <key dtmf="4" action="rerecord" variable="VM-Key-ReRecord-File" />
  131. <key dtmf="#" action="skip_instruction" />
  132. </keys>
  133. </menu>
  134. <menu name="std_record_message">
  135. <phrases>
  136. <phrase name="instructions" value="record_message@voicemail_ivr" />
  137. <phrase name="play_recording" value="play_recording@voicemail_ivr" />
  138. <phrase name="menu_options" value="record_file_check@voicemail_ivr" />
  139. </phrases>
  140. <keys>
  141. <key dtmf="1" action="listen" variable="VM-Key-Listen-File" />
  142. <key dtmf="2" action="save" variable="VM-Key-Save-File" />
  143. <key dtmf="4" action="rerecord" variable="VM-Key-ReRecord-File" />
  144. <key dtmf="#" action="skip_instruction" />
  145. </keys>
  146. </menu>
  147. <menu name="std_forward_ask_prepend">
  148. <phrases>
  149. <phrase name="menu_options" value="forward_ask_prepend@voicemail_ivr" />
  150. </phrases>
  151. <keys>
  152. <key dtmf="1" action="prepend" variable="VM-Key-Prepend" />
  153. <key dtmf="8" action="forward" variable="VM-Key-Forward" />
  154. <key dtmf="#" action="return" variable="VM-Key-Return" />
  155. </keys>
  156. </menu>
  157. <menu name="std_forward_ask_extension">
  158. <phrases>
  159. <phrase name="instructions" value="forward_ask_extension@voicemail_ivr" />
  160. <phrase name="ack" value="ack@voicemail_ivr" />
  161. <phrase name="invalid_extension" value="invalid_extension@voicemail_ivr" />
  162. </phrases>
  163. <keys>
  164. <key dtmf="#" action="ivrengine:terminate_entry" variable="VM-Key-Terminator" />
  165. </keys>
  166. </menu>
  167. <menu name="std_select_greeting_slot">
  168. <phrases>
  169. <phrase name="instructions" value="choose_greeting@voicemail_ivr" />
  170. <phrase name="invalid_slot" value="choose_greeting_fail@voicemail_ivr" />
  171. <phrase name="selected_slot" value="greeting_selected@voicemail_ivr" />
  172. </phrases>
  173. <keys>
  174. </keys>
  175. </menu>
  176. <menu name="std_record_greeting_with_slot">
  177. <phrases>
  178. <phrase name="instructions" value="choose_greeting@voicemail_ivr" />
  179. </phrases>
  180. <keys>
  181. </keys>
  182. </menu>
  183. <menu name="std_set_password">
  184. <phrases>
  185. <phrase name="instructions" value="enter_pass@voicemail_ivr" />
  186. </phrases>
  187. <keys>
  188. <key dtmf="#" action="ivrengine:terminate_entry" variable="VM-Key-Terminator" />
  189. </keys>
  190. </menu>
  191. </menus>
  192. </profile>
  193. </profiles>
  194. </configuration>