[asterisk-bugs] [Asterisk 0010473]: IAX2 crashes on trying to queue frames through the jb

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Aug 22 15:38:04 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10473 
====================================================================== 
Reported By:                bweschke
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   10473
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   crash
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 77871 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-16-2007 14:46 CDT
Last Modified:              08-22-2007 15:38 CDT
====================================================================== 
Summary:                    IAX2 crashes on trying to queue frames through the
jb
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

http://bugs.digium.com/view.php?id=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
http://bugs.digium.com/view.php?id=0  0x0807b868 in ast_queue_frame
(chan=0x9f79b18, fin=0x9f78fd8) at
channel.c:934
http://bugs.digium.com/view.php?id=1  0xf6d1f966 in iax2_queue_frame (callno=8,
f=0x9f78fd8) at
chan_iax2.c:1358
http://bugs.digium.com/view.php?id=2  0xf6d208ad in __do_deliver
(data=0x9f78fa8) at chan_iax2.c:1646
http://bugs.digium.com/view.php?id=3  0xf6d22b26 in __get_from_jb (p=0x8) at
chan_iax2.c:2306
http://bugs.digium.com/view.php?id=4  0xf6d3d5af in iax2_process_thread
(data=0xf6c08930) at
chan_iax2.c:7943
http://bugs.digium.com/view.php?id=5  0x080f4d5c in dummy_start
(data=0xf6c088d0) at utils.c:775
http://bugs.digium.com/view.php?id=6  0x003691d5 in start_thread () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=7  0x0026d2da in clone () from
/lib/tls/libc.so.6 

Loaded symbols for /usr/lib/asterisk/modules/func_strings.so
http://bugs.digium.com/view.php?id=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
http://bugs.digium.com/view.php?id=0  0x0807b868 in ast_queue_frame
(chan=0xb89d308, fin=0xf4e67618) at
channel.c:934
http://bugs.digium.com/view.php?id=1  0xf6ccf966 in iax2_queue_frame (callno=5,
f=0xf4e67618) at
chan_iax2.c:1358
http://bugs.digium.com/view.php?id=2  0xf6cd08ad in __do_deliver
(data=0xf4e675e8) at chan_iax2.c:1646
http://bugs.digium.com/view.php?id=3  0xf6cd2b26 in __get_from_jb (p=0x5) at
chan_iax2.c:2306
http://bugs.digium.com/view.php?id=4  0xf6ced5af in iax2_process_thread
(data=0xf6b04790) at
chan_iax2.c:7943
http://bugs.digium.com/view.php?id=5  0x080f4d5c in dummy_start
(data=0xf6b04730) at utils.c:775
http://bugs.digium.com/view.php?id=6  0x003691d5 in start_thread () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=7  0x0026d2da in clone () from
/lib/tls/libc.so.6

====================================================================== 

---------------------------------------------------------------------- 
 russell - 08-22-07 15:38  
---------------------------------------------------------------------- 
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. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-22-07 15:38  russell        Note Added: 0069275                          
======================================================================




More information about the asterisk-bugs mailing list