Re: Using mISDN+CAPI with asterisk on RasperryPI

Thomas Jarosch <[email protected]> Thu, 21 Sep 2017 09:48:09 +0200
Newsgroups gmane.linux.isdn.i4l.user
Organization Intra2net AG
Message-ID <[email protected]>
Hi Jan,

On Wednesday, 20 September 2017 22:57:37 CEST Jan Neuhäußer wrote:
> > one more thing: Do you plan to use mISDNuserd to drive an old ISDN
> > telephone or do you want to use VoIP phone + asterisk + a ISDN telephone
> > line?
>
> I plan to use a VoIP softphone with asterisk and a ISDN telephone line =
> internal S0 bus behind the existing old ISDN T-concept XI420 telephone
> system.
> 
> So I think the TE mode will be the right setting for me

yes, the TE mode works in your case. At least for a year or so
until the Deutsche Telekom will cancel your ISDN line :o)

Your analysis regarding the CAPI library is also correct,
you need the one supplied by isdn4-utils.

When I run "strace capiinfo", it first checks for /dev/capi20
and then opens the mISDNuserd socket in /var/run/mISDNcapid/sock:

open("/dev/capi20", O_RDWR)             = 4
ioctl(4, CAPI_INSTALLED, 0)             = -1 ENXIO (No such device or address)
socket(PF_FILE, SOCK_SEQPACKET, 0)      = 5
connect(5, {sa_family=AF_FILE, path="/var/run/mISDNcapid/sock"}, 110) = 0

Cheers,
Thomas