[asterisk-bugs] [Asterisk 0017227]: Segmentation fault with unanswered inbound call via chan_ooh323

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 23 10:35:25 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17227 
====================================================================== 
Reported By:                jin
Assigned To:                may213
====================================================================== 
Project:                    Asterisk
Issue ID:                   17227
Category:                   Addons/chan_ooh323
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           Addons-1.6.2.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-21 16:39 CDT
Last Modified:              2010-04-23 10:35 CDT
====================================================================== 
Summary:                    Segmentation fault with unanswered inbound call via
chan_ooh323
Description: 
If i configure a sip phone to hangup a call after 30 seconds of ring time
from a inbound call, the chan_ooh323 module crash and asterisk segfault...
tested using grandstream gxw-4024 gateway and linksys spa921 phone.

attached 4 logs:

the phone is configured to hangup after 60 seconds:
1-ooh323-normal-hangup.txt
2-asterisk-normal-hangup.txt

the phone is configured to hangup after 30 seconds:
3-ooh323-crash-hangup.txt
4-asterisk-crash-hangup.txt

asterisk seem to crash only when the cause of hangup is:
22:01:35:395  Cleaning Call (incoming, ooh323c_2)-
reason:OO_REASON_LOCAL_CONGESTED

if the cause of hangup is the following, asterisk doesn't crash:
21:57:45:129  Cleaning Call (incoming, ooh323c_1)-
reason:OO_REASON_REMOTE_CLEARED

so, if the phone doesn't hangup the call before 60 seconds of ring time,
asterisk doesn't crash.

actual work around: configure all phones to hangup after 60 secs of rings

outgoing calls doesn't have any problems.

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

---------------------------------------------------------------------- 
 (0120826) jin (reporter) - 2010-04-23 10:35
 https://issues.asterisk.org/view.php?id=17227#c120826 
---------------------------------------------------------------------- 
Hi,

i confirm that the this crash happend only on "Everyone is busy/congested
at this time" message, if asterisk after 30 secs of ringing terminate the
call, asterisk doesn't crash.
So the bug is not in the local side hangup.

attached gdb backtrace.

Best regards and many thanks for looking up in this bug 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-23 10:35 jin            Note Added: 0120826                          
======================================================================




More information about the asterisk-bugs mailing list