asterisk/pbx
Richard Mudgett ee3927be17 Fix call files when astspooldir is relative.
Future dated call files are ignored when astspooldir is relative to the
current directory.  The queue_file() assumed that the qdir needed to be
prepended if the given filename did not start with a '/'.  If astspooldir
is relative it is not going to start from the root directory obviously so
it will not start with a '/'.  The filename used in queue_file()
ultimately results in qdir prepended multiple times.

* Made queue_file() not prepend qdir if the filename contains a '/'.

(closes issue ASTERISK-20593)
Reported by: James Le Cuirot
Patches:
      0004-Fix-future-call-files-from-relative-directories.patch (license #6439) patch uploaded by James Le Cuirot
........

Merged revisions 376232 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 376233 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 376234 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-11-14 19:55:39 +00:00
..
ael/ael-test Merged revisions 299449 via svnmerge from 2010-12-22 20:10:34 +00:00
dundi-parser.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
dundi-parser.h Remove built-in AES code and use optional_api instead 2010-07-21 19:11:32 +00:00
Makefile Title update 2012-10-14 21:56:13 +00:00
pbx_ael.c Clean up and ensure proper usage of alloca() 2012-07-31 20:21:43 +00:00
pbx_config.c Fix misuses of asprintf throughout the code. 2012-08-21 21:01:11 +00:00
pbx_dundi.c Doxygen Updates - Title update 2012-10-18 14:17:40 +00:00
pbx_loopback.c Replace GNU old-style field designator extensions to fix clang warnings 2012-04-04 18:08:28 +00:00
pbx_lua.c Clean up doxygen warnings 2012-08-30 14:23:28 +00:00
pbx_realtime.c Clean up and ensure proper usage of alloca() 2012-07-31 20:21:43 +00:00
pbx_spool.c Fix call files when astspooldir is relative. 2012-11-14 19:55:39 +00:00