home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 November
/
Chip_2004-11_cd1.bin
/
tema
/
fax
/
download
/
ventafax5
/
vfvh5519i.exe
/
RCDATA
/
CABINET
/
Sample1.vfa
< prev
next >
Wrap
Text File
|
2003-07-03
|
3KB
|
102 lines
;**************************** beginning SAMPLE1.VFA ************************
;
; *************************************************************
; * Answering Machine Remote Control Script Example *
; * (for unregistered version of VentaFax) *
; *************************************************************
;
; 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.
; At the same time, cancellation symbol can be set.
; If a caller would press wrong key when entering a password,
; he or she can cancel dialing and start again by pressing "#".
;
=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 40 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.
; Thus, after receiving the correct password it should go to MENU_1 section.
;
; *** WARNING! Don't forget to replace "0000" with your PIN code! ***
;
=0000
goto "MENU_1"
;
;
; MENU_1 SECTION BEGINS HERE
;
[MENU_1]
;
;
; Set the DTMF sequence length (in this case control command)
; to 1 character.
;
=mode 1
;
;
; Disconnect after five successive invalid commands or after waiting for
; a command for 40 s.
;
=default 5
wait_cmd 40 0
;
;
; On reception "1" command play information on new voice messages.
; Disconnect if no new commands would be received during 40 s.
;
=1
play_rep_info 8
wait_cmd 40 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 40 s.
;
=2
play_new 0 1
wait_cmd 40
;
;
; On reception "3" play current message again.
; Disconnect if no new commands would be received during 40 s.
;
=3
play_agn 1 1
wait_cmd 40
;
;
;**************************** end SAMPLE1.VFA ************************