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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 7 04:04:42 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-06-07 04:04 CDT
====================================================================== 
Summary:                    [patch] 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.

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

---------------------------------------------------------------------- 
 (0123047) jin (reporter) - 2010-06-07 04:04
 https://issues.asterisk.org/view.php?id=17227#c123047 
---------------------------------------------------------------------- 
Great! I've done many calls and asterisk never crashed!

please include the patch upstream.

Thank you very much!

Best regards 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-07 04:04 jin            Note Added: 0123047                          
======================================================================




More information about the asterisk-bugs mailing list