Capi call crash


#1

hi

I want make call with a ISDN card (AVM Fritz card) and local SIP Phone.
I have a kernel 2.6.9 and chan_capi 0.3.5 and asterisk cvs.

I could only ring the phone when I want make an incoming or an outgoing call
but when the phone answer, Asterisk crash with segmentation default.

Any ideas?
Regards

I join my capi debug and my configuration of capi and extensions :

capi.conf
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8

[interfaces]
msn=XXXXXXX
context=capi_in
controller=1
devices=2
softdtmf=1
accountcode=
;echocancel=yes
;echosquelch=1
;echotail=64
;callgroup=1

extensions.conf

[capi_outgoing]
exten => _0XXXXXXXXX,1,Answer
exten => _0XXXXXXXXX,2,Dial,CAPI/@MyMSN:${EXTEN},10
exten => _0XXXXXXXXX,3,Hangup

[capi_in]
exten => s,1,Answer
exten => s,2,Dial(SIP/LocalSIPextensions,10)
exten => s,3,Hangup

capi debug :
– Executing Answer(“SIP/LocalSIPextensions-79b0”, “”) in new stack
– Executing Dial(“SIP/LocalSIPextensions-79b0”, “CAPI/@MyMSN:OUT_NUMBER”) in new stack
– data = @MyMSN:OUT_NUMBER
– capi request omsn = @MyMSN
– capi msnlist = MyMSN
== found capi with omsn = MyMSN
== CAPI Call CAPI[contr1/MyMSN]/0 – creating pipe for PLCI=-1
> sent CONNECT_REQ MN =0x4
– CONNECT_CONF ID=002 #0x0004 LEN=0014
Controller/PLCI/NCCI = 0x101
Info = 0x0

-- CONNECT_CONF ID=002 #0x0004 LEN=0014

Controller/PLCI/NCCI = 0x101
Info = 0x0

== received CONNECT_CONF PLCI = 0x101 INFO = 0
– Called @MyMSN:OUT_NUMBER
– CONNECT_ACTIVE_IND ID=002 #0x0000 LEN=0015
Controller/PLCI/NCCI = 0x101
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default

-- CONNECT_ACTIVE_IND ID=002 #0x0000 LEN=0015

Controller/PLCI/NCCI = 0x101
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default

   > sent CONNECT_ACTIVE_RESP (PLCI=0x101)
-- sent CONNECT_B3_REQ (PLCI=0x101)
-- CONNECT_B3_CONF ID=002 #0x0005 LEN=0014

Controller/PLCI/NCCI = 0x10101
Info = 0x0

-- CONNECT_B3_CONF ID=002 #0x0005 LEN=0014

Controller/PLCI/NCCI = 0x10101
Info = 0x0

-- CONNECT_B3_ACTIVE_IND ID=002 #0x0001 LEN=0013

Controller/PLCI/NCCI = 0x10101
NCPI = default

-- CONNECT_B3_ACTIVE_IND ID=002 #0x0001 LEN=0013

Controller/PLCI/NCCI = 0x10101
NCPI = default

   > sent CONNECT_B3_ACTIVE_RESP (NCCI=0x10101)
   > sent FACILITY_REQ (PLCI=0x101)
-- CAPI[contr1/MyMSN]/0 answered SIP/LocalSIPextensions-79b0
-- FACILITY_CONF ID=002 #0x0006 LEN=0019

Controller/PLCI/NCCI = 0x101
Info = 0x0
FacilitySelector = 0x1
FacilityConfirmationParameter = <00 00>

-- FACILITY_CONF ID=002 #0x0006 LEN=0019

Controller/PLCI/NCCI = 0x101
Info = 0x0
FacilitySelector = 0x1
FacilityConfirmationParameter = <00 00>

-- DATA_B3_IND ID=002 #0x0002 LEN=0030

Controller/PLCI/NCCI = 0x10101
Data32 = 0xb7d2a32a
DataLength = 0xa0
DataHandle = 0x8
Flags = 0x0
Data64 = 0x0

Ouch … error while writing audio data: : Broken pipe
4385 Erreur de segmentation (core dumped)