[asterisk-bugs] [Asterisk 0016875]: [patch][regression] Cannot specify http:// URL in music-on-hold class directory statement

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 4 19:03:02 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16875 
====================================================================== 
Reported By:                raarts
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16875
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.2.2 
JIRA:                       SWP-943 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-21 07:15 CST
Last Modified:              2010-03-04 19:03 CST
====================================================================== 
Summary:                    [patch][regression] Cannot specify http:// URL in
music-on-hold class directory statement
Description: 
In older versions you could specify directory=http://anything/ in a moh
class definition. Part of the code still checks for that. But before
spawning mpg123 the code tries to chdir into that directory, and if that
fails, refuses to spawn.
This patch fixes that.

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

---------------------------------------------------------------------- 
 (0118987) svnbot (reporter) - 2010-03-04 19:03
 https://issues.asterisk.org/view.php?id=16875#c118987 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 250786

U   branches/1.4/res/res_musiconhold.c

------------------------------------------------------------------------
r250786 | jpeeler | 2010-03-04 19:02:59 -0600 (Thu, 04 Mar 2010) | 9 lines

Fix not being able to specify a URL in MOH class directory.

Don't attempt to chdir on a URL!

(closes issue https://issues.asterisk.org/view.php?id=16875)
Reported by: raarts
Patches: 
      moh-http.patch uploaded by raarts (license 937)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-04 19:03 svnbot         Checkin                                      
2010-03-04 19:03 svnbot         Note Added: 0118987                          
======================================================================




More information about the asterisk-bugs mailing list