From owner-freebsd-isdn@FreeBSD.ORG Mon Sep 20 18:49:15 2004 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 8C1B916A4CE for ; Mon, 20 Sep 2004 18:49:15 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 96BAD43D46 for ; Mon, 20 Sep 2004 18:49:14 +0000 (GMT) (envelope-from krylon@gmx.net) Received: (qmail 17091 invoked by uid 65534); 20 Sep 2004 18:49:13 -0000 Received: from i53875223.versanet.de (EHLO neuromancer.krylon.net) (83.135.82.35) by mail.gmx.net (mp002) with SMTP; 20 Sep 2004 20:49:13 +0200 X-Authenticated: #685629 Date: Mon, 20 Sep 2004 20:49:12 +0200 From: Benjamin Walkenhorst To: freebsd-isdn@freebsd.org Message-Id: <20040920204912.7fe13e4e.krylon@gmx.net> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-portbld-freebsd5.2.1) User-Agent: Sylpheed 0.9.7 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Logging incoming & outgoing phone calls 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: Mon, 20 Sep 2004 18:49:15 -0000 Hello, After being offline for more than half a year, I finally got DSL. =) Now I still got that AVM A1 (ISA, non-PnP) around, which I would like to use to log phone calls. In case it matters, the machine I want to use for that runs NetBSD 1.6.2. I already recompiled my kernel, the isdn card is detected fine at startup. But isdnd refuses to start, complaining about syntax errors in the configuration. It's been a while since I used I4B, so ... I'm pretty much at a loss here. I hope somebody will be able to help me: My isdn card is detected like this at startup: ---------------------------------------------- isic0 at isa0 port 0x340-0x347 irq 5 isic0: AVM A1 or AVM Fritz!Card isic0: ISAC 2085 Version A1/A2 or 2086/2186 Version 1.1 (IOM-2) isic0: HSCX 82525 or 21525 Version 2.1 BRI 0 at isic0 ---------------------------------------------- When I boot the machine, however, isdnd is not running. I tried starting it manually: ---------------------------------------------- 20:39:48|wintermute:~:: sudo /etc/rc.d/isdnd start Starting isdnd. 20:39:53|wintermute:~:: isdnd: configuration error: syntax error at line 76, token "" isdnd: there were 1 error(s) in the configuration file, terminating! ---------------------------------------------- I copied the example isdnd.rc from /usr/share/examples, for the isdnd.rates file, I used the isdnd.rates.A from the examples. I left isdnd.rc nearly untouched, just disabling monitoring and removing all the entry sections: ---------------------------------------------- system 5 6 # accounting 7 # ---------- 8 9 acctall = on # generate info for everything 10 acctfile = /var/log/isdnd.acct # name & location of accounting file 11 useacctfile = yes # generate accouting info to file 12 13 # monitor 14 # ------- 15 16 monitor-allowed = no # global switch: monitor on/off 17 monitor-port = 451 # default monitor TCP port 18 19 # ratesfile 20 # --------- 21 22 ratesfile = /etc/isdn/isdnd.rates # name & location of rates file 23 24 # regular expression pattern matching 25 # ----------------------------------- 26 27 #regexpr = "connected.*KTS" # look for matches in log messages 28 #regprog = connectKTS # execute program when match is found 29 30 # realtime priority section 31 # ------------------------- 32 33 rtprio = 25 # modify isdnd's process priority 34 ---------------------------------------------- Can anyone tell me what's wrong? Thank you very much in advance, Benjamin -- If cars had improved at [the computer industry's] rate, a Rolls Royce would now cost 10 dollars and get a billion miles per gallon. (Unfortunately, it would probably also have 200-page manual telling how to open the door.) -- Andrew Tanenbaum, "Introduction To Distributed Systems"