Segmentation Fault bei eingehenden Anrufen

Proteus

Neuer User
Mitglied seit
6 Jan 2005
Beiträge
14
Punkte für Reaktionen
0
Punkte
0
Hallo,

mein Problem ist, dass bei eingehenden ISDN-Verbindungen Asterisk mit "Segmentation Fault" aussteigt.

System: CentOS 4.5 mit Kernel 2.6.9-34.0.2.EL

lspci:
Code:
00:09.0 Network controller: AVM Audiovisuelles MKTG & Computer System GmbH B1 ISDN

lsmod:
Code:
Module                  Size  Used by
capi                   18177  0
capifs                  5961  2 capi
b1pci                  10445  0
b1dma                  16737  1 b1pci
b1                     21965  2 b1pci,b1dma
kernelcapi             44769  4 capi,b1pci,b1dma,b1

capiinfo:
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-03  (49.19)
Serial Number: 0402356
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000001f
   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
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: 0x8000003f
   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

  0100
  0200
  39000000
  1f000040
  1b0b0000
  3f000080
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00010000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

asterisk:
Code:
*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x0023 LEN=0046
  Controller/PLCI/NCCI            = 0x101
  CIPValue                        = 0x10
  CalledPartyNumber               = <c1>151XX
  CallingPartyNumber              = <21 81>5111XXXXX
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo                  = default

    -- CONNECT_IND (PLCI=0x101,DID=151XX,CID=5111XXXXX,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='*' DNID='151XX' MSN
  == ISDN1: Incoming call '05111XXXXX' -> '151XX'
INFO_IND ID=001 #0x0024 LEN=0021
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x70
  InfoElement                     = <c1>151XX

INFO_RESP ID=001 #0x0024 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CALLED PARTY NUMBER
       > ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0025 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0x18
  InfoElement                     = <89>

INFO_RESP ID=001 #0x0025 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x0026 LEN=0016
  Controller/PLCI/NCCI            = 0x101
  InfoNumber                      = 0xa1
  InfoElement                     = <a1>

INFO_RESP ID=001 #0x0026 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: info element Sending Complete
CONNECT_RESP ID=001 #0x0026 LEN=0032
  Controller/PLCI/NCCI            = 0x101
  Reject                          = 0x1
  BProtocol
   B1protocol                     = 0x0
   B2protocol                     = 0x0
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default

DISCONNECT_IND ID=001 #0x0027 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x0

DISCONNECT_RESP ID=001 #0x0027 LEN=0012
  Controller/PLCI/NCCI            = 0x101

    -- ISDN1: DISCONNECT_IND on incoming without pbx, doing hangup.
Segmentation fault
[root@asterisk1 ~]#

Jemand ne Idee woran es liegen kann, die Karte lief noch bis vor kurzem ganz normal in einem Windows Server.
 
Da ich keine Lösung für das Problem finde, habe ich jetzt mal chan_capi-cm-0.6.5 und chan_capi-HEAD kompileirt bei beidem bekomme ich beim Start von asterisk folgendes:

Code:
Aug  8 10:42:56 VERBOSE[3636] logger.c:  [chan_capi.so]
Aug  8 10:42:56 WARNING[3636] loader.c: /usr/lib/asterisk/modules/chan_capi.so: undefined symbol: capi_capability
Aug  8 10:42:56 WARNING[3636] loader.c: Loading module chan_capi.so failed!

Was fehlt ihm für ein Modul?
 
Zuletzt bearbeitet:
Ist auch res_features.so geladen?

Wenn, dann erklärt es aber trotzdem nicht obige Fehlermeldung - IMHO ist da was beim kompilieren/linken schief gegangen: falsche Header in /usr/include/asterisk?

Mario
 
ist geladen und die headers sind passend zum Kernel, gab auch keine Fehler beim kompilieren.
 
Ich meinte speziell die Header von Asterisk, nicht vom Kernel - die interessieren an der Stelle garnicht.
 
Kostenlos!

Statistik des Forums

Themen
247,956
Beiträge
2,277,764
Mitglieder
377,047
Neuestes Mitglied
Lamykulli