; config for mode dialup
;
; to use this mode, You need to have sudo installed and two lines
; added to /etc/sudoers like those:
;
; phone	<hostname>=NOPASSWD: /usr/share/isdn/vbox/bin/getifstatus
; phone <hostname>=NOPASSWD: /usr/share/isdn/vbox/bin/setifstatus
;
; replace phone if needed and <hostname>.

[run]
record off
do	50
	play 	"dialup-mode & ready & help"
	wait	8

[dtmf]
6	"information"	{play |sudo /usr/share/isdn/vbox/bin/getifstatus}
5	"hangup"	{play |sudo /usr/share/isdn/vbox/bin/setifstatus down}
4	"dialing"	{play |sudo /usr/share/isdn/vbox/bin/setifstatus up}
0	"exit"		{raccess_quit}
9	"dialup-help"	{repeat}

[events]
