Discussion:
mgetty + caller_id problem
(too old to reply)
i***@gmail.com
2006-01-17 16:34:00 UTC
Permalink
Sorry, i very bad speak english.

dialin.config

!all

log:

01/16 17:29:58 aa1 mgetty: interim release 1.1.34-Nov30
01/16 17:29:58 aa1 check for lockfiles
01/16 17:29:58 aa1 checklock: stat failed, no file
01/16 17:29:58 aa1 locking the line
01/16 17:29:58 aa1 makelock(cuaa1) called
01/16 17:29:58 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
01/16 17:29:58 aa1 lock made
01/16 17:30:01 aa1 tio_get_rs232_lines: status: RTS CTS DSR DTR
01/16 17:30:01 aa1 lowering DTR to reset Modem
01/16 17:30:02 aa1 tss: set speed to 115200 (341000)
01/16 17:30:02 aa1 tio_set_flow_control( HARD )
01/16 17:30:02 aa1 waiting for line to clear (VTIME=1), read:
01/16 17:30:02 aa1 send: ATZ[0d]
01/16 17:30:02 aa1 waiting for ``OK''
01/16 17:30:02 aa1 got: ATZ[0d]
01/16 17:30:02 aa1 CND: ATZ[0d][0a]OK ** found **
01/16 17:30:02 aa1 waiting for line to clear (VTIME=3), read: [0d][0a]
01/16 17:30:02 aa1 removing lock file
01/16 17:30:02 aa1 waiting...
01/16 17:30:33 aa1 select returned 1
01/16 17:30:33 aa1 checking lockfiles, locking the line
01/16 17:30:33 aa1 makelock(cuaa1) called
01/16 17:30:33 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
01/16 17:30:33 aa1 lock made
01/16 17:30:33 aa1 wfr: waiting for ``RING''
01/16 17:30:33 aa1 got: [0d][0a]RING[0d]
01/16 17:30:33 aa1 CND: RING
01/16 17:30:33 aa1 wfr: rc=0, drn=0
01/16 17:30:33 aa1 wfr: waiting for ``RING''
01/16 17:30:33 aa1 got: [0a][0d][0a]NMBR = 9167533818[0d]
01/16 17:30:35 aa1 CND: NMBR = 9167533818
01/16 17:30:35 aa1 CND: found: 9167533818
01/16 17:30:35 aa1 wfr: rc=0, drn=0
01/16 17:30:35 aa1 CND: check no: '9167533818'
01/16 17:30:35 aa1 CND: check vs: all
01/16 17:30:35 ##### denied caller dev=cuaa1, pid=4516,
caller='9167533818'

01/16 17:30:35 aa1 waiting for line to clear (VTIME=80), read:
[0d][0a]RING[0d][0a][0d][0a]DATE = 0116[0d][0a]TIME = 1730[0d
][0a][0d][0a]RING[0d][0a]


mgetty ceases to answer up to a command " killall mgetty ".

FreeBSD 4.10.
Imperator
2006-01-21 16:05:20 UTC
Permalink
Please help me.
Gert Doering
2006-01-22 17:00:19 UTC
Permalink
Hi,
Post by Imperator
Please help me.
First thing: get a real name. We really like to know who we are talking
to, and "Imperator" is a name that sounds so negative.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Anton Barabanov
2006-01-22 19:03:34 UTC
Permalink
Sorry. My name is Anton Barabanov.
Gert Doering
2006-01-22 20:43:45 UTC
Permalink
Hi,
Post by i***@gmail.com
Sorry, i very bad speak english.
dialin.config
!all
01/16 17:29:58 aa1 mgetty: interim release 1.1.34-Nov30
[..]
Post by i***@gmail.com
01/16 17:30:35 aa1 CND: found: 9167533818
01/16 17:30:35 aa1 wfr: rc=0, drn=0
01/16 17:30:35 aa1 CND: check no: '9167533818'
01/16 17:30:35 aa1 CND: check vs: all
01/16 17:30:35 ##### denied caller dev=cuaa1, pid=4516,
caller='9167533818'
Call comes in, is denied.
Post by i***@gmail.com
[0d][0a]RING[0d][0a][0d][0a]DATE = 0116[0d][0a]TIME = 1730[0d
][0a][0d][0a]RING[0d][0a]
Then, mgetty waits for the ringing to stop - which should be the case
in 8 seconds (VTIME=80 is in 1/10 seconds).

Sounds as if VTIME is broken on your operating system - wouldn't be
the first one. Try compiling with "CFLAGS=-DBROKEN_VTIME" in
Makefile.

If you have installed the FreeBSD port (and not compiled mgetty from the
official source tree), please ask the FreeBSD port maintainer to help you
diagnose this - these people never use the source "as is", but always
change things, and I can't say whether these changes have broken
anything.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Anton Barabanov
2006-01-22 23:36:23 UTC
Permalink
FreeBSD 4.10.
/usr/ports/comms/mgetty+sendfax
make WITH_FIDO=yes
make install

What command(team) to me to type(collect) still?

CFLAGS+= -DBROKEN_VTIME
in makefile?
Gert Doering
2006-01-23 08:30:17 UTC
Permalink
Hi,
Post by i***@gmail.com
FreeBSD 4.10.
/usr/ports/comms/mgetty+sendfax
If you use a port, please ask the port maintainer for help.

I can only give support for mgetty built from unmodified (!) sources.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Chris Werner
2006-01-23 23:38:46 UTC
Permalink
Gert,

I understand where you are coming from however...

Anton, the source for mgetty is public domain: obtain the package, compile
and install it yourself.

If you are technically savvy enough to debug mgetty, this should be a breeze
for you.

If [when] you still have problems from the resulting build, bring them to
this discussion, someone is likely to help you.

Hope this helps,
Christian Werner

-----Original Message-----
From: Gert Doering [mailto:***@greenie.muc.de]
Sent: Monday, January 23, 2006 2:30 AM
To: Anton Barabanov
Cc: ***@muc.de
Subject: Re: mgetty + caller_id problem


Hi,
Post by i***@gmail.com
FreeBSD 4.10.
/usr/ports/comms/mgetty+sendfax
If you use a port, please ask the port maintainer for help.

I can only give support for mgetty built from unmodified (!) sources.

gert
--
USENET is *not* the non-clickable part of WWW!

//www.muc.de/~gert/
Gert Doering - Munich, Germany
***@greenie.muc.de
fax: +49-89-35655025
***@net.informatik.tu-muenchen.de
Chris Werner
2006-01-24 14:17:05 UTC
Permalink
" Anton, the source for mgetty is public domain: "
Anton, the source for mgetty is GPL:

Christian Werner
Gert Doering
2006-01-24 20:00:59 UTC
Permalink
Hi,
" Anton, the source for mgetty is public domain: "
Which in the context boils down to the same thing - it's available, it's
free (be it beer or freedom), and it should run out of the box on FreeBSD.

If a mgetty binary compiled from current sources found on
ftp://mgetty.greenie.net/ does *not* work, I'm always willing to adapt
my sources to make it work.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany ***@greenie.muc.de
fax: +49-89-35655025 ***@net.informatik.tu-muenchen.de

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...