[asterisk-bugs] [Asterisk 0013871]: Crash in ast_bridge_call() when 'NoCDR' app called inside Local channel

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 21 15:19:43 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13871 
====================================================================== 
Reported By:                mdu113
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13871
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 155861 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-10 17:23 CST
Last Modified:              2008-11-21 15:19 CST
====================================================================== 
Summary:                    Crash in ast_bridge_call() when 'NoCDR' app called
inside Local channel
Description: 
Here's the dialplan:

[xyz]
exten => 100,1,Dial(Local/100 at fork-xyz,10,)

[fork-xyz]
exten => 100,1,Wait(1)
exten => 100,n,NoCDR
exten => 100,n,Dial(SIP/xyz010001,10,)
exten => 100,n,Hangup

Scenario: SIP/xyz011101 (polycom 501) calls extension 100. xyz010001
(cisco 7960) starts ringing. Asterisk crashes immediately after xyz010001
answers the call.
Console output and backtrace are in attached nocdr-crash.txt
====================================================================== 

---------------------------------------------------------------------- 
 (0095301) svnbot (reporter) - 2008-11-21 15:19
 http://bugs.digium.com/view.php?id=13871#c95301 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 158483

U   branches/1.4/res/res_features.c

------------------------------------------------------------------------
r158483 | murf | 2008-11-21 15:19:42 -0600 (Fri, 21 Nov 2008) | 11 lines

(closes issue http://bugs.digium.com/view.php?id=13871)
Reported by: mdu113

This one is totally my fault. The code doesn't even
create a bridge if the channel CDR has POST_DISABLED.
I didn't check for that at the end of the bridge.
Fixed with a few small insertions. Tested. Looks
good. No cdr generated, no crash, no unnecc. data
objects created either.


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=158483 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-21 15:19 svnbot         Checkin                                      
2008-11-21 15:19 svnbot         Note Added: 0095301                          
======================================================================




More information about the asterisk-bugs mailing list