mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Prevent PHP 8.2 warnings on click to call page
This commit is contained in:
@@ -50,6 +50,20 @@
|
||||
//include the header
|
||||
require_once "resources/header.php";
|
||||
|
||||
//predefine the variables
|
||||
$src = '';
|
||||
$src_cid_name = '';
|
||||
$src_cid_number = '';
|
||||
|
||||
$dest = '';
|
||||
$dest_cid_name = '';
|
||||
$dest_cid_number = '';
|
||||
|
||||
$auto_answer = ''; //true,false
|
||||
$rec = ''; //true,false
|
||||
$ringback = '';
|
||||
$context = $_SESSION['domain_name'];
|
||||
|
||||
//send the call
|
||||
if (is_array($_GET) && isset($_GET['src']) && isset($_GET['dest'])) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user