=pod

=head1 NAME

B<vm> - VoiceModem is the program for handling the voice modem functionality from shell scripts

=head1 ACTIONS

=over 4

=item beep I<options> B<[<frequency> [<length in 0.001sec>]]>

=item diagnostics I<options> B<device name (e.g. ttyS2>

=item dial I<options> B<phone number>

=item help

=item play I<options> B<[<file names>]+>

=item record I<options> B<file name>

=item shell I<options> B<[<shell script> [shell options]]>

=item wait  I<options> B<[<time in seconds>]>

=item devicetest

=back

=head1 OPTIONS

=over 4

=item B<-c n>
use compression type B<n>

=item B<-d n>
set i/o device

=item B<-t, -m, -i, -e, -s, -H>
equals to -d <2,3,4,5,6,7>

=item B<-l s>
set device string (e.g. -l ttyS2:ttyC0)

=item B<-v>
verbose output

=item B<-w>
use off / on hook signal from local handset to start and stop recording

=item B<-x n>
set debug level

=item B<-L n>
set maximum recording length in sec

=item B<-P>
print first DTMF tone on stdout and exit

=item B<-R>
read and print DTMF string on stdout and exit

=item B<-S s>
set default shell for shell scripts (e.g. -S /bin/sh)

=item B<-T n>
set silence timeout in 0.1sec

=item B<-V n>
set silence threshold to <n> (0-100%%)

=back

=head1 SEE ALSO

L<vgetty(1)>

=cut
