This program 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 2 of the License, or (at your option) any later version. ------------------------------------------------------------------------------- */ if($VARS["ASTERISK_START_TAPI"] != "yes") { msg("ASTERISK_START_TAPI muss aktiviert sein! Abbruch ...;error\n"); exit; } if(isset($_GET["CallNumber"]) && isset($_GET["internal"])) { if(TAPIConnect($tapi_host, $tapi_port, $tapi_user, $tapi_pass)) { $ph = new phone($_GET["internal"]); echo "Der Anruf vom Endgerät ".$ph->getMsn()." nach ".$_GET["CallNumber"]." wird hergestellt ..."; TAPIOriginate($ph, $_GET["CallNumber"]); } else { echo "Anruf fehlgeschlagen!"; } } else { echo "