[Home]

Summary:ASTERISK-10098: IAX2 crashes on trying to queue frames through the jb
Reporter:BJ Weschke (bweschke)Labels:
Date Opened:2007-08-16 14:46:09Date Closed:2007-09-06 17:27:56
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 10473-debug.patch.txt
Description:
Calls out to the carrier (outbound dialing) are getting dialed out SIP (ulaw) and then when AMD has determined it's a human caller, it comes back in to queue to be delivered to an Agent that is sitting on an IAX channel...

[general]
;accountcode=lss0101
disallow=all
allow=ulaw
jitterbuffer=yes
forcejitterbuffer=yes
;maxjitterbuffer=1000
;maxjitterinterps=10
;resyncthreshold=1000
autokill=yes

agents defined as....

[2006]
type=friend
context=agents
secret=XXXXXX
callerid="Agent 2006" <2006>
accountcode=aclient
host=dynamic
allow=ulaw

#0  0x0807b868 in ast_queue_frame (chan=0x9f79b18, fin=0x9f78fd8) at channel.c:934
934             AST_LIST_INSERT_TAIL(&chan->readq, f, frame_list);
(gdb) bt
#0  0x0807b868 in ast_queue_frame (chan=0x9f79b18, fin=0x9f78fd8) at channel.c:934
#1  0xf6d1f966 in iax2_queue_frame (callno=8, f=0x9f78fd8) at chan_iax2.c:1358
#2  0xf6d208ad in __do_deliver (data=0x9f78fa8) at chan_iax2.c:1646
#3  0xf6d22b26 in __get_from_jb (p=0x8) at chan_iax2.c:2306
#4  0xf6d3d5af in iax2_process_thread (data=0xf6c08930) at chan_iax2.c:7943
ASTERISK-1  0x080f4d5c in dummy_start (data=0xf6c088d0) at utils.c:775
ASTERISK-2  0x003691d5 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-3  0x0026d2da in clone () from /lib/tls/libc.so.6

Loaded symbols for /usr/lib/asterisk/modules/func_strings.so
#0  0x0807b868 in ast_queue_frame (chan=0xb89d308, fin=0xf4e67618) at channel.c:934
934             AST_LIST_INSERT_TAIL(&chan->readq, f, frame_list);
(gdb) bt
#0  0x0807b868 in ast_queue_frame (chan=0xb89d308, fin=0xf4e67618) at channel.c:934
#1  0xf6ccf966 in iax2_queue_frame (callno=5, f=0xf4e67618) at chan_iax2.c:1358
#2  0xf6cd08ad in __do_deliver (data=0xf4e675e8) at chan_iax2.c:1646
#3  0xf6cd2b26 in __get_from_jb (p=0x5) at chan_iax2.c:2306
#4  0xf6ced5af in iax2_process_thread (data=0xf6b04790) at chan_iax2.c:7943
ASTERISK-1  0x080f4d5c in dummy_start (data=0xf6b04730) at utils.c:775
ASTERISK-2  0x003691d5 in start_thread () from /lib/tls/libpthread.so.0
ASTERISK-3  0x0026d2da in clone () from /lib/tls/libc.so.6
Comments:By: Russell Bryant (russell) 2007-08-22 15:38:04

you ever get anything in the logs from this patch?  Or has it not been crashing anymore since you started using the iax_refcount branch?

By the way, that branch has now been merged in to 1.4.

By: Russell Bryant (russell) 2007-09-06 17:27:55

closing and assuming this is fixed.  if not, please let me know