Update dialplan destinations

This commit is contained in:
Mark Crane
2014-07-15 06:26:51 +00:00
parent 94d1207415
commit 8e1fdbc4da
2 changed files with 6 additions and 5 deletions

View File

@@ -224,7 +224,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order;
$y++;
//increment the dialplan detail order
//increment the dialplan detail order
$dialplan_detail_order = $dialplan_detail_order + 10;
}
@@ -652,7 +652,8 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
echo $text['description-carrier']."\n";
echo "</td>\n";
if ($action == "add"){ $destination_accountcode=$_SESSION['domain_name'];}
//set the default account code
if ($action == "add") { $destination_accountcode=$_SESSION['domain_name']; }
}
echo "<tr>\n";