[asterisk-bugs] [Asterisk 0014089]: class with only application is unuseable

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 16 08:28:07 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14089 
====================================================================== 
Reported By:                caspy
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14089
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.3-rc1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-16 03:18 CST
Last Modified:              2008-12-16 08:28 CST
====================================================================== 
Summary:                    class with only application is unuseable
Description: 
when you define class with mode=custom and only application (no
directory):

[some_class]
mode=custom
application=/path/streamer

it is do not start due to chdir() attempt to "nodir" directory at
spawn_mp3() in res_musiconhold.c
====================================================================== 

---------------------------------------------------------------------- 
 (0096438) svnbot (reporter) - 2008-12-16 08:28
 http://bugs.digium.com/view.php?id=14089#c96438 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 164605

U   branches/1.4/res/res_musiconhold.c

------------------------------------------------------------------------
r164605 | russell | 2008-12-16 08:28:06 -0600 (Tue, 16 Dec 2008) | 5 lines

Don't try to change working directory if a directory was not configured.

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

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-16 08:28 svnbot         Checkin                                      
2008-12-16 08:28 svnbot         Note Added: 0096438                          
======================================================================




More information about the asterisk-bugs mailing list