#! /bin/sh

# The variable below should be set by the Makefile.
# If you see three '@'s, the `make install' didn't work.
VOICE_DIR=@@@VDIR@@@

# This script is called when a message was recorded. 
# It gets two arguments:
#      $1 : filename of the recorded message
#      $2 : known amount of silence at the end, in 1/10 seconds

# set the flag, this will cause vgetty to turn on the message light
touch $VOICE_DIR/.flag

