dump DTMF-tones to file?
Marc SCHAEFER (schaefer@alphanet.ch)
7 Aug 1999 1907:49:55 +0200
out@40h.net wrote:
> Heres the plot. Users should be able to dialin voice to the box,
> listen to the welcome-message and then start pushing away DTMF-tones to
> the box. It will then just dump the numbers to a textfile, ascii-format
Presumably this can be done with standard vgetty + a DTMF script like
scripts/dtmf.sh. Basically vgetty will play its standard voice message,
wait for a DTMF sequence, and pass it to the dtmf.sh script.
Alternatively, you could download mvm and change mvm_vgetty_script.sh
to do exactly like you want. That would look like
RESULT=`ask_code /usr/spool/voice/messages/please_enter_something_then_hash`
case $RESULT in
[0-9]*) echo $RESULT > /tmp/your_text_file;;
esac