# 'DTMF key actions' for ZyXEL - entered as single keys in VOICE mode
# keys not specified in this file will result in ERROR beep

# '0' = exit from voice mailbox
0:	exit

# '1' = play the directions for use
1:	say "hello this is a computer controlled answering machine."
	say "control it using the keys on your telephone."
	say "to get these instructions, press 1."
	say "to listen to the message you recorded, press 2."
	say "to record a new message, press 3."
	say "to erase your message, press 4."
	say "to send pager message, press 5."
	say "to switch into data mode, press 6."
	say "to switch into fax mode, press 7."
	say "to retrieve a fax document, press 8."
	say "to switch into expert mode, press 9."
	say "press a key now"

# '2' = playback the entered message
2:	play message_was
	play

# '3' = record a new message
3:	play enter_msg
	record
	logmesg "Re-recorded message"

# '4' = erase the message
4:	remove
	say "message erased"
	logmesg "Erased message (4)"

# '5' = send message on pager
	say "sorry, no pager available"
#5:	say "enter your number, terminate with #."
#	readnumber
#	say "pager will be called"
#	pager NUMBER

# '6' = DATA mode
6:	say "data mode"
	mode DATA

# '7' = FAX mode
7:	say "fax mode"
	mode FAX

# '8' = FAXBACK mode
8:	say "faxback service."
	say "please enter document number, terminate with #."
	say "to get the instructions, enter 0."
	say "to get the document index, enter 1."
	readnumber
	fax NUMBER

# '9' = 'expert' command mode
9:	say "expert mode"
	command

# '*' (11) is ignored
11:

# '#' (12) is ignored
12:
