Update dialplan destinations

This commit is contained in:
Mark Crane
2014-07-15 06:26:51 +00:00
parent 780d15a895
commit ae1c715d4e
2 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -157,10 +157,10 @@
$text['label-accountcode']['pt-pt'] = "Codigo de cuenta"; $text['label-accountcode']['pt-pt'] = "Codigo de cuenta";
$text['label-accountcode']['fr-fr'] = "Nom de client"; $text['label-accountcode']['fr-fr'] = "Nom de client";
$text['description-accountcode']['en-us'] = "Enter account code. This is use to keep track incase billing"; $text['description-accountcode']['en-us'] = "Enter account code.";
$text['description-accountcode']['es-cl'] = "Ingrese el código de cuenta. Es utilizado en caso de usar la cobranza"; $text['description-accountcode']['es-cl'] = "Ingrese el código de cuenta.";
$text['description-accountcode']['pt-pt'] = ""; $text['description-accountcode']['pt-pt'] = "";
$text['description-accountcode']['fr-fr'] = "Entrez nom de client. Il est utilisé en casu ou vous utilisez le billing"; $text['description-accountcode']['fr-fr'] = "Entrez nom de client.";
$text['label-carrier']['en-us'] = "Carrier name"; $text['label-carrier']['en-us'] = "Carrier name";
$text['label-carrier']['es-cl'] = "Nombre del carrier"; $text['label-carrier']['es-cl'] = "Nombre del carrier";
+3 -2
View File
@@ -224,7 +224,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
$dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order; $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order;
$y++; $y++;
//increment the dialplan detail order //increment the dialplan detail order
$dialplan_detail_order = $dialplan_detail_order + 10; $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 $text['description-carrier']."\n";
echo "</td>\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"; echo "<tr>\n";