VOCP System - Vgetty - Configure

Now that you have vgetty up and recognizing your modem, we need to configure it so it will use VOCP as the program which deals with incoming calls. There are only two or three lines to modify.

As root, backup and edit the voice.conf file (probably in /etc/mgetty+sendfax/). Find the line that starts with

voice_devices
and set it so that it points to your modem:
voice_devices ttySX
replacing X with the appropriate number (if you are from the windows world, remember that ttyS0 is COM1, 1 is COM2 etc). If vgetty was already working, you can just leave it as is.

Find the line with:

voice_shell
and set it to:
voice_shell /usr/bin/perl

or wherever your perl executable is installed.

Now find the line with:

call_program
and change it to:
call_program /etc/vocp/vocp.pl

Also set the line with answer_mode to:

answer_mode voice:fax:data

You may also want to tweak: rings, rec_max_len, rec_silence_len, maybe some others. Read the comments within the file itself - it is rather well documented.

Finally, if you've applied the VOCP patch to mgetty, you can use the new force_detect option in the voice.conf file. This will forgo vgetty's normal autodetection and force detection as a particular modem - this may or may not work with your modem, obviously. Add a line like:

port PORT
force_detect MODEMTYPE

changing PORT to the ttySX where your modem resides and setting MODEMTYPE to one of the types specified in the output of `pvftormd -L` (eg US_Robotics, Elsa, etc.)

We recommend you start with the default values that are in voice.conf and change them if necessary.

Go Back


© 2000-2003 Psychogenic inc. All rights reserved.