From 0390f1ef643eac36f73a00e277ef01f183187cdc Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 8 Jun 2017 10:54:48 -0600 Subject: [PATCH] Create conference_edit.php --- app/conferences/conference_edit.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/conferences/conference_edit.php b/app/conferences/conference_edit.php index 10d20ae290..241b3b956c 100644 --- a/app/conferences/conference_edit.php +++ b/app/conferences/conference_edit.php @@ -106,10 +106,10 @@ $sql_insert .= "'".$user_uuid."' "; $sql_insert .= ")"; $db->exec($sql_insert); - - $_SESSION["message"] = $text['confirm-add']; - header("Location: conference_edit.php?id=".$conference_uuid); - return; + //send a message + $_SESSION["message"] = $text['confirm-add']; + header("Location: conference_edit.php?id=".$conference_uuid); + return; } //process http post variables @@ -193,7 +193,7 @@ // $dialplan_detail_tag = 'condition'; //condition, action, antiaction $dialplan_detail_type = 'destination_number'; - $dialplan_detail_data = '^'.$conference_extension.'$'; + $dialplan_detail_data = '^(conf\+)?'.$conference_extension.'$'; $dialplan_detail_order = '000'; $dialplan_detail_group = '2'; dialplan_detail_add($_SESSION['domain_uuid'], $dialplan_uuid, $dialplan_detail_tag, $dialplan_detail_order, $dialplan_detail_group, $dialplan_detail_type, $dialplan_detail_data);