guruevi 853aecefb9 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/extensions/update_manager.php: Check for an empty
        variable so it doesn't give a warning

        * pandora_console/extensions/update_manager/lib/libupdate_manager_utils.php,
        libupdate_manager_client.php: Removed referenced variables from
        function calls so it doesn't give a warning that it is deprecated.

        * pandora_server/util/pandora2ast: Pandora to Asterisk script. Check README 
	for how to install it and use it


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 16:21:21 +00:00

28 lines
942 B
PHP

#!/usr/bin/php -q
<?php
/*
# This file is part of Pandora2Asterisk which is an external module to the
# Pandora Flexible Monitoring System.
# Pandora2Asterisk is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# Pandora2Asterisk is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with Pandora2Asterisk. If not, see <http://www.gnu.org/licenses/>.
*/
error_reporting (0);
set_time_limit (30);
require ('phpagi/phpagi.php');
$agi = new AGI();
$agi->answer ();
$agi->text2wav ($argv[1]);
$agi->hangup ()
?>