home *** CD-ROM | disk | FTP | other *** search
- ; ****************************************************************
- ; * *
- ; * Answering Machine Remote Control Script Sample *
- ; * Creation of Two (Or More) Voice Mailboxes *
- ; * *
- ; ****************************************************************
- ;
- ; Lines beginning with semicolons are comments
- ;
- ;*****************************************************************
- [START]
- =mode 1 2mailbox.wav
- ; In the unregistered Home version, up to two mailboxes can be
- ; created.
- ; In the registered Home version, up to ten mailboxes can be created.
- ; In the registered Business version, up to 1000 mailboxes can be
- ; created. If you need more than 10 but fewer than 100
- ; mailboxes, change the mode command parameter above from 1 to 2 and
- ; use double-digit codes in this section (01 instead of 1, 02 instead
- ; of 2, etc., and ** instead of *.
- ; To use the script, select it in the "Remote control script file"
- ; field in the "Folders and Files - Service Files" tab and enable the
- ; "Switch to remote control mode immediately after answering a call"
- ; parameter in the "Reception - Automatic" tab.
- ; It is presumed that sound files (.WAV files) referred to in this
- ; script are located in the \SERVICE folder.
- ; The 2MAILBOX.WAV file in the \SERVICE folder contains the caller's
- ; voice instructions for using the answering machine with voice
- ; mailboxes.
- ; If the "Switch to remote control mode immediately after answering a
- ; call" parameter in the "Reception - Automatic" tab is enabled, this
- ; file is played back in the telephone line INSTEAD of the "Answering
- ; machine greeting" specified in the "Folders and Files - Service
- ; Files" tab.
- ; This file can contain instructions like: "If you have a touchtone
- ; phone, press 1 to leave a voice message or a fax in mailbox 1
- ; or press 2 to leave a voice message or a fax in mailbox 2."
- ;
- =1
- set_protected 1
- play "leave_message.wav"
- record "\in\mailbox1\" 30
- ; This is how voice and facsimile message reception to mailbox 1 is
- ; defined. For a fax to be received, the transmitting party
- ; must start transmission with the distinctive fax tone (signal).
- ;
- =2
- set_protected 2
- play "leave_message.wav"
- record "\in\mailbox2\" 30
- ; This is how voice and facsimile message reception to mailbox 2 is
- ; defined. For a fax to be received, the transmitting party must
- ; start transmission with the distinctive fax tone (signal).
- ;
- ; Here you can add fax reception commands and additional mailboxes.
- ; .....
- ;
- =*
- goto "TestPassword"
- ; Switching to the mailbox content playback section.
- ;
- ;*********************************************************************
- [TestPassword]
- ;
- =mode 4 "Enter password.wav"
- ; The password length here is 4 digits. Maximum length is 20 digits.
- ;
- =default
- set_protected 0
- play "errpsw.wav"
- ; The file to be played if the caller enters an erroneous
- ; (i.e., unspecified in this section) password.
- ;
- =0000
- set_protected 0
- goto "Listening"
- ; Play the messages recorded without the remote control mode on the
- ; "common" answering machine. It is recommended to change the default ; (0000) password.
- ;
- =0001
- set_protected 1
- goto "Listening"
- ; Play messages recorded in mailbox 1. It is recommended to
- ; change the default (0001) password.
- ;
- =0002
- set_protected 2
- goto "Listening"
- ; Play messages recorded in the mailbox 2. It is recommended to
- ; change the default (0002) password.
- ;
- ; Here you can add commands for playing messages in additional
- ; mailboxes.
- ; .....
- ;
- ;*********************************************************************
- [Listening]
- =mode 1
- ; This section describes the answering machine operations on playing
- ; back the contents of the mailbox selected in the TestPassword
- ; section.
- ;
- =0
- PLAY_REP_INFO 12
- wait_cmd 30
- ; Play back the information on messages and faxes received to the
- ; mailbox.
- ;
- =1
- play_new 0 1
- wait_cmd 30
- ; Play back all new messages including the caller's phone number and
- ; time of reception information.
- ;
- =2
- play_prev 1 1
- wait_cmd 30
- ; Play back the previous message including the caller's phone number
- ; and time of reception information.
- ;
- =3
- play_agn 1 1
- wait_cmd 30
- ; Replay the message including the caller's phone number and time of
- ; reception information.
- ;
- =4
- play_next 1 1
- wait_cmd 30
- ; Play back the next message including the caller's phone number and
- ; time of reception information.
- ;
- =5
- play_agn 1 0
- wait_cmd 30
- ; Replay the message excluding the caller's phone number and time of
- ; reception information.
- ;
- =*
- goto "TestPassword"
- ; Switch to playing messages from another mailbox.
- ;*********************************************************************
-