[Asterisk-Users] chan_capi crashes asterisk

Sebastian Voitzsch sebastian.voitzsch at web.de
Thu Apr 28 16:44:24 MST 2005


Hello,

I can´t get chan_capi to work with any version of asterisk. I tried several 
versions, all with the same effect: the phone rings, as soon as the call gets 
answerd, asterisk crashes. This only happens with chan_capi, chan_sip and 
chan_zap work flawlessly.

Unfortunately, I dont have a backtrace. The machine I´m using for asterisk is 
running fli4l which has no gdb available.

Maybe somebody could give me a hint looking at the attatched logs? Cards are 
Fritz!DSL (with integrated isdn port) and Acer isdn surf 128.

Thank you,
Sebastian

--------------------8<--------------------------
*CLI>
    -- CONNECT_IND ID=003 #0xf754 LEN=0046
  Controller/PLCI/NCCI            = 0x201
  CIPValue                        = 0x4
  CalledPartyNumber               = <c1>67
  CallingPartyNumber              = <21 81>25167
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <90 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

Apr 29 01:36:30 NOTICE[6333]: chan_capi.c:1932 capi_handle_msg: CONNECT_IND 
ID=003 #0xf754 LEN=0046
  Controller/PLCI/NCCI            = 0x201
  CIPValue                        = 0x4
  CalledPartyNumber               = <c1>67
  CallingPartyNumber              = <21 81>25167
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <90 90 a3>
  LLC                             = default
  HLC                             = default
  AdditionalInfo                  = default

  == CONNECT_IND (PLCI=0x201,DID=67,CID=25167,CIP=0x4,CONTROLLER=0x1)
    -- creating pipe for PLCI=0x201 msn = *
       > sent ALERT_REQ PLCI = 0x201
Urgent handler
Apr 29 01:36:30 DEBUG[6348]: pbx.c:1273 pbx_extension_helper: Launching 'Dial'
    -- started pbx on channel (callgroup=0)!
    -- ALERT_CONF ID=003 #0xf754 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Info                            = 0x0

    -- ALERT_CONF ID=003 #0xf754 LEN=0014
  Controller/PLCI/NCCI            = 0x201
  Info                            = 0x0

Urgent handler
    -- Executing Dial("CAPI[contr1/67]/0", "Zap/g1/760|20|Tt") in new stack
Urgent handler
Apr 29 01:36:30 DEBUG[6348]: app_dial.c:504 dial_exec: SIMPLE DIAL (NO URL)
Apr 29 01:36:30 DEBUG[6348]: chan_zap.c:7147 zt_request: Using channel 1
Urgent handler
Urgent handler
    -- Called g1/760
Urgent handler
Apr 29 01:36:30 DEBUG[6348]: channel.c:1773 ast_set_read_format: Set channel 
Zap/1-1 to read format alaw
Apr 29 01:36:30 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
CAPI[contr1/67]/0 to write format alaw
Apr 29 01:36:30 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
Zap/1-1 to write format alaw
Apr 29 01:36:30 DEBUG[6348]: channel.c:1773 ast_set_read_format: Set channel 
CAPI[contr1/67]/0 to read format alaw
    -- Zap/1-1 is ringing
Urgent handler
Apr 29 01:36:30 DEBUG[6348]: channel.c:1469 ast_indicate: Driver for channel 
'CAPI[contr1/67]/0' does not support indication 3, emulating it
Apr 29 01:36:30 DEBUG[6348]: channel.c:1584 ast_prod: Prodding channel 
'CAPI[contr1/67]/0'
Apr 29 01:36:30 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
CAPI[contr1/67]/0 to write format slin
Apr 29 01:36:30 DEBUG[6348]: channel.c:1161 ast_settimeout: Scheduling timer 
at 160 sample intervals
Apr 29 01:36:33 DEBUG[6347]: chan_sip.c:2355 sip_alloc: Allocating new SIP 
call for (null)
Apr 29 01:36:33 DEBUG[6347]: chan_sip.c:840 __sip_ack: Stopping retransmission 
on '1f025b6a1729321e0a8d678c71c4bb5e at 80.143.181.240' of Request 102: Found
Apr 29 01:36:36 DEBUG[6342]: chan_zap.c:1381 zt_enable_ec: Enabled echo 
cancellation on channel 1
Apr 29 01:36:36 DEBUG[6342]: chan_zap.c:1397 zt_train_ec: Engaged echo 
training on channel 1
Apr 29 01:36:36 DEBUG[6348]: channel.c:1396 ast_read: Dropping duplicate 
answer!
    -- Zap/1-1 answered CAPI[contr1/67]/0
Urgent handler
Apr 29 01:36:36 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
CAPI[contr1/67]/0 to write format alaw
Apr 29 01:36:36 DEBUG[6348]: channel.c:1161 ast_settimeout: Scheduling timer 
at 0 sample intervals
Apr 29 01:36:36 DEBUG[6348]: channel.c:1773 ast_set_read_format: Set channel 
CAPI[contr1/67]/0 to read format alaw
Apr 29 01:36:36 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
Zap/1-1 to write format alaw
Apr 29 01:36:36 DEBUG[6348]: channel.c:1740 ast_set_write_format: Set channel 
CAPI[contr1/67]/0 to write format alaw
Apr 29 01:36:36 DEBUG[6348]: channel.c:1773 ast_set_read_format: Set channel 
Zap/1-1 to read format alaw
    -- CAPI Answering for MSN 67
Urgent handler
       > sent CONNECT_RESP PLCI = 0x201 DNID = 67
Urgent handler
    -- CONNECT_ACTIVE_IND ID=003 #0xf758 LEN=0015
  Controller/PLCI/NCCI            = 0x201
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

    -- CONNECT_ACTIVE_IND ID=003 #0xf758 LEN=0015
  Controller/PLCI/NCCI            = 0x201
  ConnectedNumber                 = default
  ConnectedSubaddress             = default
  LLC                             = default

       > sent CONNECT_ACTIVE_RESP (PLCI=0x201)
    -- CONNECT_B3_IND ID=003 #0xf759 LEN=0013
  Controller/PLCI/NCCI            = 0x20201
  NCPI                            = default

    -- CONNECT_B3_IND ID=003 #0xf759 LEN=0013
  Controller/PLCI/NCCI            = 0x20201
  NCPI                            = default

       > sent CONNECT_B3_RESP (NCCI=0x20201)
Urgent handler
    -- CONNECT_B3_ACTIVE_IND ID=003 #0xf75a LEN=0013
  Controller/PLCI/NCCI            = 0x20201
  NCPI                            = default

    -- CONNECT_B3_ACTIVE_IND ID=003 #0xf75a LEN=0013
  Controller/PLCI/NCCI            = 0x20201
  NCPI                            = default

       > sent CONNECT_B3_ACTIVE_RESP (NCCI=0x20201)
Urgent handler
Apr 29 01:36:36 DEBUG[6348]: channel.c:1396 ast_read: Dropping duplicate 
answer!
    -- DATA_B3_IND ID=003 #0xf75b LEN=0030
  Controller/PLCI/NCCI            = 0x20201
  Data32                          = 0x8110bea
  DataLength                      = 0xa0
  DataHandle                      = 0x8
  Flags                           = 0x0
  Data64                          = 0x0

Urgent handler
Segmentation fault



More information about the asterisk-users mailing list