[asterisk-bugs] [Asterisk 0012668]: [patch] fix module loading of chan_oss when you already got chan_console loaded (channel type conflict)

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 16 14:02:01 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12668 
====================================================================== 
Reported By:                caio1982
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12668
Category:                   Channels/chan_oss
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 116795 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-16-2008 13:37 CDT
Last Modified:              05-16-2008 14:02 CDT
====================================================================== 
Summary:                    [patch] fix module loading of chan_oss when you
already got chan_console loaded (channel type conflict)
Description: 
Until now chan_oss didn't handle its own loading very well. As it has the
same channel type 'Console' as chan_console, if you use autoload=yes at
modules.conf and chan_console loads up before chan_oss, the later would
fail miserably and Asterisk wouldn't start up. Hopefully this patch will
fix it by making it act more like chan_console when handling this.
====================================================================== 

---------------------------------------------------------------------- 
 caio1982 - 05-16-08 14:02  
---------------------------------------------------------------------- 
After some code review by Corydon-dig on IRC it's clear I probably
overcorrected it, and the simplest solution is just to change
AST_MODULE_LOAD_FAILURE to AST_MODULE_LOAD_DECLINE at chan_oss.c line 1444.
The attached patch is not effective, thus it can be deleted :( 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-16-08 14:02  caio1982       Note Added: 0086951                          
======================================================================




More information about the asterisk-bugs mailing list