caller id in vgetty

Brian McGovern (bmcgover@cisco.com)
Tue, 12 Oct 1999 13:07:09 -0400


On the Sportster, one of the other commands reset caller ID. I debugged this
about a year ago, and found exactly which command it was - for some reason,
I vaguely remember it was when you switched in to or out of voice more, it'd
turn off. 

Anyhow, AT#CID=1 has to be done _after_ everything else vgetty does to
initialize the modem, which I believe is post-init-chat, but I bet someone
else can confirm this, or tell you what it really is.
	-Brian

 > I'm in the US (unlike Vaggos) with a USR 33.6 voice modem and I can't
 > seem to get vgetty to pull in the caller-id information.  I've used X
 > apps like "xcallerid" and "gnuvoice", and they all pull down the
 > caller-id information perfectly.  But as I watch the vgetty log, it
 > always says:
 > 
 > ##### message keep, length=00:00:34, name='', caller=none, dev=ttyS3,
 > pid=12345
 > 
 > My modem dosen't have the AT#CID=1 set by default, so I've added this (
 > I think) to the mgetty.config file using "init-chat".
 > 
 >  # mgetty.config (complete file)
 > debug 4
 > speed 38400
 > port ttyS3
 > init-chat "" AT#CID=1 OK
 > 
 > What I'm trying to do is add $ARGV[0] and $ARGV[1] to a Perl script that
 > is already being invoked from the voice.conf file.
 > 
 > #voice.conf (snippet)
 > rings 4
 > message_program /etc/voicemail.pl <CallerID> <Name>
 > 
 > Like I said, many GUI tools work fine, and even if I sit and watch
 > minicom as the phone rings, all the caller-id information scrolls across
 > the screen, no problem.  Any other suggestions with vgetty?
 > 
 > TIA,
 > Jason
 >