[Home]

Summary:ASTERISK-13837: [patch] chan_alsa.so fails to load with no reason given in log
Reporter:nick_lewis (nick_lewis)Labels:
Date Opened:2009-03-26 06:07:41Date Closed:2009-05-27 08:19:31
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_alsa
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_alsa.c-confload.patch
Description:If alsa.conf is missing then chan_alsa.so fails to load with no reason given in log.
Comments:By: nick_lewis (nick_lewis) 2009-03-26 06:10:21

Please find attached a patch that provides a message in the log if alsa.conf file is missing rather than terminating silently

By: David Brooks (dbrooks) 2009-05-26 12:53:53

Confirmed with 1.6.0 SVN. No notice is given when alsa.conf is missing. This patch generates the appropriate error message.

By: Digium Subversion (svnbot) 2009-05-27 08:02:55

Repository: asterisk
Revision: 196988

U   trunk/channels/chan_alsa.c

------------------------------------------------------------------------
r196988 | seanbright | 2009-05-27 08:02:55 -0500 (Wed, 27 May 2009) | 9 lines

Display an error message when chan_alsa fails to load due to a missing
or inaccessible configuration file.  Small modification to the patch by
me.

(closes issue ASTERISK-13837)
Reported by: Nick_Lewis
Patches:
     chan_alsa.c-confload.patch uploaded by Nick (license 657)

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:04:10

Repository: asterisk
Revision: 196989

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_alsa.c

------------------------------------------------------------------------
r196989 | seanbright | 2009-05-27 08:04:10 -0500 (Wed, 27 May 2009) | 16 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.  Small modification to the patch by
 me.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:05:27

Repository: asterisk
Revision: 196990

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_alsa.c

------------------------------------------------------------------------
r196990 | seanbright | 2009-05-27 08:05:27 -0500 (Wed, 27 May 2009) | 16 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.  Small modification to the patch by
 me.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:06:11

Repository: asterisk
Revision: 196991

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_alsa.c

------------------------------------------------------------------------
r196991 | seanbright | 2009-05-27 08:06:10 -0500 (Wed, 27 May 2009) | 16 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.  Small modification to the patch by
 me.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:15:21

Repository: asterisk
Revision: 196988

U   trunk/channels/chan_alsa.c

------------------------------------------------------------------------
r196988 | seanbright | 2009-05-27 08:02:54 -0500 (Wed, 27 May 2009) | 13 lines

Display an error message when chan_alsa fails to load due to a missing
or inaccessible configuration file.

Before this change, when chan_alsa failed to load due to a missing or
inaccessible configuration file, no message would be displayed.  With this
change, when chan_alsa fails to load due to a missing or inaccessible
configuration file, a message will be displayed.

(closes issue ASTERISK-13837)
Reported by: Nick_Lewis
Patches:
     chan_alsa.c-confload.patch uploaded by Nick (license 657)

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:18:16

Repository: asterisk
Revision: 196989

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_alsa.c

------------------------------------------------------------------------
r196989 | seanbright | 2009-05-27 08:04:10 -0500 (Wed, 27 May 2009) | 20 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.
 
 Before this change, when chan_alsa failed to load due to a missing or
 inaccessible configuration file, no message would be displayed.  With this
 change, when chan_alsa fails to load due to a missing or inaccessible
 configuration file, a message will be displayed.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:18:53

Repository: asterisk
Revision: 196990

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_alsa.c

------------------------------------------------------------------------
r196990 | seanbright | 2009-05-27 08:05:27 -0500 (Wed, 27 May 2009) | 20 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.
 
 Before this change, when chan_alsa failed to load due to a missing or
 inaccessible configuration file, no message would be displayed.  With this
 change, when chan_alsa fails to load due to a missing or inaccessible
 configuration file, a message will be displayed.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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

By: Digium Subversion (svnbot) 2009-05-27 08:19:31

Repository: asterisk
Revision: 196991

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_alsa.c

------------------------------------------------------------------------
r196991 | seanbright | 2009-05-27 08:06:10 -0500 (Wed, 27 May 2009) | 20 lines

Merged revisions 196988 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
 r196988 | seanbright | 2009-05-27 09:02:54 -0400 (Wed, 27 May 2009) | 9 lines
 
 Display an error message when chan_alsa fails to load due to a missing
 or inaccessible configuration file.
 
 Before this change, when chan_alsa failed to load due to a missing or
 inaccessible configuration file, no message would be displayed.  With this
 change, when chan_alsa fails to load due to a missing or inaccessible
 configuration file, a message will be displayed.
 
 (closes issue ASTERISK-13837)
 Reported by: Nick_Lewis
 Patches:
       chan_alsa.c-confload.patch uploaded by Nick (license 657)
........

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

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