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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 22 17:59:35 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:                     assigned
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-22 17:59 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.

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

---------------------------------------------------------------------- 
 (0120795) may213 (manager) - 2010-04-22 17:59
 https://issues.asterisk.org/view.php?id=17227#c120795 
---------------------------------------------------------------------- 
Hi,

there are few things.
Asterisk crash after hangup h323 channel initiated from local side of
asterisk, this crash don't have relation to SIP things.
It's possible that asterisk crash after hangup with congestion.

You can do test. I see you use FreePBX or like environment, so please set
dialing timeout to 30 sec in sip extension config in asterisk then try to
call it from h323 and wait for hangup. H323 Call must hangup without
congestion but from local side. If asterisk will not crash then reason is
in congestion and if it will crash reason is in local side hangup.

Also please attach gdb backtrace log from asterisk core after crash. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-22 17:59 may213         Note Added: 0120795                          
======================================================================




More information about the asterisk-bugs mailing list