\n";
echo "
".$text['title-call_forward']."
\n";
echo "
\n";
- echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','onclick'=>'history.back();']);
+ echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','onclick'=>$back_destination]);
echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','style'=>'margin-left: 15px;']);
echo "
\n";
echo "
\n";
diff --git a/app/calls_active/app_languages.php b/app/calls_active/app_languages.php
index f87811d1fc..83d93f15a6 100644
--- a/app/calls_active/app_languages.php
+++ b/app/calls_active/app_languages.php
@@ -468,8 +468,8 @@ $text['label-domain']['zh-cn'] = "领域";
$text['label-domain']['ja-jp'] = "ドメイン";
$text['label-domain']['ko-kr'] = "도메인";
-$text['label-destination']['en-us'] = "Dest";
-$text['label-destination']['en-gb'] = "Dest";
+$text['label-destination']['en-us'] = "Destination";
+$text['label-destination']['en-gb'] = "Destination";
$text['label-destination']['ar-eg'] = "الوجهة";
$text['label-destination']['de-at'] = "Ziel";
$text['label-destination']['de-ch'] = "Ziel";
@@ -546,8 +546,8 @@ $text['label-codec']['zh-cn'] = "读/写编解码器";
$text['label-codec']['ja-jp'] = "読み取り/書き込みコーデック";
$text['label-codec']['ko-kr'] = "읽기/쓰기 코덱";
-$text['label-cid-number']['en-us'] = "CID Number";
-$text['label-cid-number']['en-gb'] = "CID Number";
+$text['label-cid-number']['en-us'] = "Caller Number";
+$text['label-cid-number']['en-gb'] = "Caller Number";
$text['label-cid-number']['ar-eg'] = "رقم CID";
$text['label-cid-number']['de-at'] = "Anrufer Nummer";
$text['label-cid-number']['de-ch'] = "Anrufer Nummer";
@@ -572,8 +572,8 @@ $text['label-cid-number']['zh-cn'] = "来电号码";
$text['label-cid-number']['ja-jp'] = "CID番号";
$text['label-cid-number']['ko-kr'] = "CID 번호";
-$text['label-cid-name']['en-us'] = "CID Name";
-$text['label-cid-name']['en-gb'] = "CID Name";
+$text['label-cid-name']['en-us'] = "Caller Name";
+$text['label-cid-name']['en-gb'] = "Caller Name";
$text['label-cid-name']['ar-eg'] = "اسم CID";
$text['label-cid-name']['de-at'] = "Anrufer Name";
$text['label-cid-name']['de-ch'] = "Anrufer Name";
@@ -650,6 +650,33 @@ $text['label-eavesdrop']['zh-cn'] = "窃听";
$text['label-eavesdrop']['ja-jp'] = "盗聴";
$text['label-eavesdrop']['ko-kr'] = "엿듣다";
+$text['label-duration']['en-us'] = "Duration";
+$text['label-duration']['en-gb'] = "Duration";
+$text['label-duration']['ar-eg'] = "المدة";
+$text['label-duration']['de-at'] = "Dauer";
+$text['label-duration']['de-ch'] = "Dauer";
+$text['label-duration']['de-de'] = "Dauer";
+$text['label-duration']['el-gr'] = "Διάρκεια";
+$text['label-duration']['es-cl'] = "Duración";
+$text['label-duration']['es-mx'] = "Duración";
+$text['label-duration']['fr-ca'] = "Durée";
+$text['label-duration']['fr-fr'] = "Durée";
+$text['label-duration']['he-il'] = "משך השיחה";
+$text['label-duration']['it-it'] = "Durata";
+$text['label-duration']['ka-ge'] = "ხანგრძლივობა";
+$text['label-duration']['nl-nl'] = "Duur";
+$text['label-duration']['pl-pl'] = "Czas trwania";
+$text['label-duration']['pt-br'] = "Duração";
+$text['label-duration']['pt-pt'] = "Duração";
+$text['label-duration']['ro-ro'] = "Durată";
+$text['label-duration']['ru-ru'] = "Продолжительность";
+$text['label-duration']['sv-se'] = "Samtalstid";
+$text['label-duration']['uk-ua'] = "Тривалість";
+$text['label-duration']['tr-tr'] = "Süre";
+$text['label-duration']['zh-cn'] = "期间";
+$text['label-duration']['ja-jp'] = "間隔";
+$text['label-duration']['ko-kr'] = "지속";
+
$text['description-2']['en-us'] = "Use this to view all extensions and monitor and interact with active calls.";
$text['description-2']['en-gb'] = "Use this to view all extensions and monitor and interact with active calls.";
$text['description-2']['ar-eg'] = "استخدم هذا لعرض جميع الملحقات ومراقبة المكالمات النشطة والتفاعل معها.";
diff --git a/app/calls_active/calls_active_inc.php b/app/calls_active/calls_active_inc.php
index ffa00988c4..567951aa52 100644
--- a/app/calls_active/calls_active_inc.php
+++ b/app/calls_active/calls_active_inc.php
@@ -88,10 +88,8 @@
}
$num_rows = @sizeof($rows);
-
//if the connnection is available then run it and return the results
if (!$event_socket) {
-
$msg = "
".$text['confirm-socket']."
";
echo "
\n";
echo "
\n";
@@ -103,172 +101,203 @@
echo "\n";
echo "
\n";
echo "
\n";
-
+ return;
}
- else {
- //create token
- $object = new token;
- $token = $object->create('/app/calls_active/calls_active_inc.php');
+//create token
+ $object = new token;
+ $token = $object->create('/app/calls_active/calls_active_inc.php');
- //show content
- echo "
\n";
- echo "
".$text['title']."".number_format($num_rows)."
\n";
- echo "
\n";
- echo "
".button::create(['type'=>'button','title'=>$text['label-refresh_pause'],'icon'=>'sync-alt fa-spin','onclick'=>'refresh_stop()'])."";
- if (permission_exists('call_active_eavesdrop') && !empty($_SESSION['user']['extensions'])) {
- if (sizeof($_SESSION['user']['extensions']) > 1) {
- echo "
\n";
- echo "
\n";
- echo "