Re: Using mISDN+CAPI with asterisk on RasperryPI
Thomas Jarosch <[email protected]> Mon, 18 Sep 2017 10:32:37 +0200
| Newsgroups | gmane.linux.isdn.i4l.user |
|---|---|
| Organization | Intra2net AG |
| Message-ID | <[email protected]> |
Hi Jan, On Sunday, 17 September 2017 21:04:29 CEST Jan Neuhäußer wrote: > root@raspbx:/var/log/asterisk# capiinfo > .. looks similiar to my output: # capiinfo Number of Controllers : 1 Controller 1: Manufacturer: mISDN CAPI Version: 2.0 Manufacturer Version: 0.1 Serial Number: 0000001 BChannels: 2 Global Options: 0x00000001 internal controller supported B1 protocols support: 0x00000013 64 kbit/s with HDLC framing 64 kbit/s bit-transparent operation T.30 modem for fax group 3 B2 protocols support: 0x00000013 ISO 7776 (X.75 SLP) Transparent T.30 for fax group 3 B3 protocols support: 0x00000031 Transparent T.30 for fax group 3 T.30 for fax group 3 with extensions 0100 0200 01000000 13000000 13000000 31000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Supplementary services support: 0x00000000 -> I just added fax support during compile time. > root@raspbx:/var/log/asterisk# cat /etc/capi20.conf > debugmask 0x13 - example default debuglevel > mISDN 0 1 1 - first mISDN device is mapped to CAPI20 controller 1 and > enabled #mISDN 1 2 0 - second mISDN device is disabled for CAPI20 my config just says "hfcsusb". But your capiinfo output seems happy. [asterisk startup] > == Parsing '/etc/asterisk/capi.conf': Found > [2017-09-17 19:29:06] WARNING[2875]: chan_capi.c:8751 cc_init_capi: CAPI not > installed, chan_capi disabled! Loaded chan_capi.so => (Common ISDN API > Driver ($Revision: 963 $)) is the system user for asterisk part of the group "dialout" so it can access "/var/run/mISDNcapid/sock"? Try running "capiinfo" as the same user as asterisk. Like Maciej suggested, running strace might help as it would show file access permission problems. Cheers, Thomas