home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / Chip_2004-11_cd1.bin / tema / fax / download / ventafax5 / vfvh5519i.exe / RCDATA / CABINET / Siemens.vfa < prev    next >
Text File  |  2003-07-03  |  5KB  |  220 lines

  1. ; *********************** beginning siemens.vfa **********************
  2. ;
  3. ; ********************************************************************
  4. ; *       Siemens-Like Answering Machine Remote Control Script Example    *
  5. ; ********************************************************************
  6. ;
  7. ; Line beginning with semicolon is a comment
  8. ;
  9. ;
  10. ; START SECTION BEGINS HERE
  11. ;
  12. [START]
  13. ;
  14. ;
  15. ; Set the DTMF sequence length (in this case - PIN code (password)
  16. ; to access the answering machine) to 4 characters.
  17. =mode 4/#
  18. ;
  19. ;
  20. ; Actions to be performed if undefined earlier DTMF sequence would
  21. ; be received are described under "=default" group of
  22. ; commands. Parameter specifies, that after receiving the third 
  23. ; invalid password answering machine would hang up.
  24. ;
  25. =default 3
  26. ;
  27. ;
  28. ; If caller would enter an invalid password, ERRPSW.WAV file located in 
  29. ; \SERVICE folder would be played. If you do not want to play an
  30. ; invalid password announcement, comment the "play" line.
  31. ;
  32. play "errpsw.wav"
  33. ;
  34. ;
  35. ; Answering machine would await next command for 60 seconds. 
  36. ; After that answering machine would hang up.
  37. ;
  38. wait_cmd 40 0
  39. ;
  40. ;
  41. ; Now you can set DTMF sequences to be recognized by the 
  42. ; answering machine.
  43. ; After entering correct PIN code specified below go to MENU_1 
  44. ; section.
  45. ;
  46. ; *** WARNING! Don't forget to replace "0000" with your PIN code! ***
  47. ;
  48. =0000
  49. goto "MENU_1" 60
  50. ;
  51. ; MENU_1 SECTION BEGINS HERE
  52. ;
  53. [MENU_1]
  54. ;
  55. ;
  56. ; Set the DTMF sequence length (in this case control command)
  57. ; to 1 character. Active in current section only.
  58. ;
  59. =mode 1
  60. ;
  61. ;
  62. ; Disconnect after five successive invalid commands or after 
  63. ; waiting for a command for 60 s. 
  64. ;
  65. =default 5
  66. wait_cmd 60 0
  67. ;
  68. ;
  69. ;
  70. ; On reception "*" command play information on new voice messages. 
  71. ; Disconnect if no new commands would be received during 60 s.
  72. ;
  73. =*
  74. play_rep_info 8
  75. wait_cmd 60 0
  76. ;
  77. ;
  78. ; On reception "2" command play new voice messages
  79. ; in first received - first played order. Also message reception time
  80. ; and Caller ID, if delivered, would be played. If caller would 
  81. ; press "2" key again during reproduction, answering machine would 
  82. ; play next message.
  83. ; Disconnect if no new commands would be received during 60 s.
  84. ;
  85. ;
  86. =2
  87. play_new 0 1
  88. wait_cmd 60
  89. ;
  90. ; Pressing "9" key switches to answering machine parameter 
  91. ; change section.
  92. ;
  93. =9
  94. goto "menu_change_mode" 60
  95. ;
  96. ;
  97. ; Only 4 commands in a menu section are allowed in an 
  98. ; unregistered version. Other commands cited below
  99. ; would be ignored.
  100. ;
  101. ; Pressing "3" key pays new messages in first received -
  102. ; first played order. If caller would press "3" key again
  103. ; during reproduction, answering machine would play next message.
  104. ;
  105. =3
  106. play_new 0 1
  107. wait_cmd 60
  108. ;
  109. ;
  110. ; Pressing "1" replays current message. 
  111. ; Disconnect if no new commands would be received during 60 s.
  112. ;
  113. =1
  114. play_agn 1 1
  115. wait_cmd 60
  116. ;
  117. ; To replay previous message, press "4"
  118. ;
  119. =4
  120. ; play_prev 1 1
  121. wait_cmd 60
  122. ;
  123. ; Pressing "5" stops playing. Answering machine waits new commands 
  124. ; for 60 seconds.
  125. ;
  126. =5
  127. wait_cmd 60
  128. ;
  129. ;
  130. ; Selection
  131. ;
  132. [menu_change_mode]
  133. ;
  134. =mode 1 "mode.wav"
  135. ;
  136. =1
  137. goto "menu_set_repl1" 60
  138. =2
  139. goto "menu_set_repl2" 60
  140. =5
  141. goto "menu_1"
  142. ;
  143. [menu_set_repl1]
  144. ;
  145. =mode 1
  146. =default 4
  147. wait_cmd 60 0
  148. ;
  149. ;
  150. ; Pressing "6" records a up to 60 second long message. Message duration 
  151. ; can be changed. In unregistered version, maximum message
  152. ; length is 15 seconds (even if 60 value is set). To stop
  153. ; recording, press any key.
  154. ;
  155. =6
  156. play "recvoi.wav"
  157. record "greet_1.wav" 60
  158. set_greeting "greet_1.wav"
  159. play "greet_1.wav"
  160. ;
  161. ;
  162. ; Pressing 5 plays the message recorded on command "6". Otherwise, 
  163. ; you would hear GREET_1.WAV pre-recorded message located 
  164. ; in \SERVICE folder. This message would be set as a new greeting
  165. ; announcement.
  166. ;
  167. =5
  168. play "greet_1.wav"
  169. set_greeting "greet_1.wav"
  170. wait_cmd 30 0
  171. ;
  172. ;
  173. ; Return to main menu.
  174. ;
  175. =9
  176. goto "menu_1" 30
  177. ;
  178. ;
  179. [menu_set_repl2]
  180. ;
  181. =mode 1
  182. =default 4
  183. wait_cmd 30 0
  184. ;
  185. ;
  186. ; Pressing "6" records a up to 60 second long message. Message duration 
  187. ; can be changed. In unregistered version, maximum message
  188. ; length is 15 seconds (even if 60 value is set). To stop
  189. ; recording, press any key.
  190. ;
  191. =6
  192. play "recvoi.wav"
  193. record "greet_2.wav" 60
  194. set_greeting "greet_2.wav"
  195. play "greet_2.wav"
  196. ;
  197. ;
  198. ; Pressing 5 plays the message recorded on command "6". Otherwise, 
  199. ; you would hear GREET_2.WAV pre-recorded message located 
  200. ; in \SERVICE folder. This message would be set as a new greeting
  201. ; announcement.
  202. ;
  203. =5
  204. play "greet_2.wav"
  205. set_greeting "greet_2.wav"
  206. wait_cmd 30 0
  207. ;
  208. ;
  209. ; Return to main menu.
  210. ;
  211. =9
  212. goto "menu_1" 30
  213. ;
  214. ;
  215. ; ************************ end siemens.vfa *********************
  216.