From owner-freebsd-isdn@FreeBSD.ORG Tue Jun 3 10:08:40 2003 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAF8337B401 for ; Tue, 3 Jun 2003 10:08:40 -0700 (PDT) Received: from mail.vwsoft.com (p213.54.164.42.tisdip.tiscali.de [213.54.164.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95BF443F93 for ; Tue, 3 Jun 2003 10:08:35 -0700 (PDT) (envelope-from volker@vwsoft.com) Received: from cesar2k (unknown [192.168.16.24]) by bellona.sz.vwsoft.com (Postfix) with ESMTP id EC8AE5A1A; Tue, 3 Jun 2003 19:07:03 +0200 (CEST) From: "Volker" To: freebsd-isdn@freebsd.org, Christoph Kukulies Date: Tue, 03 Jun 2003 19:07:01 +0200 MIME-Version: 1.0 Message-ID: <3EDCF1D5.22463.2644A21@localhost> Priority: normal In-reply-to: <200306031312.h53DCEcQ003208@peedub.jennejohn.org> References: Message from Christoph Kukulies <200306031123.h53BNW127901@accms33.physik.rwth-aachen.de> X-mailer: Pegasus Mail for Windows (v4.11) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: using isdnd as incoming call logger X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jun 2003 17:08:41 -0000 Hi Gary, Christoph! On 3 Jun 2003 at 15:12, Gary Jennejohn wrote: > > Christoph Kukulies writes: > > I've read that at least Gary, maybe others, are using i4b (isdnd) > > as a logger of incoming phone calls. > > > > Anyone having a config file for this? > > > > The way in which I use it is rather primitive. First start isdnd so > that it produces enough debug output, e.g.: > > /usr/sbin/isdnd -d0xf9 -f -r /dev/ttyv6 -t cons25 -l -L > /var/log/isdnd.log > What about using the script 'unknown_incoming' for that purpose? It's being called for incoming calls and is getting all data. In isdnd.rc: regexpr = "incoming call from" regprog = unknown_incoming # execute program when match is found To get the script called and for the script itself you may include something like: echo "$date $time $from $to" >> /tmp/myincomingcalls If you want to get all parameters for that script filed, use 'echo "$*" >> /tmp/myincomingcalls' instead of the above line. This script is sending out an email for every incoming call. If you don't like this just comment the mail sending lines out and you should be lucky. Just an idea... HTH, Volker