DTMF codes instead of "RING" for vgetty ?
Brian McGovern (bmcgover@cisco.com)
Wed, 12 May 1999 19:18:49 -0400
You could probably do it now as it sits. Set vgetty to answer on 1 ring. The
"user" would have to come in to the picture pretty quickly, of course. Another
ring time or two might be ok. Then, have a vgetty program that listens for
DTMF, and exits vgetty with the right exit codes.... 0 if you just want it to
hangup (ie - you take the call), an error code for fax/data, or have it play
something if you want to "send them to voice mail".
This could fairly easily be done with *watch for the shameless plug* Calltree
or several of the other voice-menu systems that are now available. The only
issues you'd have would be if the user isn't there at all (what do you do if
"nothing" is detected?), and you'd have to make sure the handset didn't
run through the modem, so when both went off hook, the handset wouldn't be
rendered unusuable.
Otherwise, the only way vgetty can determine to pick up is via a ring...
-Brian