[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:08:37 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:08 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.
======================================================================
----------------------------------------------------------------------
(0118991) svnbot (reporter) - 2010-03-04 19:08
https://issues.asterisk.org/view.php?id=16875#c118991
----------------------------------------------------------------------
Repository: asterisk
Revision: 250789
_U branches/1.6.1/
U branches/1.6.1/res/res_musiconhold.c
------------------------------------------------------------------------
r250789 | jpeeler | 2010-03-04 19:08:37 -0600 (Thu, 04 Mar 2010) | 23
lines
Merged revisions 250787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r250787 | jpeeler | 2010-03-04 19:05:46 -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=250789
Issue History
Date Modified Username Field Change
======================================================================
2010-03-04 19:08 svnbot Checkin
2010-03-04 19:08 svnbot Note Added: 0118991
======================================================================
More information about the asterisk-bugs
mailing list