On Thu, 1 Dec 2011 23:23:56 +0100
Torbjörn Abrahamsson <[email protected]> wrote:
> This was run on an Fedora 8 machine, with perl 5.8.8. I also found it
> odd that the path was not included...
>
> // T
>
It seems this is an issue with older versions of perl or at least with
5.8.8. Since this version is used in RHEL/CentOS 5.x that many people
run on their servers, this is a serious problem.
Changing the way tempfile() is called from:
tempfile("ggl_XXXXXX", TMPDIR => 1, UNLINK => 1)
to:
tempfile("ggl_XXXXXX", DIR => $tmpdir, UNLINK => 1)
seems to address this issue.
An updated version including this fix can be obtained here:
http://github.com/zaf/asterisk-googletts/tarball/master
----------------
Lefteris Zafiris
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users