Questions about caller ID and init-chat
Thomas Porter (txporter@mindspring.com)
22 Sep 1999 1917:19:04 +0200
Hello,
I am using megtty 1.1.19 (and whatever vgetty was packaged with it at that
time.). [I know, upgrade!] Since I got this as a RedHat RPM, I did not compile
it, and so had no access to modifications of policy.h to activate Caller ID for
my USR modem.
I saw in the docs that I could add an 'init-chat' clause to the port specific
section of mgetty.conf so I copied the entire init-string that mgetty/vgetty
was creating out of my log and created an 'init-chat' clause which added
'#CID=1' to my init string. Since I run vgetty, and since voice.conf seemed to
duplicate many mgetty.conf entries, I added an 'init-chat' clause to voice.conf
as well.
While vgetty works fine and records the caller id of inbound voice callers, I
get nasty messages in vgetty.ttyS0 about the 'init-clause' in voice.conf like
so:
...
09/22 06:35:08 yS0 reading port ttyS0 configuration from config file /etc/mgett
y+sendfax/voice.conf
09/22 06:35:08 yS0 something foul in config line: 'init-chat "" ATQ0V1H0 OK ATS
0=0Q0&D3&C#CID=1 OK'
09/22 06:35:08 yS0 (keyword 'init-chat' not found)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
09/22 06:35:08 yS0 check for lockfiles
09/22 06:35:08 yS0 locking the line
09/22 06:35:09 yS0 lowering DTR to reset Modem
09/22 06:35:09 yS0 send: ATQ0V1H0[0d]
09/22 06:35:09 yS0 waiting for ``OK'' ** found **
09/22 06:35:10 yS0 send: ATS0=0Q0&D3&C#CID=1[0d]
09/22 06:35:10 yS0 waiting for ``OK'' ** found **
09/22 06:35:10 yS0 mdm_send: 'ATI'
09/22 06:35:10 yS0 USR Courier/Sportster 56k detected
09/22 06:35:10 yS0 mdm_send: 'ATI3'
09/22 06:35:10 yS0 additional info: 'U.S. Robotics 56K Voice Pro EXT V4.8.163'
09/22 06:35:10 yS0 mdm_send: 'AT+FCLASS=2.0' -> OK
09/22 06:35:10 yS0 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
09/22 06:35:11 yS0 mdm_send: 'AT+FBO=1' -> OK
09/22 06:35:11 yS0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
09/22 06:35:11 yS0 mdm_send: 'AT+FLI="336 661 9186"' -> OK
09/22 06:35:11 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
09/22 06:35:11 yS0 detecting voice modem type
...
Is this 'something foul' a problem, and do I need the 'init-chat' option in
both mgetty.conf and voice.conf?
Second question: I have a script set up to mail incoming voice messages to me
as a mine encoded WAV file using the 'message_program' option. Is there a way
to pass the caller ID name and number to this? Are they set as environment
variables or commandline arguments passed to the message_program, as the
temporary rmd file name is? I would love to have this information on the email
subject line and avoid setting up a 'cnd-program' in mgetty.conf to send yet
another separate email for this. I suppose that since the message_program only
kicks in for voice mail, while the cnd-program is activated for all connects
(true?) I may want to do this anyway.
Again, do I need this in only mgetty.conf or in voice.conf as well, if I am
running vgetty?
Thanks again for all the hard work to create such a super program!!!
--
Tom Porter txporter@mindspring.com
------------------------------------------------------------------------
"On two occasions I have been asked [by members of Parliament],
'Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?' I am not able rightly to apprehend the
kind of confusion of ideas that could provoke such a question."
-
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to admin@newsgate.muc.de