[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ISDN call logging



On Sun, Jan 05, 2014 at 01:49:30AM +0100, Urs Thuermann wrote:
> My ISP provides VoIP and the DSL modem/router provides an internal
> ISDN S0 bus where my ISDN telephones are attached.  I have also hooked
> an old Linux server with an ISDN card to the S0 bus.  This server runs
> a Linux 2.4.37.8 kernel with isdn4linux and isdnlog to log all
> incoming and outgoing calls, as well as call alerts.
> 
> Now I want to retire that old server and do the call logging on
> another server running Debian jessie.  Unfortunately, ISDN seems to be
> poorly maintained nowadays and I wasn't able to do this.  The kernel
> has mISDN instead of isdn4linux while some of the documentation is
> from the Linux 2.4 or even Linux 2.2 era.  The man page isdnlog(8)
> states that isdnlog only works with the HiSax driver i.e. isdn4linux.
> Using the Debian kernel and ISDN utils I couldn't get any call logs.
> 
> I compiled a new Linux 3.12.6 kernel with isdn4linux and HiSax and
> tried running isdnlog with it.  This actually worked and logged calls
> like my old Linux 2.4-based server, however, isdnlog crashes after
> some random time (couple of days) with segmentation fault.  I haven't
> yet had the time to debug this problem.
> 
> So, is there any other way to get reliable logging of alerts and calls
> to/from my ISDN phones on a current Debian system with ISDN card?

With mISDN superseding isdn4linux, the layer 3 (call setup etc.) is now
completely handled in userspace, and Linux Call Router (LCR) seems to
be the recommended mISDN layer 3 application.  I don't know if it can be
configured for your use case.
http://www.linux-call-router.de/

As an alternative, there is a CAPI emulation on top of mISDN, so if you
find a CAPI logger, this could be your solution.
http://www.isdn4linux.de/pipermail/isdn4linux/2012-January/005580.html

Then there is misdn_log, but it is a low-level debugging tool and does
not match isdnlog's features. In particular, it does not have any
knowledge about layer 3.
https://www.misdn.eu/wiki/Misdn_log/
If you can program in C, you could try to extend it for your purposes,
or you could try to port isdnlog to mISDN.

Support options for misdn are listed at
https://www.misdn.eu/wiki/Support/

Despite the old name, mISDN discussions are on-topic there:
https://www.isdn4linux.de/mailman/listinfo/isdn4linux

Regards,
Mirko


Reply to: