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 >
Wrap
Text File
|
2003-07-03
|
5KB
|
220 lines
; *********************** beginning siemens.vfa **********************
;
; ********************************************************************
; * Siemens-Like Answering Machine Remote Control Script Example *
; ********************************************************************
;
; Line beginning with semicolon is a comment
;
;
; START SECTION BEGINS HERE
;
[START]
;
;
; Set the DTMF sequence length (in this case - PIN code (password)
; to access the answering machine) to 4 characters.
;
=mode 4/#
;
;
; Actions to be performed if undefined earlier DTMF sequence would
; be received are described under "=default" group of
; commands. Parameter specifies, that after receiving the third
; invalid password answering machine would hang up.
;
=default 3
;
;
; If caller would enter an invalid password, ERRPSW.WAV file located in
; \SERVICE folder would be played. If you do not want to play an
; invalid password announcement, comment the "play" line.
;
play "errpsw.wav"
;
;
; Answering machine would await next command for 60 seconds.
; After that answering machine would hang up.
;
wait_cmd 40 0
;
;
; Now you can set DTMF sequences to be recognized by the
; answering machine.
;
; After entering correct PIN code specified below go to MENU_1
; section.
;
; *** WARNING! Don't forget to replace "0000" with your PIN code! ***
;
=0000
goto "MENU_1" 60
;
;
; MENU_1 SECTION BEGINS HERE
;
[MENU_1]
;
;
; Set the DTMF sequence length (in this case control command)
; to 1 character. Active in current section only.
;
=mode 1
;
;
; Disconnect after five successive invalid commands or after
; waiting for a command for 60 s.
;
=default 5
wait_cmd 60 0
;
;
;
; On reception "*" command play information on new voice messages.
; Disconnect if no new commands would be received during 60 s.
;
=*
play_rep_info 8
wait_cmd 60 0
;
;
; On reception "2" command play new voice messages
; in first received - first played order. Also message reception time
; and Caller ID, if delivered, would be played. If caller would
; press "2" key again during reproduction, answering machine would
; play next message.
; Disconnect if no new commands would be received during 60 s.
;
;
=2
play_new 0 1
wait_cmd 60
;
;
; Pressing "9" key switches to answering machine parameter
; change section.
;
=9
goto "menu_change_mode" 60
;
;
; Only 4 commands in a menu section are allowed in an
; unregistered version. Other commands cited below
; would be ignored.
;
; Pressing "3" key pays new messages in first received -
; first played order. If caller would press "3" key again
; during reproduction, answering machine would play next message.
;
=3
play_new 0 1
wait_cmd 60
;
;
; Pressing "1" replays current message.
; Disconnect if no new commands would be received during 60 s.
;
=1
play_agn 1 1
wait_cmd 60
;
; To replay previous message, press "4"
;
=4
; play_prev 1 1
wait_cmd 60
;
; Pressing "5" stops playing. Answering machine waits new commands
; for 60 seconds.
;
=5
wait_cmd 60
;
;
; Selection
;
[menu_change_mode]
;
=mode 1 "mode.wav"
;
=1
goto "menu_set_repl1" 60
=2
goto "menu_set_repl2" 60
=5
goto "menu_1"
;
[menu_set_repl1]
;
=mode 1
=default 4
wait_cmd 60 0
;
;
; Pressing "6" records a up to 60 second long message. Message duration
; can be changed. In unregistered version, maximum message
; length is 15 seconds (even if 60 value is set). To stop
; recording, press any key.
;
=6
play "recvoi.wav"
record "greet_1.wav" 60
set_greeting "greet_1.wav"
play "greet_1.wav"
;
;
; Pressing 5 plays the message recorded on command "6". Otherwise,
; you would hear GREET_1.WAV pre-recorded message located
; in \SERVICE folder. This message would be set as a new greeting
; announcement.
;
=5
play "greet_1.wav"
set_greeting "greet_1.wav"
wait_cmd 30 0
;
;
; Return to main menu.
;
=9
goto "menu_1" 30
;
;
[menu_set_repl2]
;
=mode 1
=default 4
wait_cmd 30 0
;
;
; Pressing "6" records a up to 60 second long message. Message duration
; can be changed. In unregistered version, maximum message
; length is 15 seconds (even if 60 value is set). To stop
; recording, press any key.
;
=6
play "recvoi.wav"
record "greet_2.wav" 60
set_greeting "greet_2.wav"
play "greet_2.wav"
;
;
; Pressing 5 plays the message recorded on command "6". Otherwise,
; you would hear GREET_2.WAV pre-recorded message located
; in \SERVICE folder. This message would be set as a new greeting
; announcement.
;
=5
play "greet_2.wav"
set_greeting "greet_2.wav"
wait_cmd 30 0
;
;
; Return to main menu.
;
=9
goto "menu_1" 30
;
;
; ************************ end siemens.vfa *********************