[Asterisk-Users] Chan_capi 0.3.1 , Asterisk , 3 x C4 active ISDN card Segmentation
fault
Sascha
s.roedig at ucberlin.de
Mon May 24 07:17:35 MST 2004
Hi,
i use chan_capi 0.3.1 with asterisk (stable branch cvs) and 3 x c4
active ISDN card.
From Controller 1 - 7 there are no problems making calls between
asterisk and the pstn.
But when i make calls from controller 8 - 12 i get on every controller
(8 - 12) a segmentation fault in asterisk :(
I tried different linux distributions (gentoo 2004.1, redhat 9.0 , suse
9.1) but same error.
Example :
I call the number on the 8 controller (9766) -> there i have a
playback -> serverproblem.gsm
when i hang up i get the segmentation fault:
/usr/sbin/asterisk -vvvvvvvvvvdc with gdb
CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
Contr2: 2 B channels total, 2 B channels free.
Contr3: 2 B channels total, 2 B channels free.
Contr4: 2 B channels total, 2 B channels free.
Contr5: 2 B channels total, 2 B channels free.
Contr6: 2 B channels total, 2 B channels free.
Contr7: 2 B channels total, 2 B channels free.
Contr8: 2 B channels total, 2 B channels free.
Contr9: 2 B channels total, 2 B channels free.
Contr10: 2 B channels total, 2 B channels free.
Contr11: 2 B channels total, 2 B channels free.
Contr12: 2 B channels total, 2 B channels free.
*CLI>
May 24 07:48:13 DEBUG[1109818288]: channel.c:1493 ast_set_write_format:
Set channel CAPI[contr8/97166]/0 to write format ALAW
May 24 07:48:13 DEBUG[1109818288]: pbx.c:1739 ast_pbx_run: Spawn
extension (default,i,1) exited non-zero on 'CAPI[contr8/97166]/0'
May 24 07:48:13 DEBUG[1109818288]: channel.c:662 ast_hangup: Hanging up
channel 'CAPI[contr8/97166]/0'
> sent INFO_RESP (PLCI=0x108)
== DISCONNECT_B3_IND NCCI=0x10108
Urgent handler
> sent DISCONNECT_B3_RESP NCCI=0x10108
-- CAPI Hangingup
> activehangingup
> sent DISCONNECT_REQ PLCI=0x108
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1084259248 (LWP 3118)]
0x407e81f1 in pipe_msg (PLCI=Variable "PLCI" is not available.) at
chan_capi.c:1319
1319
capi_controllers[p->i->controller]->nfreebchannels++;
(gdb) bt
#0 0x407e81f1 in pipe_msg (PLCI=Variable "PLCI" is not available.) at
chan_capi.c:1319
#1 0x407e98e4 in do_monitor (data=0x0) at chan_capi.c:2182
#2 0x4002a9dd in start_thread () from /lib/tls/libpthread.so.0
#3 0x40166ffa in clone () from /lib/tls/libc.so.6
(gdb)
Is chan_capi limited to 1 x C4 ?
Thanks for your help.
Kind regards
Sascha
More information about the asterisk-users
mailing list