home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 January / PCpro_2004_01.ISO / files / full / VentaFax / 2MAILBOX.VFA < prev    next >
Encoding:
Text File  |  2003-05-15  |  4.8 KB  |  143 lines

  1. ; ****************************************************************
  2. ; *                                                              *
  3. ; *       Answering Machine Remote Control Script Sample         *
  4. ; *          Creation of Two (Or More) Voice Mailboxes           *
  5. ; *                                                              *
  6. ; ****************************************************************
  7. ;
  8. ;           Lines beginning with semicolons are comments
  9. ;
  10. ;*****************************************************************
  11. [START]
  12. =mode 1 2mailbox.wav
  13. ; In the unregistered Home version, up to two mailboxes can be 
  14. ; created.
  15. ; In the registered Home version, up to ten mailboxes can be created.
  16. ; In the registered Business version, up to 1000 mailboxes can be
  17. ; created. If you need more than 10 but fewer than 100
  18. ; mailboxes, change the mode command parameter above from 1 to 2 and
  19. ; use double-digit codes in this section (01 instead of 1, 02 instead
  20. ; of 2, etc., and ** instead of *.
  21. ; To use the script, select it in the "Remote control script file"
  22. ; field in the "Folders and Files - Service Files" tab and enable the 
  23. ; "Switch to remote control mode immediately after answering a call"
  24. ; parameter in the "Reception - Automatic" tab. 
  25. ; It is presumed that sound files (.WAV files) referred to in this 
  26. ; script are located in the \SERVICE folder. 
  27. ; The 2MAILBOX.WAV file in the \SERVICE folder contains the caller's 
  28. ; voice instructions for using the answering machine with voice
  29. ; mailboxes. 
  30. ; If the "Switch to remote control mode immediately after answering a 
  31. ; call" parameter in the "Reception - Automatic" tab is enabled, this
  32. ; file is played back in the telephone line INSTEAD of the "Answering 
  33. ; machine greeting" specified in the "Folders and Files - Service 
  34. ; Files" tab. 
  35. ; This file can contain instructions like: "If you have a touchtone
  36. ; phone, press 1 to leave a voice message or a fax in mailbox 1
  37. ; or press 2 to leave a voice message or a fax in mailbox 2." 
  38. ;
  39. =1
  40. set_protected 1
  41. play "leave_message.wav"
  42. record "\in\mailbox1\" 30
  43. ; This is how voice and facsimile message reception to mailbox 1 is 
  44. ; defined. For a fax to be received, the transmitting party 
  45. ; must start transmission with the distinctive fax tone (signal). 
  46. ;
  47. =2
  48. set_protected 2
  49. play "leave_message.wav"
  50. record "\in\mailbox2\" 30
  51. ; This is how voice and facsimile message reception to mailbox 2 is 
  52. ; defined. For a fax to be received, the transmitting party must 
  53. ; start transmission with the distinctive fax tone (signal). 
  54. ;
  55. ; Here you can add fax reception commands and additional mailboxes. 
  56. ; .....
  57. ;
  58. =*
  59. goto "TestPassword"
  60. ; Switching to the mailbox content playback section.
  61. ;
  62. ;*********************************************************************
  63. [TestPassword]
  64. ;
  65. =mode 4 "Enter password.wav"
  66. ; The password length here is 4 digits. Maximum length is 20 digits.
  67. ;
  68. =default
  69. set_protected 0
  70. play "errpsw.wav"
  71. ; The file to be played if the caller enters an erroneous 
  72. ; (i.e., unspecified in this section) password.
  73. ;
  74. =0000
  75. set_protected 0
  76. goto "Listening"
  77. ; Play the messages recorded without the remote control mode on the
  78. ; "common" answering machine. It is recommended to change the default ; (0000) password.
  79. ;
  80. =0001
  81. set_protected 1
  82. goto "Listening"
  83. ; Play messages recorded in mailbox 1. It is recommended to 
  84. ; change the default (0001) password.
  85. ;
  86. =0002
  87. set_protected 2
  88. goto "Listening"
  89. ; Play messages recorded in the mailbox 2. It is recommended to 
  90. ; change the default (0002) password.
  91. ;
  92. ; Here you can add commands for playing messages in additional 
  93. ; mailboxes.
  94. ; .....
  95. ;
  96. ;*********************************************************************
  97. [Listening]
  98. =mode 1
  99. ; This section describes the answering machine operations on playing 
  100. ; back the contents of the mailbox selected in the TestPassword 
  101. ; section.
  102. ;
  103. =0
  104. PLAY_REP_INFO 12
  105. wait_cmd 30
  106. ; Play back the information on messages and faxes received to the 
  107. ; mailbox. 
  108. ;
  109. =1
  110. play_new 0 1
  111. wait_cmd 30
  112. ; Play back all new messages including the caller's phone number and 
  113. ; time of reception information. 
  114. ;
  115. =2
  116. play_prev 1 1
  117. wait_cmd 30
  118. ; Play back the previous message including the caller's phone number 
  119. ; and time of reception information. 
  120. ;
  121. =3
  122. play_agn 1 1
  123. wait_cmd 30
  124. ; Replay the message including the caller's phone number and time of 
  125. ; reception information. 
  126. ;
  127. =4
  128. play_next 1 1
  129. wait_cmd 30
  130. ; Play back the next message including the caller's phone number and 
  131. ; time of reception information. 
  132. ;
  133. =5
  134. play_agn 1 0
  135. wait_cmd 30
  136. ; Replay the message excluding the caller's phone number and time of 
  137. ; reception information. 
  138. ;
  139. =*
  140. goto "TestPassword"
  141. ; Switch to playing messages from another mailbox.
  142. ;*********************************************************************
  143.