Johannes Hollerer
2004-Dec-17 10:45 UTC
[Asterisk-Users] chan_capi - avm card does not work
Hi, I added a Fritz!PCI card to my asterisk system which is running on fc2 !. I installed the avm modules (fcpci) and when i try an capiinit and a capiinfo then everything seems to be OK (you can see capiinfo and lsmod at the end of the text) !. I installed the asterisk chan_capi module and when i start asterisk and enter the command capi info on the command line i get back: *CLI> capi info Contr1: 2 B channels total, 2 B channels free. But if i try to call the line i cannot see anything happening - even if i put on debugging (with capi debug) Can someone tell me where i can start to look - why it doesnt work ? ( i am no on this issue since several days and i am out of ideas). Thanks capiinfo: Number of Controllers : 1 Controller 1: Manufacturer: AVM GmbH CAPI Version: 2.0 Manufacturer Version: 3.101-02 (49.18) Serial Number: 1000001 BChannels: 2 Global Options: 0x00000039 internal controller supported DTMF supported Supplementary Services supported channel allocation supported (leased lines) B1 protocols support: 0x4000011f 64 kbit/s with HDLC framing 64 kbit/s bit-transparent operation V.110 asynconous operation with start/stop byte framing V.110 synconous operation with HDLC framing T.30 modem for fax group 3 Modem asyncronous operation with start/stop byte framing B2 protocols support: 0x00000b1b ISO 7776 (X.75 SLP) Transparent LAPD with Q.921 for D channel X.25 (SAPI 16) T.30 for fax group 3 ISO 7776 (X.75 SLP) with V.42bis compression V.120 asyncronous mode V.120 bit-transparent mode B3 protocols support: 0x800000bf Transparent T.90NL, T.70NL, T.90 ISO 8208 (X.25 DTE-DTE) X.25 DCE T.30 for fax group 3 T.30 for fax group 3 with extensions Modem 0100 0200 39000000 1f010040 1b0b0000 bf000080 00000000 00000000 00000000 00000000 00000000 00000000 01000001 00020000 00000000 00000000 00000000 Supplementary services support: 0x000003ff Hold / Retrieve Terminal Portability ECT 3PTY Call Forwarding Call Deflection MCID CCBS lsmod: Module Size Used by fcpci 500632 1 c4 20317 0 b1pci 10445 0 b1dma 17261 1 b1pci b1 25549 3 c4,b1pci,b1dma capi 17281 4 kernelcapi 44385 6 fcpci,c4,b1pci,b1dma,b1,capi slhc 7105 1 ppp_generic capifs 5961 2 capi -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041217/6f151c2a/attachment.htm
Johannes Hollerer wrote:> Can someone tell me where i can start to look - why it doesnt work ? ( i > am no on this issue since several days and i am out of ideas).Have you defined /etc/asterisk/capi.conf? Mine looks like this, phone numbers changed, however: ; ; CAPI config ; ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.5 txgain=0.5 [interfaces] msn=201234567 ; this is your area code (without the 0 to be ; used in outbound numbers incomingmsn=201234567 ; this is a comma separated list of inbound ; numbers to accept controller=1 ; how many fritz cards softdtmf=1 accountcodecontext=home echosquelch=1 echocancel=yes echotail=64 callgroup=1 ;deflect=12345678 devices=2 ; how many B channles There is a sample capi.conf file supplied with the capi drivers. You can also use a * on incomingmsn to accept all MSN numbers. I have some set as fax lines however so I don't mentioned them here as I want Asterisk to ignore them and Capi4Hylafax to accept them. Hope this helps. cw