[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:05:47 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16875 
====================================================================== 
Reported By:                raarts
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16875
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-21 07:15 CST
Last Modified:              2010-03-04 19:05 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.

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

---------------------------------------------------------------------- 
 (0118989) svnbot (reporter) - 2010-03-04 19:05
 https://issues.asterisk.org/view.php?id=16875#c118989 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 250787

_U  trunk/
U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r250787 | jpeeler | 2010-03-04 19:05:47 -0600 (Thu, 04 Mar 2010) | 16
lines

Merged revisions 250786 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r250786 | jpeeler | 2010-03-04 19:02:58 -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=250787 

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




More information about the asterisk-bugs mailing list