Update dialplan_xml.php
This commit is contained in:
parent
9669075a31
commit
04f7811143
|
|
@ -51,7 +51,7 @@
|
||||||
if (strlen($app_uuid) == 0) {
|
if (strlen($app_uuid) == 0) {
|
||||||
$app_uuid = '742714e5-8cdf-32fd-462c-cbe7e3d655db';
|
$app_uuid = '742714e5-8cdf-32fd-462c-cbe7e3d655db';
|
||||||
}
|
}
|
||||||
|
|
||||||
//get the dialplan xml
|
//get the dialplan xml
|
||||||
if (is_uuid($dialplan_uuid)) {
|
if (is_uuid($dialplan_uuid)) {
|
||||||
$sql = "select * from v_dialplans ";
|
$sql = "select * from v_dialplans ";
|
||||||
|
|
@ -81,7 +81,7 @@
|
||||||
$x = 0;
|
$x = 0;
|
||||||
//$array['dialplans'][$x]["domain_uuid"] = $_SESSION['domain_uuid'];
|
//$array['dialplans'][$x]["domain_uuid"] = $_SESSION['domain_uuid'];
|
||||||
$array['dialplans'][$x]["dialplan_uuid"] = $dialplan_uuid;
|
$array['dialplans'][$x]["dialplan_uuid"] = $dialplan_uuid;
|
||||||
$array['dialplans'][$x]["dialplan_xml"] = $_REQUEST['dialplan_xml'];;
|
$array['dialplans'][$x]["dialplan_xml"] = $_REQUEST['dialplan_xml'];
|
||||||
|
|
||||||
//save to the data
|
//save to the data
|
||||||
$database = new database;
|
$database = new database;
|
||||||
|
|
@ -92,7 +92,7 @@
|
||||||
//}
|
//}
|
||||||
$database->save($array);
|
$database->save($array);
|
||||||
$message = $database->message;
|
$message = $database->message;
|
||||||
|
|
||||||
//debug info
|
//debug info
|
||||||
//echo "<pre>\n";
|
//echo "<pre>\n";
|
||||||
//print_r($message);
|
//print_r($message);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue