Merge branch 'master' into master
This commit is contained in:
commit
864397a453
|
|
@ -120,7 +120,7 @@ $text['label-provide-number']['de-de'] = "Bitte geben Sie die Nummer an";
|
|||
$text['label-provide-number']['el-gr'] = "Εισάγετε: Αριθμό";
|
||||
$text['label-provide-number']['es-cl'] = "Por favor agregue: Número";
|
||||
$text['label-provide-number']['es-mx'] = "Por favor agregue: Número"; //copied from es-cl
|
||||
$text['label-provide-number']['fr-ca'] = "Merci d'indiquer: Numéro"; //copied from fr-fr
|
||||
$text['label-provide-number']['fr-ca'] = "S'il vous plaît indiquer: Numéro";
|
||||
$text['label-provide-number']['fr-fr'] = "Merci d'indiquer: Numéro";
|
||||
$text['label-provide-number']['he-il'] = "אנא הכנס מספר";
|
||||
$text['label-provide-number']['it-it'] = "Prego fornire: Numero";
|
||||
|
|
@ -142,7 +142,7 @@ $text['label-provide-name']['de-de'] = "Bitte geben Sie den Namen an";
|
|||
$text['label-provide-name']['el-gr'] = "Εισάγετε: Όνομα";
|
||||
$text['label-provide-name']['es-cl'] = "Por favor agregue: Nombre";
|
||||
$text['label-provide-name']['es-mx'] = "Por favor agregue: Nombre"; //copied from es-cl
|
||||
$text['label-provide-name']['fr-ca'] = "Merci d'indiquer: Nom"; //copied from fr-fr
|
||||
$text['label-provide-name']['fr-ca'] = "S'il vous plaît indiquer: Nom"; //copied from fr-fr
|
||||
$text['label-provide-name']['fr-fr'] = "Merci d'indiquer: Nom";
|
||||
$text['label-provide-name']['he-il'] = "אנא הכנס שם";
|
||||
$text['label-provide-name']['it-it'] = "Prego fornire: Nome";
|
||||
|
|
@ -164,7 +164,7 @@ $text['label-provide-enabled']['de-de'] = "Bitte geben Sie folgendes an: Aktiv";
|
|||
$text['label-provide-enabled']['el-gr'] = "Εισάγετε: Ενεργοποιημένο";
|
||||
$text['label-provide-enabled']['es-cl'] = "Por favor agregue: Activo";
|
||||
$text['label-provide-enabled']['es-mx'] = "Por favor agregue: Activo"; //copied from es-cl
|
||||
$text['label-provide-enabled']['fr-ca'] = "Merci d'indiquer: Actif"; //copied from fr-fr
|
||||
$text['label-provide-enabled']['fr-ca'] = "S'il vous plaît indiquer: Actif"; //copied from fr-fr
|
||||
$text['label-provide-enabled']['fr-fr'] = "Merci d'indiquer: Actif";
|
||||
$text['label-provide-enabled']['he-il'] = "";
|
||||
$text['label-provide-enabled']['it-it'] = "Prego fornire: Abilitazione";
|
||||
|
|
@ -381,7 +381,7 @@ $text['label-edit-add']['de-de'] = "Sperrlisten";
|
|||
$text['label-edit-add']['el-gr'] = "Λίστα Απόρριψης";
|
||||
$text['label-edit-add']['es-cl'] = "Agregar bloqueo de llamada";
|
||||
$text['label-edit-add']['es-mx'] = "Agregar bloqueo de llamada"; //copied from es-cl
|
||||
$text['label-edit-add']['fr-ca'] = "Ajouter filtrage d'appel"; //copied from fr-fr
|
||||
$text['label-edit-add']['fr-ca'] = "Ajouter au filtrage d'appels"; //copied from fr-fr
|
||||
$text['label-edit-add']['fr-fr'] = "Ajouter filtrage d'appel";
|
||||
$text['label-edit-add']['he-il'] = "חסימת שיחה";
|
||||
$text['label-edit-add']['it-it'] = "Blocco Chiamate";
|
||||
|
|
@ -666,8 +666,8 @@ $text['description-direction']['de-de'] = "Select the direction of the calls to
|
|||
$text['description-direction']['el-gr'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['es-cl'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['es-mx'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['fr-ca'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['fr-fr'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['fr-ca'] = "Sélectionnez la direction des appels à bloquer.";
|
||||
$text['description-direction']['fr-fr'] = "Sélectionnez la direction des appels à bloquer.";
|
||||
$text['description-direction']['he-il'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['it-it'] = "Select the direction of the calls to block.";
|
||||
$text['description-direction']['nl-nl'] = "Select the direction of the calls to block.";
|
||||
|
|
@ -797,7 +797,7 @@ $text['description-call-block']['de-de'] = "Eine Liste von Nummern die gesperrt
|
|||
$text['description-call-block']['el-gr'] = "Μια λίστα από αριθμούς προς απόρριψη εισερχομένων κλήσεων.";
|
||||
$text['description-call-block']['es-cl'] = "Un listado de números desde los cuales se bloquean las llamadas";
|
||||
$text['description-call-block']['es-mx'] = "Un listado de números desde los cuales se bloquean las llamadas"; //copied from es-cl
|
||||
$text['description-call-block']['fr-ca'] = "Une liste de numéros depuis lesquels vous pouvez bloquer les appels"; //copied from fr-fr
|
||||
$text['description-call-block']['fr-ca'] = "Une liste de numéros à partir de laquelle vous pouvez bloquer les appels."; //copied from fr-fr
|
||||
$text['description-call-block']['fr-fr'] = "Une liste de numéros depuis lesquels vous pouvez bloquer les appels";
|
||||
$text['description-call-block']['he-il'] = "";
|
||||
$text['description-call-block']['it-it'] = "Una lista di numeri per cui è possibile bloccare le chiamate.";
|
||||
|
|
@ -841,8 +841,8 @@ $text['confirm-block']['de-de'] = "Do you really want to block this?";
|
|||
$text['confirm-block']['el-gr'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['es-cl'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['es-mx'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['fr-ca'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['fr-fr'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['fr-ca'] = "Voulez-vous vraiment bloquer ceci?";
|
||||
$text['confirm-block']['fr-fr'] = "Voulez-vous vraiment bloquer ceci?";
|
||||
$text['confirm-block']['he-il'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['it-it'] = "Do you really want to block this?";
|
||||
$text['confirm-block']['nl-nl'] = "Do you really want to block this?";
|
||||
|
|
@ -864,8 +864,8 @@ $text['button-block']['de-de'] = "Block";
|
|||
$text['button-block']['el-gr'] = "Block";
|
||||
$text['button-block']['es-cl'] = "Block";
|
||||
$text['button-block']['es-mx'] = "Block";
|
||||
$text['button-block']['fr-ca'] = "Block";
|
||||
$text['button-block']['fr-fr'] = "Block";
|
||||
$text['button-block']['fr-ca'] = "Bloquer";
|
||||
$text['button-block']['fr-fr'] = "Bloquer";
|
||||
$text['button-block']['he-il'] = "Block";
|
||||
$text['button-block']['it-it'] = "Block";
|
||||
$text['button-block']['nl-nl'] = "Block";
|
||||
|
|
@ -878,4 +878,4 @@ $text['button-block']['sv-se'] = "Block";
|
|||
$text['button-block']['uk-ua'] = "Block";
|
||||
$text['button-block']['tr-tr'] = "Block";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -155,5 +155,9 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "broadcast_accountcode";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "broadcast_toll_allow";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@
|
|||
$broadcast_avmd = $_POST["broadcast_avmd"];
|
||||
$broadcast_destination_data = $_POST["broadcast_destination_data"];
|
||||
$broadcast_description = $_POST["broadcast_description"];
|
||||
$broadcast_toll_allow = $_POST["broadcast_toll_allow"];
|
||||
|
||||
if (if_group("superadmin")) {
|
||||
$broadcast_accountcode = $_POST["broadcast_accountcode"];
|
||||
|
|
@ -234,6 +235,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
$array['call_broadcasts'][0]['broadcast_destination_data'] = $broadcast_destination_data;
|
||||
$array['call_broadcasts'][0]['broadcast_accountcode'] = $broadcast_accountcode;
|
||||
$array['call_broadcasts'][0]['broadcast_description'] = $broadcast_description;
|
||||
$array['call_broadcasts'][0]['broadcast_toll_allow'] = $broadcast_toll_allow;
|
||||
|
||||
//execute
|
||||
$database = new database;
|
||||
|
|
@ -274,6 +276,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
$broadcast_destination_data = $row["broadcast_destination_data"];
|
||||
$broadcast_accountcode = $row["broadcast_accountcode"];
|
||||
$broadcast_description = $row["broadcast_description"];
|
||||
$broadcast_toll_allow = $row["broadcast_toll_allow"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
}
|
||||
|
|
@ -493,6 +496,17 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-broadcast_toll_allow']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='broadcast_toll_allow' maxlength='255' value=".escape($broadcast_toll_allow).">\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-broadcast_toll_allow']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-description']."\n";
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@
|
|||
$channel_variables .= ",domain=".$_SESSION['domain_name'];
|
||||
$channel_variables .= ",domain_name=".$_SESSION['domain_name'];
|
||||
$channel_variables .= ",accountcode='$broadcast_accountcode'";
|
||||
$channel_variables .= ",toll_allow='$broadcast_toll_allow'";
|
||||
if ($broadcast_avmd == "true") {
|
||||
$channel_variables .= ",execute_on_answer='avmd start'";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,6 +261,10 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "agent_no_answer_delay_time";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "agent_record";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
||||
$y++;
|
||||
$apps[$x]['db'][$y]['table']['name'] = "v_call_center_queues";
|
||||
|
|
@ -333,6 +337,10 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "queue_time_base_score_sec";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Used to set the time base score of the Call Center to prioritize one call center over another.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "queue_max_wait_time";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ $text['title-call_center_tier_edit']['de-ch'] = "Callcenter Ebene"; //copied fro
|
|||
$text['title-call_center_tier_edit']['de-de'] = "Callcenter Ebene";
|
||||
$text['title-call_center_tier_edit']['es-cl'] = "Editar Nivel de Centro de Llamados";
|
||||
$text['title-call_center_tier_edit']['es-mx'] = "Editar Nivel de Centro de Llamados"; //copied from es-cl
|
||||
$text['title-call_center_tier_edit']['fr-ca'] = "Editer un Niveau du Centre d'Appel"; //copied from fr-fr
|
||||
$text['title-call_center_tier_edit']['fr-fr'] = "Editer un Niveau du Centre d'Appel";
|
||||
$text['title-call_center_tier_edit']['fr-ca'] = "Editer un niveau du centre d'appel";
|
||||
$text['title-call_center_tier_edit']['fr-fr'] = "Editer un niveau du Centre d'appel";
|
||||
$text['title-call_center_tier_edit']['he-il'] = "";
|
||||
$text['title-call_center_tier_edit']['it-it'] = "Tier del Call Center";
|
||||
$text['title-call_center_tier_edit']['nl-nl'] = "Call-center vergelijking";
|
||||
|
|
@ -177,8 +177,8 @@ $text['title-call_center_agent_status']['de-ch'] = "Callcenter Agenten Status";
|
|||
$text['title-call_center_agent_status']['de-de'] = "Callcenter Agenten Status";
|
||||
$text['title-call_center_agent_status']['es-cl'] = "Estado de Agente de Centro de Llamados";
|
||||
$text['title-call_center_agent_status']['es-mx'] = "Estado de Agente de Centro de Llamados"; //copied from es-cl
|
||||
$text['title-call_center_agent_status']['fr-ca'] = "Etat de l'Agent"; //copied from fr-fr
|
||||
$text['title-call_center_agent_status']['fr-fr'] = "Etat de l'Agent";
|
||||
$text['title-call_center_agent_status']['fr-ca'] = "État de l'agent";
|
||||
$text['title-call_center_agent_status']['fr-fr'] = "Etat de l'agent";
|
||||
$text['title-call_center_agent_status']['he-il'] = "";
|
||||
$text['title-call_center_agent_status']['it-it'] = "Stato Agenti Call Center";
|
||||
$text['title-call_center_agent_status']['nl-nl'] = "Call-Center agent status";
|
||||
|
|
@ -198,8 +198,8 @@ $text['title-call_center_agent_edit']['de-ch'] = "Callcenter Agenten"; //copied
|
|||
$text['title-call_center_agent_edit']['de-de'] = "Callcenter Agenten";
|
||||
$text['title-call_center_agent_edit']['es-cl'] = "Editar Agente de Centro de Llamados";
|
||||
$text['title-call_center_agent_edit']['es-mx'] = "Editar Agente de Centro de Llamados"; //copied from es-cl
|
||||
$text['title-call_center_agent_edit']['fr-ca'] = "Agent de centre d'appel"; //copied from fr-fr
|
||||
$text['title-call_center_agent_edit']['fr-fr'] = "Agent de centre d'appel";
|
||||
$text['title-call_center_agent_edit']['fr-ca'] = "Agent du centre d'appel";
|
||||
$text['title-call_center_agent_edit']['fr-fr'] = "Agent du centre d'appel";
|
||||
$text['title-call_center_agent_edit']['he-il'] = "";
|
||||
$text['title-call_center_agent_edit']['it-it'] = "Agente Call Center";
|
||||
$text['title-call_center_agent_edit']['nl-nl'] = "Call-Center Agent";
|
||||
|
|
@ -324,8 +324,8 @@ $text['option-top_down']['de-ch'] = "Absteigend"; //copied from de-de
|
|||
$text['option-top_down']['de-de'] = "Absteigend";
|
||||
$text['option-top_down']['es-cl'] = "Top Down";
|
||||
$text['option-top_down']['es-mx'] = "Top Down"; //copied from es-cl
|
||||
$text['option-top_down']['fr-ca'] = "Haut bas"; //copied from fr-fr
|
||||
$text['option-top_down']['fr-fr'] = "Haut bas";
|
||||
$text['option-top_down']['fr-ca'] = "Du haut vers le bas";
|
||||
$text['option-top_down']['fr-fr'] = "Du haut vers le bas";
|
||||
$text['option-top_down']['he-il'] = "";
|
||||
$text['option-top_down']['it-it'] = "Dall'alto al basso";
|
||||
$text['option-top_down']['nl-nl'] = "Hoog->Laag";
|
||||
|
|
@ -450,8 +450,8 @@ $text['option-ring_all']['de-ch'] = "Alle läuten"; //copied from de-de
|
|||
$text['option-ring_all']['de-de'] = "Alle läuten";
|
||||
$text['option-ring_all']['es-cl'] = "Sonar todos";
|
||||
$text['option-ring_all']['es-mx'] = "Sonar todos"; //copied from es-cl
|
||||
$text['option-ring_all']['fr-ca'] = "Sonner tous"; //copied from fr-fr
|
||||
$text['option-ring_all']['fr-fr'] = "Sonner tous";
|
||||
$text['option-ring_all']['fr-ca'] = "Sonner partout"; //copied from fr-fr
|
||||
$text['option-ring_all']['fr-fr'] = "Sonner partout";
|
||||
$text['option-ring_all']['he-il'] = "";
|
||||
$text['option-ring_all']['it-it'] = "Squillano tutti";
|
||||
$text['option-ring_all']['nl-nl'] = "Allen gelijktijdig";
|
||||
|
|
@ -534,7 +534,7 @@ $text['option-on_break']['de-ch'] = "In Pause"; //copied from de-de
|
|||
$text['option-on_break']['de-de'] = "In Pause";
|
||||
$text['option-on_break']['es-cl'] = "En Pausa";
|
||||
$text['option-on_break']['es-mx'] = "En Pausa"; //copied from es-cl
|
||||
$text['option-on_break']['fr-ca'] = "En Pause"; //copied from fr-fr
|
||||
$text['option-on_break']['fr-ca'] = "En pause";
|
||||
$text['option-on_break']['fr-fr'] = "En Pause";
|
||||
$text['option-on_break']['he-il'] = "";
|
||||
$text['option-on_break']['it-it'] = "In Pausa";
|
||||
|
|
@ -555,7 +555,7 @@ $text['option-no_change']['de-ch'] = "Keine Änderung"; //copied from de-de
|
|||
$text['option-no_change']['de-de'] = "Keine Änderung";
|
||||
$text['option-no_change']['es-cl'] = "Sin Cambios";
|
||||
$text['option-no_change']['es-mx'] = "Sin Cambios"; //copied from es-cl
|
||||
$text['option-no_change']['fr-ca'] = "Pas de Changement"; //copied from fr-fr
|
||||
$text['option-no_change']['fr-ca'] = "Pas de changement";
|
||||
$text['option-no_change']['fr-fr'] = "Pas de Changement";
|
||||
$text['option-no_change']['he-il'] = "";
|
||||
$text['option-no_change']['it-it'] = "Nessun Cambiamento";
|
||||
|
|
@ -576,8 +576,8 @@ $text['option-longest_idle_agent']['de-ch'] = "Agent mit der höchsten Wartezeit
|
|||
$text['option-longest_idle_agent']['de-de'] = "Agent mit der höchsten Wartezeit";
|
||||
$text['option-longest_idle_agent']['es-cl'] = "Agente desocupado por más tiempo";
|
||||
$text['option-longest_idle_agent']['es-mx'] = "Agente desocupado por más tiempo"; //copied from es-cl
|
||||
$text['option-longest_idle_agent']['fr-ca'] = "Agent logué depuis le plus lontemps"; //copied from fr-fr
|
||||
$text['option-longest_idle_agent']['fr-fr'] = "Agent logué depuis le plus lontemps";
|
||||
$text['option-longest_idle_agent']['fr-ca'] = "Agent inactif le plus longtemps";
|
||||
$text['option-longest_idle_agent']['fr-fr'] = "Agent inactif le plus longtemps";
|
||||
$text['option-longest_idle_agent']['he-il'] = "";
|
||||
$text['option-longest_idle_agent']['it-it'] = "Da più tempo libero";
|
||||
$text['option-longest_idle_agent']['nl-nl'] = "Langst wachtende agent";
|
||||
|
|
@ -702,8 +702,8 @@ $text['option-do_not_disturb']['de-ch'] = "Bitte nicht stören"; //copied from d
|
|||
$text['option-do_not_disturb']['de-de'] = "Bitte nicht stören";
|
||||
$text['option-do_not_disturb']['es-cl'] = "No Molestar";
|
||||
$text['option-do_not_disturb']['es-mx'] = "No Molestar"; //copied from es-cl
|
||||
$text['option-do_not_disturb']['fr-ca'] = "Ne Pas Derranger"; //copied from fr-fr
|
||||
$text['option-do_not_disturb']['fr-fr'] = "Ne Pas Derranger";
|
||||
$text['option-do_not_disturb']['fr-ca'] = "Ne pas déranger"; //copied from fr-fr
|
||||
$text['option-do_not_disturb']['fr-fr'] = "Ne pas déranger";
|
||||
$text['option-do_not_disturb']['he-il'] = "";
|
||||
$text['option-do_not_disturb']['it-it'] = "Non Disturbare";
|
||||
$text['option-do_not_disturb']['nl-nl'] = "Niet Storen";
|
||||
|
|
@ -723,8 +723,8 @@ $text['option-available_on_demand']['de-ch'] = "Verfügbar (auf Anfrage)"; //cop
|
|||
$text['option-available_on_demand']['de-de'] = "Verfügbar (auf Anfrage)";
|
||||
$text['option-available_on_demand']['es-cl'] = "Disponible (Bajo Demanda)";
|
||||
$text['option-available_on_demand']['es-mx'] = "Disponible (Bajo Demanda)"; //copied from es-cl
|
||||
$text['option-available_on_demand']['fr-ca'] = "Disponible (Sur Demande)"; //copied from fr-fr
|
||||
$text['option-available_on_demand']['fr-fr'] = "Disponible (Sur Demande)";
|
||||
$text['option-available_on_demand']['fr-ca'] = "Disponible (sur demande)";
|
||||
$text['option-available_on_demand']['fr-fr'] = "Disponible (sur demande)";
|
||||
$text['option-available_on_demand']['he-il'] = "";
|
||||
$text['option-available_on_demand']['it-it'] = "Disponibile (Su Richiesta)";
|
||||
$text['option-available_on_demand']['nl-nl'] = "beschikbaar (op aanvraag)";
|
||||
|
|
@ -765,8 +765,8 @@ $text['option-agent_with_least_talk_time']['de-ch'] = "Agent mit geringster Spre
|
|||
$text['option-agent_with_least_talk_time']['de-de'] = "Agent mit geringster Sprechzeit";
|
||||
$text['option-agent_with_least_talk_time']['es-cl'] = "Agente con el menor tiempo de comunicación";
|
||||
$text['option-agent_with_least_talk_time']['es-mx'] = "Agente con el menor tiempo de comunicación"; //copied from es-cl
|
||||
$text['option-agent_with_least_talk_time']['fr-ca'] = "Agent ayant le plus petit temps de parole"; //copied from fr-fr
|
||||
$text['option-agent_with_least_talk_time']['fr-fr'] = "Agent ayant le plus petit temps de parole";
|
||||
$text['option-agent_with_least_talk_time']['fr-ca'] = "Agent avec le moins de temps de conversation";
|
||||
$text['option-agent_with_least_talk_time']['fr-fr'] = "Agent avec le moins de temps de conversation";
|
||||
$text['option-agent_with_least_talk_time']['he-il'] = "";
|
||||
$text['option-agent_with_least_talk_time']['it-it'] = "Agent che ha parlato di meno";
|
||||
$text['option-agent_with_least_talk_time']['nl-nl'] = "Agent met kostste gesprekstijd";
|
||||
|
|
@ -807,7 +807,7 @@ $text['message-maximum_queues']['de-ch'] = "Maximale Anzahl Warteschlangen:"; //
|
|||
$text['message-maximum_queues']['de-de'] = "Maximale Anzahl Warteschlangen:";
|
||||
$text['message-maximum_queues']['es-cl'] = "Colas Máximo Permitido:";
|
||||
$text['message-maximum_queues']['es-mx'] = "Colas Máximo Permitido:"; //copied from es-cl
|
||||
$text['message-maximum_queues']['fr-ca'] = "Files d'attente Maximum Autorisé:"; //copied from fr-fr
|
||||
$text['message-maximum_queues']['fr-ca'] = "Files d'attente maximum autorisé:";
|
||||
$text['message-maximum_queues']['fr-fr'] = "Files d'attente Maximum Autorisé:";
|
||||
$text['message-maximum_queues']['he-il'] = "";
|
||||
$text['message-maximum_queues']['it-it'] = "Massimo Code:";
|
||||
|
|
@ -828,8 +828,8 @@ $text['message-duplicate_agent_id']['de-ch'] = "Agenten ID bereits vorhanden"; /
|
|||
$text['message-duplicate_agent_id']['de-de'] = "Agenten ID bereits vorhanden";
|
||||
$text['message-duplicate_agent_id']['es-cl'] = "Duplicar ID de Agente detectada";
|
||||
$text['message-duplicate_agent_id']['es-mx'] = "Duplicar ID de Agente detectada"; //copied from es-cl
|
||||
$text['message-duplicate_agent_id']['fr-ca'] = "Dupliquer Agent ID détecté"; //copied from fr-fr
|
||||
$text['message-duplicate_agent_id']['fr-fr'] = "Dupliquer Agent ID détecté";
|
||||
$text['message-duplicate_agent_id']['fr-ca'] = "ID d'agent duplicat détecté";
|
||||
$text['message-duplicate_agent_id']['fr-fr'] = "ID d'agent duplicat détecté";
|
||||
$text['message-duplicate_agent_id']['he-il'] = "";
|
||||
$text['message-duplicate_agent_id']['it-it'] = "Rilevato ID Agente Duplicato";
|
||||
$text['message-duplicate_agent_id']['nl-nl'] = "Duplicaat Agent ID ontdekt";
|
||||
|
|
@ -849,8 +849,8 @@ $text['label-wrap_up_time']['de-ch'] = "Nachbereitungszeit"; //copied from de-de
|
|||
$text['label-wrap_up_time']['de-de'] = "Nachbereitungszeit";
|
||||
$text['label-wrap_up_time']['es-cl'] = "Tiempo de Preparación";
|
||||
$text['label-wrap_up_time']['es-mx'] = "Tiempo de Preparación"; //copied from es-cl
|
||||
$text['label-wrap_up_time']['fr-ca'] = "temps de Wrap Up"; //copied from fr-fr
|
||||
$text['label-wrap_up_time']['fr-fr'] = "temps de Wrap Up";
|
||||
$text['label-wrap_up_time']['fr-ca'] = "Temps de clôture";
|
||||
$text['label-wrap_up_time']['fr-fr'] = "Temps de clôture";
|
||||
$text['label-wrap_up_time']['he-il'] = "";
|
||||
$text['label-wrap_up_time']['it-it'] = "Wrap Up Time";
|
||||
$text['label-wrap_up_time']['nl-nl'] = "Afrondtijd";
|
||||
|
|
@ -870,8 +870,8 @@ $text['label-type']['de-ch'] = "Typ"; //copied from de-de
|
|||
$text['label-type']['de-de'] = "Typ";
|
||||
$text['label-type']['es-cl'] = "Tipo";
|
||||
$text['label-type']['es-mx'] = "Tipo"; //copied from es-cl
|
||||
$text['label-type']['fr-ca'] = "Type"; //copied from fr-fr
|
||||
$text['label-type']['fr-fr'] = "Type";
|
||||
$text['label-type']['fr-ca'] = "Genre";
|
||||
$text['label-type']['fr-fr'] = "Genre";
|
||||
$text['label-type']['he-il'] = "";
|
||||
$text['label-type']['it-it'] = "Tipo";
|
||||
$text['label-type']['nl-nl'] = "Type";
|
||||
|
|
@ -891,7 +891,7 @@ $text['label-timeout_action']['de-ch'] = "Aktion bei Zeitüberschreitung"; //cop
|
|||
$text['label-timeout_action']['de-de'] = "Aktion bei Zeitüberschreitung";
|
||||
$text['label-timeout_action']['es-cl'] = "Acción de Timeout";
|
||||
$text['label-timeout_action']['es-mx'] = "Acción de Timeout"; //copied from es-cl
|
||||
$text['label-timeout_action']['fr-ca'] = "Action sur Timeout"; //copied from fr-fr
|
||||
$text['label-timeout_action']['fr-ca'] = "Action si délai d'attente excédé";
|
||||
$text['label-timeout_action']['fr-fr'] = "Action sur Timeout";
|
||||
$text['label-timeout_action']['he-il'] = "";
|
||||
$text['label-timeout_action']['it-it'] = "Azione al Timeout";
|
||||
|
|
@ -912,8 +912,8 @@ $text['label-time_base_score']['de-ch'] = "Zeitgeber für Klassifikation"; //cop
|
|||
$text['label-time_base_score']['de-de'] = "Zeitgeber für Klassifikation";
|
||||
$text['label-time_base_score']['es-cl'] = "Puntuación basada en tiempo";
|
||||
$text['label-time_base_score']['es-mx'] = "Puntuación basada en tiempo"; //copied from es-cl
|
||||
$text['label-time_base_score']['fr-ca'] = "Score Basé sur le Temps"; //copied from fr-fr
|
||||
$text['label-time_base_score']['fr-fr'] = "Score Basé sur le Temps";
|
||||
$text['label-time_base_score']['fr-ca'] = "Score basé sur le temps";
|
||||
$text['label-time_base_score']['fr-fr'] = "Score Basé sur le temps";
|
||||
$text['label-time_base_score']['he-il'] = "";
|
||||
$text['label-time_base_score']['it-it'] = "Punteggio su Base Tempo";
|
||||
$text['label-time_base_score']['nl-nl'] = "Tijd basis score";
|
||||
|
|
@ -925,6 +925,27 @@ $text['label-time_base_score']['ru-ru'] = "Оценка по времени";
|
|||
$text['label-time_base_score']['sv-se'] = "Tidsbaserat Resultat";
|
||||
$text['label-time_base_score']['uk-ua'] = "";
|
||||
|
||||
$text['label-time_base_score_sec']['en-us'] = "Time Base Score Seconds";
|
||||
$text['label-time_base_score_sec']['en-gb'] = "Time Base Score Seconds";
|
||||
$text['label-time_base_score_sec']['ar-eg'] = "";
|
||||
$text['label-time_base_score_sec']['de-at'] = "Zeitgeber für Klassifikation Seconden"; //copied from de-de
|
||||
$text['label-time_base_score_sec']['de-ch'] = "Zeitgeber für Klassifikation Seconden"; //copied from de-de
|
||||
$text['label-time_base_score_sec']['de-de'] = "Zeitgeber für Klassifikation Seconden";
|
||||
$text['label-time_base_score_sec']['es-cl'] = "Puntuación basada en tiempo Segundos";
|
||||
$text['label-time_base_score_sec']['es-mx'] = "Puntuación basada en tiempo Segundos"; //copied from es-cl
|
||||
$text['label-time_base_score_sec']['fr-ca'] = "Score basé sur le temps Seconds";
|
||||
$text['label-time_base_score_sec']['fr-fr'] = "Score Basé sur le temps Seconds";
|
||||
$text['label-time_base_score_sec']['he-il'] = "";
|
||||
$text['label-time_base_score_sec']['it-it'] = "Punteggio su Base Tempo Secondi";
|
||||
$text['label-time_base_score_sec']['nl-nl'] = "Tijd basis score";
|
||||
$text['label-time_base_score_sec']['pl-pl'] = "Wynik oparty na czasie Sekundy";
|
||||
$text['label-time_base_score_sec']['pt-br'] = "Pontuação baseada no tempo Segundos"; //copied from pt-pt
|
||||
$text['label-time_base_score_sec']['pt-pt'] = "Pontuação baseada no tempo Segundos";
|
||||
$text['label-time_base_score_sec']['ro-ro'] = "";
|
||||
$text['label-time_base_score_sec']['ru-ru'] = "Оценка по времени секунды";
|
||||
$text['label-time_base_score_sec']['sv-se'] = "Tidsbaserat Resultat Sekunder";
|
||||
$text['label-time_base_score_sec']['uk-ua'] = "";
|
||||
|
||||
$text['label-tiers']['en-us'] = "Tiers";
|
||||
$text['label-tiers']['en-gb'] = "Tiers";
|
||||
$text['label-tiers']['ar-eg'] = "";
|
||||
|
|
@ -933,8 +954,8 @@ $text['label-tiers']['de-ch'] = "Ebenen"; //copied from de-de
|
|||
$text['label-tiers']['de-de'] = "Ebenen";
|
||||
$text['label-tiers']['es-cl'] = "Niveles de Centro de Llamados";
|
||||
$text['label-tiers']['es-mx'] = "Niveles de Centro de Llamados"; //copied from es-cl
|
||||
$text['label-tiers']['fr-ca'] = "Niveaux du Centre d'Appel"; //copied from fr-fr
|
||||
$text['label-tiers']['fr-fr'] = "Niveaux du Centre d'Appel";
|
||||
$text['label-tiers']['fr-ca'] = "Niveaux du centre d'appel";
|
||||
$text['label-tiers']['fr-fr'] = "Niveaux du Centre d'appel";
|
||||
$text['label-tiers']['he-il'] = "";
|
||||
$text['label-tiers']['it-it'] = "Tiers";
|
||||
$text['label-tiers']['nl-nl'] = "Vergelijkingen";
|
||||
|
|
@ -954,8 +975,8 @@ $text['label-tier_rules_apply']['de-ch'] = "Ebenen-Regeln werden angewendet"; //
|
|||
$text['label-tier_rules_apply']['de-de'] = "Ebenen-Regeln werden angewendet";
|
||||
$text['label-tier_rules_apply']['es-cl'] = "Aplicar Reglas de Nivel";
|
||||
$text['label-tier_rules_apply']['es-mx'] = "Aplicar Reglas de Nivel"; //copied from es-cl
|
||||
$text['label-tier_rules_apply']['fr-ca'] = "Appliquer la Règle du Niveau"; //copied from fr-fr
|
||||
$text['label-tier_rules_apply']['fr-fr'] = "Appliquer la Règle du Niveau";
|
||||
$text['label-tier_rules_apply']['fr-ca'] = "Appliquer les règles du niveau";
|
||||
$text['label-tier_rules_apply']['fr-fr'] = "Appliquer les règles du niveau";
|
||||
$text['label-tier_rules_apply']['he-il'] = "";
|
||||
$text['label-tier_rules_apply']['it-it'] = "Applica regole del Tier";
|
||||
$text['label-tier_rules_apply']['nl-nl'] = "Vergelijkingsregels zijn van toepassing";
|
||||
|
|
@ -975,8 +996,8 @@ $text['label-tier_rule_wait_second']['de-ch'] = "Ebenen-Regel Wartezeit"; //copi
|
|||
$text['label-tier_rule_wait_second']['de-de'] = "Ebenen-Regel Wartezeit";
|
||||
$text['label-tier_rule_wait_second']['es-cl'] = "Regla de nível segundo de espera";
|
||||
$text['label-tier_rule_wait_second']['es-mx'] = "Regla de nível segundo de espera"; //copied from es-cl
|
||||
$text['label-tier_rule_wait_second']['fr-ca'] = "Attente, en seconde, de la Règle du Tier"; //copied from fr-fr
|
||||
$text['label-tier_rule_wait_second']['fr-fr'] = "Attente, en seconde, de la Règle du Tier";
|
||||
$text['label-tier_rule_wait_second']['fr-ca'] = "Délai d'attente, en secondes, de la règle du niveau";
|
||||
$text['label-tier_rule_wait_second']['fr-fr'] = "Délai d'attente, en secondes, de la règle du niveau";
|
||||
$text['label-tier_rule_wait_second']['he-il'] = "";
|
||||
$text['label-tier_rule_wait_second']['it-it'] = "Regola Tier Attesa Secondi";
|
||||
$text['label-tier_rule_wait_second']['nl-nl'] = "Vergelijkigsregels wachttijd";
|
||||
|
|
@ -996,8 +1017,8 @@ $text['label-tier_rule_wait_multiply_level']['de-ch'] = "Multiplikator für die
|
|||
$text['label-tier_rule_wait_multiply_level']['de-de'] = "Multiplikator für die Ebenen-Regel Wartezeit";
|
||||
$text['label-tier_rule_wait_multiply_level']['es-cl'] = "Regla de nivel multiplicar nivel de espera";
|
||||
$text['label-tier_rule_wait_multiply_level']['es-mx'] = "Regla de nivel multiplicar nivel de espera"; //copied from es-cl
|
||||
$text['label-tier_rule_wait_multiply_level']['fr-ca'] = "Règle d'Attente du Niveau Multipliée par Niveau"; //copied from fr-fr
|
||||
$text['label-tier_rule_wait_multiply_level']['fr-fr'] = "Règle d'Attente du Niveau Multipliée par Niveau";
|
||||
$text['label-tier_rule_wait_multiply_level']['fr-ca'] = "Règle d'attente du niveau multipliée par niveau";
|
||||
$text['label-tier_rule_wait_multiply_level']['fr-fr'] = "Règle d'attente du niveau multipliée par niveau";
|
||||
$text['label-tier_rule_wait_multiply_level']['he-il'] = "";
|
||||
$text['label-tier_rule_wait_multiply_level']['it-it'] = "Regola Tier Attesa Moltiplica Livello";
|
||||
$text['label-tier_rule_wait_multiply_level']['nl-nl'] = "Vergelijkingsregels Vermenigvuldigingsfactor";
|
||||
|
|
@ -1017,8 +1038,8 @@ $text['label-tier_rule_no_agent_no_wait']['de-ch'] = "Ebenen-Regel kein Agent ni
|
|||
$text['label-tier_rule_no_agent_no_wait']['de-de'] = "Ebenen-Regel kein Agent nicht warten";
|
||||
$text['label-tier_rule_no_agent_no_wait']['es-cl'] = "Regla de nivel No espera Sin Agente";
|
||||
$text['label-tier_rule_no_agent_no_wait']['es-mx'] = "Regla de nivel No espera Sin Agente"; //copied from es-cl
|
||||
$text['label-tier_rule_no_agent_no_wait']['fr-ca'] = "Règle du Niveau Pas d'Agent, Pas d'attente"; //copied from fr-fr
|
||||
$text['label-tier_rule_no_agent_no_wait']['fr-fr'] = "Règle du Niveau Pas d'Agent, Pas d'attente";
|
||||
$text['label-tier_rule_no_agent_no_wait']['fr-ca'] = "Règle du niveau pas d'agent, pas d'attente";
|
||||
$text['label-tier_rule_no_agent_no_wait']['fr-fr'] = "Règle du niveau pas d'agent, pas d'attente";
|
||||
$text['label-tier_rule_no_agent_no_wait']['he-il'] = "";
|
||||
$text['label-tier_rule_no_agent_no_wait']['it-it'] = "Regola Tier No Agente No Attesa";
|
||||
$text['label-tier_rule_no_agent_no_wait']['nl-nl'] = "Vergelijkingsregel Geen agent niet wachten";
|
||||
|
|
@ -1101,8 +1122,8 @@ $text['label-status']['de-ch'] = "Status"; //copied from de-de
|
|||
$text['label-status']['de-de'] = "Status";
|
||||
$text['label-status']['es-cl'] = "Estado";
|
||||
$text['label-status']['es-mx'] = "Estado"; //copied from es-cl
|
||||
$text['label-status']['fr-ca'] = "Etat"; //copied from fr-fr
|
||||
$text['label-status']['fr-fr'] = "Etat";
|
||||
$text['label-status']['fr-ca'] = "État";
|
||||
$text['label-status']['fr-fr'] = "État";
|
||||
$text['label-status']['he-il'] = "";
|
||||
$text['label-status']['it-it'] = "Status";
|
||||
$text['label-status']['nl-nl'] = "Status";
|
||||
|
|
@ -1122,8 +1143,8 @@ $text['label-reject_delay_time']['de-ch'] = "Zeitverzögerung für Zeitüberschr
|
|||
$text['label-reject_delay_time']['de-de'] = "Zeitverzögerung für Zeitüberschreitung";
|
||||
$text['label-reject_delay_time']['es-cl'] = "Tiempo de Espera para Rechazar";
|
||||
$text['label-reject_delay_time']['es-mx'] = "Tiempo de Espera para Rechazar"; //copied from es-cl
|
||||
$text['label-reject_delay_time']['fr-ca'] = "Délais pour le Rejet"; //copied from fr-fr
|
||||
$text['label-reject_delay_time']['fr-fr'] = "Délais pour le Rejet";
|
||||
$text['label-reject_delay_time']['fr-ca'] = "Délai avant de rejeter";
|
||||
$text['label-reject_delay_time']['fr-fr'] = "Délai avant de rejeter";
|
||||
$text['label-reject_delay_time']['he-il'] = "";
|
||||
$text['label-reject_delay_time']['it-it'] = "Tempo Ritardo Rifiuto";
|
||||
$text['label-reject_delay_time']['nl-nl'] = "Afwijzings vertragingstijd";
|
||||
|
|
@ -1143,8 +1164,8 @@ $text['label-record_template']['de-ch'] = "Aufnehmen"; //copied from de-de
|
|||
$text['label-record_template']['de-de'] = "Aufnehmen";
|
||||
$text['label-record_template']['es-cl'] = "Guardar";
|
||||
$text['label-record_template']['es-mx'] = "Guardar"; //copied from es-cl
|
||||
$text['label-record_template']['fr-ca'] = "Enregistrement"; //copied from fr-fr
|
||||
$text['label-record_template']['fr-fr'] = "Enregistrement";
|
||||
$text['label-record_template']['fr-ca'] = "Enregistrer";
|
||||
$text['label-record_template']['fr-fr'] = "Enregistrer";
|
||||
$text['label-record_template']['he-il'] = "";
|
||||
$text['label-record_template']['it-it'] = "Registra";
|
||||
$text['label-record_template']['nl-nl'] = "Opnemen";
|
||||
|
|
@ -1248,8 +1269,8 @@ $text['label-no_answer_delay_time']['de-ch'] = "Verzögerung für keine Antwort"
|
|||
$text['label-no_answer_delay_time']['de-de'] = "Verzögerung für keine Antwort";
|
||||
$text['label-no_answer_delay_time']['es-cl'] = "Tiempo de Espera sin Respuesta";
|
||||
$text['label-no_answer_delay_time']['es-mx'] = "Tiempo de Espera sin Respuesta"; //copied from es-cl
|
||||
$text['label-no_answer_delay_time']['fr-ca'] = "Delais de Non Réponse"; //copied from fr-fr
|
||||
$text['label-no_answer_delay_time']['fr-fr'] = "Delais de Non Réponse";
|
||||
$text['label-no_answer_delay_time']['fr-ca'] = "Délai de non réponse";
|
||||
$text['label-no_answer_delay_time']['fr-fr'] = "Délai de non réponse";
|
||||
$text['label-no_answer_delay_time']['he-il'] = "";
|
||||
$text['label-no_answer_delay_time']['it-it'] = "Tempo Ritardo Mancata Risposta";
|
||||
$text['label-no_answer_delay_time']['nl-nl'] = "Geen antwoord vertragingstijd";
|
||||
|
|
@ -1269,8 +1290,8 @@ $text['label-music_on_hold']['de-ch'] = "Wartemusik"; //copied from de-de
|
|||
$text['label-music_on_hold']['de-de'] = "Wartemusik";
|
||||
$text['label-music_on_hold']['es-cl'] = "Música en Espera";
|
||||
$text['label-music_on_hold']['es-mx'] = "Música en Espera"; //copied from es-cl
|
||||
$text['label-music_on_hold']['fr-ca'] = "Musique en attente"; //copied from fr-fr
|
||||
$text['label-music_on_hold']['fr-fr'] = "Musique en attente";
|
||||
$text['label-music_on_hold']['fr-ca'] = "Musique d'attente";
|
||||
$text['label-music_on_hold']['fr-fr'] = "Musique d'attente";
|
||||
$text['label-music_on_hold']['he-il'] = "";
|
||||
$text['label-music_on_hold']['it-it'] = "Musica d'Attesa";
|
||||
$text['label-music_on_hold']['nl-nl'] = "Wachtmuziek";
|
||||
|
|
@ -1290,8 +1311,8 @@ $text['label-max_wait_time_with_no_agent_time_reached']['de-ch'] = "Maximale War
|
|||
$text['label-max_wait_time_with_no_agent_time_reached']['de-de'] = "Maximale Wartezeit ohne Agent erreicht";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['es-cl'] = "Tiempo máximo de espera sin agente obtenido";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['es-mx'] = "Tiempo máximo de espera sin agente obtenido"; //copied from es-cl
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['fr-ca'] = "Max Attente Sans Agent Atteinte"; //copied from fr-fr
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['fr-fr'] = "Max Attente Sans Agent Atteinte";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['fr-ca'] = "Temps d'attente maximum sans temps d'agent atteint";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['fr-fr'] = "Temps d'attente maximum sans temps d'agent atteint";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['he-il'] = "";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['it-it'] = "Max Tempo Attesa Raggiungimento Tempo No Agenti";
|
||||
$text['label-max_wait_time_with_no_agent_time_reached']['nl-nl'] = "Maximale wachttijd zonder agent bereikt";
|
||||
|
|
@ -1311,8 +1332,8 @@ $text['label-max_wait_time_with_no_agent']['de-ch'] = "Maximale Wartezeit ohne A
|
|||
$text['label-max_wait_time_with_no_agent']['de-de'] = "Maximale Wartezeit ohne Agent";
|
||||
$text['label-max_wait_time_with_no_agent']['es-cl'] = "Tiempo máximo de espera sin agente";
|
||||
$text['label-max_wait_time_with_no_agent']['es-mx'] = "Tiempo máximo de espera sin agente"; //copied from es-cl
|
||||
$text['label-max_wait_time_with_no_agent']['fr-ca'] = "Temps d'attente maximal Sans Agent"; //copied from fr-fr
|
||||
$text['label-max_wait_time_with_no_agent']['fr-fr'] = "Temps d'attente maximal Sans Agent";
|
||||
$text['label-max_wait_time_with_no_agent']['fr-ca'] = "Temps d'attente maximum sans agent";
|
||||
$text['label-max_wait_time_with_no_agent']['fr-fr'] = "Temps d'attente maximum sans agent";
|
||||
$text['label-max_wait_time_with_no_agent']['he-il'] = "";
|
||||
$text['label-max_wait_time_with_no_agent']['it-it'] = "Max Tempo Attesa No Agenti";
|
||||
$text['label-max_wait_time_with_no_agent']['nl-nl'] = "Maximale wachttijd zonder agent";
|
||||
|
|
@ -1395,8 +1416,8 @@ $text['label-discard_abandoned_after']['de-ch'] = "Zurückweisen nach Zeitübers
|
|||
$text['label-discard_abandoned_after']['de-de'] = "Zurückweisen nach Zeitüberschreitung";
|
||||
$text['label-discard_abandoned_after']['es-cl'] = "Descartar Abandono Despues de";
|
||||
$text['label-discard_abandoned_after']['es-mx'] = "Descartar Abandono Despues de"; //copied from es-cl
|
||||
$text['label-discard_abandoned_after']['fr-ca'] = "Ecarter les Abandons fait Après"; //copied from fr-fr
|
||||
$text['label-discard_abandoned_after']['fr-fr'] = "Ecarter les Abandons fait Après";
|
||||
$text['label-discard_abandoned_after']['fr-ca'] = "Écarter les abandons après";
|
||||
$text['label-discard_abandoned_after']['fr-fr'] = "Écarter les abandons après";
|
||||
$text['label-discard_abandoned_after']['he-il'] = "";
|
||||
$text['label-discard_abandoned_after']['it-it'] = "Scarta chi Abbandona Dopo";
|
||||
$text['label-discard_abandoned_after']['nl-nl'] = "Afbreken na tijdsoverschreiding";
|
||||
|
|
@ -1416,8 +1437,8 @@ $text['label-default_status']['de-ch'] = "Standardzustand"; //copied from de-de
|
|||
$text['label-default_status']['de-de'] = "Standardzustand";
|
||||
$text['label-default_status']['es-cl'] = "Estado Predeterminado";
|
||||
$text['label-default_status']['es-mx'] = "Estado Predeterminado"; //copied from es-cl
|
||||
$text['label-default_status']['fr-ca'] = "Statut Prédéterminée"; //copied from fr-fr
|
||||
$text['label-default_status']['fr-fr'] = "Statut Prédéterminée";
|
||||
$text['label-default_status']['fr-ca'] = "État par défaut";
|
||||
$text['label-default_status']['fr-fr'] = "État par défaut";
|
||||
$text['label-default_status']['he-il'] = "";
|
||||
$text['label-default_status']['it-it'] = "Status di Default";
|
||||
$text['label-default_status']['nl-nl'] = "Standaard status";
|
||||
|
|
@ -1458,8 +1479,8 @@ $text['label-caller_id_name_prefix']['de-ch'] = "Anruferkennung (Name) Prefix";
|
|||
$text['label-caller_id_name_prefix']['de-de'] = "Anruferkennung (Name) Prefix";
|
||||
$text['label-caller_id_name_prefix']['es-cl'] = "Prefijo de nombre de quien llama";
|
||||
$text['label-caller_id_name_prefix']['es-mx'] = "Prefijo de nombre de quien llama"; //copied from es-cl
|
||||
$text['label-caller_id_name_prefix']['fr-ca'] = "Préfixe du Nom d'Appelant"; //copied from fr-fr
|
||||
$text['label-caller_id_name_prefix']['fr-fr'] = "Préfixe du Nom d'Appelant";
|
||||
$text['label-caller_id_name_prefix']['fr-ca'] = "Préfixe du nom de l'identification de l'appelant";
|
||||
$text['label-caller_id_name_prefix']['fr-fr'] = "Préfixe du nom de l'identification de l'appelant";
|
||||
$text['label-caller_id_name_prefix']['he-il'] = "";
|
||||
$text['label-caller_id_name_prefix']['it-it'] = "Prefisso Nome Chiamante";
|
||||
$text['label-caller_id_name_prefix']['nl-nl'] = "CID Naam prefix";
|
||||
|
|
@ -1479,7 +1500,7 @@ $text['label-outbound_caller_id_name']['de-ch'] = "Ausgehende Anruferkennung (Na
|
|||
$text['label-outbound_caller_id_name']['de-de'] = "Ausgehende Anruferkennung (Name)";
|
||||
$text['label-outbound_caller_id_name']['es-cl'] = "Nombre de Caller ID Saliente";
|
||||
$text['label-outbound_caller_id_name']['es-mx'] = "Nombre de Caller ID Saliente"; //copied from es-cl
|
||||
$text['label-outbound_caller_id_name']['fr-ca'] = "Nom de l'appelant sortant"; //copied from fr-fr
|
||||
$text['label-outbound_caller_id_name']['fr-ca'] = "Nom de l'appelant sortant";
|
||||
$text['label-outbound_caller_id_name']['fr-fr'] = "Nom de l'appelant sortant";
|
||||
$text['label-outbound_caller_id_name']['he-il'] = "";
|
||||
$text['label-outbound_caller_id_name']['it-it'] = "ID Nome Chiamante Esterno";
|
||||
|
|
@ -1521,8 +1542,8 @@ $text['label-caller_announce_sound']['de-ch'] = "Ton für Ankündigung"; //copie
|
|||
$text['label-caller_announce_sound']['de-de'] = "Ton für Ankündigung";
|
||||
$text['label-caller_announce_sound']['es-cl'] = "El sonido anuncian";
|
||||
$text['label-caller_announce_sound']['es-mx'] = "El sonido anuncian"; //copied from es-cl
|
||||
$text['label-caller_announce_sound']['fr-ca'] = "Annoncer Sonore"; //copied from fr-fr
|
||||
$text['label-caller_announce_sound']['fr-fr'] = "Annoncer Sonore";
|
||||
$text['label-caller_announce_sound']['fr-ca'] = "Son d'annonce";
|
||||
$text['label-caller_announce_sound']['fr-fr'] = "Son d'annonce";
|
||||
$text['label-caller_announce_sound']['he-il'] = "";
|
||||
$text['label-caller_announce_sound']['it-it'] = "Audio Annuncio";
|
||||
$text['label-caller_announce_sound']['nl-nl'] = "Aankondigingsgeluid";
|
||||
|
|
@ -1542,8 +1563,8 @@ $text['label-caller_announce_frequency']['de-ch'] = "Häufigkeit der Ankündigun
|
|||
$text['label-caller_announce_frequency']['de-de'] = "Häufigkeit der Ankündigung";
|
||||
$text['label-caller_announce_frequency']['es-cl'] = "La frecuencia anuncian";
|
||||
$text['label-caller_announce_frequency']['es-mx'] = "La frecuencia anuncian"; //copied from es-cl
|
||||
$text['label-caller_announce_frequency']['fr-ca'] = "Annoncer Fréquence"; //copied from fr-fr
|
||||
$text['label-caller_announce_frequency']['fr-fr'] = "Annoncer Fréquence";
|
||||
$text['label-caller_announce_frequency']['fr-ca'] = "Fréquence d'annonce";
|
||||
$text['label-caller_announce_frequency']['fr-fr'] = "Fréquence d'annonce";
|
||||
$text['label-caller_announce_frequency']['he-il'] = "";
|
||||
$text['label-caller_announce_frequency']['it-it'] = "Frequenza Annuncio";
|
||||
$text['label-caller_announce_frequency']['nl-nl'] = "Aantal aankondigingen";
|
||||
|
|
@ -1563,8 +1584,8 @@ $text['label-exit_keys']['de-ch'] = "Abbruch Taste"; //copied from de-de
|
|||
$text['label-exit_keys']['de-de'] = "Abbruch Taste";
|
||||
$text['label-exit_keys']['es-cl'] = "Tecla de salida";
|
||||
$text['label-exit_keys']['es-mx'] = "Tecla de salida"; //copied from es-cl
|
||||
$text['label-exit_keys']['fr-ca'] = "Clé pour sortir la queue"; //copied from fr-fr
|
||||
$text['label-exit_keys']['fr-fr'] = "Clé pour sortir la queue";
|
||||
$text['label-exit_keys']['fr-ca'] = "Touche pour sortir de la file d'attente";
|
||||
$text['label-exit_keys']['fr-fr'] = "Touche pour sortir de la file d'attente";
|
||||
$text['label-exit_keys']['he-il'] = "";
|
||||
$text['label-exit_keys']['it-it'] = "";
|
||||
$text['label-exit_keys']['nl-nl'] = "Verlaat toets";
|
||||
|
|
@ -1584,8 +1605,8 @@ $text['description-exit_keys']['de-ch'] = "Tasten um die aktuelle Warteschlange
|
|||
$text['description-exit_keys']['de-de'] = "Tasten um die aktuelle Warteschlange zu verlassen.";
|
||||
$text['description-exit_keys']['es-cl'] = "Teclas para salir de la espera de la cola.";
|
||||
$text['description-exit_keys']['es-mx'] = "Teclas para salir de la espera de la cola."; //copied from es-cl
|
||||
$text['description-exit_keys']['fr-ca'] = "Clés pour sortir de l'attendance de la queue."; //copied from fr-fr
|
||||
$text['description-exit_keys']['fr-fr'] = "Clés pour sortir de l'attendance de la queue.";
|
||||
$text['description-exit_keys']['fr-ca'] = "Touches pour quitter la file d'attente actuelle.";
|
||||
$text['description-exit_keys']['fr-fr'] = "Touches pour quitter la file d'attente actuelle";
|
||||
$text['description-exit_keys']['he-il'] = "";
|
||||
$text['description-exit_keys']['it-it'] = "";
|
||||
$text['description-exit_keys']['nl-nl'] = "Toetsen om de huidige wachtrij te verlaten.";
|
||||
|
|
@ -1605,8 +1626,8 @@ $text['label-call_timeout']['de-ch'] = "Zeitüberschreitung"; //copied from de-d
|
|||
$text['label-call_timeout']['de-de'] = "Zeitüberschreitung";
|
||||
$text['label-call_timeout']['es-cl'] = "Timeout de Llamada";
|
||||
$text['label-call_timeout']['es-mx'] = "Timeout de Llamada"; //copied from es-cl
|
||||
$text['label-call_timeout']['fr-ca'] = "Timeout d'appel"; //copied from fr-fr
|
||||
$text['label-call_timeout']['fr-fr'] = "Timeout d'appel";
|
||||
$text['label-call_timeout']['fr-ca'] = "Délai d'expiration de l'appel";
|
||||
$text['label-call_timeout']['fr-fr'] = "Délai d'expiration de l'appel";
|
||||
$text['label-call_timeout']['he-il'] = "";
|
||||
$text['label-call_timeout']['it-it'] = "Timeout di Chiamata";
|
||||
$text['label-call_timeout']['nl-nl'] = "Oproep tijdsoverschrijding";
|
||||
|
|
@ -1626,8 +1647,8 @@ $text['label-busy_delay_time']['de-ch'] = "Verzögerungszeit für Besetzt"; //co
|
|||
$text['label-busy_delay_time']['de-de'] = "Verzögerungszeit für Besetzt";
|
||||
$text['label-busy_delay_time']['es-cl'] = "Tiempo de espera para ocupado";
|
||||
$text['label-busy_delay_time']['es-mx'] = "Tiempo de espera para ocupado"; //copied from es-cl
|
||||
$text['label-busy_delay_time']['fr-ca'] = "Délais d'occupation"; //copied from fr-fr
|
||||
$text['label-busy_delay_time']['fr-fr'] = "Délais d'occupation";
|
||||
$text['label-busy_delay_time']['fr-ca'] = "Délai de temps occupé";
|
||||
$text['label-busy_delay_time']['fr-fr'] = "Délai de temps occupé";
|
||||
$text['label-busy_delay_time']['he-il'] = "";
|
||||
$text['label-busy_delay_time']['it-it'] = "Tempo ritardo su Occupato";
|
||||
$text['label-busy_delay_time']['nl-nl'] = "Bezet wachttijd";
|
||||
|
|
@ -1647,8 +1668,8 @@ $text['label-agent_password']['de-ch'] = "Agenten Passwort"; //copied from de-de
|
|||
$text['label-agent_password']['de-de'] = "Agenten Passwort";
|
||||
$text['label-agent_password']['es-cl'] = "Agente de Password";
|
||||
$text['label-agent_password']['es-mx'] = "Agente de Password"; //copied from es-cl
|
||||
$text['label-agent_password']['fr-ca'] = "Agent Mot de passe"; //copied from fr-fr
|
||||
$text['label-agent_password']['fr-fr'] = "Agent Mot de passe";
|
||||
$text['label-agent_password']['fr-ca'] = "Mot de passe d'agent";
|
||||
$text['label-agent_password']['fr-fr'] = "Mot de passe d'agent";
|
||||
$text['label-agent_password']['he-il'] = "";
|
||||
$text['label-agent_password']['it-it'] = "Password Agente";
|
||||
$text['label-agent_password']['nl-nl'] = "Agent wachtwoord";
|
||||
|
|
@ -1710,8 +1731,8 @@ $text['label-agent_id']['de-ch'] = "Agenten ID"; //copied from de-de
|
|||
$text['label-agent_id']['de-de'] = "Agenten ID";
|
||||
$text['label-agent_id']['es-cl'] = "Agente de identidad";
|
||||
$text['label-agent_id']['es-mx'] = "Agente de identidad"; //copied from es-cl
|
||||
$text['label-agent_id']['fr-ca'] = "Identification Agent"; //copied from fr-fr
|
||||
$text['label-agent_id']['fr-fr'] = "Identification Agent";
|
||||
$text['label-agent_id']['fr-ca'] = "Identification d'agent";
|
||||
$text['label-agent_id']['fr-fr'] = "Identification d'agent";
|
||||
$text['label-agent_id']['he-il'] = "";
|
||||
$text['label-agent_id']['it-it'] = "ID Agente";
|
||||
$text['label-agent_id']['nl-nl'] = "Agent ID";
|
||||
|
|
@ -1773,8 +1794,8 @@ $text['label-abandoned_resume_allowed']['de-ch'] = "Wiederaufnahme nach Zurückw
|
|||
$text['label-abandoned_resume_allowed']['de-de'] = "Wiederaufnahme nach Zurückweisung erlaubt";
|
||||
$text['label-abandoned_resume_allowed']['es-cl'] = "Permitir Reanudación de Abandono";
|
||||
$text['label-abandoned_resume_allowed']['es-mx'] = "Permitir Reanudación de Abandono"; //copied from es-cl
|
||||
$text['label-abandoned_resume_allowed']['fr-ca'] = "Recupération Permise des Abandons"; //copied from fr-fr
|
||||
$text['label-abandoned_resume_allowed']['fr-fr'] = "Recupération Permise des Abandons";
|
||||
$text['label-abandoned_resume_allowed']['fr-ca'] = "Récupération des abandons permis";
|
||||
$text['label-abandoned_resume_allowed']['fr-fr'] = "Récupération des abandons permis";
|
||||
$text['label-abandoned_resume_allowed']['he-il'] = "";
|
||||
$text['label-abandoned_resume_allowed']['it-it'] = "Permetti ripristino chi Abbandona";
|
||||
$text['label-abandoned_resume_allowed']['nl-nl'] = "Verlaten oproep voortzetten toestaan";
|
||||
|
|
@ -1794,8 +1815,8 @@ $text['header-call_center_tier_edit']['de-ch'] = "Callcenter Ebene"; //copied fr
|
|||
$text['header-call_center_tier_edit']['de-de'] = "Callcenter Ebene";
|
||||
$text['header-call_center_tier_edit']['es-cl'] = "Editar Nivel de Centro de Llamados";
|
||||
$text['header-call_center_tier_edit']['es-mx'] = "Editar Nivel de Centro de Llamados"; //copied from es-cl
|
||||
$text['header-call_center_tier_edit']['fr-ca'] = "Niveau du Centre d'Appel"; //copied from fr-fr
|
||||
$text['header-call_center_tier_edit']['fr-fr'] = "Niveau du Centre d'Appel";
|
||||
$text['header-call_center_tier_edit']['fr-ca'] = "Niveau du centre d'appel";
|
||||
$text['header-call_center_tier_edit']['fr-fr'] = "Niveau du centre d'appel";
|
||||
$text['header-call_center_tier_edit']['he-il'] = "";
|
||||
$text['header-call_center_tier_edit']['it-it'] = "Tier del Call Center";
|
||||
$text['header-call_center_tier_edit']['nl-nl'] = "Call-Center vergelijking";
|
||||
|
|
@ -1899,7 +1920,7 @@ $text['header-call_center_agent_status']['de-ch'] = "Callcenter Agenten-Status";
|
|||
$text['header-call_center_agent_status']['de-de'] = "Callcenter Agenten-Status";
|
||||
$text['header-call_center_agent_status']['es-cl'] = "Estado de Agente de Centro de Llamados";
|
||||
$text['header-call_center_agent_status']['es-mx'] = "Estado de Agente de Centro de Llamados"; //copied from es-cl
|
||||
$text['header-call_center_agent_status']['fr-ca'] = "Etat de l'agent du Centre d'Appel"; //copied from fr-fr
|
||||
$text['header-call_center_agent_status']['fr-ca'] = "État de l'agent du Centre d'appel";
|
||||
$text['header-call_center_agent_status']['fr-fr'] = "Etat de l'agent du Centre d'Appel";
|
||||
$text['header-call_center_agent_status']['he-il'] = "";
|
||||
$text['header-call_center_agent_status']['it-it'] = "Stato Agente Call Center";
|
||||
|
|
@ -1920,7 +1941,7 @@ $text['header-call_center_agent_edit']['de-ch'] = "Callcenter Agent"; //copied f
|
|||
$text['header-call_center_agent_edit']['de-de'] = "Callcenter Agent";
|
||||
$text['header-call_center_agent_edit']['es-cl'] = "Editar Agente de Centro de Llamados";
|
||||
$text['header-call_center_agent_edit']['es-mx'] = "Editar Agente de Centro de Llamados"; //copied from es-cl
|
||||
$text['header-call_center_agent_edit']['fr-ca'] = "Agent du Centre d'Appel"; //copied from fr-fr
|
||||
$text['header-call_center_agent_edit']['fr-ca'] = "Agent du Centre d'appel";
|
||||
$text['header-call_center_agent_edit']['fr-fr'] = "Agent du Centre d'Appel";
|
||||
$text['header-call_center_agent_edit']['he-il'] = "";
|
||||
$text['header-call_center_agent_edit']['it-it'] = "Agente Call Center";
|
||||
|
|
@ -1941,8 +1962,8 @@ $text['header-call_center_agent_add']['de-ch'] = "Callcenter Agenten"; //copied
|
|||
$text['header-call_center_agent_add']['de-de'] = "Callcenter Agenten";
|
||||
$text['header-call_center_agent_add']['es-cl'] = "Agregar Agente de Centro de Llamados";
|
||||
$text['header-call_center_agent_add']['es-mx'] = "Agregar Agente de Centro de Llamados"; //copied from es-cl
|
||||
$text['header-call_center_agent_add']['fr-ca'] = "Agent du Centre d'Appel"; //copied from fr-fr
|
||||
$text['header-call_center_agent_add']['fr-fr'] = "Agent du Centre d'Appel";
|
||||
$text['header-call_center_agent_add']['fr-ca'] = "Agents du centre d'appel";
|
||||
$text['header-call_center_agent_add']['fr-fr'] = "Agents du centre d'appel";
|
||||
$text['header-call_center_agent_add']['he-il'] = "";
|
||||
$text['header-call_center_agent_add']['it-it'] = "Agenti Call Center";
|
||||
$text['header-call_center_agent_add']['nl-nl'] = "Call-Center agenten";
|
||||
|
|
@ -1962,8 +1983,8 @@ $text['description-wrap_up_time']['de-ch'] = "Geben Sie die Nachbereitungszeit e
|
|||
$text['description-wrap_up_time']['de-de'] = "Geben Sie die Nachbereitungszeit ein.";
|
||||
$text['description-wrap_up_time']['es-cl'] = "Introduzca el tiempo de preparación.";
|
||||
$text['description-wrap_up_time']['es-mx'] = "Introduzca el tiempo de preparación."; //copied from es-cl
|
||||
$text['description-wrap_up_time']['fr-ca'] = "choisir le temps de wrap up."; //copied from fr-fr
|
||||
$text['description-wrap_up_time']['fr-fr'] = "choisir le temps de wrap up.";
|
||||
$text['description-wrap_up_time']['fr-ca'] = "Choisir le temps de clôture.";
|
||||
$text['description-wrap_up_time']['fr-fr'] = "Choisir le temps de clôture.";
|
||||
$text['description-wrap_up_time']['he-il'] = "";
|
||||
$text['description-wrap_up_time']['it-it'] = "Inserire Tempo di wrap up.";
|
||||
$text['description-wrap_up_time']['nl-nl'] = "Voer de afwikkeltijd in.";
|
||||
|
|
@ -2004,8 +2025,8 @@ $text['description-timeout_action']['de-ch'] = "Aktion, wenn die maximale Wartez
|
|||
$text['description-timeout_action']['de-de'] = "Aktion, wenn die maximale Wartezeit erreicht wurde.";
|
||||
$text['description-timeout_action']['es-cl'] = "Defina una acción a realizar cuando el tiempo máximo es alcanzado.";
|
||||
$text['description-timeout_action']['es-mx'] = "Defina una acción a realizar cuando el tiempo máximo es alcanzado."; //copied from es-cl
|
||||
$text['description-timeout_action']['fr-ca'] = "Choisir l'action à faire quand le temps max d'attente est atteint."; //copied from fr-fr
|
||||
$text['description-timeout_action']['fr-fr'] = "Choisir l'action à faire quand le temps max d'attente est atteint.";
|
||||
$text['description-timeout_action']['fr-ca'] = "Définir l'action à exécuter lorsque le temps d'attente maximal est atteint.";
|
||||
$text['description-timeout_action']['fr-fr'] = "Définir l'action à exécuter lorsque le temps d'attente maximal est atteint.";
|
||||
$text['description-timeout_action']['he-il'] = "";
|
||||
$text['description-timeout_action']['it-it'] = "Seleziona l'azione da eseguire quando il tempo di attesa max viene superato.";
|
||||
$text['description-timeout_action']['nl-nl'] = "Aktie als de maximale wachttijd bereikt wordt";
|
||||
|
|
@ -2025,8 +2046,8 @@ $text['description-time_base_score']['de-ch'] = "Wählen Sie die Zeitgeber für
|
|||
$text['description-time_base_score']['de-de'] = "Wählen Sie die Zeitgeber für Klassifikation";
|
||||
$text['description-time_base_score']['es-cl'] = "Seleccione el tiempo base";
|
||||
$text['description-time_base_score']['es-mx'] = "Seleccione el tiempo base"; //copied from es-cl
|
||||
$text['description-time_base_score']['fr-ca'] = "Sélection du score sur base de temps."; //copied from fr-fr
|
||||
$text['description-time_base_score']['fr-fr'] = "Sélection du score sur base de temps.";
|
||||
$text['description-time_base_score']['fr-ca'] = "Sélection du score basé sur le temps.";
|
||||
$text['description-time_base_score']['fr-fr'] = "Sélection du score basé sur le temps.";
|
||||
$text['description-time_base_score']['he-il'] = "";
|
||||
$text['description-time_base_score']['it-it'] = "Seleziona il punteggio su base tempo.";
|
||||
$text['description-time_base_score']['nl-nl'] = "Select de tijdsbasis score.";
|
||||
|
|
@ -2038,6 +2059,28 @@ $text['description-time_base_score']['ru-ru'] = "Выберие оценку п
|
|||
$text['description-time_base_score']['sv-se'] = "Ange tids-baserad poäng.";
|
||||
$text['description-time_base_score']['uk-ua'] = "";
|
||||
|
||||
|
||||
$text['description-time_base_score_sec']['en-us'] = "Set the time base score in seconds. Higher numbers mean higher priority over other call centers.";
|
||||
$text['description-time_base_score_sec']['en-gb'] = "Set the time base score in seconds. Higher numbers mean higher priority over other call centers.";
|
||||
$text['description-time_base_score_sec']['ar-eg'] = "";
|
||||
$text['description-time_base_score_sec']['de-at'] = "";
|
||||
$text['description-time_base_score_sec']['de-ch'] = "";
|
||||
$text['description-time_base_score_sec']['de-de'] = "";
|
||||
$text['description-time_base_score_sec']['es-cl'] = "";
|
||||
$text['description-time_base_score_sec']['es-mx'] = "";
|
||||
$text['description-time_base_score_sec']['fr-ca'] = "";
|
||||
$text['description-time_base_score_sec']['fr-fr'] = "";
|
||||
$text['description-time_base_score_sec']['he-il'] = "";
|
||||
$text['description-time_base_score_sec']['it-it'] = "";
|
||||
$text['description-time_base_score_sec']['nl-nl'] = "";
|
||||
$text['description-time_base_score_sec']['pl-pl'] = "";
|
||||
$text['description-time_base_score_sec']['pt-br'] = "";
|
||||
$text['description-time_base_score_sec']['pt-pt'] = "";
|
||||
$text['description-time_base_score_sec']['ro-ro'] = "";
|
||||
$text['description-time_base_score_sec']['ru-ru'] = "";
|
||||
$text['description-time_base_score_sec']['sv-se'] = "";
|
||||
$text['description-time_base_score_sec']['uk-ua'] = "";
|
||||
|
||||
$text['description-tiers']['en-us'] = "Tiers assign agents to queues.";
|
||||
$text['description-tiers']['en-gb'] = "Tiers assign agents to queues.";
|
||||
$text['description-tiers']['ar-eg'] = "";
|
||||
|
|
@ -2046,8 +2089,8 @@ $text['description-tiers']['de-ch'] = "Agenten einer Warteschlange pro Ebene zuw
|
|||
$text['description-tiers']['de-de'] = "Agenten einer Warteschlange pro Ebene zuweisen.";
|
||||
$text['description-tiers']['es-cl'] = "Lista todos los niveles. Los niveles asignan agentes a las colas.";
|
||||
$text['description-tiers']['es-mx'] = "Lista todos los niveles. Los niveles asignan agentes a las colas."; //copied from es-cl
|
||||
$text['description-tiers']['fr-ca'] = "Liste tous les Niveaux. Les Niveaux permettent d'affecter les agents aux queues."; //copied from fr-fr
|
||||
$text['description-tiers']['fr-fr'] = "Liste tous les Niveaux. Les Niveaux permettent d'affecter les agents aux queues.";
|
||||
$text['description-tiers']['fr-ca'] = "Liste tous les niveaux. Les niveaux permettent d'affecter les agents aux files d'attente.";
|
||||
$text['description-tiers']['fr-fr'] = "Liste tous les niveaux. Les niveaux permettent d'affecter les agents aux files d'attente.";
|
||||
$text['description-tiers']['he-il'] = "";
|
||||
$text['description-tiers']['it-it'] = "I tiers assegnano gli agenti alle code.";
|
||||
$text['description-tiers']['nl-nl'] = "Vergelijkingen towijzen van agenten aan wachtrij";
|
||||
|
|
@ -2067,8 +2110,8 @@ $text['description-tier_rules_apply']['de-ch'] = "Setzen Sie die Ebenen-Regel. R
|
|||
$text['description-tier_rules_apply']['de-de'] = "Setzen Sie die Ebenen-Regel. Regeln sind Ein oder Aus";
|
||||
$text['description-tier_rules_apply']['es-cl'] = "Defina las reglas de nivel como verdaero o falso.";
|
||||
$text['description-tier_rules_apply']['es-mx'] = "Defina las reglas de nivel como verdaero o falso."; //copied from es-cl
|
||||
$text['description-tier_rules_apply']['fr-ca'] = "Choisir l'activation de la règle du Niveau à oui ou non."; //copied from fr-fr
|
||||
$text['description-tier_rules_apply']['fr-fr'] = "Choisir l'activation de la règle du Niveau à oui ou non.";
|
||||
$text['description-tier_rules_apply']['fr-ca'] = "Définir l'activation de la règle du niveau à oui ou non.";
|
||||
$text['description-tier_rules_apply']['fr-fr'] = "Définir l'activation de la règle du niveau à oui ou non.";
|
||||
$text['description-tier_rules_apply']['he-il'] = "";
|
||||
$text['description-tier_rules_apply']['it-it'] = "Imposta a vero o falso se si vogliono applicare le regole di tier.";
|
||||
$text['description-tier_rules_apply']['nl-nl'] = "Kies de vergelijkingsregels, Regels staan aan of uit";
|
||||
|
|
@ -2109,8 +2152,8 @@ $text['description-tier_rule_wait_multiply_level']['de-ch'] = "Setzen Sie den Mu
|
|||
$text['description-tier_rule_wait_multiply_level']['de-de'] = "Setzen Sie den Multiplikator für die Ebenen-Regel Wartezeit auf Ein oder Aus.";
|
||||
$text['description-tier_rule_wait_multiply_level']['es-cl'] = "Ajuste el nidenvel de espera multiplicar regla de nivel de verdadero o falso.";
|
||||
$text['description-tier_rule_wait_multiply_level']['es-mx'] = "Ajuste el nidenvel de espera multiplicar regla de nivel de verdadero o falso."; //copied from es-cl
|
||||
$text['description-tier_rule_wait_multiply_level']['fr-ca'] = "Choisir la multiplication du temps d'attente par niveau à oui ou non."; //copied from fr-fr
|
||||
$text['description-tier_rule_wait_multiply_level']['fr-fr'] = "Choisir la multiplication du temps d'attente par niveau à oui ou non.";
|
||||
$text['description-tier_rule_wait_multiply_level']['fr-ca'] = "Définir la multiplication du temps d'attente par niveau à oui ou non.";
|
||||
$text['description-tier_rule_wait_multiply_level']['fr-fr'] = "Définir la multiplication du temps d'attente par niveau à oui ou non.";
|
||||
$text['description-tier_rule_wait_multiply_level']['he-il'] = "";
|
||||
$text['description-tier_rule_wait_multiply_level']['it-it'] = "Imposta a vero o falso il tempo attesa moltiplica livello come regola tier.";
|
||||
$text['description-tier_rule_wait_multiply_level']['nl-nl'] = "Kies vergelijkingsregel vemenigvuldiging aan of uit ";
|
||||
|
|
@ -2235,8 +2278,8 @@ $text['description-reject_delay_time']['de-ch'] = "Geben Sie die Verzögerung bi
|
|||
$text['description-reject_delay_time']['de-de'] = "Geben Sie die Verzögerung bis zur Zurückweisung an.";
|
||||
$text['description-reject_delay_time']['es-cl'] = "Introduzca el tiempo de espera de rechazo.";
|
||||
$text['description-reject_delay_time']['es-mx'] = "Introduzca el tiempo de espera de rechazo."; //copied from es-cl
|
||||
$text['description-reject_delay_time']['fr-ca'] = "Choisir le délais de rejet."; //copied from fr-fr
|
||||
$text['description-reject_delay_time']['fr-fr'] = "Choisir le délais de rejet.";
|
||||
$text['description-reject_delay_time']['fr-ca'] = "Choisir le délai avant de rejeter.";
|
||||
$text['description-reject_delay_time']['fr-fr'] = "Choisir le délai avant de rejeter.";
|
||||
$text['description-reject_delay_time']['he-il'] = "";
|
||||
$text['description-reject_delay_time']['it-it'] = "Inserire Tempo Ritardo Rifiuto.";
|
||||
$text['description-reject_delay_time']['nl-nl'] = "Kies afwijzingsvertragingstijd";
|
||||
|
|
@ -2319,8 +2362,8 @@ $text['description-no_answer_delay_time']['de-ch'] = "Geben Sie die Zeit in Seku
|
|||
$text['description-no_answer_delay_time']['de-de'] = "Geben Sie die Zeit in Sekunden an, die gewartet werden soll bis ein Agent annimmt.";
|
||||
$text['description-no_answer_delay_time']['es-cl'] = "Introduzca el tiempo de espera sin responder del agente en segundos.";
|
||||
$text['description-no_answer_delay_time']['es-mx'] = "Introduzca el tiempo de espera sin responder del agente en segundos."; //copied from es-cl
|
||||
$text['description-no_answer_delay_time']['fr-ca'] = "Choisir le delais de non réponse de l'agent."; //copied from fr-fr
|
||||
$text['description-no_answer_delay_time']['fr-fr'] = "Choisir le delais de non réponse de l'agent.";
|
||||
$text['description-no_answer_delay_time']['fr-ca'] = "Définir le délai maximum sans réponse de l'agent en secondes.";
|
||||
$text['description-no_answer_delay_time']['fr-fr'] = "Définir le délai maximum sans réponse de l'agent en secondes.";
|
||||
$text['description-no_answer_delay_time']['he-il'] = "";
|
||||
$text['description-no_answer_delay_time']['it-it'] = "Inserire il tempo ritardo agente non risponde in secondi.";
|
||||
$text['description-no_answer_delay_time']['nl-nl'] = "Voer de agent geen antwoord vertragingstijd in (seconden)";
|
||||
|
|
@ -2340,8 +2383,8 @@ $text['description-music_on_hold']['de-ch'] = "Wählen Sie die gewünschte Warte
|
|||
$text['description-music_on_hold']['de-de'] = "Wählen Sie die gewünschte Wartemusik.";
|
||||
$text['description-music_on_hold']['es-cl'] = "Seleccione una música de espera.";
|
||||
$text['description-music_on_hold']['es-mx'] = "Seleccione una música de espera."; //copied from es-cl
|
||||
$text['description-music_on_hold']['fr-ca'] = "Sélection de la musique en attente."; //copied from fr-fr
|
||||
$text['description-music_on_hold']['fr-fr'] = "Sélection de la musique en attente.";
|
||||
$text['description-music_on_hold']['fr-ca'] = "Sélection de la musique d'attente.";
|
||||
$text['description-music_on_hold']['fr-fr'] = "Sélection de la musique d'attente.";
|
||||
$text['description-music_on_hold']['he-il'] = "";
|
||||
$text['description-music_on_hold']['it-it'] = "Selezionare la musica di attesa desiderata.";
|
||||
$text['description-music_on_hold']['nl-nl'] = "Kies de gewenste wachtmuziek.";
|
||||
|
|
@ -2361,8 +2404,8 @@ $text['description-max_wait_time_with_no_agent_time_reached']['de-ch'] = "Geben
|
|||
$text['description-max_wait_time_with_no_agent_time_reached']['de-de'] = "Geben Sie die maximale Wartezeit in Sekunden an, die ohne Agent gewartet werden soll.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['es-cl'] = "Introduzca el tiempo máximo de espera sin agente alcanzado.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['es-mx'] = "Introduzca el tiempo máximo de espera sin agente alcanzado."; //copied from es-cl
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['fr-ca'] = " Entrez le temps d'attente maximum avec un rien de temps de l'agent atteint."; //copied from fr-fr
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['fr-fr'] = " Entrez le temps d'attente maximum avec un rien de temps de l'agent atteint.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['fr-ca'] = "Entrer le temps d'attente maximal atteint sans agent.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['fr-fr'] = "Entrer le temps d'attente maximal atteint sans agent.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['he-il'] = "";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['it-it'] = "Inserire Max Tempo Attesa Raggiungimento Tempo No Agenti.";
|
||||
$text['description-max_wait_time_with_no_agent_time_reached']['nl-nl'] = "Voer de maximale wachttijd voor 'geen agent' beschikbaar.";
|
||||
|
|
@ -2382,7 +2425,7 @@ $text['description-max_wait_time_with_no_agent']['de-ch'] = "Geben Sie die maxim
|
|||
$text['description-max_wait_time_with_no_agent']['de-de'] = "Geben Sie die maximale Wartezeit ohne Agent an.";
|
||||
$text['description-max_wait_time_with_no_agent']['es-cl'] = "Introduzca el tiempo máximo de espera sin agente.";
|
||||
$text['description-max_wait_time_with_no_agent']['es-mx'] = "Introduzca el tiempo máximo de espera sin agente."; //copied from es-cl
|
||||
$text['description-max_wait_time_with_no_agent']['fr-ca'] = "Entrer le temps max d'attente sans agent."; //copied from fr-fr
|
||||
$text['description-max_wait_time_with_no_agent']['fr-ca'] = "Entrer le temps maximal d'attente sans agent.";
|
||||
$text['description-max_wait_time_with_no_agent']['fr-fr'] = "Entrer le temps max d'attente sans agent.";
|
||||
$text['description-max_wait_time_with_no_agent']['he-il'] = "";
|
||||
$text['description-max_wait_time_with_no_agent']['it-it'] = "Inserire max tempo attesa senza agenti.";
|
||||
|
|
@ -2416,16 +2459,16 @@ $text['description-max_wait_time']['ru-ru'] = "Введите максималь
|
|||
$text['description-max_wait_time']['sv-se'] = "Ange max vänt-tid.";
|
||||
$text['description-max_wait_time']['uk-ua'] = "";
|
||||
|
||||
$text['description-max_no_answer']['en-us'] = "Enter max no answer.";
|
||||
$text['description-max_no_answer']['en-gb'] = "Enter max no answer.";
|
||||
$text['description-max_no_answer']['en-us'] = "At max no answer, the agent will be logged out.";
|
||||
$text['description-max_no_answer']['en-gb'] = "At max no answer, the agent will be logged out.";
|
||||
$text['description-max_no_answer']['ar-eg'] = "";
|
||||
$text['description-max_no_answer']['de-at'] = "Geben Sie Max keine Antwort an."; //copied from de-de
|
||||
$text['description-max_no_answer']['de-ch'] = "Geben Sie Max keine Antwort an."; //copied from de-de
|
||||
$text['description-max_no_answer']['de-de'] = "Geben Sie Max keine Antwort an.";
|
||||
$text['description-max_no_answer']['es-cl'] = "Introduza el máximo de no respuestas.";
|
||||
$text['description-max_no_answer']['es-mx'] = "Introduza el máximo de no respuestas."; //copied from es-cl
|
||||
$text['description-max_no_answer']['fr-ca'] = "Choisir le maximum pas de réponse."; //copied from fr-fr
|
||||
$text['description-max_no_answer']['fr-fr'] = "Choisir le maximum pas de réponse.";
|
||||
$text['description-max_no_answer']['es-cl'] = "Si no hay respuesta como máximo, se cerrará la sesión del agente.";
|
||||
$text['description-max_no_answer']['es-mx'] = "Si no hay respuesta como máximo, se cerrará la sesión del agente.";
|
||||
$text['description-max_no_answer']['fr-ca'] = "Au maximum sans réponse, l'agent sera déconnecté";
|
||||
$text['description-max_no_answer']['fr-fr'] = "Au maximum sans réponse, l'agent sera déconnecté";
|
||||
$text['description-max_no_answer']['he-il'] = "";
|
||||
$text['description-max_no_answer']['it-it'] = "Inserire max mancata risposta.";
|
||||
$text['description-max_no_answer']['nl-nl'] = "Voer maximale geen antwoord tijd in.";
|
||||
|
|
@ -2445,8 +2488,8 @@ $text['description-extension']['de-ch'] = "Geben Sie die Nebenstelle an."; //cop
|
|||
$text['description-extension']['de-de'] = "Geben Sie die Nebenstelle an.";
|
||||
$text['description-extension']['es-cl'] = "Introduzca el número de extensión.";
|
||||
$text['description-extension']['es-mx'] = "Introduzca el número de extensión."; //copied from es-cl
|
||||
$text['description-extension']['fr-ca'] = "Entrer un numéro d'extension"; //copied from fr-fr
|
||||
$text['description-extension']['fr-fr'] = "Entrer un numéro d'extension";
|
||||
$text['description-extension']['fr-ca'] = "Entrer un numéro de poste";
|
||||
$text['description-extension']['fr-fr'] = "Entrer un numéro de poste";
|
||||
$text['description-extension']['he-il'] = "";
|
||||
$text['description-extension']['it-it'] = "Inserire numero di interno.";
|
||||
$text['description-extension']['nl-nl'] = "Voer toestelnummer in.";
|
||||
|
|
@ -2466,8 +2509,8 @@ $text['description-discard_abandoned_after']['de-ch'] = "Setzen Sie die Zeit in
|
|||
$text['description-discard_abandoned_after']['de-de'] = "Setzen Sie die Zeit in Sekunden, nach der ein Anrufer nicht wieder in die Warteschlange eingereiht wird.";
|
||||
$text['description-discard_abandoned_after']['es-cl'] = "Defina la cantidad de segundos para el abandono de descarte.";
|
||||
$text['description-discard_abandoned_after']['es-mx'] = "Defina la cantidad de segundos para el abandono de descarte."; //copied from es-cl
|
||||
$text['description-discard_abandoned_after']['fr-ca'] = "Choisir d'écartrer les abandons après un nombre de secondes."; //copied from fr-fr
|
||||
$text['description-discard_abandoned_after']['fr-fr'] = "Choisir d'écartrer les abandons après un nombre de secondes.";
|
||||
$text['description-discard_abandoned_after']['fr-ca'] = "Définir le nombre de secondes avant écarter les appels abandonnés.";
|
||||
$text['description-discard_abandoned_after']['fr-fr'] = "Définir le nombre de secondes avant écarter les appels abandonnés.";
|
||||
$text['description-discard_abandoned_after']['he-il'] = "";
|
||||
$text['description-discard_abandoned_after']['it-it'] = "Imposta Scarta chi Abbandona Dopo secondi.";
|
||||
$text['description-discard_abandoned_after']['nl-nl'] = "Stel afwijzings tijd (seconden) in waarna de oproeper wer in de wachtrij gezet wordt.";
|
||||
|
|
@ -2611,10 +2654,10 @@ $text['description-caller_announce_sound']['ar-eg'] = "";
|
|||
$text['description-caller_announce_sound']['de-at'] = "Eine Datei, die regelmäßig dem Anrufer vorgespielt werden soll. Benötigt den kompletten Pfad zur wav Datei."; //copied from de-de
|
||||
$text['description-caller_announce_sound']['de-ch'] = "Eine Datei, die regelmäßig dem Anrufer vorgespielt werden soll. Benötigt den kompletten Pfad zur wav Datei."; //copied from de-de
|
||||
$text['description-caller_announce_sound']['de-de'] = "Eine Datei, die regelmäßig dem Anrufer vorgespielt werden soll. Benötigt den kompletten Pfad zur wav Datei.";
|
||||
$text['description-caller_announce_sound']['es-cl'] = " Translate from: English Un sonido jugar a un cada persona que llama anunciar segundos de sonido. Necesita la ruta completa al archivo wav.";
|
||||
$text['description-caller_announce_sound']['es-mx'] = " Translate from: English Un sonido jugar a un cada persona que llama anunciar segundos de sonido. Necesita la ruta completa al archivo wav."; //copied from es-cl
|
||||
$text['description-caller_announce_sound']['fr-ca'] = " Un son à jouer à un appelant chaque annoncer secondes sonores. Besoins le chemin complet vers le fichier wav."; //copied from fr-fr
|
||||
$text['description-caller_announce_sound']['fr-fr'] = " Un son à jouer à un appelant chaque annoncer secondes sonores. Besoins le chemin complet vers le fichier wav.";
|
||||
$text['description-caller_announce_sound']['es-cl'] = "Translate from: English Un sonido jugar a un cada persona que llama anunciar segundos de sonido. Necesita la ruta completa al archivo wav.";
|
||||
$text['description-caller_announce_sound']['es-mx'] = "Translate from: English Un sonido jugar a un cada persona que llama anunciar segundos de sonido. Necesita la ruta completa al archivo wav."; //copied from es-cl
|
||||
$text['description-caller_announce_sound']['fr-ca'] = "Un son à jouer à un appelant à chaque fréquence de son d'annonce. Nécessite le chemin complet du fichier wav.";
|
||||
$text['description-caller_announce_sound']['fr-fr'] = "Un son à jouer à un appelant à chaque fréquence de son d'annonce. Nécessite le chemin complet du fichier wav.";
|
||||
$text['description-caller_announce_sound']['he-il'] = "";
|
||||
$text['description-caller_announce_sound']['it-it'] = "Un audio da suonare al chiamante ogni intervallo in secondi per l'annuncio. E' necessario il percorso completo al file wav.";
|
||||
$text['description-caller_announce_sound']['nl-nl'] = "Stel geluid in de oproeper hoort om de aankondigings tijd(seconden), volledige pad naar de .wav file.";
|
||||
|
|
@ -2634,8 +2677,8 @@ $text['description-caller_announce_frequency']['de-ch'] = "Wie häufig soll der
|
|||
$text['description-caller_announce_frequency']['de-de'] = "Wie häufig soll der Anmeldeton abgespielt werden. Geben Sie eine Zahl in Sekunden an.";
|
||||
$text['description-caller_announce_frequency']['es-cl'] = "¿Con qué frecuencia deberíamos reproducir el sonido anunciar. Introduzca un número en segundos.";
|
||||
$text['description-caller_announce_frequency']['es-mx'] = "¿Con qué frecuencia deberíamos reproducir el sonido anunciar. Introduzca un número en segundos."; //copied from es-cl
|
||||
$text['description-caller_announce_frequency']['fr-ca'] = " Combien de fois devrions-nous jouer le son annonce. Entrez un nombre dans secondes."; //copied from fr-fr
|
||||
$text['description-caller_announce_frequency']['fr-fr'] = " Combien de fois devrions-nous jouer le son annonce. Entrez un nombre dans secondes.";
|
||||
$text['description-caller_announce_frequency']['fr-ca'] = "Fréquence auquel le son d'annonce joue. Entrer un nombre en secondes.";
|
||||
$text['description-caller_announce_frequency']['fr-fr'] = "Fréquence auquel le son d'annonce joue. Entrer un nombre en secondes.";
|
||||
$text['description-caller_announce_frequency']['he-il'] = "";
|
||||
$text['description-caller_announce_frequency']['it-it'] = "Quanto spesso deve essere suonato l'annuncio, in secondi.";
|
||||
$text['description-caller_announce_frequency']['nl-nl'] = "Hoe vaak wordt de annoncering afgespeeld";
|
||||
|
|
@ -2655,8 +2698,8 @@ $text['description-call_timeout']['de-ch'] = "Geben Sie den Wert für die Zeitü
|
|||
$text['description-call_timeout']['de-de'] = "Geben Sie den Wert für die Zeitüberschreitung an.";
|
||||
$text['description-call_timeout']['es-cl'] = "Introduzca el timeout de la llamada.";
|
||||
$text['description-call_timeout']['es-mx'] = "Introduzca el timeout de la llamada."; //copied from es-cl
|
||||
$text['description-call_timeout']['fr-ca'] = "Choisir le timeout de l'appel."; //copied from fr-fr
|
||||
$text['description-call_timeout']['fr-fr'] = "Choisir le timeout de l'appel.";
|
||||
$text['description-call_timeout']['fr-ca'] = "Définir le délai d'expiration de l'appel.";
|
||||
$text['description-call_timeout']['fr-fr'] = "Définir le délai d'expiration de l'appel";
|
||||
$text['description-call_timeout']['he-il'] = "";
|
||||
$text['description-call_timeout']['it-it'] = "Inserire timeout di chiamata.";
|
||||
$text['description-call_timeout']['nl-nl'] = "Voer oproep overscheidingstijd in.";
|
||||
|
|
@ -2739,8 +2782,8 @@ $text['description-busy_delay_time']['de-ch'] = "Geben Sie eine Wartezeit für d
|
|||
$text['description-busy_delay_time']['de-de'] = "Geben Sie eine Wartezeit für den Agenten an.";
|
||||
$text['description-busy_delay_time']['es-cl'] = "Introduzca el tiempo de espera de agente ocupado.";
|
||||
$text['description-busy_delay_time']['es-mx'] = "Introduzca el tiempo de espera de agente ocupado."; //copied from es-cl
|
||||
$text['description-busy_delay_time']['fr-ca'] = "Choisir le temps d'attente quand l'agent est occupé."; //copied from fr-fr
|
||||
$text['description-busy_delay_time']['fr-fr'] = "Choisir le temps d'attente quand l'agent est occupé.";
|
||||
$text['description-busy_delay_time']['fr-ca'] = "Choisir le délai d'attente lorsque l'agent est occupé.";
|
||||
$text['description-busy_delay_time']['fr-fr'] = "Choisir le délai d'attente lorsque l'agent est occupé.";
|
||||
$text['description-busy_delay_time']['he-il'] = "";
|
||||
$text['description-busy_delay_time']['it-it'] = "Inserire il tempo di ritardo su agente occupato.";
|
||||
$text['description-busy_delay_time']['nl-nl'] = "Voer de agent bezet wachttijd in";
|
||||
|
|
@ -2865,8 +2908,8 @@ $text['description-abandoned_resume_allowed']['de-ch'] = "Schalten Sie die Wider
|
|||
$text['description-abandoned_resume_allowed']['de-de'] = "Schalten Sie die Wideraufnahme von Anrufern in der Warteschlange Ein oder Aus.";
|
||||
$text['description-abandoned_resume_allowed']['es-cl'] = "Defina el permiso para permitir la continuación de abandono a verdadero o falso.";
|
||||
$text['description-abandoned_resume_allowed']['es-mx'] = "Defina el permiso para permitir la continuación de abandono a verdadero o falso."; //copied from es-cl
|
||||
$text['description-abandoned_resume_allowed']['fr-ca'] = "choisir l'autorisation de reprise d'abandon à oui ou non."; //copied from fr-fr
|
||||
$text['description-abandoned_resume_allowed']['fr-fr'] = "choisir l'autorisation de reprise d'abandon à oui ou non.";
|
||||
$text['description-abandoned_resume_allowed']['fr-ca'] = "Définir l'autorisation de reprise d'abandon à oui ou non.";
|
||||
$text['description-abandoned_resume_allowed']['fr-fr'] = "Définir l'autorisation de reprise d'abandon à oui ou non.";
|
||||
$text['description-abandoned_resume_allowed']['he-il'] = "";
|
||||
$text['description-abandoned_resume_allowed']['it-it'] = "Imposta a vero o falso il permesso di ripristinare chi ha abbandonato.";
|
||||
$text['description-abandoned_resume_allowed']['nl-nl'] = "Kies de afgebroken vervolgen toestaan aan of uit.";
|
||||
|
|
@ -2886,8 +2929,8 @@ $text['confirm-copy']['de-ch'] = "Wollen Sie das wirklich kopieren?"; //copied f
|
|||
$text['confirm-copy']['de-de'] = "Wollen Sie das wirklich kopieren?";
|
||||
$text['confirm-copy']['es-cl'] = "¿Realmente desea copiar esto?";
|
||||
$text['confirm-copy']['es-mx'] = "¿Realmente desea copiar esto?"; //copied from es-cl
|
||||
$text['confirm-copy']['fr-ca'] = "Voulez-vous vraiment copier cela?"; //copied from fr-fr
|
||||
$text['confirm-copy']['fr-fr'] = "Voulez-vous vraiment copier cela?";
|
||||
$text['confirm-copy']['fr-ca'] = "Voulez-vous vraiment créer une copie?";
|
||||
$text['confirm-copy']['fr-fr'] = "Voulez-vous vraiment créer une copie?";
|
||||
$text['confirm-copy']['he-il'] = "";
|
||||
$text['confirm-copy']['it-it'] = "Vuoi veramente farne una copia?";
|
||||
$text['confirm-copy']['nl-nl'] = "Wil je dit werkelijk overnemen?";
|
||||
|
|
@ -2907,8 +2950,8 @@ $text['button-update_status']['de-ch'] = "Status Aktualisieren"; //copied from d
|
|||
$text['button-update_status']['de-de'] = "Status Aktualisieren";
|
||||
$text['button-update_status']['es-cl'] = "Actualizar Estado";
|
||||
$text['button-update_status']['es-mx'] = "Actualizar Estado"; //copied from es-cl
|
||||
$text['button-update_status']['fr-ca'] = "Mis à jour état"; //copied from fr-fr
|
||||
$text['button-update_status']['fr-fr'] = "Mis à jour état";
|
||||
$text['button-update_status']['fr-ca'] = "Mettre à jour l'état";
|
||||
$text['button-update_status']['fr-fr'] = "Mettre à jour l'état";
|
||||
$text['button-update_status']['he-il'] = "";
|
||||
$text['button-update_status']['it-it'] = "Stato Aggiornato";
|
||||
$text['button-update_status']['nl-nl'] = "Bijwerk status";
|
||||
|
|
@ -2928,8 +2971,8 @@ $text['button-tiers']['de-ch'] = "Ebenen"; //copied from de-de
|
|||
$text['button-tiers']['de-de'] = "Ebenen";
|
||||
$text['button-tiers']['es-cl'] = "Niveles";
|
||||
$text['button-tiers']['es-mx'] = "Niveles"; //copied from es-cl
|
||||
$text['button-tiers']['fr-ca'] = "Tiers"; //copied from fr-fr
|
||||
$text['button-tiers']['fr-fr'] = "Tiers";
|
||||
$text['button-tiers']['fr-ca'] = "Niveaux";
|
||||
$text['button-tiers']['fr-fr'] = "Niveaux";
|
||||
$text['button-tiers']['he-il'] = "";
|
||||
$text['button-tiers']['it-it'] = "Tiers";
|
||||
$text['button-tiers']['nl-nl'] = "Vergelijkingen";
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@
|
|||
$agent_wrap_up_time = $_POST["agent_wrap_up_time"];
|
||||
$agent_reject_delay_time = $_POST["agent_reject_delay_time"];
|
||||
$agent_busy_delay_time = $_POST["agent_busy_delay_time"];
|
||||
$agent_record = $_POST["agent_record"];
|
||||
//$agent_logout = $_POST["agent_logout"];
|
||||
}
|
||||
|
||||
|
|
@ -174,6 +175,7 @@
|
|||
$array['call_center_agents'][0]['agent_wrap_up_time'] = $agent_wrap_up_time;
|
||||
$array['call_center_agents'][0]['agent_reject_delay_time'] = $agent_reject_delay_time;
|
||||
$array['call_center_agents'][0]['agent_busy_delay_time'] = $agent_busy_delay_time;
|
||||
$array['call_center_agents'][0]['agent_record'] = $agent_record;
|
||||
if (is_uuid($user_uuid)) {
|
||||
$array['users'][0]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$array['users'][0]['user_uuid'] = $user_uuid;
|
||||
|
|
@ -301,6 +303,7 @@
|
|||
$agent_wrap_up_time = $row["agent_wrap_up_time"];
|
||||
$agent_reject_delay_time = $row["agent_reject_delay_time"];
|
||||
$agent_busy_delay_time = $row["agent_busy_delay_time"];
|
||||
$agent_record = $row["agent_record"];
|
||||
//$agent_logout = $row["agent_logout"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
|
|
@ -579,6 +582,20 @@
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-record_template']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select class='formfld' name='agent_record'>\n";
|
||||
echo " <option value='true' ".($agent_record == "true" ? "selected='selected'" : '')." >".$text['option-true']."</option>\n";
|
||||
echo " <option value='false' ".($agent_record != "true" ? "selected='selected'" : '').">".$text['option-false']."</option>\n";
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-record_template']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
/*
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
|
|
|
|||
|
|
@ -119,6 +119,9 @@
|
|||
echo " <div class='heading'><b>".$text['header-call_center_agents']." (".$num_rows.")</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','link'=>'call_center_queues.php','style'=>'margin-right: 15px;']);
|
||||
if (permission_exists('call_center_imports')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'link'=>PROJECT_PATH.'/app/call_center_imports/call_center_imports.php?import_type=call_center_agents']);
|
||||
}
|
||||
if ($num_rows) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-status'],'icon'=>'user-clock','style'=>'margin-right: 15px;','link'=>'call_center_agent_status.php']);
|
||||
}
|
||||
|
|
@ -242,4 +245,4 @@
|
|||
//show the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@
|
|||
$queue_moh_sound = $_POST["queue_moh_sound"];
|
||||
$queue_record_template = $_POST["queue_record_template"];
|
||||
$queue_time_base_score = $_POST["queue_time_base_score"];
|
||||
$queue_time_base_score_sec = $_POST["queue_time_base_score_sec"];
|
||||
$queue_max_wait_time = $_POST["queue_max_wait_time"];
|
||||
$queue_max_wait_time_with_no_agent = $_POST["queue_max_wait_time_with_no_agent"];
|
||||
$queue_max_wait_time_with_no_agent_time_reached = $_POST["queue_max_wait_time_with_no_agent_time_reached"];
|
||||
|
|
@ -188,6 +189,7 @@
|
|||
//if (strlen($queue_moh_sound) == 0) { $msg .= $text['message-required'].$text['label-music_on_hold']."<br>\n"; }
|
||||
//if (strlen($queue_record_template) == 0) { $msg .= $text['message-required'].$text['label-record_template']."<br>\n"; }
|
||||
//if (strlen($queue_time_base_score) == 0) { $msg .= $text['message-required'].$text['label-time_base_score']."<br>\n"; }
|
||||
//if (strlen($queue_time_base_score_sec) == 0) { $msg .= $text['message-required'].$text['label-time_base_score_sec']."<br>\n"; }
|
||||
//if (strlen($queue_max_wait_time) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time']."<br>\n"; }
|
||||
//if (strlen($queue_max_wait_time_with_no_agent) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent']."<br>\n"; }
|
||||
//if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $msg .= $text['message-required'].$text['label-max_wait_time_with_no_agent_time_reached']."<br>\n"; }
|
||||
|
|
@ -269,6 +271,7 @@
|
|||
$array['call_center_queues'][0]['queue_moh_sound'] = $queue_moh_sound;
|
||||
$array['call_center_queues'][0]['queue_record_template'] = $queue_record_template;
|
||||
$array['call_center_queues'][0]['queue_time_base_score'] = $queue_time_base_score;
|
||||
$array['call_center_queues'][0]['queue_time_base_score_sec'] = $queue_time_base_score_sec;
|
||||
$array['call_center_queues'][0]['queue_max_wait_time'] = $queue_max_wait_time;
|
||||
$array['call_center_queues'][0]['queue_max_wait_time_with_no_agent'] = $queue_max_wait_time_with_no_agent;
|
||||
$array['call_center_queues'][0]['queue_max_wait_time_with_no_agent_time_reached'] = $queue_max_wait_time_with_no_agent_time_reached;
|
||||
|
|
@ -324,6 +327,9 @@
|
|||
$dialplan_xml .= " <condition field=\"destination_number\" expression=\"^".$queue_extension."$\">\n";
|
||||
$dialplan_xml .= " <action application=\"answer\" data=\"\"/>\n";
|
||||
$dialplan_xml .= " <action application=\"set\" data=\"hangup_after_bridge=true\"/>\n";
|
||||
if ($queue_time_base_score_sec != '') {
|
||||
$dialplan_xml .= " <action application=\"set\" data=\"cc_base_score=".$queue_time_base_score_sec."\"/>\n";
|
||||
}
|
||||
if ($queue_greeting_path != '') {
|
||||
$greeting_array = explode(':', $queue_greeting_path);
|
||||
if (count($greeting_array) == 1) {
|
||||
|
|
@ -481,6 +487,7 @@
|
|||
$queue_moh_sound = $row["queue_moh_sound"];
|
||||
$queue_record_template = $row["queue_record_template"];
|
||||
$queue_time_base_score = $row["queue_time_base_score"];
|
||||
$queue_time_base_score_sec = $row["queue_time_base_score_sec"];
|
||||
$queue_max_wait_time = $row["queue_max_wait_time"];
|
||||
$queue_max_wait_time_with_no_agent = $row["queue_max_wait_time_with_no_agent"];
|
||||
$queue_max_wait_time_with_no_agent_time_reached = $row["queue_max_wait_time_with_no_agent_time_reached"];
|
||||
|
|
@ -551,6 +558,7 @@
|
|||
if (strlen($queue_strategy) == 0) { $queue_strategy = "longest-idle-agent"; }
|
||||
if (strlen($queue_moh_sound) == 0) { $queue_moh_sound = "\$\${hold_music}"; }
|
||||
if (strlen($queue_time_base_score) == 0) { $queue_time_base_score = "system"; }
|
||||
if (strlen($queue_time_base_score) == 0) { $queue_time_base_score = ""; }
|
||||
if (strlen($queue_max_wait_time) == 0) { $queue_max_wait_time = "0"; }
|
||||
if (strlen($queue_max_wait_time_with_no_agent) == 0) { $queue_max_wait_time_with_no_agent = "90"; }
|
||||
if (strlen($queue_max_wait_time_with_no_agent_time_reached) == 0) { $queue_max_wait_time_with_no_agent_time_reached = "30"; }
|
||||
|
|
@ -897,6 +905,17 @@
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-time_base_score_sec']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='number' name='queue_time_base_score_sec' maxlength='255' min='0' step='1' value='".escape($queue_time_base_score_sec)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-time_base_score_sec']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-max_wait_time']."\n";
|
||||
|
|
|
|||
|
|
@ -124,6 +124,9 @@
|
|||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['header-call_center_queues']." (".$num_rows.")</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
if (permission_exists('call_center_imports')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-import'],'icon'=>$_SESSION['theme']['button_icon_import'],'link'=>PROJECT_PATH.'/app/call_center_imports/call_center_imports.php?import_type=call_center_queues']);
|
||||
}
|
||||
if (permission_exists('call_center_agent_view')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-agents'],'icon'=>'users','link'=>'call_center_agents.php']);
|
||||
}
|
||||
|
|
@ -182,6 +185,7 @@
|
|||
//echo th_order_by('queue_moh_sound', $text['label-music_on_hold'], $order_by, $order);
|
||||
//echo th_order_by('queue_record_template', $text['label-record_template'], $order_by, $order);
|
||||
//echo th_order_by('queue_time_base_score', $text['label-time_base_score'], $order_by, $order);
|
||||
//echo th_order_by('queue_time_base_score_sec', $text['label-time_base_score_sec'], $order_by, $order);
|
||||
//echo th_order_by('queue_max_wait_time', $text['label-max_wait_time'], $order_by, $order);
|
||||
//echo th_order_by('queue_max_wait_time_with_no_agent', $text['label-max_wait_time_with_no_agent'], $order_by, $order);
|
||||
echo th_order_by('queue_tier_rules_apply', $text['label-tier_rules_apply'], $order_by, $order);
|
||||
|
|
@ -222,6 +226,7 @@
|
|||
//echo " <td>".escape($row[queue_moh_sound])." </td>\n";
|
||||
//echo " <td>".escape($row[queue_record_template])." </td>\n";
|
||||
//echo " <td>".escape($row[queue_time_base_score])." </td>\n";
|
||||
//echo " <td>".escape($row[queue_time_base_score_sec])." </td>\n";
|
||||
//echo " <td>".escape($row[queue_max_wait_time])." </td>\n";
|
||||
//echo " <td>".escape($row[queue_max_wait_time_with_no_agent])." </td>\n";
|
||||
echo " <td>".ucwords(escape($row['queue_tier_rules_apply']))."</td>\n";
|
||||
|
|
@ -253,4 +258,4 @@
|
|||
//show the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -346,6 +346,17 @@
|
|||
//delete the checked rows
|
||||
if (is_array($array) && @sizeof($array) != 0) {
|
||||
|
||||
//setup the event socket connection
|
||||
$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);
|
||||
|
||||
//delete the queue in the switch
|
||||
if ($fp) {
|
||||
foreach ($uuids as $uuid) {
|
||||
$cmd = "api callcenter_config queue unload ".$uuid;
|
||||
$response = event_socket_request($fp, $cmd);
|
||||
}
|
||||
}
|
||||
|
||||
//grant temporary permissions
|
||||
$p = new permissions;
|
||||
$p->add('call_center_tier_delete', 'temp');
|
||||
|
|
@ -422,7 +433,7 @@
|
|||
|
||||
//build the delete array
|
||||
if (is_array($uuids) && @sizeof($uuids) != 0) {
|
||||
foreach ($uuids as $uuid) {
|
||||
foreach ($uuids as $x => $uuid) {
|
||||
$array[$this->table][$x][$this->uuid_prefix.'uuid'] = $uuid;
|
||||
$array[$this->table][$x]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$array['call_center_tiers'][$x]['call_center_agent_uuid'] = $uuid;
|
||||
|
|
|
|||
|
|
@ -51,8 +51,6 @@
|
|||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "call_forward_all";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "call_forward_caller_id";
|
||||
|
||||
//default settings
|
||||
$y=0;
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@
|
|||
$forward_user_not_registered_destination = $row["forward_user_not_registered_destination"];
|
||||
$forward_user_not_registered_enabled = $row["forward_user_not_registered_enabled"];
|
||||
$follow_me_uuid = $row["follow_me_uuid"];
|
||||
$forward_caller_id_uuid = $row["forward_caller_id_uuid"];
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
|
|
@ -123,11 +122,9 @@
|
|||
$forward_user_not_registered_enabled = $_POST["forward_user_not_registered_enabled"];
|
||||
$forward_user_not_registered_destination = $_POST["forward_user_not_registered_destination"];
|
||||
|
||||
$forward_caller_id_uuid = $_POST["forward_caller_id_uuid"];
|
||||
$cid_name_prefix = $_POST["cid_name_prefix"];
|
||||
$cid_number_prefix = $_POST["cid_number_prefix"];
|
||||
$follow_me_enabled = $_POST["follow_me_enabled"];
|
||||
$follow_me_caller_id_uuid = $_POST["follow_me_caller_id_uuid"];
|
||||
$follow_me_ignore_busy = $_POST["follow_me_ignore_busy"];
|
||||
|
||||
$n = 0;
|
||||
|
|
@ -194,7 +191,6 @@
|
|||
$array['extensions'][0]['forward_no_answer_destination'] = $forward_no_answer_destination;
|
||||
$array['extensions'][0]['forward_user_not_registered_enabled'] = $forward_user_not_registered_enabled;
|
||||
$array['extensions'][0]['forward_user_not_registered_destination'] = $forward_user_not_registered_destination;
|
||||
$array['extensions'][0]['forward_caller_id_uuid'] = $forward_caller_id_uuid;
|
||||
}
|
||||
|
||||
//do not disturb (dnd) config
|
||||
|
|
@ -226,7 +222,6 @@
|
|||
$array['follow_me'][0]['follow_me_uuid'] = $follow_me_uuid;
|
||||
$array['follow_me'][0]['cid_name_prefix'] = $cid_name_prefix;
|
||||
$array['follow_me'][0]['cid_number_prefix'] = $cid_number_prefix;
|
||||
$array['follow_me'][0]['follow_me_caller_id_uuid'] = $follow_me_caller_id_uuid;
|
||||
$array['follow_me'][0]['follow_me_ignore_busy'] = $follow_me_ignore_busy;
|
||||
if ($destination_found) {
|
||||
$array['follow_me'][0]['follow_me_enabled'] = $follow_me_enabled;
|
||||
|
|
@ -297,7 +292,6 @@
|
|||
$call_forward->extension_uuid = $extension_uuid;
|
||||
$call_forward->forward_all_destination = $forward_all_destination;
|
||||
$call_forward->forward_all_enabled = $forward_all_enabled;
|
||||
$call_forward->forward_caller_id_uuid = $forward_caller_id_uuid;
|
||||
}
|
||||
|
||||
//do not disturb (dnd) config
|
||||
|
|
@ -328,7 +322,6 @@
|
|||
$follow_me->extension_uuid = $extension_uuid;
|
||||
$follow_me->follow_me_uuid = $follow_me_uuid;
|
||||
$follow_me->follow_me_ignore_busy = $follow_me_ignore_busy;
|
||||
$follow_me->follow_me_caller_id_uuid = $follow_me_caller_id_uuid;
|
||||
$follow_me->follow_me_enabled = $follow_me_enabled;
|
||||
$follow_me->set();
|
||||
unset($follow_me);
|
||||
|
|
@ -431,7 +424,6 @@
|
|||
$cid_name_prefix = $row["cid_name_prefix"];
|
||||
$cid_number_prefix = $row["cid_number_prefix"];
|
||||
$follow_me_enabled = $row["follow_me_enabled"];
|
||||
$follow_me_caller_id_uuid = $row["follow_me_caller_id_uuid"];
|
||||
$follow_me_ignore_busy = $row["follow_me_ignore_busy"];
|
||||
unset($row);
|
||||
|
||||
|
|
@ -582,43 +574,6 @@
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
if (permission_exists('call_forward_caller_id')) {
|
||||
$sql = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name ";
|
||||
$sql .= "from v_destinations ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
$sql .= "and destination_type = 'inbound' ";
|
||||
$sql .= "order by destination_number asc ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
$result = $database->select($sql, $parameters, 'all');
|
||||
if (is_array($result) && sizeof($result) != 0) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>";
|
||||
echo $text['label-cid-number'];
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select name='forward_caller_id_uuid' id='forward_caller_id_uuid' class='formfld' >\n";
|
||||
echo " <option value=''></option>\n";
|
||||
foreach ($result as &$row) {
|
||||
$selected = $row["destination_uuid"] == $forward_caller_id_uuid ? "selected='selected' " : '';
|
||||
$caller_id_number = $row['destination_caller_id_number'];
|
||||
if(strlen($caller_id_number) == 0){
|
||||
$caller_id_number = $row['destination_number'];
|
||||
}
|
||||
$caller_id_name = $row['destination_caller_id_name'];
|
||||
if(strlen($caller_id_name) == 0){
|
||||
$caller_id_name = $row['destination_description'];
|
||||
}
|
||||
echo " <option value='".escape($row["destination_uuid"])."' ".$selected.">".format_phone(escape($caller_id_number))." : ".escape($caller_id_name)."</option>\n";
|
||||
}
|
||||
echo " </select><br />\n";
|
||||
echo $text['description-cid-number']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
unset($sql, $parameters, $result, $row);
|
||||
}
|
||||
|
||||
echo "<tr><td colspan='2'><br /></td></tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
|
|
@ -628,9 +583,6 @@
|
|||
echo "<td class='vtable' align='left'>\n";
|
||||
$on_click = "document.getElementById('forward_all_disabled').checked=true; ";
|
||||
$on_click .= "document.getElementById('dnd_disabled').checked=true; ";
|
||||
if (permission_exists('follow_me_caller_id')) {
|
||||
$on_click .= "document.getElementById('follow_me_caller_id_uuid').focus(); ";
|
||||
}
|
||||
echo " <label for='follow_me_disabled'><input type='radio' name='follow_me_enabled' id='follow_me_disabled' onclick=\"$('#tr_follow_me_settings').slideUp('fast');\" value='false' ".(($follow_me_enabled == "false" || $follow_me_enabled == "") ? "checked='checked'" : null)." /> ".$text['label-disabled']."</label> \n";
|
||||
echo " <label for='follow_me_enabled'><input type='radio' name='follow_me_enabled' id='follow_me_enabled' onclick=\"$('#tr_follow_me_settings').slideDown('fast'); $on_click\" value='true' ".(($follow_me_enabled == "true") ? "checked='checked'" : null)."/> ".$text['label-enabled']."</label> \n";
|
||||
unset($on_click);
|
||||
|
|
@ -699,45 +651,6 @@
|
|||
echo " </tr>\n";
|
||||
}
|
||||
|
||||
if (permission_exists('follow_me_caller_id')) {
|
||||
$sql = "select destination_uuid, destination_number, destination_description, destination_caller_id_number, destination_caller_id_name ";
|
||||
$sql .= "from v_destinations ";
|
||||
$sql .= "where domain_uuid = :domain_uuid ";
|
||||
$sql .= "and destination_type = 'inbound' ";
|
||||
$sql .= "order by destination_number asc ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
$result = $database->select($sql, $parameters, 'all');
|
||||
if (is_array($result) && sizeof($result) != 0) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>";
|
||||
echo $text['label-cid-number'];
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <select name='follow_me_caller_id_uuid' id='follow_me_caller_id_uuid' class='formfld' >\n";
|
||||
echo " <option value=''></option>\n";
|
||||
foreach ($result as &$row) {
|
||||
$selected = $row["destination_uuid"] == $follow_me_caller_id_uuid ? "selected='selected'" : null;
|
||||
|
||||
$caller_id_number = $row['destination_caller_id_number'];
|
||||
if(strlen($caller_id_number) == 0){
|
||||
$caller_id_number = $row['destination_number'];
|
||||
}
|
||||
$caller_id_name = $row['destination_caller_id_name'];
|
||||
if(strlen($caller_id_name) == 0){
|
||||
$caller_id_name = $row['destination_description'];
|
||||
}
|
||||
|
||||
echo " <option value='".escape($row["destination_uuid"])."' ".$selected.">".format_phone(escape($caller_id_number))." : ".escape($caller_id_name)."</option>\n";
|
||||
}
|
||||
echo " </select><br />\n";
|
||||
echo $text['description-cid-number']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
unset($sql, $parameters, $result, $row);
|
||||
}
|
||||
|
||||
if (permission_exists('follow_me_cid_name_prefix')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ include "root.php";
|
|||
private $dial_string;
|
||||
private $toll_allow;
|
||||
public $accountcode;
|
||||
public $forward_caller_id_uuid;
|
||||
public $outbound_caller_id_name;
|
||||
public $outbound_caller_id_number;
|
||||
|
||||
|
|
@ -280,4 +279,4 @@ include "root.php";
|
|||
|
||||
}// class
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ include "root.php";
|
|||
public $cid_number_prefix;
|
||||
public $accountcode;
|
||||
public $follow_me_enabled;
|
||||
public $follow_me_caller_id_uuid;
|
||||
public $follow_me_ignore_busy;
|
||||
public $outbound_caller_id_name;
|
||||
public $outbound_caller_id_number;
|
||||
|
|
@ -89,7 +88,7 @@ include "root.php";
|
|||
if (strlen($this->cid_number_prefix) > 0) {
|
||||
$array['follow_me'][0]['cid_number_prefix'] = $this->cid_number_prefix;
|
||||
}
|
||||
$array['follow_me'][0]['follow_me_caller_id_uuid'] = is_uuid($this->follow_me_caller_id_uuid) ? $this->follow_me_caller_id_uuid : null;
|
||||
|
||||
$array['follow_me'][0]['follow_me_enabled'] = $this->follow_me_enabled;
|
||||
$array['follow_me'][0]['follow_me_ignore_busy'] = $this->follow_me_ignore_busy;
|
||||
//grant temporary permissions
|
||||
|
|
@ -114,7 +113,6 @@ include "root.php";
|
|||
$array['follow_me'][0]['follow_me_uuid'] = $this->follow_me_uuid;
|
||||
$array['follow_me'][0]['cid_name_prefix'] = $this->cid_name_prefix;
|
||||
$array['follow_me'][0]['cid_number_prefix'] = $this->cid_number_prefix;
|
||||
$array['follow_me'][0]['follow_me_caller_id_uuid'] = is_uuid($this->follow_me_caller_id_uuid) ? $this->follow_me_caller_id_uuid : null;
|
||||
$array['follow_me'][0]['follow_me_enabled'] = $this->follow_me_enabled;
|
||||
$array['follow_me'][0]['follow_me_ignore_busy'] = $this->follow_me_ignore_busy;
|
||||
//grant temporary permissions
|
||||
|
|
@ -459,4 +457,4 @@ include "root.php";
|
|||
|
||||
} //class
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -450,8 +450,8 @@ $text['desc-ringback']['de-ch'] = "Geben Sie an, was Sie hören möchten, währe
|
|||
$text['desc-ringback']['de-de'] = "Geben Sie an, was Sie hören möchten, während die Verbindung aufgebaut wird. Zur Auswahl stehen musik (Wartemusik) oder Rufton";
|
||||
$text['desc-ringback']['es-cl'] = "Defina qué desea escuchar mientras se llama al destinatario. Las opciones son música (música en espera) o tono de marcado";
|
||||
$text['desc-ringback']['es-mx'] = "Defina qué desea escuchar mientras se llama al destinatario. Las opciones son música (música en espera) o tono de marcado"; //copied from es-cl
|
||||
$text['desc-ringback']['fr-ca'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique de garde) sonnerie."; //copied from fr-fr
|
||||
$text['desc-ringback']['fr-fr'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique de garde) sonnerie.";
|
||||
$text['desc-ringback']['fr-ca'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique d'attente) sonnerie."; //copied from fr-fr
|
||||
$text['desc-ringback']['fr-fr'] = "Défini ce vous entendrez pendant que la destination sera appelée. Les choix sont musique (musique d'attente) sonnerie.";
|
||||
$text['desc-ringback']['he-il'] = "";
|
||||
$text['desc-ringback']['it-it'] = "Definisce cosa sentirai mentre il destinatario è chiamato. Le scelte sono musica (music on hold) o tono (ring tone).";
|
||||
$text['desc-ringback']['nl-nl'] = "Kies wachtmuziek terwijl de bestemming gebeld wordt. De keuze is wachtmuziek of beltoon.";
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
/* $Id$ */
|
||||
/*
|
||||
click_to_call.php
|
||||
Copyright (C) 2008, 2018 Mark J Crane
|
||||
Copyright (C) 2008, 2021 Mark J Crane
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -209,7 +209,7 @@
|
|||
else {
|
||||
//display the last command
|
||||
$switch_cmd = "api originate ".$source.$switch_cmd;
|
||||
echo "<div align='center'>".$switch_cmd."<br /><br /><strong>".$src." has called ".$dest."</strong></div>\n";
|
||||
echo "<div align='center'><strong>".escape($src)." has called ".escape($dest)."</strong></div>\n";
|
||||
//show the command result
|
||||
$result = trim(event_socket_request($fp, $switch_cmd));
|
||||
if (substr($result, 0,3) == "+OK") {
|
||||
|
|
@ -218,11 +218,13 @@
|
|||
//use the server's time zone to ensure it matches the time zone used by freeswitch
|
||||
date_default_timezone_set($_SESSION['time_zone']['system']);
|
||||
//create the api record command and send it over event socket
|
||||
$switch_cmd = "api uuid_record ".$origination_uuid." start ".$record_path."/".$record_name;
|
||||
if (is_uuid($origination_uuid) && file_exists($record_path)) {
|
||||
$switch_cmd = "api uuid_record ".$origination_uuid." start ".$record_path."/".$record_name;
|
||||
}
|
||||
$result2 = trim(event_socket_request($fp, $switch_cmd));
|
||||
}
|
||||
}
|
||||
echo "<div align='center'><br />".$result."<br /><br /></div>\n";
|
||||
echo "<div align='center'><br />".escape($result)."<br /><br /></div>\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -291,7 +293,7 @@
|
|||
echo "<tr>\n";
|
||||
echo " <td class='vncellreq'>".$text['label-src-num']."</td>\n";
|
||||
echo " <td class='vtable' align='left'>\n";
|
||||
echo " <input name=\"src\" value='$src' class='formfld'>\n";
|
||||
echo " <input name=\"src\" value='".escape($src)."' class='formfld'>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['desc-src-num']."\n";
|
||||
echo " </td>\n";
|
||||
|
|
@ -300,7 +302,7 @@
|
|||
echo "<tr>\n";
|
||||
echo " <td class='vncellreq'>".$text['label-dest-num']."</td>\n";
|
||||
echo " <td class='vtable' align='left'>\n";
|
||||
echo " <input name=\"dest\" value='$dest' class='formfld'>\n";
|
||||
echo " <input name=\"dest\" value='".escape($dest)."' class='formfld'>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['desc-dest-num']."\n";
|
||||
echo " </td>\n";
|
||||
|
|
|
|||
|
|
@ -319,6 +319,10 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Enter the alternate data.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_order";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Set the destination order.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "destination_enabled";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
|
|
|||
|
|
@ -723,8 +723,8 @@ $text['label-destination_hold_music']['de-ch'] = "Wartemusik"; //copied from de-
|
|||
$text['label-destination_hold_music']['de-de'] = "Wartemusik";
|
||||
$text['label-destination_hold_music']['es-cl'] = "Música en Espera";
|
||||
$text['label-destination_hold_music']['es-mx'] = "Música en Espera"; //copied from es-cl
|
||||
$text['label-destination_hold_music']['fr-ca'] = "Musique de Garde"; //copied from fr-fr
|
||||
$text['label-destination_hold_music']['fr-fr'] = "Musique de Garde";
|
||||
$text['label-destination_hold_music']['fr-ca'] = "Musique d'attente"; //copied from fr-fr
|
||||
$text['label-destination_hold_music']['fr-fr'] = "Musique d'attente";
|
||||
$text['label-destination_hold_music']['he-il'] = "מוסיקה בהמתנה";
|
||||
$text['label-destination_hold_music']['it-it'] = "Musica di Attesa";
|
||||
$text['label-destination_hold_music']['nl-nl'] = "Wachtmuziek";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2020
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -95,6 +95,7 @@
|
|||
$destination_cid_name_prefix = trim($_POST["destination_cid_name_prefix"]);
|
||||
$destination_context = trim($_POST["destination_context"]);
|
||||
$fax_uuid = trim($_POST["fax_uuid"]);
|
||||
$destination_order= trim($_POST["destination_order"]);
|
||||
$destination_enabled = trim($_POST["destination_enabled"]);
|
||||
$destination_description = trim($_POST["destination_description"]);
|
||||
$destination_sell = check_float($_POST["destination_sell"]);
|
||||
|
|
@ -196,12 +197,12 @@
|
|||
|
||||
//array cleanup
|
||||
if (is_array($dialplan_details)) {
|
||||
foreach ($dialplan_details as $index => $row) {
|
||||
//unset the empty row
|
||||
if (strlen($row["dialplan_detail_data"]) == 0) {
|
||||
unset($dialplan_details[$index]);
|
||||
}
|
||||
foreach ($dialplan_details as $index => $row) {
|
||||
//unset the empty row
|
||||
if (strlen($row["dialplan_detail_data"]) == 0) {
|
||||
unset($dialplan_details[$index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//get the fax information
|
||||
|
|
@ -296,7 +297,7 @@
|
|||
$dialplan["dialplan_number"] = $destination_area_code.$destination_number;
|
||||
$dialplan["dialplan_context"] = $destination_context;
|
||||
$dialplan["dialplan_continue"] = "false";
|
||||
$dialplan["dialplan_order"] = "100";
|
||||
$dialplan["dialplan_order"] = $destination_order;
|
||||
$dialplan["dialplan_enabled"] = $destination_enabled;
|
||||
$dialplan["dialplan_description"] = ($dialplan_description != '') ? $dialplan_description : $destination_description;
|
||||
$dialplan_detail_order = 10;
|
||||
|
|
@ -683,8 +684,10 @@
|
|||
$array['destinations'][0]["destination_alternate_app"] = $destination_alternate_app;
|
||||
$array['destinations'][0]["destination_alternate_data"] = $destination_alternate_data;
|
||||
}
|
||||
$array['destinations'][0]["destination_order"] = $destination_order;
|
||||
$array['destinations'][0]["destination_enabled"] = $destination_enabled;
|
||||
$array['destinations'][0]["destination_description"] = $destination_description;
|
||||
|
||||
//prepare the array
|
||||
$array['dialplans'][] = $dialplan;
|
||||
unset($dialplan);
|
||||
|
|
@ -803,13 +806,14 @@
|
|||
$destination_alternate_app = $row["destination_alternate_app"];
|
||||
$destination_alternate_data = $row["destination_alternate_data"];
|
||||
$fax_uuid = $row["fax_uuid"];
|
||||
$destination_enabled = $row["destination_enabled"];
|
||||
$destination_description = $row["destination_description"];
|
||||
$currency = $row["currency"];
|
||||
$destination_sell = $row["destination_sell"];
|
||||
$destination_buy = $row["destination_buy"];
|
||||
$currency_buy = $row["currency_buy"];
|
||||
$destination_carrier = $row["destination_carrier"];
|
||||
$destination_order = $row["destination_order"];
|
||||
$destination_enabled = $row["destination_enabled"];
|
||||
$destination_description = $row["destination_description"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
}
|
||||
|
|
@ -865,6 +869,7 @@
|
|||
}
|
||||
|
||||
//set the defaults
|
||||
if (strlen($destination_order) == 0) { $destination_order = '100'; }
|
||||
if (strlen($destination_type) == 0) { $destination_type = 'inbound'; }
|
||||
if (strlen($destination_context) == 0) { $destination_context = 'public'; }
|
||||
if ($destination_type =="outbound") { $destination_context = $_SESSION['domain_name']; }
|
||||
|
|
@ -1285,6 +1290,31 @@
|
|||
echo "<input type='hidden' name='domain_uuid' value='".escape($domain_uuid)."'>\n";
|
||||
}
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td class='vncellreq' valign='top' align='left' nowrap='nowrap' width='30%'>\n";
|
||||
echo " ".$text['label-order']."\n";
|
||||
echo " </td>\n";
|
||||
echo " <td class='vtable' align='left' width='70%'>\n";
|
||||
echo " <select name='destination_order' class='formfld'>\n";
|
||||
$i=0;
|
||||
while($i<=999) {
|
||||
$selected = ($i == $destination_order) ? "selected" : null;
|
||||
if (strlen($i) == 1) {
|
||||
echo " <option value='00$i' ".$selected.">00$i</option>\n";
|
||||
}
|
||||
if (strlen($i) == 2) {
|
||||
echo " <option value='0$i' ".$selected.">0$i</option>\n";
|
||||
}
|
||||
if (strlen($i) == 3) {
|
||||
echo " <option value='$i' ".$selected.">$i</option>\n";
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-destination_enabled']."\n";
|
||||
|
|
|
|||
|
|
@ -110,22 +110,6 @@
|
|||
|
||||
//add the search term
|
||||
$search = strtolower($_GET["search"]);
|
||||
if (strlen($search) > 0) {
|
||||
$sql_search = "and (";
|
||||
$sql_search .= "lower(destination_type) like :search ";
|
||||
$sql_search .= "or lower(destination_number) like :search ";
|
||||
$sql_search .= "or lower(destination_context) like :search ";
|
||||
$sql_search .= "or lower(destination_accountcode) like :search ";
|
||||
if (permission_exists('outbound_caller_id_select')) {
|
||||
$sql_search .= "or lower(destination_caller_id_name) like :search ";
|
||||
$sql_search .= "or destination_caller_id_number like :search ";
|
||||
}
|
||||
$sql_search .= "or lower(destination_enabled) like :search ";
|
||||
$sql_search .= "or lower(destination_description) like :search ";
|
||||
$sql_search .= "or lower(destination_data) like :search ";
|
||||
$sql_search .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
|
||||
//prepare to page the results
|
||||
$sql = "select count(*) from v_destinations ";
|
||||
|
|
@ -134,7 +118,22 @@
|
|||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
$sql .= $sql_search;
|
||||
if (strlen($search) > 0) {
|
||||
$sql .= "and (";
|
||||
$sql .= "lower(destination_type) like :search ";
|
||||
$sql .= "or lower(destination_number) like :search ";
|
||||
$sql .= "or lower(destination_context) like :search ";
|
||||
$sql .= "or lower(destination_accountcode) like :search ";
|
||||
if (permission_exists('outbound_caller_id_select')) {
|
||||
$sql .= "or lower(destination_caller_id_name) like :search ";
|
||||
$sql .= "or destination_caller_id_number like :search ";
|
||||
}
|
||||
$sql .= "or lower(destination_enabled) like :search ";
|
||||
$sql .= "or lower(destination_description) like :search ";
|
||||
$sql .= "or lower(destination_data) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
$parameters['destination_type'] = $destination_type;
|
||||
$database = new database;
|
||||
$num_rows = $database->select($sql, $parameters, 'column');
|
||||
|
|
@ -152,8 +151,29 @@
|
|||
$offset = $rows_per_page * $page;
|
||||
|
||||
//get the list
|
||||
$sql = str_replace('count(*)', '*', $sql);
|
||||
$sql .= order_by($order_by, $order, 'destination_number', 'asc');
|
||||
$sql = "select * from v_destinations ";
|
||||
$sql .= "where destination_type = :destination_type ";
|
||||
if ($_GET['show'] != "all" || !permission_exists('destination_all')) {
|
||||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
if (strlen($search) > 0) {
|
||||
$sql .= "and (";
|
||||
$sql .= "lower(destination_type) like :search ";
|
||||
$sql .= "or lower(destination_number) like :search ";
|
||||
$sql .= "or lower(destination_context) like :search ";
|
||||
$sql .= "or lower(destination_accountcode) like :search ";
|
||||
if (permission_exists('outbound_caller_id_select')) {
|
||||
$sql .= "or lower(destination_caller_id_name) like :search ";
|
||||
$sql .= "or destination_caller_id_number like :search ";
|
||||
}
|
||||
$sql .= "or lower(destination_enabled) like :search ";
|
||||
$sql .= "or lower(destination_description) like :search ";
|
||||
$sql .= "or lower(destination_data) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
$sql .= order_by($order_by, $order, 'destination_number, destination_order ', 'asc');
|
||||
$sql .= limit_offset($rows_per_page, $offset);
|
||||
$database = new database;
|
||||
$destinations = $database->select($sql, $parameters, 'all');
|
||||
|
|
|
|||
|
|
@ -1650,8 +1650,8 @@ $text['label-keys']['de-ch'] = "Tasten"; //copied from de-de
|
|||
$text['label-keys']['de-de'] = "Tasten";
|
||||
$text['label-keys']['es-cl'] = "Claves";
|
||||
$text['label-keys']['es-mx'] = "Claves"; //copied from es-cl
|
||||
$text['label-keys']['fr-ca'] = "Clés"; //copied from fr-fr
|
||||
$text['label-keys']['fr-fr'] = "Clés";
|
||||
$text['label-keys']['fr-ca'] = "Touches"; //copied from fr-fr
|
||||
$text['label-keys']['fr-fr'] = "Touches";
|
||||
$text['label-keys']['he-il'] = "";
|
||||
$text['label-keys']['it-it'] = "Tasti";
|
||||
$text['label-keys']['nl-nl'] = "Toetsen";
|
||||
|
|
|
|||
|
|
@ -291,6 +291,12 @@
|
|||
$result[$key] = preg_replace('{\D}', '', $result[$key]);
|
||||
}
|
||||
|
||||
//normalize the MAC address
|
||||
if ($field_name == "device_mac_address") {
|
||||
$result[$key] = strtolower($result[$key]);
|
||||
$result[$key] = preg_replace('#[^a-fA-F0-9./]#', '', $result[$key]);
|
||||
}
|
||||
|
||||
//build the data array
|
||||
if (strlen($table_name) > 0) {
|
||||
if (strlen($parent) == 0) {
|
||||
|
|
|
|||
|
|
@ -92,8 +92,11 @@
|
|||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
//clear the cache
|
||||
//clear the cache
|
||||
$cache = new cache;
|
||||
if ($dialplan_context == "\${domain_name}" or $dialplan_context == "global") {
|
||||
$dialplan_context = "*";
|
||||
}
|
||||
$cache->delete("dialplan:".$dialplan_context);
|
||||
|
||||
//save the message to a session variable
|
||||
|
|
@ -320,4 +323,4 @@
|
|||
//show the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<context name="${domain_name}">
|
||||
<extension name="rtp_has_crypto" number="" continue="true" app_uuid="e23d96cc-20db-4fa5-98a0-a75c402fa291" global="true" order="55">
|
||||
<condition field="${rtp_has_crypto}" expression="^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$">
|
||||
<action application="set" data="rtp_secure_media=true" inline="true"/>
|
||||
<action application="export" data="rtp_secure_media=true" inline="true"/>
|
||||
<action application="set" data="rtp_secure_media=optional" inline="true"/>
|
||||
<action application="export" data="rtp_secure_media=optional" inline="true"/>
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,15 @@
|
|||
<context name="{v_context}">
|
||||
<extension name="default_caller_id" number="" continue="true" app_uuid="9660e536-976d-47cb-872e-85957c51bd3d" order="80">
|
||||
<condition field="${emergency_caller_id_number}" expression="^$" break="never">
|
||||
<condition field="${emergency_caller_id_name}" expression="^$" break="never">
|
||||
<action application="set" data="emergency_caller_id_name=${default_emergency_caller_id_name}" inline="true"/>
|
||||
</condition>
|
||||
<condition field="${emergency_caller_id_number}" expression="^$" break="never">
|
||||
<action application="set" data="emergency_caller_id_number=${default_emergency_caller_id_number}" inline="true"/>
|
||||
</condition>
|
||||
<condition field="${outbound_caller_id_number}" expression="^$" break="never">
|
||||
<condition field="${outbound_caller_id_name}" expression="^$" break="never">
|
||||
<action application="set" data="outbound_caller_id_name=${default_outbound_caller_id_name}" inline="true"/>
|
||||
</condition>
|
||||
<condition field="${outbound_caller_id_number}" expression="^$" break="never">
|
||||
<action application="set" data="outbound_caller_id_number=${default_outbound_caller_id_number}" inline="true"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,8 @@
|
|||
<extension name="follow-me-destinations" continue="false" app_uuid="846bbc43-683b-49e9-b697-c4714b17c528" global="true" order="500">
|
||||
<condition field="${user_exists}" expression="^true$"/>
|
||||
<condition field="${follow_me_enabled}" expression="^true$">
|
||||
<action application="set" data="outbound_caller_id_name=${user_data ${destination_number}@${domain_name} var outbound_caller_id_name}" inline="true" enabled="false"/>
|
||||
<action application="set" data="outbound_caller_id_number=${user_data ${destination_number}@${domain_name} var outbound_caller_id_number}" inline="true" enabled="false"/>
|
||||
<action application="unset" data="call_timeout" inline="true"/>
|
||||
<action application="lua" data="app.lua follow_me"/>
|
||||
</condition>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<extension name="call-forward-all" number="" app_uuid="57cf8f1f-9a2e-4996-bd80-d9300249b1ca" global="true" order="505">
|
||||
<condition field="${user_exists}" expression="true"/>
|
||||
<condition field="${forward_all_enabled}" expression="true">
|
||||
<action application="export" data="sip_h_Diversion=<![CDATA[<sip:${caller_destination}@${external_sip_ip}:5060>;reason=unconditional]]>" inline="true" enabled="false"/>
|
||||
<action application="export" data="sip_h_Diversion=<sip:${caller_destination}@${external_sip_ip}:5060>;reason=unconditional" inline="true" enabled="true"/>
|
||||
<action application="set" data="outbound_caller_id_name=${user_data ${destination_number}@${domain_name} var outbound_caller_id_name}" inline="true" enabled="false"/>
|
||||
<action application="set" data="outbound_caller_id_number=${user_data ${destination_number}@${domain_name} var outbound_caller_id_number}" inline="true" enabled="false"/>
|
||||
<action application="transfer" data="${forward_all_destination} XML ${domain_name}"/>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,87 @@
|
|||
<?php
|
||||
|
||||
//application details
|
||||
$apps[$x]['name'] = 'Extension Settings';
|
||||
$apps[$x]['uuid'] = '1416a250-f6e1-4edc-91a6-5c9b883638fd';
|
||||
$apps[$x]['category'] = '';
|
||||
$apps[$x]['subcategory'] = '';
|
||||
$apps[$x]['version'] = '';
|
||||
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
||||
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
||||
$apps[$x]['description']['en-us'] = '';
|
||||
|
||||
//permission details
|
||||
$y = 0;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'extension_setting_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'extension_setting_add';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'extension_setting_edit';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'extension_setting_delete';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'extension_setting_all';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
|
||||
//Extension Settings
|
||||
$y = 0;
|
||||
$apps[$x]['db'][$y]['table']['name'] = 'v_extension_settings';
|
||||
$apps[$x]['db'][$y]['table']['parent'] = '';
|
||||
$z = 0;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'false';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_type';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension subcategory.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_name';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension name.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_value';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'false';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension value.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_enabled';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'boolean';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['toggle'] = ['true','false'];
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension enabled.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_setting_description';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the extension description.';
|
||||
$z++;
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,302 @@
|
|||
<?php
|
||||
|
||||
//Extension Settings
|
||||
$text['title-extension_settings']['en-us'] = 'Extension Settings';
|
||||
$text['title-extension_settings']['ar-eg'] = '';
|
||||
$text['title-extension_settings']['de-at'] = '';
|
||||
$text['title-extension_settings']['de-ch'] = '';
|
||||
$text['title-extension_settings']['de-de'] = '';
|
||||
$text['title-extension_settings']['es-cl'] = '';
|
||||
$text['title-extension_settings']['es-mx'] = '';
|
||||
$text['title-extension_settings']['fr-ca'] = '';
|
||||
$text['title-extension_settings']['fr-fr'] = '';
|
||||
$text['title-extension_settings']['he-il'] = '';
|
||||
$text['title-extension_settings']['it-it'] = '';
|
||||
$text['title-extension_settings']['nl-nl'] = '';
|
||||
$text['title-extension_settings']['pl-pl'] = '';
|
||||
$text['title-extension_settings']['pt-br'] = '';
|
||||
$text['title-extension_settings']['pt-pt'] = '';
|
||||
$text['title-extension_settings']['ro-ro'] = '';
|
||||
$text['title-extension_settings']['ru-ru'] = '';
|
||||
$text['title-extension_settings']['sv-se'] = '';
|
||||
$text['title-extension_settings']['uk-ua'] = '';
|
||||
|
||||
$text['title-extension_setting']['en-us'] = 'Extension Setting';
|
||||
$text['title-extension_setting']['ar-eg'] = '';
|
||||
$text['title-extension_setting']['de-at'] = '';
|
||||
$text['title-extension_setting']['de-ch'] = '';
|
||||
$text['title-extension_setting']['de-de'] = '';
|
||||
$text['title-extension_setting']['es-cl'] = '';
|
||||
$text['title-extension_setting']['es-mx'] = '';
|
||||
$text['title-extension_setting']['fr-ca'] = '';
|
||||
$text['title-extension_setting']['fr-fr'] = '';
|
||||
$text['title-extension_setting']['he-il'] = '';
|
||||
$text['title-extension_setting']['it-it'] = '';
|
||||
$text['title-extension_setting']['nl-nl'] = '';
|
||||
$text['title-extension_setting']['pl-pl'] = '';
|
||||
$text['title-extension_setting']['pt-br'] = '';
|
||||
$text['title-extension_setting']['pt-pt'] = '';
|
||||
$text['title-extension_setting']['ro-ro'] = '';
|
||||
$text['title-extension_setting']['ru-ru'] = '';
|
||||
$text['title-extension_setting']['sv-se'] = '';
|
||||
$text['title-extension_setting']['uk-ua'] = '';
|
||||
|
||||
$text['title_description-extension_settings']['en-us'] = 'Assign variables and parameters to this extension.';
|
||||
$text['title_description-extension_settings']['ar-eg'] = '';
|
||||
$text['title_description-extension_settings']['de-at'] = '';
|
||||
$text['title_description-extension_settings']['de-ch'] = '';
|
||||
$text['title_description-extension_settings']['de-de'] = '';
|
||||
$text['title_description-extension_settings']['es-cl'] = '';
|
||||
$text['title_description-extension_settings']['es-mx'] = '';
|
||||
$text['title_description-extension_settings']['fr-ca'] = '';
|
||||
$text['title_description-extension_settings']['fr-fr'] = '';
|
||||
$text['title_description-extension_settings']['he-il'] = '';
|
||||
$text['title_description-extension_settings']['it-it'] = '';
|
||||
$text['title_description-extension_settings']['nl-nl'] = '';
|
||||
$text['title_description-extension_settings']['pl-pl'] = '';
|
||||
$text['title_description-extension_settings']['pt-br'] = '';
|
||||
$text['title_description-extension_settings']['pt-pt'] = '';
|
||||
$text['title_description-extension_settings']['ro-ro'] = '';
|
||||
$text['title_description-extension_settings']['ru-ru'] = '';
|
||||
$text['title_description-extension_settings']['sv-se'] = '';
|
||||
$text['title_description-extension_settings']['uk-ua'] = '';
|
||||
|
||||
$text['label-extension_setting_type']['en-us'] = 'Type';
|
||||
$text['label-extension_setting_type']['ar-eg'] = '';
|
||||
$text['label-extension_setting_type']['de-at'] = '';
|
||||
$text['label-extension_setting_type']['de-ch'] = '';
|
||||
$text['label-extension_setting_type']['de-de'] = '';
|
||||
$text['label-extension_setting_type']['es-cl'] = '';
|
||||
$text['label-extension_setting_type']['es-mx'] = '';
|
||||
$text['label-extension_setting_type']['fr-ca'] = '';
|
||||
$text['label-extension_setting_type']['fr-fr'] = '';
|
||||
$text['label-extension_setting_type']['he-il'] = '';
|
||||
$text['label-extension_setting_type']['it-it'] = '';
|
||||
$text['label-extension_setting_type']['nl-nl'] = '';
|
||||
$text['label-extension_setting_type']['pl-pl'] = '';
|
||||
$text['label-extension_setting_type']['pt-br'] = '';
|
||||
$text['label-extension_setting_type']['pt-pt'] = '';
|
||||
$text['label-extension_setting_type']['ro-ro'] = '';
|
||||
$text['label-extension_setting_type']['ru-ru'] = '';
|
||||
$text['label-extension_setting_type']['sv-se'] = '';
|
||||
$text['label-extension_setting_type']['uk-ua'] = '';
|
||||
|
||||
$text['description-extension_setting_type']['en-us'] = 'Enter the extension subcategory.';
|
||||
$text['description-extension_setting_type']['ar-eg'] = '';
|
||||
$text['description-extension_setting_type']['de-at'] = '';
|
||||
$text['description-extension_setting_type']['de-ch'] = '';
|
||||
$text['description-extension_setting_type']['de-de'] = '';
|
||||
$text['description-extension_setting_type']['es-cl'] = '';
|
||||
$text['description-extension_setting_type']['es-mx'] = '';
|
||||
$text['description-extension_setting_type']['fr-ca'] = '';
|
||||
$text['description-extension_setting_type']['fr-fr'] = '';
|
||||
$text['description-extension_setting_type']['he-il'] = '';
|
||||
$text['description-extension_setting_type']['it-it'] = '';
|
||||
$text['description-extension_setting_type']['nl-nl'] = '';
|
||||
$text['description-extension_setting_type']['pl-pl'] = '';
|
||||
$text['description-extension_setting_type']['pt-br'] = '';
|
||||
$text['description-extension_setting_type']['pt-pt'] = '';
|
||||
$text['description-extension_setting_type']['ro-ro'] = '';
|
||||
$text['description-extension_setting_type']['ru-ru'] = '';
|
||||
$text['description-extension_setting_type']['sv-se'] = '';
|
||||
$text['description-extension_setting_type']['uk-ua'] = '';
|
||||
|
||||
$text['label-param']['en-us'] = 'param';
|
||||
$text['label-param']['ar-eg'] = '';
|
||||
$text['label-param']['de-at'] = '';
|
||||
$text['label-param']['de-ch'] = '';
|
||||
$text['label-param']['de-de'] = '';
|
||||
$text['label-param']['es-mx'] = '';
|
||||
$text['label-param']['fr-ca'] = '';
|
||||
$text['label-param']['fr-fr'] = '';
|
||||
$text['label-param']['he-il'] = '';
|
||||
$text['label-param']['it-it'] = '';
|
||||
$text['label-param']['nl-nl'] = '';
|
||||
$text['label-param']['pl-pl'] = '';
|
||||
$text['label-param']['pt-br'] = '';
|
||||
$text['label-param']['pt-pt'] = '';
|
||||
$text['label-param']['ro-ro'] = '';
|
||||
$text['label-param']['ru-ru'] = '';
|
||||
$text['label-param']['sv-se'] = '';
|
||||
$text['label-param']['uk-ua'] = '';
|
||||
|
||||
$text['label-variable']['en-us'] = 'variable';
|
||||
$text['label-variable']['ar-eg'] = '';
|
||||
$text['label-variable']['de-at'] = '';
|
||||
$text['label-variable']['de-ch'] = '';
|
||||
$text['label-variable']['de-de'] = '';
|
||||
$text['label-variable']['es-mx'] = '';
|
||||
$text['label-variable']['fr-ca'] = '';
|
||||
$text['label-variable']['fr-fr'] = '';
|
||||
$text['label-variable']['he-il'] = '';
|
||||
$text['label-variable']['it-it'] = '';
|
||||
$text['label-variable']['nl-nl'] = '';
|
||||
$text['label-variable']['pl-pl'] = '';
|
||||
$text['label-variable']['pt-br'] = '';
|
||||
$text['label-variable']['pt-pt'] = '';
|
||||
$text['label-variable']['ro-ro'] = '';
|
||||
$text['label-variable']['ru-ru'] = '';
|
||||
$text['label-variable']['sv-se'] = '';
|
||||
$text['label-variable']['uk-ua'] = '';
|
||||
|
||||
$text['label-extension_setting_name']['en-us'] = 'Name';
|
||||
$text['label-extension_setting_name']['ar-eg'] = '';
|
||||
$text['label-extension_setting_name']['de-at'] = '';
|
||||
$text['label-extension_setting_name']['de-ch'] = '';
|
||||
$text['label-extension_setting_name']['de-de'] = '';
|
||||
$text['label-extension_setting_name']['es-cl'] = '';
|
||||
$text['label-extension_setting_name']['es-mx'] = '';
|
||||
$text['label-extension_setting_name']['fr-ca'] = '';
|
||||
$text['label-extension_setting_name']['fr-fr'] = '';
|
||||
$text['label-extension_setting_name']['he-il'] = '';
|
||||
$text['label-extension_setting_name']['it-it'] = '';
|
||||
$text['label-extension_setting_name']['nl-nl'] = '';
|
||||
$text['label-extension_setting_name']['pl-pl'] = '';
|
||||
$text['label-extension_setting_name']['pt-br'] = '';
|
||||
$text['label-extension_setting_name']['pt-pt'] = '';
|
||||
$text['label-extension_setting_name']['ro-ro'] = '';
|
||||
$text['label-extension_setting_name']['ru-ru'] = '';
|
||||
$text['label-extension_setting_name']['sv-se'] = '';
|
||||
$text['label-extension_setting_name']['uk-ua'] = '';
|
||||
|
||||
$text['description-extension_setting_name']['en-us'] = 'Enter the extension name.';
|
||||
$text['description-extension_setting_name']['ar-eg'] = '';
|
||||
$text['description-extension_setting_name']['de-at'] = '';
|
||||
$text['description-extension_setting_name']['de-ch'] = '';
|
||||
$text['description-extension_setting_name']['de-de'] = '';
|
||||
$text['description-extension_setting_name']['es-cl'] = '';
|
||||
$text['description-extension_setting_name']['es-mx'] = '';
|
||||
$text['description-extension_setting_name']['fr-ca'] = '';
|
||||
$text['description-extension_setting_name']['fr-fr'] = '';
|
||||
$text['description-extension_setting_name']['he-il'] = '';
|
||||
$text['description-extension_setting_name']['it-it'] = '';
|
||||
$text['description-extension_setting_name']['nl-nl'] = '';
|
||||
$text['description-extension_setting_name']['pl-pl'] = '';
|
||||
$text['description-extension_setting_name']['pt-br'] = '';
|
||||
$text['description-extension_setting_name']['pt-pt'] = '';
|
||||
$text['description-extension_setting_name']['ro-ro'] = '';
|
||||
$text['description-extension_setting_name']['ru-ru'] = '';
|
||||
$text['description-extension_setting_name']['sv-se'] = '';
|
||||
$text['description-extension_setting_name']['uk-ua'] = '';
|
||||
|
||||
$text['label-extension_setting_value']['en-us'] = 'Value';
|
||||
$text['label-extension_setting_value']['ar-eg'] = '';
|
||||
$text['label-extension_setting_value']['de-at'] = '';
|
||||
$text['label-extension_setting_value']['de-ch'] = '';
|
||||
$text['label-extension_setting_value']['de-de'] = '';
|
||||
$text['label-extension_setting_value']['es-cl'] = '';
|
||||
$text['label-extension_setting_value']['es-mx'] = '';
|
||||
$text['label-extension_setting_value']['fr-ca'] = '';
|
||||
$text['label-extension_setting_value']['fr-fr'] = '';
|
||||
$text['label-extension_setting_value']['he-il'] = '';
|
||||
$text['label-extension_setting_value']['it-it'] = '';
|
||||
$text['label-extension_setting_value']['nl-nl'] = '';
|
||||
$text['label-extension_setting_value']['pl-pl'] = '';
|
||||
$text['label-extension_setting_value']['pt-br'] = '';
|
||||
$text['label-extension_setting_value']['pt-pt'] = '';
|
||||
$text['label-extension_setting_value']['ro-ro'] = '';
|
||||
$text['label-extension_setting_value']['ru-ru'] = '';
|
||||
$text['label-extension_setting_value']['sv-se'] = '';
|
||||
$text['label-extension_setting_value']['uk-ua'] = '';
|
||||
|
||||
$text['description-extension_setting_value']['en-us'] = 'Enter the extension value.';
|
||||
$text['description-extension_setting_value']['ar-eg'] = '';
|
||||
$text['description-extension_setting_value']['de-at'] = '';
|
||||
$text['description-extension_setting_value']['de-ch'] = '';
|
||||
$text['description-extension_setting_value']['de-de'] = '';
|
||||
$text['description-extension_setting_value']['es-cl'] = '';
|
||||
$text['description-extension_setting_value']['es-mx'] = '';
|
||||
$text['description-extension_setting_value']['fr-ca'] = '';
|
||||
$text['description-extension_setting_value']['fr-fr'] = '';
|
||||
$text['description-extension_setting_value']['he-il'] = '';
|
||||
$text['description-extension_setting_value']['it-it'] = '';
|
||||
$text['description-extension_setting_value']['nl-nl'] = '';
|
||||
$text['description-extension_setting_value']['pl-pl'] = '';
|
||||
$text['description-extension_setting_value']['pt-br'] = '';
|
||||
$text['description-extension_setting_value']['pt-pt'] = '';
|
||||
$text['description-extension_setting_value']['ro-ro'] = '';
|
||||
$text['description-extension_setting_value']['ru-ru'] = '';
|
||||
$text['description-extension_setting_value']['sv-se'] = '';
|
||||
$text['description-extension_setting_value']['uk-ua'] = '';
|
||||
|
||||
$text['label-extension_setting_enabled']['en-us'] = 'Enabled';
|
||||
$text['label-extension_setting_enabled']['ar-eg'] = '';
|
||||
$text['label-extension_setting_enabled']['de-at'] = '';
|
||||
$text['label-extension_setting_enabled']['de-ch'] = '';
|
||||
$text['label-extension_setting_enabled']['de-de'] = '';
|
||||
$text['label-extension_setting_enabled']['es-cl'] = '';
|
||||
$text['label-extension_setting_enabled']['es-mx'] = '';
|
||||
$text['label-extension_setting_enabled']['fr-ca'] = '';
|
||||
$text['label-extension_setting_enabled']['fr-fr'] = '';
|
||||
$text['label-extension_setting_enabled']['he-il'] = '';
|
||||
$text['label-extension_setting_enabled']['it-it'] = '';
|
||||
$text['label-extension_setting_enabled']['nl-nl'] = '';
|
||||
$text['label-extension_setting_enabled']['pl-pl'] = '';
|
||||
$text['label-extension_setting_enabled']['pt-br'] = '';
|
||||
$text['label-extension_setting_enabled']['pt-pt'] = '';
|
||||
$text['label-extension_setting_enabled']['ro-ro'] = '';
|
||||
$text['label-extension_setting_enabled']['ru-ru'] = '';
|
||||
$text['label-extension_setting_enabled']['sv-se'] = '';
|
||||
$text['label-extension_setting_enabled']['uk-ua'] = '';
|
||||
|
||||
$text['description-extension_setting_enabled']['en-us'] = 'Enter the extension enabled.';
|
||||
$text['description-extension_setting_enabled']['ar-eg'] = '';
|
||||
$text['description-extension_setting_enabled']['de-at'] = '';
|
||||
$text['description-extension_setting_enabled']['de-ch'] = '';
|
||||
$text['description-extension_setting_enabled']['de-de'] = '';
|
||||
$text['description-extension_setting_enabled']['es-cl'] = '';
|
||||
$text['description-extension_setting_enabled']['es-mx'] = '';
|
||||
$text['description-extension_setting_enabled']['fr-ca'] = '';
|
||||
$text['description-extension_setting_enabled']['fr-fr'] = '';
|
||||
$text['description-extension_setting_enabled']['he-il'] = '';
|
||||
$text['description-extension_setting_enabled']['it-it'] = '';
|
||||
$text['description-extension_setting_enabled']['nl-nl'] = '';
|
||||
$text['description-extension_setting_enabled']['pl-pl'] = '';
|
||||
$text['description-extension_setting_enabled']['pt-br'] = '';
|
||||
$text['description-extension_setting_enabled']['pt-pt'] = '';
|
||||
$text['description-extension_setting_enabled']['ro-ro'] = '';
|
||||
$text['description-extension_setting_enabled']['ru-ru'] = '';
|
||||
$text['description-extension_setting_enabled']['sv-se'] = '';
|
||||
$text['description-extension_setting_enabled']['uk-ua'] = '';
|
||||
|
||||
$text['label-extension_setting_description']['en-us'] = 'Description';
|
||||
$text['label-extension_setting_description']['ar-eg'] = '';
|
||||
$text['label-extension_setting_description']['de-at'] = '';
|
||||
$text['label-extension_setting_description']['de-ch'] = '';
|
||||
$text['label-extension_setting_description']['de-de'] = '';
|
||||
$text['label-extension_setting_description']['es-cl'] = '';
|
||||
$text['label-extension_setting_description']['es-mx'] = '';
|
||||
$text['label-extension_setting_description']['fr-ca'] = '';
|
||||
$text['label-extension_setting_description']['fr-fr'] = '';
|
||||
$text['label-extension_setting_description']['he-il'] = '';
|
||||
$text['label-extension_setting_description']['it-it'] = '';
|
||||
$text['label-extension_setting_description']['nl-nl'] = '';
|
||||
$text['label-extension_setting_description']['pl-pl'] = '';
|
||||
$text['label-extension_setting_description']['pt-br'] = '';
|
||||
$text['label-extension_setting_description']['pt-pt'] = '';
|
||||
$text['label-extension_setting_description']['ro-ro'] = '';
|
||||
$text['label-extension_setting_description']['ru-ru'] = '';
|
||||
$text['label-extension_setting_description']['sv-se'] = '';
|
||||
$text['label-extension_setting_description']['uk-ua'] = '';
|
||||
|
||||
$text['description-extension_setting_description']['en-us'] = 'Enter the extension description.';
|
||||
$text['description-extension_setting_description']['ar-eg'] = '';
|
||||
$text['description-extension_setting_description']['de-at'] = '';
|
||||
$text['description-extension_setting_description']['de-ch'] = '';
|
||||
$text['description-extension_setting_description']['de-de'] = '';
|
||||
$text['description-extension_setting_description']['es-cl'] = '';
|
||||
$text['description-extension_setting_description']['es-mx'] = '';
|
||||
$text['description-extension_setting_description']['fr-ca'] = '';
|
||||
$text['description-extension_setting_description']['fr-fr'] = '';
|
||||
$text['description-extension_setting_description']['he-il'] = '';
|
||||
$text['description-extension_setting_description']['it-it'] = '';
|
||||
$text['description-extension_setting_description']['nl-nl'] = '';
|
||||
$text['description-extension_setting_description']['pl-pl'] = '';
|
||||
$text['description-extension_setting_description']['pt-br'] = '';
|
||||
$text['description-extension_setting_description']['pt-pt'] = '';
|
||||
$text['description-extension_setting_description']['ro-ro'] = '';
|
||||
$text['description-extension_setting_description']['ru-ru'] = '';
|
||||
$text['description-extension_setting_description']['sv-se'] = '';
|
||||
$text['description-extension_setting_description']['uk-ua'] = '';
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,365 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
//includes
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('extension_setting_add') || permission_exists('extension_setting_edit')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//action add or update
|
||||
if (is_uuid($_REQUEST["id"])) {
|
||||
$action = "update";
|
||||
$extension_setting_uuid = $_REQUEST["id"];
|
||||
$id = $_REQUEST["id"];
|
||||
}
|
||||
else {
|
||||
$action = "add";
|
||||
}
|
||||
|
||||
//get the extension id
|
||||
if (is_uuid($_REQUEST["extension_setting_uuid"])) {
|
||||
$extension_setting_uuid = $_REQUEST["extension_setting_uuid"];
|
||||
}
|
||||
if (is_uuid($_REQUEST["extension_uuid"])) {
|
||||
$extension_uuid = $_REQUEST["extension_uuid"];
|
||||
}
|
||||
|
||||
//get http post variables and set them to php variables
|
||||
if (is_array($_POST)) {
|
||||
$domain_uuid = $_POST["domain_uuid"];
|
||||
$extension_setting_type = $_POST["extension_setting_type"];
|
||||
$extension_setting_name = $_POST["extension_setting_name"];
|
||||
$extension_setting_value = $_POST["extension_setting_value"];
|
||||
$extension_setting_enabled = $_POST["extension_setting_enabled"];
|
||||
$extension_setting_description = $_POST["extension_setting_description"];
|
||||
}
|
||||
|
||||
//process the user data and save it to the database
|
||||
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: extension_settings.php?id='.$extension_uuid);
|
||||
exit;
|
||||
}
|
||||
|
||||
//process the http post data by submitted action
|
||||
if ($_POST['action'] != '' && strlen($_POST['action']) > 0) {
|
||||
|
||||
//prepare the array(s)
|
||||
//send the array to the database class
|
||||
switch ($_POST['action']) {
|
||||
case 'copy':
|
||||
if (permission_exists('extension_setting_add')) {
|
||||
$obj = new database;
|
||||
$obj->copy($array);
|
||||
}
|
||||
break;
|
||||
case 'delete':
|
||||
if (permission_exists('extension_setting_delete')) {
|
||||
$obj = new database;
|
||||
$obj->delete($array);
|
||||
}
|
||||
break;
|
||||
case 'toggle':
|
||||
if (permission_exists('extension_setting_update')) {
|
||||
$obj = new database;
|
||||
$obj->toggle($array);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
//redirect the user
|
||||
if (in_array($_POST['action'], array('copy', 'delete', 'toggle')) && is_uuid($id) && is_uuid($extension_uuid)) {
|
||||
header('Location: extension_setting_edit.php?id='.$id.'&extension_uuid='.$extension_uuid);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
//check for all required data
|
||||
$msg = '';
|
||||
//if (strlen($domain_uuid) == 0) { $msg .= $text['message-required']." ".$text['label-domain_uuid']."<br>\n"; }
|
||||
if (strlen($extension_setting_type) == 0) { $msg .= $text['message-required']." ".$text['label-extension_setting_type']."<br>\n"; }
|
||||
if (strlen($extension_setting_name) == 0) { $msg .= $text['message-required']." ".$text['label-extension_setting_name']."<br>\n"; }
|
||||
//if (strlen($extension_setting_value) == 0) { $msg .= $text['message-required']." ".$text['label-extension_setting_value']."<br>\n"; }
|
||||
if (strlen($extension_setting_enabled) == 0) { $msg .= $text['message-required']." ".$text['label-extension_setting_enabled']."<br>\n"; }
|
||||
//if (strlen($extension_setting_description) == 0) { $msg .= $text['message-required']." ".$text['label-extension_setting_description']."<br>\n"; }
|
||||
if (strlen($msg) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
require_once "resources/header.php";
|
||||
require_once "resources/persist_form_var.php";
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table><tr><td>\n";
|
||||
echo $msg."<br />";
|
||||
echo "</td></tr></table>\n";
|
||||
persistformvar($_POST);
|
||||
echo "</div>\n";
|
||||
require_once "resources/footer.php";
|
||||
return;
|
||||
}
|
||||
|
||||
//add the extension_setting_uuid
|
||||
if (!is_uuid($extension_setting_uuid)) {
|
||||
$extension_setting_uuid = uuid();
|
||||
}
|
||||
|
||||
//prepare the array
|
||||
$array['extension_settings'][0]['extension_setting_uuid'] = $extension_setting_uuid;
|
||||
$array['extension_settings'][0]['extension_uuid'] = $extension_uuid;
|
||||
$array['extension_settings'][0]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
//$array['extension_settings'][0]['domain_uuid'] = $domain_uuid;
|
||||
$array['extension_settings'][0]['extension_setting_type'] = $extension_setting_type;
|
||||
$array['extension_settings'][0]['extension_setting_name'] = $extension_setting_name;
|
||||
$array['extension_settings'][0]['extension_setting_value'] = $extension_setting_value;
|
||||
$array['extension_settings'][0]['extension_setting_enabled'] = $extension_setting_enabled;
|
||||
$array['extension_settings'][0]['extension_setting_description'] = $extension_setting_description;
|
||||
|
||||
//save the data
|
||||
$database = new database;
|
||||
$database->app_name = 'extension settings';
|
||||
$database->app_uuid = '1416a250-f6e1-4edc-91a6-5c9b883638fd';
|
||||
$database->save($array);
|
||||
|
||||
//redirect the user
|
||||
if (isset($action)) {
|
||||
if ($action == "add") {
|
||||
$_SESSION["message"] = $text['message-add'];
|
||||
}
|
||||
if ($action == "update") {
|
||||
$_SESSION["message"] = $text['message-update'];
|
||||
}
|
||||
//header('Location: extension_settings.php');
|
||||
header('Location: extension_setting_edit.php?id='.urlencode($extension_setting_uuid).'&extension_uuid='.$extension_uuid);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
//pre-populate the form
|
||||
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
|
||||
$sql = "select ";
|
||||
//$sql .= "extension_uuid, ";
|
||||
//$sql .= "domain_uuid, ";
|
||||
$sql .= "extension_setting_uuid, ";
|
||||
$sql .= "extension_setting_type, ";
|
||||
$sql .= "extension_setting_name, ";
|
||||
$sql .= "extension_setting_value, ";
|
||||
$sql .= "cast(extension_setting_enabled as text), ";
|
||||
$sql .= "extension_setting_description ";
|
||||
$sql .= "from v_extension_settings ";
|
||||
$sql .= "where extension_setting_uuid = :extension_setting_uuid ";
|
||||
//$sql .= "and domain_uuid = :domain_uuid ";
|
||||
//$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$parameters['extension_setting_uuid'] = $extension_setting_uuid;
|
||||
$database = new database;
|
||||
$row = $database->select($sql, $parameters, 'row');
|
||||
if (is_array($row) && @sizeof($row) != 0) {
|
||||
if (is_uuid($row["extension_uuid"])) {
|
||||
$extension_uuid = $row["extension_uuid"];
|
||||
}
|
||||
//$domain_uuid = $row["domain_uuid"];
|
||||
$extension_setting_type = $row["extension_setting_type"];
|
||||
$extension_setting_name = $row["extension_setting_name"];
|
||||
$extension_setting_value = $row["extension_setting_value"];
|
||||
$extension_setting_enabled = $row["extension_setting_enabled"];
|
||||
$extension_setting_description = $row["extension_setting_description"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
}
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//show the header
|
||||
$document['title'] = $text['title-extension_setting'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//show the content
|
||||
echo "<form name='frm' id='frm' method='post' action=''>\n";
|
||||
echo "<input class='formfld' type='hidden' name='extension_setting_uuid' value='".escape($extension_setting_uuid)."'>\n";
|
||||
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['title-extension_setting']."</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','collapse'=>'hide-xs','style'=>'margin-right: 15px;','link'=>'extension_settings.php?id='.$extension_uuid]);
|
||||
if ($action == 'update') {
|
||||
if (permission_exists('_add')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-copy'],'icon'=>$_SESSION['theme']['button_icon_copy'],'id'=>'btn_copy','name'=>'btn_copy','style'=>'display: none;','onclick'=>"modal_open('modal-copy','btn_copy');"]);
|
||||
}
|
||||
if (permission_exists('_delete')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete','name'=>'btn_delete','style'=>'display: none; margin-right: 15px;','onclick'=>"modal_open('modal-delete','btn_delete');"]);
|
||||
}
|
||||
}
|
||||
echo button::create(['type'=>'submit','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','collapse'=>'hide-xs']);
|
||||
echo " </div>\n";
|
||||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo $text['title_description-extension_settings']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
if ($action == 'update') {
|
||||
if (permission_exists('extension_setting_add')) {
|
||||
echo modal::create(['id'=>'modal-copy','type'=>'copy','actions'=>button::create(['type'=>'submit','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_copy','style'=>'float: right; margin-left: 15px;','collapse'=>'never','name'=>'action','value'=>'copy','onclick'=>"modal_close();"])]);
|
||||
}
|
||||
if (permission_exists('extension_setting_delete')) {
|
||||
echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'submit','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','name'=>'action','value'=>'delete','onclick'=>"modal_close();"])]);
|
||||
}
|
||||
}
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
//echo "<tr>\n";
|
||||
//echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
//echo " ".$text['label-domain_uuid']."\n";
|
||||
//echo "</td>\n";
|
||||
//echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
//echo " <select class='formfld' name='domain_uuid'>\n";
|
||||
//if (strlen($domain_uuid) == 0) {
|
||||
// echo " <option value='' selected='selected'>".$text['select-global']."</option>\n";
|
||||
//}
|
||||
//else {
|
||||
// echo " <option value=''>".$text['label-global']."</option>\n";
|
||||
//}
|
||||
//foreach ($_SESSION['domains'] as $row) {
|
||||
// if ($row['domain_uuid'] == $domain_uuid) {
|
||||
// echo " <option value='".$row['domain_uuid']."' selected='selected'>".escape($row['domain_name'])."</option>\n";
|
||||
// }
|
||||
// else {
|
||||
// echo " <option value='".$row['domain_uuid']."'>".$row['domain_name']."</option>\n";
|
||||
// }
|
||||
//}
|
||||
//echo " </select>\n";
|
||||
//echo "<br />\n";
|
||||
//echo $text['description-domain_uuid']."\n";
|
||||
//echo "</td>\n";
|
||||
//echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-extension_setting_type']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='extension_setting_type'>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
if ($extension_setting_type == "param") {
|
||||
echo " <option value='param' selected='selected'>".$text['label-param']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='param'>".$text['label-param']."</option>\n";
|
||||
}
|
||||
if ($extension_setting_type == "variable") {
|
||||
echo " <option value='variable' selected='selected'>".$text['label-variable']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='variable'>".$text['label-variable']."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-extension_setting_type']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-extension_setting_name']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='extension_setting_name' maxlength='255' value='".escape($extension_setting_name)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-extension_setting_name']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-extension_setting_value']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='extension_setting_value' maxlength='255' value='".escape($extension_setting_value)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-extension_setting_value']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-extension_setting_enabled']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='extension_setting_enabled'>\n";
|
||||
if ($extension_setting_enabled == "true") {
|
||||
echo " <option value='true' selected='selected'>".$text['label-true']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='true'>".$text['label-true']."</option>\n";
|
||||
}
|
||||
if ($extension_setting_enabled == "false") {
|
||||
echo " <option value='false' selected='selected'>".$text['label-false']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='false'>".$text['label-false']."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-extension_setting_enabled']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-extension_setting_description']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='extension_setting_description' maxlength='255' value='".escape($extension_setting_description)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-extension_setting_description']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "</table>\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<input type='hidden' name='extension_uuid' value='".$extension_uuid."'>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
||||
echo "</form>";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,327 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
//includes
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('extension_setting_view')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//get the http post data
|
||||
if (is_array($_POST['extension_settings'])) {
|
||||
$action = $_POST['action'];
|
||||
$search = $_POST['search'];
|
||||
$extension_settings = $_POST['extension_settings'];
|
||||
}
|
||||
|
||||
//action add or update
|
||||
if (is_uuid($_REQUEST["id"])) {
|
||||
$extension_uuid = $_REQUEST["id"];
|
||||
}
|
||||
|
||||
//process the http post data by action
|
||||
if ($action != '' && is_array($extension_settings) && @sizeof($extension_settings) != 0) {
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: extension_settings.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
//prepare the array
|
||||
foreach($extension_settings as $row) {
|
||||
$array['extension_settings'][$x]['checked'] = $row['checked'];
|
||||
$array['extension_settings'][$x]['extension_setting_uuid'] = $row['extension_setting_uuid'];
|
||||
$array['extension_settings'][$x]['extension_setting_enabled'] = $row['extension_setting_enabled'];
|
||||
$x++;
|
||||
}
|
||||
|
||||
//prepare the database object
|
||||
$database = new database;
|
||||
$database->app_name = 'extension_settings';
|
||||
$database->app_uuid = '1416a250-f6e1-4edc-91a6-5c9b883638fd';
|
||||
|
||||
//send the array to the database class
|
||||
switch ($action) {
|
||||
case 'copy':
|
||||
if (permission_exists('extension_setting_add')) {
|
||||
$database->copy($array);
|
||||
}
|
||||
break;
|
||||
case 'toggle':
|
||||
if (permission_exists('extension_setting_edit')) {
|
||||
$database->toggle($array);
|
||||
}
|
||||
break;
|
||||
case 'delete':
|
||||
if (permission_exists('extension_setting_delete')) {
|
||||
$database->delete($array);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
//redirect the user
|
||||
header('Location: extension_settings.php?id='.urlencode($extension_uuid).'&'.($search != '' ? '?search='.urlencode($search) : null));
|
||||
exit;
|
||||
}
|
||||
|
||||
//get order and order by
|
||||
$order_by = $_GET["order_by"];
|
||||
$order = $_GET["order"];
|
||||
|
||||
//add the search
|
||||
if (isset($_GET["search"])) {
|
||||
$search = strtolower($_GET["search"]);
|
||||
}
|
||||
|
||||
//get the count
|
||||
$sql = "select count(extension_setting_uuid) ";
|
||||
$sql .= "from v_extension_settings ";
|
||||
$sql .= "where extension_uuid = :extension_uuid ";
|
||||
if (isset($search)) {
|
||||
$sql .= "and (";
|
||||
$sql .= " lower(extension_setting_type) like :search ";
|
||||
$sql .= " or lower(extension_setting_name) like :search ";
|
||||
$sql .= " or lower(extension_setting_description) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
else {
|
||||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
if (isset($sql_search)) {
|
||||
$sql .= "and ".$sql_search;
|
||||
}
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
$parameters['extension_uuid'] = $extension_uuid;
|
||||
$database = new database;
|
||||
$num_rows = $database->select($sql, $parameters, 'column');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//get the list
|
||||
$sql = "select ";
|
||||
//$sql .= "d.domain_name, ";
|
||||
$sql .= "extension_setting_uuid, ";
|
||||
$sql .= "extension_setting_type, ";
|
||||
$sql .= "extension_setting_name, ";
|
||||
$sql .= "extension_setting_value, ";
|
||||
$sql .= "cast(extension_setting_enabled as text), ";
|
||||
$sql .= "extension_setting_description ";
|
||||
$sql .= "from v_extension_settings as e ";
|
||||
//$sql .= ",v_domains as d ";
|
||||
$sql .= "where extension_uuid = :extension_uuid ";
|
||||
$sql .= "and (e.domain_uuid = :domain_uuid or e.domain_uuid is null) ";
|
||||
//$sql .= "and d.domain_uuid = e.domain_uuid ";
|
||||
if (isset($_GET["search"])) {
|
||||
$sql .= "and (";
|
||||
$sql .= " lower(extension_setting_type) like :search ";
|
||||
$sql .= " or lower(extension_setting_name) like :search ";
|
||||
$sql .= " or lower(extension_setting_description) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
|
||||
$sql .= order_by($order_by, $order, 'extension_setting_type', 'asc');
|
||||
$sql .= limit_offset($rows_per_page, $offset);
|
||||
$parameters['extension_uuid'] = $extension_uuid;
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
$database = new database;
|
||||
$extension_settings = $database->select($sql, $parameters, 'all');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//additional includes
|
||||
$document['title'] = $text['title-extension_settings'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//show the content
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['title-extension_settings']." (".$num_rows.")</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
|
||||
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_add','name'=>'btn_add','link'=>'/app/extensions/extension_edit.php?id='.$extension_uuid]);
|
||||
|
||||
if (permission_exists('extension_setting_add')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','name'=>'btn_add','link'=>'extension_setting_edit.php?extension_uuid='.$extension_uuid]);
|
||||
}
|
||||
if (permission_exists('extension_setting_add') && $extension_settings) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-copy'],'icon'=>$_SESSION['theme']['button_icon_copy'],'id'=>'btn_copy','name'=>'btn_copy','style'=>'display:none;','onclick'=>"modal_open('modal-copy','btn_copy');"]);
|
||||
}
|
||||
if (permission_exists('extension_setting_edit') && $extension_settings) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-toggle'],'icon'=>$_SESSION['theme']['button_icon_toggle'],'id'=>'btn_toggle','name'=>'btn_toggle','style'=>'display:none;','onclick'=>"modal_open('modal-toggle','btn_toggle');"]);
|
||||
}
|
||||
if (permission_exists('extension_setting_delete') && $extension_settings) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete','name'=>'btn_delete','style'=>'display:none;','onclick'=>"modal_open('modal-delete','btn_delete');"]);
|
||||
}
|
||||
echo "<form id='form_search' class='inline' method='get'>\n";
|
||||
//if (permission_exists('extension_setting_all')) {
|
||||
// if ($_GET['show'] == 'all') {
|
||||
// echo " <input type='hidden' name='show' value='all'>\n";
|
||||
// }
|
||||
// else {
|
||||
// echo button::create(['type'=>'button','label'=>$text['button-show_all'],'icon'=>$_SESSION['theme']['button_icon_all'],'link'=>'?show=all&id='.$extension_uuid]);
|
||||
// }
|
||||
//}
|
||||
echo "<input type='text' class='txt list-search' name='search' id='search' value=\"".escape($search)."\" placeholder=\"".$text['label-search']."\" onkeydown='list_search_reset();'>";
|
||||
echo button::create(['label'=>$text['button-search'],'icon'=>$_SESSION['theme']['button_icon_search'],'type'=>'submit','id'=>'btn_search','style'=>($search != '' ? 'display: none;' : null)]);
|
||||
echo button::create(['label'=>$text['button-reset'],'icon'=>$_SESSION['theme']['button_icon_reset'],'type'=>'button','id'=>'btn_reset','link'=>'extension_settings.php?id='.$extension_uuid,'style'=>($search == '' ? 'display: none;' : null)]);
|
||||
if ($paging_controls_mini != '') {
|
||||
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
|
||||
}
|
||||
echo " <input type='hidden' name='id' value='".$extension_uuid."'>\n";
|
||||
echo " </form>\n";
|
||||
echo " </div>\n";
|
||||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
if (permission_exists('extension_setting_add') && $extension_settings) {
|
||||
echo modal::create(['id'=>'modal-copy','type'=>'copy','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_copy','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('copy'); list_form_submit('form_list');"])]);
|
||||
}
|
||||
if (permission_exists('extension_setting_edit') && $extension_settings) {
|
||||
echo modal::create(['id'=>'modal-toggle','type'=>'toggle','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_toggle','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('toggle'); list_form_submit('form_list');"])]);
|
||||
}
|
||||
if (permission_exists('extension_setting_delete') && $extension_settings) {
|
||||
echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('delete'); list_form_submit('form_list');"])]);
|
||||
}
|
||||
|
||||
echo $text['title_description-extension_settings']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<form id='form_list' method='post'>\n";
|
||||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<table class='list'>\n";
|
||||
if (is_array($extension_settings) && @sizeof($extension_settings) != 0) {
|
||||
$x = 0;
|
||||
foreach ($extension_settings as $row) {
|
||||
$extension_setting_type = $row['extension_setting_type'];
|
||||
$extension_setting_type = strtolower($extension_setting_type);
|
||||
|
||||
$label_extension_setting_type = $row['extension_setting_type'];
|
||||
$label_extension_setting_type = str_replace("_", " ", $label_extension_setting_type);
|
||||
$label_extension_setting_type = str_replace("-", " ", $label_extension_setting_type);
|
||||
$label_extension_setting_type = ucwords($label_extension_setting_type);
|
||||
|
||||
if ($previous_extension_setting_type !== $row['extension_setting_type']) {
|
||||
echo " <tr>";
|
||||
echo " <td align='left' colspan='999'> </td>\n";
|
||||
echo " </tr>";
|
||||
echo " <tr>";
|
||||
echo " <td align='left' colspan='999' nowrap='nowrap'><b>".escape($label_extension_setting_type)."</b></td>\n";
|
||||
echo " </tr>";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('extension_setting_add') || permission_exists('extension_setting_edit') || permission_exists('extension_setting_delete')) {
|
||||
echo " <th class='checkbox'>\n";
|
||||
echo " <input type='checkbox' id='checkbox_all_".$extension_setting_type."' name='checkbox_all' onclick=\"list_all_toggle('".$extension_setting_type."'); checkbox_on_change(this);\">\n";
|
||||
echo " </th>\n";
|
||||
}
|
||||
//if ($_GET['show'] == 'all' && permission_exists('extension_setting_all')) {
|
||||
// echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
//}
|
||||
|
||||
//echo th_order_by('extension_setting_type', $text['label-extension_setting_type'], $order_by, $order);
|
||||
//echo th_order_by('extension_setting_name', $text['label-extension_setting_name'], $order_by, $order);
|
||||
//echo th_order_by('extension_setting_value', $text['label-extension_setting_value'], $order_by, $order);
|
||||
//echo th_order_by('extension_setting_enabled', $text['label-extension_setting_enabled'], $order_by, $order, null, "class='center'");
|
||||
echo " <th>".$text['label-extension_setting_type']."</th>\n";
|
||||
echo " <th>".$text['label-extension_setting_name']."</th>\n";
|
||||
echo " <th>".$text['label-extension_setting_value']."</th>\n";
|
||||
echo " <th class='center'>".$text['label-extension_setting_enabled']."</th>\n";
|
||||
|
||||
echo " <th class='hide-sm-dn'>".$text['label-extension_setting_description']."</th>\n";
|
||||
if (permission_exists('extension_setting_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'> </td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
||||
}
|
||||
if (permission_exists('extension_setting_edit')) {
|
||||
$list_row_url = "extension_setting_edit.php?id=".urlencode($row['extension_setting_uuid'])."&extension_uuid=".urlencode($extension_uuid);
|
||||
}
|
||||
echo "<tr class='list-row' href='".$list_row_url."'>\n";
|
||||
if (permission_exists('extension_setting_add') || permission_exists('extension_setting_edit') || permission_exists('extension_setting_delete')) {
|
||||
echo " <td class='checkbox'>\n";
|
||||
echo " <input type='checkbox' name='extension_settings[$x][checked]' id='checkbox_".$x."' class='checkbox_".$extension_setting_type."' value='true' onclick=\"checkbox_on_change(this); if (!this.checked) { document.getElementById('checkbox_all_".$extension_setting_type."').checked = false; }\">\n";
|
||||
echo " <input type='hidden' name='extension_settings[$x][extension_setting_uuid]' value='".escape($row['extension_setting_uuid'])."' />\n";
|
||||
echo " </td>\n";
|
||||
}
|
||||
//if ($_GET['show'] == 'all' && permission_exists('extension_setting_all')) {
|
||||
// echo " <td>".escape($row['domain_name'])."</td>\n";
|
||||
//}
|
||||
echo " <td>".escape($row['extension_setting_type'])."</td>\n";
|
||||
echo " <td>".escape($row['extension_setting_name'])."</td>\n";
|
||||
echo " <td>".escape($row['extension_setting_value'])."</td>\n";
|
||||
if (permission_exists('extension_setting_edit')) {
|
||||
echo " <td class='no-link center'>\n";
|
||||
echo " <input type='hidden' name='number_translations[$x][extension_setting_enabled]' value='".escape($row['extension_setting_enabled'])."' />\n";
|
||||
echo button::create(['type'=>'submit','class'=>'link','label'=>$text['label-'.$row['extension_setting_enabled']],'title'=>$text['button-toggle'],'onclick'=>"list_self_check('checkbox_".$x."'); list_action_set('toggle'); list_form_submit('form_list')"]);
|
||||
}
|
||||
else {
|
||||
echo " <td class='center'>\n";
|
||||
echo $text['label-'.$row['extension_setting_enabled']];
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='description overflow hide-sm-dn'>".escape($row['extension_setting_description'])."</td>\n";
|
||||
if (permission_exists('extension_setting_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'>\n";
|
||||
echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'link'=>$list_row_url]);
|
||||
echo " </td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
||||
//set the previous category
|
||||
$previous_extension_setting_type = $row['extension_setting_type'];
|
||||
$x++;
|
||||
}
|
||||
unset($extension_settings);
|
||||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$id."' value='".$extension_uuid."'>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
echo "</form>\n";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,266 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
/**
|
||||
* extension_settings class
|
||||
*
|
||||
* @method null delete
|
||||
* @method null toggle
|
||||
* @method null copy
|
||||
*/
|
||||
if (!class_exists('extension_settings')) {
|
||||
class extension_settings {
|
||||
|
||||
/**
|
||||
* declare the variables
|
||||
*/
|
||||
private $app_name;
|
||||
private $app_uuid;
|
||||
private $name;
|
||||
private $table;
|
||||
private $toggle_field;
|
||||
private $toggle_values;
|
||||
private $description_field;
|
||||
private $location;
|
||||
|
||||
/**
|
||||
* called when the object is created
|
||||
*/
|
||||
public function __construct() {
|
||||
//assign the variables
|
||||
$this->app_name = 'extension_settings';
|
||||
$this->app_uuid = '1416a250-f6e1-4edc-91a6-5c9b883638fd';
|
||||
$this->name = 'extension_setting';
|
||||
$this->table = 'extension_settings';
|
||||
$this->toggle_field = 'extension_setting_enabled';
|
||||
$this->toggle_values = ['true','false'];
|
||||
$this->description_field = 'extension_setting_description';
|
||||
$this->location = 'extension_settings.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* called when there are no references to a particular object
|
||||
* unset the variables used in the class
|
||||
*/
|
||||
public function __destruct() {
|
||||
foreach ($this as $key => $value) {
|
||||
unset($this->$key);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* delete rows from the database
|
||||
*/
|
||||
public function delete($records) {
|
||||
if (permission_exists($this->name.'_delete')) {
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: '.$this->location);
|
||||
exit;
|
||||
}
|
||||
|
||||
//delete multiple records
|
||||
if (is_array($records) && @sizeof($records) != 0) {
|
||||
//build the delete array
|
||||
$x = 0;
|
||||
foreach ($records as $record) {
|
||||
//add to the array
|
||||
if ($record['checked'] == 'true' && is_uuid($record['uuid'])) {
|
||||
$array[$this->table][$x][$this->name.'_uuid'] = $record['uuid'];
|
||||
$array[$this->table][$x]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
}
|
||||
|
||||
//increment the id
|
||||
$x++;
|
||||
}
|
||||
|
||||
//delete the checked rows
|
||||
if (is_array($array) && @sizeof($array) != 0) {
|
||||
//execute delete
|
||||
$database = new database;
|
||||
$database->app_name = $this->app_name;
|
||||
$database->app_uuid = $this->app_uuid;
|
||||
$database->delete($array);
|
||||
unset($array);
|
||||
|
||||
//set message
|
||||
message::add($text['message-delete']);
|
||||
}
|
||||
unset($records);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* toggle a field between two values
|
||||
*/
|
||||
public function toggle($records) {
|
||||
if (permission_exists($this->name.'_edit')) {
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: '.$this->location);
|
||||
exit;
|
||||
}
|
||||
|
||||
//toggle the checked records
|
||||
if (is_array($records) && @sizeof($records) != 0) {
|
||||
//get current toggle state
|
||||
foreach($records as $record) {
|
||||
if ($record['checked'] == 'true' && is_uuid($record['uuid'])) {
|
||||
$uuids[] = "'".$record['uuid']."'";
|
||||
}
|
||||
}
|
||||
if (is_array($uuids) && @sizeof($uuids) != 0) {
|
||||
$sql = "select ".$this->name."_uuid as uuid, ".$this->toggle_field." as toggle from v_".$this->table." ";
|
||||
$sql .= "where ".$this->name."_uuid in (".implode(', ', $uuids).") ";
|
||||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
$rows = $database->select($sql, $parameters, 'all');
|
||||
if (is_array($rows) && @sizeof($rows) != 0) {
|
||||
foreach ($rows as $row) {
|
||||
$states[$row['uuid']] = $row['toggle'];
|
||||
}
|
||||
}
|
||||
unset($sql, $parameters, $rows, $row);
|
||||
}
|
||||
|
||||
//build update array
|
||||
$x = 0;
|
||||
foreach($states as $uuid => $state) {
|
||||
//create the array
|
||||
$array[$this->table][$x][$this->name.'_uuid'] = $uuid;
|
||||
$array[$this->table][$x][$this->toggle_field] = $state == $this->toggle_values[0] ? $this->toggle_values[1] : $this->toggle_values[0];
|
||||
|
||||
//increment the id
|
||||
$x++;
|
||||
}
|
||||
|
||||
//save the changes
|
||||
if (is_array($array) && @sizeof($array) != 0) {
|
||||
//save the array
|
||||
$database = new database;
|
||||
$database->app_name = $this->app_name;
|
||||
$database->app_uuid = $this->app_uuid;
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
//set message
|
||||
message::add($text['message-toggle']);
|
||||
}
|
||||
unset($records, $states);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* copy rows from the database
|
||||
*/
|
||||
public function copy($records) {
|
||||
if (permission_exists($this->name.'_add')) {
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: '.$this->location);
|
||||
exit;
|
||||
}
|
||||
|
||||
//copy the checked records
|
||||
if (is_array($records) && @sizeof($records) != 0) {
|
||||
|
||||
//get checked records
|
||||
foreach($records as $record) {
|
||||
if ($record['checked'] == 'true' && is_uuid($record['uuid'])) {
|
||||
$uuids[] = "'".$record['uuid']."'";
|
||||
}
|
||||
}
|
||||
|
||||
//create the array from existing data
|
||||
if (is_array($uuids) && @sizeof($uuids) != 0) {
|
||||
$sql = "select * from v_".$this->table." ";
|
||||
$sql .= "where ".$this->name."_uuid in (".implode(', ', $uuids).") ";
|
||||
$sql .= "and (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
$rows = $database->select($sql, $parameters, 'all');
|
||||
if (is_array($rows) && @sizeof($rows) != 0) {
|
||||
$x = 0;
|
||||
foreach ($rows as $row) {
|
||||
//copy data
|
||||
$array[$this->table][$x] = $row;
|
||||
|
||||
//add copy to the description
|
||||
$array[$this->table][$x][$this->name.'_uuid'] = uuid();
|
||||
$array[$this->table][$x][$this->description_field] = trim($row[$this->description_field]).' ('.$text['label-copy'].')';
|
||||
|
||||
//increment the id
|
||||
$x++;
|
||||
}
|
||||
}
|
||||
unset($sql, $parameters, $rows, $row);
|
||||
}
|
||||
|
||||
//save the changes and set the message
|
||||
if (is_array($array) && @sizeof($array) != 0) {
|
||||
//save the array
|
||||
$database = new database;
|
||||
$database->app_name = $this->app_name;
|
||||
$database->app_uuid = $this->app_uuid;
|
||||
$database->save($array);
|
||||
unset($array);
|
||||
|
||||
//set message
|
||||
message::add($text['message-copy']);
|
||||
}
|
||||
unset($records);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
// make sure the PATH_SEPARATOR is defined
|
||||
umask(2);
|
||||
if (!defined("PATH_SEPARATOR")) {
|
||||
if (strpos($_ENV["OS"], "Win") !== false) {
|
||||
define("PATH_SEPARATOR", ";");
|
||||
} else {
|
||||
define("PATH_SEPARATOR", ":");
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($output_format)) $output_format = (PHP_SAPI == 'cli') ? 'text' : 'html';
|
||||
|
||||
// make sure the document_root is set
|
||||
$_SERVER["SCRIPT_FILENAME"] = str_replace("\\", '/', $_SERVER["SCRIPT_FILENAME"]);
|
||||
if(PHP_SAPI == 'cli'){
|
||||
chdir(pathinfo(realpath($_SERVER["PHP_SELF"]), PATHINFO_DIRNAME));
|
||||
$script_full_path = str_replace("\\", '/', getcwd() . '/' . $_SERVER["SCRIPT_FILENAME"]);
|
||||
$dirs = explode('/', pathinfo($script_full_path, PATHINFO_DIRNAME));
|
||||
if (file_exists('/project_root.php')) {
|
||||
$path = '/';
|
||||
} else {
|
||||
$i = 1;
|
||||
$path = '';
|
||||
while ($i < count($dirs)) {
|
||||
$path .= '/' . $dirs[$i];
|
||||
if (file_exists($path. '/project_root.php')) {
|
||||
break;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
$_SERVER["DOCUMENT_ROOT"] = $path;
|
||||
}else{
|
||||
$_SERVER["DOCUMENT_ROOT"] = str_replace($_SERVER["PHP_SELF"], "", $_SERVER["SCRIPT_FILENAME"]);
|
||||
}
|
||||
$_SERVER["DOCUMENT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"]);
|
||||
// try to detect if a project path is being used
|
||||
if (!defined('PROJECT_PATH')) {
|
||||
if (is_dir($_SERVER["DOCUMENT_ROOT"]. '/fusionpbx')) {
|
||||
define('PROJECT_PATH', '/fusionpbx');
|
||||
} elseif (file_exists($_SERVER["DOCUMENT_ROOT"]. '/project_root.php')) {
|
||||
define('PROJECT_PATH', '');
|
||||
} else {
|
||||
$dirs = explode('/', str_replace('\\', '/', pathinfo($_SERVER["PHP_SELF"], PATHINFO_DIRNAME)));
|
||||
$i = 1;
|
||||
$path = $_SERVER["DOCUMENT_ROOT"];
|
||||
while ($i < count($dirs)) {
|
||||
$path .= '/' . $dirs[$i];
|
||||
if (file_exists($path. '/project_root.php')) {
|
||||
break;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
if(!file_exists($path. '/project_root.php')){
|
||||
die("Failed to locate the Project Root by searching for project_root.php please contact support for assistance");
|
||||
}
|
||||
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
|
||||
define('PROJECT_PATH', $project_path);
|
||||
}
|
||||
$_SERVER["PROJECT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH);
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . $_SERVER["PROJECT_ROOT"]);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -591,12 +591,6 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_follow_me";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "follow_me_uuid";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "forward_caller_id_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_enabled";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
|
|
|||
|
|
@ -1150,8 +1150,8 @@ $text['label-hold_music']['de-ch'] = "Wartemusik"; //copied from de-de
|
|||
$text['label-hold_music']['de-de'] = "Wartemusik";
|
||||
$text['label-hold_music']['es-cl'] = "Música en Espera";
|
||||
$text['label-hold_music']['es-mx'] = "Música en Espera"; //copied from es-cl
|
||||
$text['label-hold_music']['fr-ca'] = "Musique de Garde"; //copied from fr-fr
|
||||
$text['label-hold_music']['fr-fr'] = "Musique de Garde";
|
||||
$text['label-hold_music']['fr-ca'] = "Musique d'attente"; //copied from fr-fr
|
||||
$text['label-hold_music']['fr-fr'] = "Musique d'attente";
|
||||
$text['label-hold_music']['he-il'] = "מוסיקה בהמתנה";
|
||||
$text['label-hold_music']['it-it'] = "Musica di Attesa";
|
||||
$text['label-hold_music']['nl-nl'] = "Wachtmuziek";
|
||||
|
|
@ -2460,8 +2460,8 @@ $text['description-hold_music']['de-ch'] = "Wählen Sie die Wartemusik Kategorie
|
|||
$text['description-hold_music']['de-de'] = "Wählen Sie die Wartemusik Kategorie.";
|
||||
$text['description-hold_music']['es-cl'] = "Ingrese la categoría de música en espera aquí";
|
||||
$text['description-hold_music']['es-mx'] = "Ingrese la categoría de música en espera aquí"; //copied from es-cl
|
||||
$text['description-hold_music']['fr-ca'] = "Choisir la musique de garde."; //copied from fr-fr
|
||||
$text['description-hold_music']['fr-fr'] = "Choisir la musique de garde.";
|
||||
$text['description-hold_music']['fr-ca'] = "Choisir la musique d'attente'."; //copied from fr-fr
|
||||
$text['description-hold_music']['fr-fr'] = "Choisir la musique d'attente.";
|
||||
$text['description-hold_music']['he-il'] = "";
|
||||
$text['description-hold_music']['it-it'] = "Seleziona la categoria di Musica d'attesa.";
|
||||
$text['description-hold_music']['nl-nl'] = "Kies Wachtmuziek hier.";
|
||||
|
|
|
|||
|
|
@ -92,7 +92,6 @@
|
|||
$available_columns[] = 'follow_me_uuid';
|
||||
$available_columns[] = 'enabled';
|
||||
$available_columns[] = 'description';
|
||||
$available_columns[] = 'forward_caller_id_uuid';
|
||||
$available_columns[] = 'absolute_codec_string';
|
||||
$available_columns[] = 'forward_user_not_registered_destination';
|
||||
$available_columns[] = 'forward_user_not_registered_enabled';
|
||||
|
|
@ -210,4 +209,4 @@
|
|||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -937,12 +937,13 @@
|
|||
echo button::create(['type'=>'button','label'=>$text['button-call_forward'],'icon'=>'project-diagram','style'=>$button_margin,'link'=>'../calls/call_edit.php?id='.urlencode($extension_uuid)]);
|
||||
unset($button_margin);
|
||||
}
|
||||
if (permission_exists('extension_setting_view')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-settings'],'icon'=>$_SESSION['theme']['button_icon_settings'],'id'=>'btn_settings','style'=>'','link'=>PROJECT_PATH.'/app/extension_settings/extension_settings.php?id='.urlencode($extension_uuid)]);
|
||||
}
|
||||
if (permission_exists('extension_copy')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-copy'],'icon'=>$_SESSION['theme']['button_icon_copy'],'id'=>'btn_copy','style'=>'margin-left: 15px;','onclick'=>"copy_extension();"]);
|
||||
}
|
||||
if (permission_exists('domain_setting_view') && file_exists(PROJECT_PATH.'/app/extension_settings/app_config.php')) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-settings'],'icon'=>$_SESSION['theme']['button_icon_settings'],'id'=>'btn_settings','style'=>'','link'=>PROJECT_PATH.'/app/extension_settings/extension_settings.php?id='.urlencode($extension_uuid)]);
|
||||
}
|
||||
|
||||
}
|
||||
echo button::create(['type'=>'button','label'=>$text['button-save'],'icon'=>$_SESSION['theme']['button_icon_save'],'id'=>'btn_save','style'=>'margin-left: 15px;','onclick'=>'submit_form();']);
|
||||
echo " </div>\n";
|
||||
|
|
|
|||
|
|
@ -655,334 +655,6 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "EGS Syslog Server Port";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "68feb973-be9a-42ac-94a1-54263dfde589";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_lldp_tx_enable";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " LLDP Transmit. 0-Disabled, 1-Enabled";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f0d1dd5b-7130-428c-bddb-a975d85587f5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_lldp_refresh";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "60";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "LLDP Refresh Timer. Default 60 seconds";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "10af1d27-ef61-4c7c-94cf-8db797a84ebc";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_lldp_learn";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Use LLDP learned information such as voip vlan";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b4cc791a-5389-4e1f-9f87-e8394b399d64";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_enable_vlan";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable VLAN Support. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "16d74bd9-7f44-4780-a202-3cfcbaa6ef5a";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_lan_port_vlan";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "256";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default VLAN for phone LAN port.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "530564ac-17aa-4167-b047-bf764250d91a";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_pc_port_vlan";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default VLAN for phone PC port.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2b72e19b-2437-45c0-9df5-4fef6ac078c6";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_enable_diffserv";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable DiffServ(DSCP) Support. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "86081f7e-af03-41b9-a5af-b5593182c9ff";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_qos_rtp_voice";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 2 QoS 802.1p Priority Value for RTP Voice media";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8050cfbd-44d1-46db-b553-2cc0defd5fc2";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_qos_rtp_video";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 2 QoS 802.1p Priority Value for RTP Video media";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ddf89377-7303-435c-917a-bdd32579cf36";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_qos_sip";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 2 QoS 802.1p Priority Value for SIP signaling";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b6a89aa6-2e21-489c-8f1f-e819e6ced17b";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_dscp_rtp_voice";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "46";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 3 QoS DSCP Value for RTP Voice media";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "9a22bd5b-c2b0-4c06-bd19-63ef58837011";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_dscp_rtp_video";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "46";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 3 QoS DSCP Value for RTP Video media";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "94effa7d-8c0f-4cca-b617-9d2d24748aa7";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_dscp_sip";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "-1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Layer 3 QoS DSCP Value for SIP signaling (Disabled by default)";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "49f2ff3f-0628-44fa-a8d2-82cb38fbaf98";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_video_codec";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "H264";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable video codec on sip lines (Only h264 currently supported)";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "be8c1341-3cb6-4aa8-bef5-642ff11199e8";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_syslog_enable";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable Syslog server";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8281507b-80fa-450a-94b7-6f58a7a9e6e1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_syslog_server";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0.0.0.0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Syslog Server ip";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "db7595a1-318b-49d8-86a6-8ff4b44e30f5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_syslog_server_port";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "514";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Syslog Server Port number";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "67a916be-35df-44f1-ab12-81756fd1f911";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_default_answer_mode";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "2";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Answer call as audio only or audio with video. 1-Audio, 2-Video";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "bbbdf01c-d760-43cf-958d-e47c54dd3997";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_default_dial_mode";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Dial call as audio only or audio with video. 1-Audio, 2-Video Note: If you set this to video, then video is offered in the first invite which can cause your call to hang or not complete if going through a sip trunk provider.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "37ddabf0-8d7c-494f-b381-5bc4e3048bff";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_enable_auto_upgrade";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable firmware auto upgrade 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "5a2a79c3-befb-4b7a-998d-3f0bfc9fcde4";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_upgrade_server_1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server.yourdomain.com/app/fanvil/resources/firmware";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Auto upgrade firmware server 1.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "de60a8fb-628a-4ee3-a76a-ff3e0a7f045f";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_upgrade_server_2";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "https://server2.yourdomain.com/app/fanvil/resources/firmware";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Auto upgrade firmware server 2.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "09134520-647a-4a86-bffd-d927aff2b33b";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_upgrade_interval";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "24";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Check for firmware every X hours.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3ca2b12b-21f1-4a6d-a0eb-8670105c77d9";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_i20s";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "i20S2.1.1.3664T20180809203309.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the i20S firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d07be0b3-a34b-4739-a227-766231e5bb52";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_i23s";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "i23S2.1.1.3664T20180809204215.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the i23S firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6e0d313d-e44a-446f-9274-99e778d87cf5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_i30";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "i302.1.1.3664T20180809203614.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the i30 firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a3cf0c35-4f92-4607-84a6-b06b29d67134";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_i31s";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "i31S2.1.1.3664T20180809203916.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the i31S firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "235ccea6-5ed0-45ff-a03f-d0cbc6ebaf01";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_x2p";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "x2-mono2.8.0.6251T20181017203533.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the X2P firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8912437c-7142-4a85-b4aa-f83c1e50ad30";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_x3";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "x3s2.8.0.6251T20181017202549.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the X3S/G firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "756059c7-b754-4285-be22-0d51c82d62b3";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_x4";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "x42.8.0.6251T20181017202853.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the X4/G firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "122ba840-7dee-4c8e-a93c-739681b4b1d4";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_x5s";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "x5s-6900-P0.13.3-1.8.0-2698T2018-09-30-15.23.04.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the X5S firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "32635e1c-dcb8-44e1-a0c4-5209b4f84392";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_firmware_x6";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "x6-6914-P0.13.3-1.8.0-2697T2018-09-30-15.10.00.z";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = " Filename of the X6 firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "4b7f56f3-31a9-46dd-b588-35b253024b1f";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_switch_mode";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "0 - Monostable, 1 - Bistable";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "316ce083-69ba-4932-be02-845d3ed8f585";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_enable_card_reader";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable RFID Card Reader. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7226d18c-7d49-449b-be7b-8cfb46c1ddb3";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_enable_indoor_open";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Use indoor switch to unlock the door. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "83dce10f-6254-490c-af89-a2a004890c47";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_enable_access_table";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default: Enabled. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d4ffbf45-5abe-4ef3-9cf7-f222257d5633";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_opening_door_code_remote";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "*";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default: *";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c51013fc-765e-4758-99a9-2738cfe9a7dd";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_opening_door_code_local";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "6789";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Default: 6789";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0c5fe247-0361-4c69-a247-d14b5417e53e";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_enable_syslog";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Enable EGS Syslog. 0 - NO, 1 - Yes";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "1a74a177-49fc-432e-b10e-39c7d0c7ddc4";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_log_server";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0.0.0.0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "EGS Syslog Server. Hostname or IP";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3fb2a87b-89b1-4d53-923d-c1478aec4f58";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_egs_log_port";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "514";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "EGS Syslog Server Port";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "108f26c5-568d-4cc0-af94-097ecb600b8f";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "fanvil_provision_url";
|
||||
|
|
|
|||
|
|
@ -303,8 +303,8 @@ $text['option-fax-resolution-superfine']['de-ch'] = "Superfein"; //copied from d
|
|||
$text['option-fax-resolution-superfine']['de-de'] = "Superfein";
|
||||
$text['option-fax-resolution-superfine']['es-cl'] = "Superfino";
|
||||
$text['option-fax-resolution-superfine']['es-mx'] = "Superfino"; //copied from es-cl
|
||||
$text['option-fax-resolution-superfine']['fr-ca'] = "Superfin"; //copied from fr-fr
|
||||
$text['option-fax-resolution-superfine']['fr-fr'] = "Superfin";
|
||||
$text['option-fax-resolution-superfine']['fr-ca'] = "Superfine"; //copied from fr-fr
|
||||
$text['option-fax-resolution-superfine']['fr-fr'] = "Superfine";
|
||||
$text['option-fax-resolution-superfine']['he-il'] = "";
|
||||
$text['option-fax-resolution-superfine']['it-it'] = "Superfine";
|
||||
$text['option-fax-resolution-superfine']['nl-nl'] = "";
|
||||
|
|
@ -324,8 +324,8 @@ $text['option-fax-resolution-normal']['de-ch'] = "Normal"; //copied from de-de
|
|||
$text['option-fax-resolution-normal']['de-de'] = "Normal";
|
||||
$text['option-fax-resolution-normal']['es-cl'] = "Normal";
|
||||
$text['option-fax-resolution-normal']['es-mx'] = "Normal"; //copied from es-cl
|
||||
$text['option-fax-resolution-normal']['fr-ca'] = "Normal"; //copied from fr-fr
|
||||
$text['option-fax-resolution-normal']['fr-fr'] = "Normal";
|
||||
$text['option-fax-resolution-normal']['fr-ca'] = "Normale"; //copied from fr-fr
|
||||
$text['option-fax-resolution-normal']['fr-fr'] = "Normale";
|
||||
$text['option-fax-resolution-normal']['he-il'] = "";
|
||||
$text['option-fax-resolution-normal']['it-it'] = "Normale";
|
||||
$text['option-fax-resolution-normal']['nl-nl'] = "";
|
||||
|
|
@ -492,8 +492,8 @@ $text['label-sent']['de-ch'] = "Gesendet"; //copied from de-de
|
|||
$text['label-sent']['de-de'] = "Gesendet";
|
||||
$text['label-sent']['es-cl'] = "Enviado";
|
||||
$text['label-sent']['es-mx'] = "Enviado"; //copied from es-cl
|
||||
$text['label-sent']['fr-ca'] = "Envoyé"; //copied from fr-fr
|
||||
$text['label-sent']['fr-fr'] = "Envoyé";
|
||||
$text['label-sent']['fr-ca'] = "Envoyés"; //copied from fr-fr
|
||||
$text['label-sent']['fr-fr'] = "Envoyés";
|
||||
$text['label-sent']['he-il'] = "";
|
||||
$text['label-sent']['it-it'] = "Spedito";
|
||||
$text['label-sent']['nl-nl'] = "";
|
||||
|
|
@ -1017,8 +1017,8 @@ $text['label-fax_files']['de-ch'] = "Fax Dateien"; //copied from de-de
|
|||
$text['label-fax_files']['de-de'] = "Fax Dateien";
|
||||
$text['label-fax_files']['es-cl'] = "Facsímil del Archivo(s)";
|
||||
$text['label-fax_files']['es-mx'] = "Facsímil del Archivo(s)"; //copied from es-cl
|
||||
$text['label-fax_files']['fr-ca'] = "Télécopieur Fichier(s)"; //copied from fr-fr
|
||||
$text['label-fax_files']['fr-fr'] = "Télécopieur Fichier(s)";
|
||||
$text['label-fax_files']['fr-ca'] = "Fichier(s) à Télécopier"; //copied from fr-fr
|
||||
$text['label-fax_files']['fr-fr'] = "Fichier(s) à Télécopier";
|
||||
$text['label-fax_files']['he-il'] = "";
|
||||
$text['label-fax_files']['it-it'] = "File(s) FAX";
|
||||
$text['label-fax_files']['nl-nl'] = "";
|
||||
|
|
@ -1332,8 +1332,8 @@ $text['label-fax-subject']['de-ch'] = "Betreff"; //copied from de-de
|
|||
$text['label-fax-subject']['de-de'] = "Betreff";
|
||||
$text['label-fax-subject']['es-cl'] = "Asunto";
|
||||
$text['label-fax-subject']['es-mx'] = "Asunto"; //copied from es-cl
|
||||
$text['label-fax-subject']['fr-ca'] = "Sujet"; //copied from fr-fr
|
||||
$text['label-fax-subject']['fr-fr'] = "Sujet";
|
||||
$text['label-fax-subject']['fr-ca'] = "Objet"; //copied from fr-fr
|
||||
$text['label-fax-subject']['fr-fr'] = "Objet";
|
||||
$text['label-fax-subject']['he-il'] = "נושא";
|
||||
$text['label-fax-subject']['it-it'] = "Oggetto";
|
||||
$text['label-fax-subject']['nl-nl'] = "";
|
||||
|
|
@ -1542,8 +1542,8 @@ $text['label-fax-footer']['de-ch'] = "Fußzeile"; //copied from de-de
|
|||
$text['label-fax-footer']['de-de'] = "Fußzeile";
|
||||
$text['label-fax-footer']['es-cl'] = "Pie de Página";
|
||||
$text['label-fax-footer']['es-mx'] = "Pie de Página"; //copied from es-cl
|
||||
$text['label-fax-footer']['fr-ca'] = "Footer"; //copied from fr-fr
|
||||
$text['label-fax-footer']['fr-fr'] = "Footer";
|
||||
$text['label-fax-footer']['fr-ca'] = "Bas de page"; //copied from fr-fr
|
||||
$text['label-fax-footer']['fr-fr'] = "Bas de page";
|
||||
$text['label-fax-footer']['he-il'] = "תחתית עמוד";
|
||||
$text['label-fax-footer']['it-it'] = "PiÃè di pagina";
|
||||
$text['label-fax-footer']['nl-nl'] = "";
|
||||
|
|
@ -2697,8 +2697,8 @@ $text['description-fax_files']['de-ch'] = "Wählen Sie die Datei(en) zum senden.
|
|||
$text['description-fax_files']['de-de'] = "Wählen Sie die Datei(en) zum senden.";
|
||||
$text['description-fax_files']['es-cl'] = "Seleccione el archivo a subir y enviar como fax.";
|
||||
$text['description-fax_files']['es-mx'] = "Seleccione el archivo a subir y enviar como fax."; //copied from es-cl
|
||||
$text['description-fax_files']['fr-ca'] = "Choisir un fichier à télécharger pour être émis en tant que Fax."; //copied from fr-fr
|
||||
$text['description-fax_files']['fr-fr'] = "Choisir un fichier à télécharger pour être émis en tant que Fax.";
|
||||
$text['description-fax_files']['fr-ca'] = "Choisir un fichier à télécharger pour émettre en tant que Fax."; //copied from fr-fr
|
||||
$text['description-fax_files']['fr-fr'] = "Choisir un fichier à télécharger pour émettre en tant que Fax.";
|
||||
$text['description-fax_files']['he-il'] = "";
|
||||
$text['description-fax_files']['it-it'] = "Scegli i/il file da caricare e spedire.";
|
||||
$text['description-fax_files']['nl-nl'] = "";
|
||||
|
|
@ -3214,8 +3214,8 @@ $text['description-email_outbound_subject_tag']['ru-ru'] = "Установите
|
|||
$text['description-email_outbound_subject_tag']['sv-se'] = "Ange E-post ämne för utgående fax.";
|
||||
$text['description-email_outbound_subject_tag']['uk-ua'] = "";
|
||||
|
||||
$text['description-email_outbound_authorized_senders']['en-us'] = "Define the email address(es) and/or domains allowed to send faxes through this server.";
|
||||
$text['description-email_outbound_authorized_senders']['en-gb'] = "Define the email address(es) and/or domains allowed to send faxes through this server.";
|
||||
$text['description-email_outbound_authorized_senders']['en-us'] = "Define the email address(es) allowed to send faxes through this server.";
|
||||
$text['description-email_outbound_authorized_senders']['en-gb'] = "Define the email address(es) allowed to send faxes through this server.";
|
||||
$text['description-email_outbound_authorized_senders']['ar-eg'] = "";
|
||||
$text['description-email_outbound_authorized_senders']['de-at'] = "Geben Sie die Email Addresse(n) an, von welchen Faxe gesendet werden dürfen."; //copied from de-de
|
||||
$text['description-email_outbound_authorized_senders']['de-ch'] = "Geben Sie die Email Addresse(n) an, von welchen Faxe gesendet werden dürfen."; //copied from de-de
|
||||
|
|
@ -3537,8 +3537,8 @@ $text['description-2']['de-ch'] = "Um ein Fax zu senden, laden Sie eine PDF oder
|
|||
$text['description-2']['de-de'] = "Um ein Fax zu senden, laden Sie eine PDF oder eine TIF Datei hoch. Um ein Deckblatt zu generieren, geben Sie einen Betreff und/oder eine Nachricht unten an.";
|
||||
$text['description-2']['es-cl'] = "Para enviar un fax, cargar un archivo <strong>PDF</strong> o <strong>TIF</strong>. Para generar una hoja de presentación, escriba un asunto y / o mensaje a continuación.";
|
||||
$text['description-2']['es-mx'] = "Para enviar un fax, cargar un archivo <strong>PDF</strong> o <strong>TIF</strong>. Para generar una hoja de presentación, escriba un asunto y / o mensaje a continuación."; //copied from es-cl
|
||||
$text['description-2']['fr-ca'] = "Pour envoyer un fax, télécharger un fichier <strong>PDF</strong> ou <strong>TIF</strong>. Pour générer une feuille de couverture, entrer un sujet et / ou un message ci-dessous."; //copied from fr-fr
|
||||
$text['description-2']['fr-fr'] = "Pour envoyer un fax, télécharger un fichier <strong>PDF</strong> ou <strong>TIF</strong>. Pour générer une feuille de couverture, entrer un sujet et / ou un message ci-dessous.";
|
||||
$text['description-2']['fr-ca'] = "Pour envoyer un fax, téléchargez un fichier <strong>PDF</strong> ou <strong>TIF</strong>. Pour générer une feuille de couverture, entrez un sujet et / ou un message ci-dessous."; //copied from fr-fr
|
||||
$text['description-2']['fr-fr'] = "Pour envoyer un fax, téléchargez un fichier <strong>PDF</strong> ou <strong>TIF</strong>. Pour générer une feuille de couverture, entrez un sujet et / ou un message ci-dessous.";
|
||||
$text['description-2']['he-il'] = "";
|
||||
$text['description-2']['it-it'] = "Per spedire un fax, carica un <strong>PDF</strong> o un <strong>TIF</strong>. Per generare una copertina, inserisci un oggetto e/o un Messaggio qui sotto.";
|
||||
$text['description-2']['nl-nl'] = "";
|
||||
|
|
@ -3747,8 +3747,8 @@ $text['button-preview']['de-ch'] = "Vorschau"; //copied from de-de
|
|||
$text['button-preview']['de-de'] = "Vorschau";
|
||||
$text['button-preview']['es-cl'] = "Prevista";
|
||||
$text['button-preview']['es-mx'] = "Prevista"; //copied from es-cl
|
||||
$text['button-preview']['fr-ca'] = "Pré-Visualisation"; //copied from fr-fr
|
||||
$text['button-preview']['fr-fr'] = "Pré-Visualisation";
|
||||
$text['button-preview']['fr-ca'] = "Aperçu"; //copied from fr-fr
|
||||
$text['button-preview']['fr-fr'] = "Aperçu";
|
||||
$text['button-preview']['he-il'] = "תצוגה מקדימה";
|
||||
$text['button-preview']['it-it'] = "Anteprima";
|
||||
$text['button-preview']['nl-nl'] = "";
|
||||
|
|
|
|||
|
|
@ -99,8 +99,6 @@
|
|||
$apps[$x]['permissions'][$y]['groups'][] = "admin";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "user";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "agent";
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "follow_me_caller_id";
|
||||
|
||||
//default settings
|
||||
$y=0;
|
||||
|
|
@ -153,15 +151,6 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_caller_id_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = "foreign";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_destinations";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "destination_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "follow_me_ignore_busy";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
|
|
|||
|
|
@ -302,6 +302,22 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Bluetooth Handsfree - 0 - Off, 1 - On";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "5bc527d0-6f83-403b-a6c0-574540cfa9a6";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_headset_type";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Headset Type. 0 - Normal, 1 - Plantronics EHS. Default is 0";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "522ee640-5e24-4058-95ed-605bd982ec33";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_headset_key_mode";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "1";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "HEADSET Key Mode. 0 - Default Mode, 1 - Toggle Headset/Speaker. Default is 0";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "453ec939-ef61-4ecd-ad0a-31905153efd8";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_auto_attended_transfer";
|
||||
|
|
@ -406,6 +422,14 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "BLF Call-pickup. 0 - Auto, 1 - Force BLF Call-pickup by prefix, 2 - Disabled. Default is 0";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "53a9f955-d199-44f5-a97d-eed636348da5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_blf_remote_status";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Hide BLF Remote Status. Default 0 - Not hidden, 1 - Hidden";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "09ed1352-2594-4eb8-b3f8-93cdaabe6302";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "grandstream_active_backlight_timeout";
|
||||
|
|
|
|||
|
|
@ -68,9 +68,16 @@ if ($domains_processed == 1) {
|
|||
|
||||
//use the ivr_menu_language to update the language dialect and voice
|
||||
$sql = "update v_ivr_menus set ";
|
||||
$sql .= "ivr_menu_language = split_part(ivr_menu_language, '/', 1), ";
|
||||
$sql .= "ivr_menu_dialect = split_part(ivr_menu_language, '/', 2), ";
|
||||
$sql .= "ivr_menu_voice = split_part(ivr_menu_language, '/', 3) ";
|
||||
if ($db_type == 'pgsql') {
|
||||
$sql .= "ivr_menu_language = split_part(ivr_menu_language, '/', 1), ";
|
||||
$sql .= "ivr_menu_dialect = split_part(ivr_menu_language, '/', 2), ";
|
||||
$sql .= "ivr_menu_voice = split_part(ivr_menu_language, '/', 3) ";
|
||||
}
|
||||
elseif ($db_type == 'mysql') {
|
||||
$sql .= "ivr_menu_language = SUBSTRING_INDEX(SUBSTRING_INDEX(ivr_menu_language, '/', 1), '/', -1), ";
|
||||
$sql .= "ivr_menu_dialect = SUBSTRING_INDEX(SUBSTRING_INDEX(ivr_menu_language, '/', 2), '/', -1), ";
|
||||
$sql .= "ivr_menu_voice = SUBSTRING_INDEX(SUBSTRING_INDEX(ivr_menu_language, '/', 3), '/', -1) ";
|
||||
}
|
||||
$sql .= "where ivr_menu_language like '%/%/%'; ";
|
||||
$database = new database;
|
||||
$ivr_menus = $database->select($sql, null, 'all');
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ $text['title-option_edit']['de-ch'] = "Optionen der Automatischen Vermittlung be
|
|||
$text['title-option_edit']['de-de'] = "Optionen der Automatischen Vermittlung bearbeiten";
|
||||
$text['title-option_edit']['es-cl'] = "Editar Menú IVR";
|
||||
$text['title-option_edit']['es-mx'] = "Editar Menú IVR"; //copied from es-cl
|
||||
$text['title-option_edit']['fr-ca'] = "Menu SVI Editer un Option"; //copied from fr-fr
|
||||
$text['title-option_edit']['fr-fr'] = "Menu SVI Editer un Option";
|
||||
$text['title-option_edit']['fr-ca'] = "Menu RVI Editer un Option"; //copied from fr-fr
|
||||
$text['title-option_edit']['fr-fr'] = "Menu RVI Editer un Option";
|
||||
$text['title-option_edit']['he-il'] = "";
|
||||
$text['title-option_edit']['it-it'] = "Modifica Opzioni Menu IVR";
|
||||
$text['title-option_edit']['nl-nl'] = "IVR meni optie bewerken";
|
||||
|
|
@ -30,7 +30,7 @@ $text['title-option_add']['de-ch'] = "Optionen der Automatischen Vermittlung hin
|
|||
$text['title-option_add']['de-de'] = "Optionen der Automatischen Vermittlung hinzufügen";
|
||||
$text['title-option_add']['es-cl'] = "Agregar Menú IVR";
|
||||
$text['title-option_add']['es-mx'] = "Agregar Menú IVR"; //copied from es-cl
|
||||
$text['title-option_add']['fr-ca'] = "Menu SVI Ajouter une Option"; //copied from fr-fr
|
||||
$text['title-option_add']['fr-ca'] = "Menu RVI Ajouter une Option"; //copied from fr-fr
|
||||
$text['title-option_add']['fr-fr'] = "Menu SVI Ajouter une Option";
|
||||
$text['title-option_add']['he-il'] = "";
|
||||
$text['title-option_add']['it-it'] = "Inserisci Opzione Menu IVR";
|
||||
|
|
@ -51,7 +51,7 @@ $text['title-ivr_menus']['de-ch'] = "Automatische Vermittlungen"; //copied from
|
|||
$text['title-ivr_menus']['de-de'] = "Automatische Vermittlungen";
|
||||
$text['title-ivr_menus']['es-cl'] = "Menus IVR";
|
||||
$text['title-ivr_menus']['es-mx'] = "Menus IVR"; //copied from es-cl
|
||||
$text['title-ivr_menus']['fr-ca'] = "Menus SVI"; //copied from fr-fr
|
||||
$text['title-ivr_menus']['fr-ca'] = "Menus RVI"; //copied from fr-fr
|
||||
$text['title-ivr_menus']['fr-fr'] = "Menus SVI";
|
||||
$text['title-ivr_menus']['he-il'] = "";
|
||||
$text['title-ivr_menus']['it-it'] = "Menu IVR";
|
||||
|
|
@ -72,7 +72,7 @@ $text['title-ivr_menu']['de-ch'] = "Automatische Vermittlung"; //copied from de-
|
|||
$text['title-ivr_menu']['de-de'] = "Automatische Vermittlung";
|
||||
$text['title-ivr_menu']['es-cl'] = "Menú IVR";
|
||||
$text['title-ivr_menu']['es-mx'] = "Menú IVR"; //copied from es-cl
|
||||
$text['title-ivr_menu']['fr-ca'] = "Menu SVI"; //copied from fr-fr
|
||||
$text['title-ivr_menu']['fr-ca'] = "Menu RVI"; //copied from fr-fr
|
||||
$text['title-ivr_menu']['fr-fr'] = "Menu SVI";
|
||||
$text['title-ivr_menu']['he-il'] = "";
|
||||
$text['title-ivr_menu']['it-it'] = "Menu IVR";
|
||||
|
|
@ -93,7 +93,7 @@ $text['title-ivr_menus_sub']['de-ch'] = "Automatische Vermittlungen - Sub"; //co
|
|||
$text['title-ivr_menus_sub']['de-de'] = "Automatische Vermittlungen - Sub";
|
||||
$text['title-ivr_menus_sub']['es-cl'] = "Menus IVR - Sub";
|
||||
$text['title-ivr_menus_sub']['es-mx'] = "Menus IVR - Sub"; //copied from es-cl
|
||||
$text['title-ivr_menus_sub']['fr-ca'] = "Menus SVI - Sub"; //copied from fr-fr
|
||||
$text['title-ivr_menus_sub']['fr-ca'] = "Menus RVI - Sub"; //copied from fr-fr
|
||||
$text['title-ivr_menus_sub']['fr-fr'] = "Menus SVI - Sub";
|
||||
$text['title-ivr_menus_sub']['he-il'] = "";
|
||||
$text['title-ivr_menus_sub']['it-it'] = "Menu IVR - Sub";
|
||||
|
|
@ -114,8 +114,8 @@ $text['title-ivr_menus_other']['de-ch'] = "Automatische Vermittlungen - Other";
|
|||
$text['title-ivr_menus_other']['de-de'] = "Automatische Vermittlungen - Other";
|
||||
$text['title-ivr_menus_other']['es-cl'] = "Menus IVR - Other";
|
||||
$text['title-ivr_menus_other']['es-mx'] = "Menus IVR - Other"; //copied from es-cl
|
||||
$text['title-ivr_menus_other']['fr-ca'] = "Menus SVI - Other"; //copied from fr-fr
|
||||
$text['title-ivr_menus_other']['fr-fr'] = "Menus SVI - Other";
|
||||
$text['title-ivr_menus_other']['fr-ca'] = "Menus RVI - Autre"; //copied from fr-fr
|
||||
$text['title-ivr_menus_other']['fr-fr'] = "Menus SVI - Autre";
|
||||
$text['title-ivr_menus_other']['he-il'] = "";
|
||||
$text['title-ivr_menus_other']['it-it'] = "Menu IVR - Other";
|
||||
$text['title-ivr_menus_other']['nl-nl'] = "IVR Sub - menu";
|
||||
|
|
@ -198,7 +198,7 @@ $text['message-maximum_ivr_menus']['de-ch'] = "Maximale Anzahl an Automatischen
|
|||
$text['message-maximum_ivr_menus']['de-de'] = "Maximale Anzahl an Automatischen Vermittlungen:";
|
||||
$text['message-maximum_ivr_menus']['es-cl'] = "Máxima IVR Menús Animales:";
|
||||
$text['message-maximum_ivr_menus']['es-mx'] = "Máxima IVR Menús Animales:"; //copied from es-cl
|
||||
$text['message-maximum_ivr_menus']['fr-ca'] = "Menus Maximale SVI Admis:"; //copied from fr-fr
|
||||
$text['message-maximum_ivr_menus']['fr-ca'] = "Menus Maximale RVI Admis:";
|
||||
$text['message-maximum_ivr_menus']['fr-fr'] = "Menus Maximale SVI Admis:";
|
||||
$text['message-maximum_ivr_menus']['he-il'] = "";
|
||||
$text['message-maximum_ivr_menus']['it-it'] = "Massimo Menu IVR:";
|
||||
|
|
@ -786,7 +786,7 @@ $text['header-option_edit']['de-ch'] = "Optionen der Automatischen Vermittlung b
|
|||
$text['header-option_edit']['de-de'] = "Optionen der Automatischen Vermittlung bearbeiten";
|
||||
$text['header-option_edit']['es-cl'] = "Editar Menú IVR";
|
||||
$text['header-option_edit']['es-mx'] = "Editar Menú IVR"; //copied from es-cl
|
||||
$text['header-option_edit']['fr-ca'] = "Menu SVI Editer un Option"; //copied from fr-fr
|
||||
$text['header-option_edit']['fr-ca'] = "Menu RVI Editer un Option";
|
||||
$text['header-option_edit']['fr-fr'] = "Menu SVI Editer un Option";
|
||||
$text['header-option_edit']['he-il'] = "";
|
||||
$text['header-option_edit']['it-it'] = "Modificare Opzioni Menu IVR";
|
||||
|
|
@ -807,7 +807,7 @@ $text['header-option_add']['de-ch'] = "Optionen der Automatischen Vermittlung hi
|
|||
$text['header-option_add']['de-de'] = "Optionen der Automatischen Vermittlung hinzufügen";
|
||||
$text['header-option_add']['es-cl'] = "Agregar Menú IVR";
|
||||
$text['header-option_add']['es-mx'] = "Agregar Menú IVR"; //copied from es-cl
|
||||
$text['header-option_add']['fr-ca'] = "Menu SVI Ajouter une Option"; //copied from fr-fr
|
||||
$text['header-option_add']['fr-ca'] = "Menu RVI Ajouter une Option"; //copied from fr-fr
|
||||
$text['header-option_add']['fr-fr'] = "Menu SVI Ajouter une Option";
|
||||
$text['header-option_add']['he-il'] = "";
|
||||
$text['header-option_add']['it-it'] = "Inserire Opzioni Menu IVR";
|
||||
|
|
@ -828,7 +828,7 @@ $text['header-ivr_menus']['de-ch'] = "Automatische Vermittlungen"; //copied from
|
|||
$text['header-ivr_menus']['de-de'] = "Automatische Vermittlungen";
|
||||
$text['header-ivr_menus']['es-cl'] = "Menus IVR";
|
||||
$text['header-ivr_menus']['es-mx'] = "Menus IVR"; //copied from es-cl
|
||||
$text['header-ivr_menus']['fr-ca'] = "Menus SVI"; //copied from fr-fr
|
||||
$text['header-ivr_menus']['fr-ca'] = "Menus RVI";
|
||||
$text['header-ivr_menus']['fr-fr'] = "Menus SVI";
|
||||
$text['header-ivr_menus']['he-il'] = "";
|
||||
$text['header-ivr_menus']['it-it'] = "Menu IVR";
|
||||
|
|
@ -849,7 +849,7 @@ $text['header-ivr_menu']['de-ch'] = "Automatische Vermittlung"; //copied from de
|
|||
$text['header-ivr_menu']['de-de'] = "Automatische Vermittlung";
|
||||
$text['header-ivr_menu']['es-cl'] = "Menú IVR";
|
||||
$text['header-ivr_menu']['es-mx'] = "Menú IVR"; //copied from es-cl
|
||||
$text['header-ivr_menu']['fr-ca'] = "Menu SVI"; //copied from fr-fr
|
||||
$text['header-ivr_menu']['fr-ca'] = "Menu RVI";
|
||||
$text['header-ivr_menu']['fr-fr'] = "Menu SVI";
|
||||
$text['header-ivr_menu']['he-il'] = "";
|
||||
$text['header-ivr_menu']['it-it'] = "Menu IVR";
|
||||
|
|
@ -1059,7 +1059,7 @@ $text['description-name']['de-ch'] = "Geben Sie den Namen der Automatischen Verm
|
|||
$text['description-name']['de-de'] = "Geben Sie den Namen der Automatischen Vermittlung an";
|
||||
$text['description-name']['es-cl'] = "Ingrese un nombre para el menú IVR.";
|
||||
$text['description-name']['es-mx'] = "Ingrese un nombre para el menú IVR."; //copied from es-cl
|
||||
$text['description-name']['fr-ca'] = "Choisir un nom pour le menu SVI"; //copied from fr-fr
|
||||
$text['description-name']['fr-ca'] = "Choisir un nom pour le menu RVI";
|
||||
$text['description-name']['fr-fr'] = "Choisir un nom pour le menu SVI";
|
||||
$text['description-name']['he-il'] = "";
|
||||
$text['description-name']['it-it'] = "Inserire un nome per l'IVR.";
|
||||
|
|
@ -1122,7 +1122,7 @@ $text['description-ivr_menus']['de-ch'] = "Die Automatische Vermittlung spielt e
|
|||
$text['description-ivr_menus']['de-de'] = "Die Automatische Vermittlung spielt eine Aufnahme oder eine vordefinierte Phrase ab von welcher der Anrufe seine Optionen wählt. Jede Option hat ein entsprechendes Ziel. Das Ziel kann eine Nebenstelle, eine Mailbox eine andere Automatische Vermittlung, Rufgruppen, Fax Server und weitere Funktionen sein.";
|
||||
$text['description-ivr_menus']['es-cl'] = "El menú IVR reproduce una grabación o una frase predefinida que presenta opciones para elegir. Cada opción corresponde a un destino. Los destinos pueden ser extensiones, correo de voz, IVR, grupos, fax entre otros.";
|
||||
$text['description-ivr_menus']['es-mx'] = "El menú IVR reproduce una grabación o una frase predefinida que presenta opciones para elegir. Cada opción corresponde a un destino. Los destinos pueden ser extensiones, correo de voz, IVR, grupos, fax entre otros."; //copied from es-cl
|
||||
$text['description-ivr_menus']['fr-ca'] = "Le Menu SVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus SVI, groupes d'appel, Fax, ou autres."; //copied from fr-fr
|
||||
$text['description-ivr_menus']['fr-ca'] = "Le Menu RVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus RVI, groupes d'appel, Fax, ou autres.";
|
||||
$text['description-ivr_menus']['fr-fr'] = "Le Menu SVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus SVI, groupes d'appel, Fax, ou autres.";
|
||||
$text['description-ivr_menus']['he-il'] = "";
|
||||
$text['description-ivr_menus']['it-it'] = "Il Menu IVR suona al chiamante una registrazione o una frase che illustra le opzioni selezionabili. Ciascuna opzione ha una destinazione corrispondente. Le destinazioni possono essere interni, caselle vocali, altri IVR, gruppi di squillo, FAX virtuali, etc.";
|
||||
|
|
@ -1143,7 +1143,7 @@ $text['description-ivr_menu']['de-ch'] = "Die Automatische Vermittlung spielt ei
|
|||
$text['description-ivr_menu']['de-de'] = "Die Automatische Vermittlung spielt eine Aufnahme oder eine vordefinierte Phrase ab von welcher der Anrufe seine Optionen wählt. Jede Option hat ein entsprechendes Ziel. Das Ziel kann eine Nebenstelle, eine Mailbox eine andere Automatische Vermittlung, Rufgruppen, Fax Server und weitere Funktionen sein.";
|
||||
$text['description-ivr_menu']['es-cl'] = "El menú IVR reproduce una grabación o una frase predefinida que presenta opciones para elegir. Cada opción corresponde a un destino. Los destinos pueden ser extensiones, correo de voz, IVR, grupos, fax entre otros.";
|
||||
$text['description-ivr_menu']['es-mx'] = "El menú IVR reproduce una grabación o una frase predefinida que presenta opciones para elegir. Cada opción corresponde a un destino. Los destinos pueden ser extensiones, correo de voz, IVR, grupos, fax entre otros."; //copied from es-cl
|
||||
$text['description-ivr_menu']['fr-ca'] = "Le Menu SVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus SVI, groupes d'appel, Fax, ou autres."; //copied from fr-fr
|
||||
$text['description-ivr_menu']['fr-ca'] = "Le Menu RVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus RVI, groupes d'appel, Fax, ou autres."; //copied from fr-fr
|
||||
$text['description-ivr_menu']['fr-fr'] = "Le Menu SVI joue un guide vocal ou un texte prédéfini qui présente à l'appelant des options à choisir. Chaque option est configurée avec une destination correspondante. Ces destnations peuvent être des extensions, messageries vocales, d'autres menus SVI, groupes d'appel, Fax, ou autres.";
|
||||
$text['description-ivr_menu']['he-il'] = "";
|
||||
$text['description-ivr_menu']['it-it'] = "Il Menu IVR suona al chiamante una registrazione o una frase che illustra le opzioni selezionabili. Ciascuna opzione ha una destinazione corrispondente. Le destinazioni possono essere interni, caselle vocali, altri IVR, gruppi di squillo, FAX virtuali, etc.";
|
||||
|
|
@ -1290,7 +1290,7 @@ $text['description-exit_action']['de-ch'] = "Wählen Sie eine Aktion bei Verlass
|
|||
$text['description-exit_action']['de-de'] = "Wählen Sie eine Aktion bei Verlassen der Automatischen Vermittlung.";
|
||||
$text['description-exit_action']['es-cl'] = "Seleccione la acción de salida a ser realizada si el IVR existe.";
|
||||
$text['description-exit_action']['es-mx'] = "Seleccione la acción de salida a ser realizada si el IVR existe."; //copied from es-cl
|
||||
$text['description-exit_action']['fr-ca'] = "Choisir l'action à executer en sortie si on sort du SVI par ailleurs qu'un des choix proposé."; //copied from fr-fr
|
||||
$text['description-exit_action']['fr-ca'] = "Choisir l'action à executer en sortie si on sort du RVI par ailleurs qu'un des choix proposé."; //copied from fr-fr
|
||||
$text['description-exit_action']['fr-fr'] = "Choisir l'action à executer en sortie si on sort du SVI par ailleurs qu'un des choix proposé.";
|
||||
$text['description-exit_action']['he-il'] = "";
|
||||
$text['description-exit_action']['it-it'] = "Scegliere l'azione da compiere quando si esce dall'IVR.";
|
||||
|
|
@ -1332,7 +1332,7 @@ $text['description-direct_dial']['de-ch'] = "Definieren Sie ob Anrufer direkt zu
|
|||
$text['description-direct_dial']['de-de'] = "Definieren Sie ob Anrufer direkt zu Nebenstellen durchwählen können.";
|
||||
$text['description-direct_dial']['es-cl'] = "Define si quienes llaman pueden marcar directamente a las extensiones y códigos.";
|
||||
$text['description-direct_dial']['es-mx'] = "Define si quienes llaman pueden marcar directamente a las extensiones y códigos."; //copied from es-cl
|
||||
$text['description-direct_dial']['fr-ca'] = "Défini si on peut appeler directement le SVI via une extension."; //copied from fr-fr
|
||||
$text['description-direct_dial']['fr-ca'] = "Défini si on peut appeler directement le RVI via une extension."; //copied from fr-fr
|
||||
$text['description-direct_dial']['fr-fr'] = "Défini si on peut appeler directement le SVI via une extension.";
|
||||
$text['description-direct_dial']['he-il'] = "";
|
||||
$text['description-direct_dial']['it-it'] = "Definire se i chiamanti possono chiamare direttamente gli interni registrati.";
|
||||
|
|
|
|||
|
|
@ -137,26 +137,23 @@
|
|||
}
|
||||
|
||||
//get the domain_uuid
|
||||
$sql = "select device_uuid, domain_uuid from v_devices ";
|
||||
$sql = "select d.device_uuid, d.domain_uuid, n.domain_name ";
|
||||
$sql .= "from v_devices as d, v_domains as n ";
|
||||
$sql .= "where device_mac_address = :mac ";
|
||||
$sql .= "and d.domain_uuid = n.domain_uuid; ";
|
||||
$parameters['mac'] = $mac;
|
||||
$database = new database;
|
||||
$row = $database->select($sql, $parameters, 'row');
|
||||
if (is_array($row)) {
|
||||
$domain_uuid = $row['domain_uuid'];
|
||||
$device_uuid = $row['device_uuid'];
|
||||
$domain_uuid = $row['domain_uuid'];
|
||||
$domain_name = $row['domain_name'];
|
||||
$_SESSION['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
unset($sql, $parameters);
|
||||
|
||||
//get the domain_name and domain_uuid
|
||||
if ($_SESSION['provision']['http_domain_filter']['boolean'] == "false") {
|
||||
|
||||
//get the domain name
|
||||
$domain_name = $_SESSION['domains'][$domain_uuid]['domain_name'];
|
||||
|
||||
}
|
||||
else {
|
||||
if ($_SESSION['provision']['http_domain_filter']['boolean'] == "true") {
|
||||
//get the domain_name
|
||||
$domain_array = explode(":", $_SERVER["HTTP_HOST"]);
|
||||
$domain_name = $domain_array[0];
|
||||
|
|
|
|||
|
|
@ -295,11 +295,12 @@ include "root.php";
|
|||
$provision = array();
|
||||
if (is_array($_SESSION['provision'])) {
|
||||
foreach ($_SESSION['provision'] as $key => $val) {
|
||||
if (strlen($val['var']) > 0) { $value = $val['var']; }
|
||||
if (strlen($val['text']) > 0) { $value = $val['text']; }
|
||||
if (strlen($val['boolean']) > 0) { $value = $val['boolean']; }
|
||||
if (strlen($val['numeric']) > 0) { $value = $val['numeric']; }
|
||||
if (strlen($value) > 0) { $provision[$key] = $value; }
|
||||
if (isset($val['var'])) { $value = $val['var']; }
|
||||
elseif (isset($val['text'])) { $value = $val['text']; }
|
||||
elseif (isset($val['boolean'])) { $value = $val['boolean']; }
|
||||
elseif (isset($val['numeric'])) { $value = $val['numeric']; }
|
||||
elseif (is_array($val) && !is_uuid($val['uuid'])) { $value = $val; }
|
||||
if (isset($value)) { $provision[$key] = $value; }
|
||||
unset($value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
$apps[$x]['description']['de-de'] = "Aufnahmen verwalten. Diese werden hauptsächlich für Anrufzentralen (IVR) verwendet.";
|
||||
$apps[$x]['description']['es-cl'] = "Administrador de grabaciones, utilizadas primordialmente con un IVR";
|
||||
$apps[$x]['description']['es-mx'] = "";
|
||||
$apps[$x]['description']['fr-ca'] = "";
|
||||
$apps[$x]['description']['fr-fr'] = "Gestion des enregistrements principalement utilisés dans les IVR";
|
||||
$apps[$x]['description']['fr-ca'] = "Gestion des guides vocaux principalement utilisés dans les RVI";
|
||||
$apps[$x]['description']['fr-fr'] = "Gestion des guides vocaux principalement utilisés dans les RVI";
|
||||
$apps[$x]['description']['he-il'] = "";
|
||||
$apps[$x]['description']['it-it'] = "";
|
||||
$apps[$x]['description']['nl-nl'] = "Beheer opnamen met name gebruikt in een IVR.";
|
||||
|
|
@ -92,8 +92,7 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "base64";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "";
|
||||
|
||||
$y=0;
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "960828e1-8d6b-4381-86c4-fa03fce4276a";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "recordings";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "recording_max_length";
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ $text['title-edit']['de-ch'] = "Aufnahmen"; //copied from de-de
|
|||
$text['title-edit']['de-de'] = "Aufnahmen";
|
||||
$text['title-edit']['es-cl'] = "Grabación";
|
||||
$text['title-edit']['es-mx'] = "Grabación"; //copied from es-cl
|
||||
$text['title-edit']['fr-ca'] = "Guide"; //copied from fr-fr
|
||||
$text['title-edit']['fr-fr'] = "Guide";
|
||||
$text['title-edit']['fr-ca'] = "Guides vocaux";
|
||||
$text['title-edit']['fr-fr'] = "Guides vocaux";
|
||||
$text['title-edit']['he-il'] = "קובץ מדיה";
|
||||
$text['title-edit']['it-it'] = "Registrazioni Audio";
|
||||
$text['title-edit']['nl-nl'] = "Opname";
|
||||
|
|
@ -30,8 +30,8 @@ $text['title-add']['de-ch'] = "Aufnahme hinzufügen"; //copied from de-de
|
|||
$text['title-add']['de-de'] = "Aufnahme hinzufügen";
|
||||
$text['title-add']['es-cl'] = "Agregar Grabación";
|
||||
$text['title-add']['es-mx'] = "Agregar Grabación"; //copied from es-cl
|
||||
$text['title-add']['fr-ca'] = "Ajouter un Guide"; //copied from fr-fr
|
||||
$text['title-add']['fr-fr'] = "Ajouter un Guide";
|
||||
$text['title-add']['fr-ca'] = "Ajouter un guide vocal"; //copied from fr-fr
|
||||
$text['title-add']['fr-fr'] = "Ajouter un guide vocal";
|
||||
$text['title-add']['he-il'] = "הוסף קבצי מדיה";
|
||||
$text['title-add']['it-it'] = "Inserire Registrazione";
|
||||
$text['title-add']['nl-nl'] = "Voeg opname toe";
|
||||
|
|
@ -51,8 +51,8 @@ $text['title-recordings']['de-ch'] = "Aufnahmen"; //copied from de-de
|
|||
$text['title-recordings']['de-de'] = "Aufnahmen";
|
||||
$text['title-recordings']['es-cl'] = "Grabaciones";
|
||||
$text['title-recordings']['es-mx'] = "Grabaciones"; //copied from es-cl
|
||||
$text['title-recordings']['fr-ca'] = "Guides Vocaux"; //copied from fr-fr
|
||||
$text['title-recordings']['fr-fr'] = "Guides Vocaux";
|
||||
$text['title-recordings']['fr-ca'] = "Guides vocaux"; //copied from fr-fr
|
||||
$text['title-recordings']['fr-fr'] = "Guides vocaux";
|
||||
$text['title-recordings']['he-il'] = "קבצי מדיה";
|
||||
$text['title-recordings']['it-it'] = "Registrazioni";
|
||||
$text['title-recordings']['nl-nl'] = "Opnamen";
|
||||
|
|
@ -72,8 +72,8 @@ $text['message-uploaded']['de-ch'] = "Datei hochgeladen"; //copied from de-de
|
|||
$text['message-uploaded']['de-de'] = "Datei hochgeladen";
|
||||
$text['message-uploaded']['es-cl'] = "Subida de Archivos";
|
||||
$text['message-uploaded']['es-mx'] = "Subida de Archivos"; //copied from es-cl
|
||||
$text['message-uploaded']['fr-ca'] = "Fichier Téléchargé"; //copied from fr-fr
|
||||
$text['message-uploaded']['fr-fr'] = "Fichier Téléchargé";
|
||||
$text['message-uploaded']['fr-ca'] = "Fichier téléchargé"; //copied from fr-fr
|
||||
$text['message-uploaded']['fr-fr'] = "Fichier téléchargé";
|
||||
$text['message-uploaded']['he-il'] = "הקובץ הועלה";
|
||||
$text['message-uploaded']['it-it'] = "File Caricato";
|
||||
$text['message-uploaded']['nl-nl'] = "Bestand opsturen";
|
||||
|
|
@ -114,8 +114,8 @@ $text['label-upload']['de-ch'] = "Dateipfad"; //copied from de-de
|
|||
$text['label-upload']['de-de'] = "Dateipfad";
|
||||
$text['label-upload']['es-cl'] = "Archivo a subir";
|
||||
$text['label-upload']['es-mx'] = "Archivo a subir"; //copied from es-cl
|
||||
$text['label-upload']['fr-ca'] = "Fichier à déposer"; //copied from fr-fr
|
||||
$text['label-upload']['fr-fr'] = "Fichier à déposer";
|
||||
$text['label-upload']['fr-ca'] = "Chemin du fichier"; //copied from fr-fr
|
||||
$text['label-upload']['fr-fr'] = "Chemin du fichier";
|
||||
$text['label-upload']['he-il'] = "נתיב הקובץ";
|
||||
$text['label-upload']['it-it'] = "Percorso File";
|
||||
$text['label-upload']['nl-nl'] = "Bestandspad";
|
||||
|
|
@ -240,8 +240,8 @@ $text['label-file_size']['de-ch'] = "Dateigröße"; //copied from de-de
|
|||
$text['label-file_size']['de-de'] = "Dateigröße";
|
||||
$text['label-file_size']['es-cl'] = "Tamaño del archivo";
|
||||
$text['label-file_size']['es-mx'] = "Tamaño del archivo"; //copied from es-cl
|
||||
$text['label-file_size']['fr-ca'] = "Taille de Fichier"; //copied from fr-fr
|
||||
$text['label-file_size']['fr-fr'] = "Taille de Fichier";
|
||||
$text['label-file_size']['fr-ca'] = "Taille du fichier"; //copied from fr-fr
|
||||
$text['label-file_size']['fr-fr'] = "Taille du fichier";
|
||||
$text['label-file_size']['he-il'] = "גודל קובץ";
|
||||
$text['label-file_size']['it-it'] = "Dimensioni File";
|
||||
$text['label-file_size']['nl-nl'] = "Bestandsomvang";
|
||||
|
|
@ -261,8 +261,8 @@ $text['label-size']['de-ch'] = "Dateigröße"; //copied from de-de
|
|||
$text['label-size']['de-de'] = "Dateigröße";
|
||||
$text['label-size']['es-cl'] = "Tamaño del archivo";
|
||||
$text['label-size']['es-mx'] = "Tamaño del archivo"; //copied from es-cl
|
||||
$text['label-size']['fr-ca'] = "Taille de Fichier"; //copied from fr-fr
|
||||
$text['label-size']['fr-fr'] = "Taille de Fichier";
|
||||
$text['label-size']['fr-ca'] = "Taille du fichier"; //copied from fr-fr
|
||||
$text['label-size']['fr-fr'] = "Taille du fichier";
|
||||
$text['label-size']['he-il'] = "גודל";
|
||||
$text['label-size']['it-it'] = "Dimensioni File";
|
||||
$text['label-size']['nl-nl'] = "Afmetingen";
|
||||
|
|
@ -366,8 +366,8 @@ $text['header']['de-ch'] = "Aufnahme hochladen"; //copied from de-de
|
|||
$text['header']['de-de'] = "Aufnahme hochladen";
|
||||
$text['header']['es-cl'] = "Subir Grabación";
|
||||
$text['header']['es-mx'] = "Subir Grabación"; //copied from es-cl
|
||||
$text['header']['fr-ca'] = "Télécharger Enregistrement"; //copied from fr-fr
|
||||
$text['header']['fr-fr'] = "Télécharger Enregistrement";
|
||||
$text['header']['fr-ca'] = "Télécharger l'enregistrement"; //copied from fr-fr
|
||||
$text['header']['fr-fr'] = "Télécharger l'enregistrement";
|
||||
$text['header']['he-il'] = "העלאת הקלטה";
|
||||
$text['header']['it-it'] = "Caricare Registrazione";
|
||||
$text['header']['nl-nl'] = "Opsturen opname";
|
||||
|
|
@ -387,8 +387,8 @@ $text['description-recording']['de-ch'] = "Ein Name für die Aufnahme."; //copie
|
|||
$text['description-recording']['de-de'] = "Ein Name für die Aufnahme.";
|
||||
$text['description-recording']['es-cl'] = "Nombre de la grabación.";
|
||||
$text['description-recording']['es-mx'] = "Nombre de la grabación."; //copied from es-cl
|
||||
$text['description-recording']['fr-ca'] = "Nom de l'enregistrement (non parsé)."; //copied from fr-fr
|
||||
$text['description-recording']['fr-fr'] = "Nom de l'enregistrement (non parsé).";
|
||||
$text['description-recording']['fr-ca'] = "Nom de l'enregistrement (non analysé)."; //copied from fr-fr
|
||||
$text['description-recording']['fr-fr'] = "Nom de l'enregistrement (non analysé).";
|
||||
$text['description-recording']['he-il'] = "שם להקלטה לא מנותח.";
|
||||
$text['description-recording']['it-it'] = "Un nome per la registrazione (non parsato).";
|
||||
$text['description-recording']['nl-nl'] = "Een naam voor de opname (niet gecontroleerd).";
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
$apps[$x]['menu'][$y]['title']['de-de'] = "Aufnahmen";
|
||||
$apps[$x]['menu'][$y]['title']['es-cl'] = "Grabaciones";
|
||||
$apps[$x]['menu'][$y]['title']['es-mx'] = "";
|
||||
$apps[$x]['menu'][$y]['title']['fr-ca'] = "";
|
||||
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Guides Vocaux";
|
||||
$apps[$x]['menu'][$y]['title']['fr-ca'] = "Guides vocaux";
|
||||
$apps[$x]['menu'][$y]['title']['fr-fr'] = "Guides vocaux";
|
||||
$apps[$x]['menu'][$y]['title']['he-il'] = "";
|
||||
$apps[$x]['menu'][$y]['title']['it-it'] = "Registrazioni Audio";
|
||||
$apps[$x]['menu'][$y]['title']['nl-nl'] = "Opnamen";
|
||||
|
|
|
|||
|
|
@ -191,13 +191,28 @@
|
|||
foreach ($registrations as $row) {
|
||||
$matches = preg_grep('/'.$search.'/i', $row);
|
||||
if ($matches != false) {
|
||||
|
||||
//prepare the user variable
|
||||
$user = explode('@', $row['user']);
|
||||
if ($user[1] == $_SESSION['domains'][$_SESSION['domain_uuid']]['domain_name']) {
|
||||
$user = "<span class='hide-sm-dn'>".escape($row['user'])."</span><span class='hide-md-up cursor-help' title='".$row['user']."'>".escape($user[0])."@...</span>";
|
||||
$user = "<span class='hide-sm-dn'>".escape($row['user'])."</span><span class='hide-md-up cursor-help' title='".escape($row['user'])."'>".escape($user[0])."</span>";
|
||||
}
|
||||
else {
|
||||
$user = escape($row['user']);
|
||||
}
|
||||
|
||||
//reformat the status
|
||||
$patterns = array();
|
||||
$patterns[] = '/(\d{4})-(\d{2})-(\d{2})/';
|
||||
$patterns[] = '/(\d{2}):(\d{2}):(\d{2})/';
|
||||
$patterns[] = '/unknown/';
|
||||
$patterns[] = '/exp\(/';
|
||||
$patterns[] = '/\(/';
|
||||
$patterns[] = '/\)/';
|
||||
$patterns[] = '/\s+/';
|
||||
$status = preg_replace($patterns, ' ', $row['status']);
|
||||
|
||||
//show the content
|
||||
echo "<tr class='list-row' href='#'>\n";
|
||||
echo " <td class='checkbox'>\n";
|
||||
echo " <input type='checkbox' name='registrations[$x][checked]' id='checkbox_".$x."' value='true' onclick=\"if (!this.checked) { document.getElementById('checkbox_all').checked = false; }\">\n";
|
||||
|
|
@ -207,14 +222,14 @@
|
|||
echo " <input type='hidden' name='registrations[$x][host]' value='".escape($row['host'])."' />\n";
|
||||
echo " <input type='hidden' name='registrations[$x][domain]' value='".escape($row['sip-auth-realm'])."' />\n";
|
||||
echo " </td>\n";
|
||||
echo " <td>".$user."</td>\n";
|
||||
echo " <td class='overflow' title=\"".escape($row['agent'])."\"><span class='cursor-help'>".escape($row['agent'])."</span></td>\n";
|
||||
echo " <td class=''>".$user."</td>\n";
|
||||
echo " <td class='' title=\"".escape($row['agent'])."\"><span class='cursor-help'>".escape($row['agent'])."</span></td>\n";
|
||||
echo " <td class='hide-md-dn'>".escape(explode('"',$row['contact'])[1])."</td>\n";
|
||||
echo " <td class='hide-sm-dn no-link'><a href='https://".urlencode($row['lan-ip'])."' target='_blank'>".escape($row['lan-ip'])."</a></td>\n";
|
||||
echo " <td class='hide-sm-dn no-link'><a href='https://".urlencode($row['network-ip'])."' target='_blank'>".escape($row['network-ip'])."</a></td>\n";
|
||||
echo " <td class='hide-sm-dn'>".escape($row['network-port'])."</td>\n";
|
||||
echo " <td class='hide-md-dn'>".escape($row['host'])."</td>\n";
|
||||
echo " <td class='overflow' title=\"".escape($row['status'])."\"><span class='cursor-help'>".escape($row['status'])."</span></td>\n";
|
||||
echo " <td class='' title=\"".escape($row['status'])."\"><span class='cursor-help'>".escape($status)."</span></td>\n";
|
||||
echo " <td class='hide-md-dn'>".escape($row['ping-time'])."</td>\n";
|
||||
echo " <td class='hide-md-dn'>".escape($row['sip_profile_name'])."</td>\n";
|
||||
echo " <td class='action-button'>\n";
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
--
|
||||
-- The Initial Developer of the Original Code is
|
||||
-- Mark J Crane <markjcrane@fusionpbx.com>
|
||||
-- Copyright (C) 2013 - 2014
|
||||
-- Copyright (C) 2013 - 2021
|
||||
-- the Initial Developer. All Rights Reserved.
|
||||
--
|
||||
-- Contributor(s):
|
||||
|
|
@ -72,11 +72,11 @@
|
|||
end
|
||||
|
||||
--get the events
|
||||
--if (user == nil) then
|
||||
--if (user == nil) then
|
||||
--serialize the data for the console
|
||||
--freeswitch.consoleLog("notice","[events] " .. event:serialize("xml") .. "\n");
|
||||
--freeswitch.consoleLog("notice","[evnts] " .. event:serialize("json") .. "\n");
|
||||
|
||||
|
||||
--get the event variables
|
||||
user = event:getHeader("user");
|
||||
host = event:getHeader("host");
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
action_name = event:getHeader("Action-Name");
|
||||
action_value = event:getHeader("Action-Value")
|
||||
ring_count = event:getHeader("ringCount")
|
||||
|
||||
|
||||
--send to the log
|
||||
--freeswitch.consoleLog("notice","[events] user: " .. user .. "\n");
|
||||
--freeswitch.consoleLog("notice","[events] host: " .. host .. "\n");
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
--if (action_name ~= nil) then freeswitch.consoleLog("notice","[events] action_name: " .. action_name .. "\n"); end
|
||||
--if (action_value ~= nil) then freeswitch.consoleLog("notice","[events] action_value: " .. action_value .. "\n"); end
|
||||
--end
|
||||
|
||||
|
||||
--get the domain uuid from the host
|
||||
local sql = "select * from v_domains ";
|
||||
sql = sql .. "where domain_name = :domain_name ";
|
||||
|
|
@ -112,19 +112,20 @@
|
|||
if (user ~= nil and domain_name ~= nil) then
|
||||
do_not_disturb, forward_all_enabled, forward_all_destination, forward_busy_enabled, forward_busy_destination, forward_no_answer_enabled, forward_no_answer_destination, call_timeout = notify.get_db_values(user, domain_name)
|
||||
end
|
||||
|
||||
|
||||
--get sip profile
|
||||
if (user ~= nil and host ~= nil) then
|
||||
sip_profile = notify.get_profile(user, host);
|
||||
end
|
||||
|
||||
|
||||
--DND
|
||||
|
||||
|
||||
--DND enabled
|
||||
if (feature_action == "SetDoNotDisturb" and feature_enabled == "true" and sip_profile ~= nil) then
|
||||
--set a variable
|
||||
dial_string = "error/user_busy";
|
||||
do_not_disturb = "true";
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = :do_not_disturb, ";
|
||||
|
|
@ -152,16 +153,16 @@
|
|||
dbh:query(sql, params);
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--send notify to the phone
|
||||
notify.dnd(user, host, sip_profile, do_not_disturb);
|
||||
|
||||
end
|
||||
|
||||
--DND disabled
|
||||
if (feature_action == "SetDoNotDisturb" and feature_enabled == "false" and sip_profile ~= nil ) then
|
||||
--set a variable
|
||||
do_not_disturb = "false";
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = :do_not_disturb, ";
|
||||
|
|
@ -177,11 +178,11 @@
|
|||
|
||||
--send notify to the phone
|
||||
notify.dnd(user, host, sip_profile, do_not_disturb);
|
||||
|
||||
|
||||
end
|
||||
|
||||
--Call Forward
|
||||
|
||||
|
||||
--Call Formward All enabled
|
||||
if (feature_action == "SetCallForward" and feature_enabled == "true" and action_name == "forward_immediate" and sip_profile ~= nil) then
|
||||
--set a variable
|
||||
|
|
@ -189,48 +190,11 @@
|
|||
forward_all_enabled = "true";
|
||||
forward_immediate_destination = action_value;
|
||||
forward_immediate_enabled = "true";
|
||||
|
||||
--get the caller_id for outbound call
|
||||
local forward_caller_id = ""
|
||||
if not empty(forward_caller_id_uuid) then
|
||||
local sql = "select destination_number, destination_description,"..
|
||||
"destination_caller_id_number, destination_caller_id_name " ..
|
||||
"from v_destinations where domain_uuid = :domain_uuid and " ..
|
||||
"destination_type = 'inbound' and destination_uuid = :destination_uuid";
|
||||
local params = {domain_uuid = domain_uuid; destination_uuid = forward_caller_id_uuid}
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
local row = dbh:first_row(sql, params)
|
||||
if row then
|
||||
local caller_id_number = row.destination_caller_id_number
|
||||
if empty(caller_id_number) then
|
||||
caller_id_number = row.destination_number
|
||||
end
|
||||
|
||||
local caller_id_name = row.destination_caller_id_name
|
||||
if empty(caller_id_name) then
|
||||
caller_id_name = row.destination_description
|
||||
end
|
||||
|
||||
if not empty(caller_id_number) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_number=" .. caller_id_number ..
|
||||
",origination_caller_id_number=" .. caller_id_number
|
||||
end
|
||||
|
||||
if not empty(caller_id_name) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_name=" .. caller_id_name ..
|
||||
",origination_caller_id_name=" .. caller_id_name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--set the dial string
|
||||
if feature_enabled == "true" then
|
||||
local destination_extension, destination_number_alias
|
||||
|
||||
|
||||
--used for number_alias to get the correct user
|
||||
local sql = "select extension, number_alias from v_extensions ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
|
|
@ -244,47 +208,46 @@
|
|||
destination_extension = row.extension;
|
||||
destination_number_alias = row.number_alias or '';
|
||||
end);
|
||||
|
||||
|
||||
if (destination_user ~= nil) then
|
||||
cmd = "user_exists id ".. destination_user .." "..domain_name;
|
||||
else
|
||||
cmd = "user_exists id ".. forward_all_destination .." "..domain_name;
|
||||
end
|
||||
local user_exists = trim(api:executeString(cmd));
|
||||
|
||||
end
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
sql = sql .. "forward_all_enabled = 'true', ";
|
||||
sql = sql .. "forward_all_destination = :forward_all_destination, ";
|
||||
sql = sql .. "dial_string = null ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and extension_uuid = :extension_uuid ";
|
||||
local params = {domain_uuid = domain_uuid, extension_uuid = extension_uuid, forward_all_destination = forward_all_destination};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
--update follow me
|
||||
if (follow_me_uuid ~= nil) then
|
||||
if (string.len(follow_me_uuid) > 0) then
|
||||
local sql = "update v_follow_me set ";
|
||||
sql = sql .. "follow_me_enabled = 'false' ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and follow_me_uuid = :follow_me_uuid ";
|
||||
local params = {domain_uuid = domain_uuid, follow_me_uuid = follow_me_uuid};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
sql = sql .. "forward_all_enabled = 'true', ";
|
||||
sql = sql .. "forward_all_destination = :forward_all_destination, ";
|
||||
sql = sql .. "dial_string = null ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and extension_uuid = :extension_uuid ";
|
||||
local params = {domain_uuid = domain_uuid, extension_uuid = extension_uuid, forward_all_destination = forward_all_destination};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
--update follow me
|
||||
if (follow_me_uuid ~= nil) then
|
||||
if (string.len(follow_me_uuid) > 0) then
|
||||
local sql = "update v_follow_me set ";
|
||||
sql = sql .. "follow_me_enabled = 'false' ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and follow_me_uuid = :follow_me_uuid ";
|
||||
local params = {domain_uuid = domain_uuid, follow_me_uuid = follow_me_uuid};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
end
|
||||
|
||||
--send notify to the phone
|
||||
notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
end
|
||||
|
||||
--send notify to the phone
|
||||
notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
end
|
||||
|
||||
--Call Formward All disable
|
||||
|
|
@ -294,6 +257,7 @@
|
|||
forward_all_enabled = "false";
|
||||
forward_immediate_enabled = "false";
|
||||
forward_immediate_destination = action_value;
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
|
|
@ -311,19 +275,20 @@
|
|||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
--send notify to the phone
|
||||
if (forward_immediate_destination == nil) then
|
||||
forward_immediate_destination = " ";
|
||||
end
|
||||
notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
|
||||
--send notify to the phone
|
||||
if (forward_immediate_destination == nil) then
|
||||
forward_immediate_destination = " ";
|
||||
end
|
||||
notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
end
|
||||
|
||||
|
||||
--Call Formward BUSY enable
|
||||
if (feature_action == "SetCallForward" and feature_enabled == "true" and action_name == "forward_busy" and sip_profile ~= nil) then
|
||||
--set a variable
|
||||
forward_busy_destination = action_value;
|
||||
forward_busy_enabled = "true";
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
|
|
@ -336,16 +301,17 @@
|
|||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
|
||||
--send notify to the phone
|
||||
notify.forward_busy(user, host, sip_profile, forward_busy_enabled, forward_busy_destination);
|
||||
end
|
||||
|
||||
|
||||
--Call Formward BUSY disable
|
||||
if (feature_action == "SetCallForward" and feature_enabled == "false" and action_name == "forward_busy" and sip_profile ~= nil) then
|
||||
--set a variable
|
||||
forward_busy_destination = action_value;
|
||||
forward_busy_enabled = "false";
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
|
|
@ -362,7 +328,7 @@
|
|||
freeswitch.consoleLog("notice", "[feature_event] "..sql.."; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh:query(sql, params);
|
||||
|
||||
|
||||
--send notify to the phone
|
||||
notify.forward_busy(user, host, sip_profile, forward_busy_enabled, forward_busy_destination);
|
||||
end
|
||||
|
|
@ -373,6 +339,7 @@
|
|||
forward_no_answer_destination = action_value;
|
||||
forward_no_answer_enabled = "true";
|
||||
call_timeout = ring_count * 6;
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
|
|
@ -390,12 +357,13 @@
|
|||
--send notify to the phone
|
||||
notify.forward_no_answer(user, host, sip_profile, forward_no_answer_enabled, forward_no_answer_destination, ring_count);
|
||||
end
|
||||
|
||||
|
||||
--Call Formward NO ANSWER disable
|
||||
if (feature_action == "SetCallForward" and feature_enabled == "false" and action_name == "forward_no_answer" and sip_profile ~= nil) then
|
||||
--set a variable
|
||||
forward_no_answer_destination = action_value;
|
||||
forward_no_answer_enabled = "false";
|
||||
|
||||
--update the extension
|
||||
sql = "update v_extensions set ";
|
||||
sql = sql .. "do_not_disturb = 'false', ";
|
||||
|
|
@ -420,19 +388,19 @@
|
|||
--No feature event (phone boots): Send all values
|
||||
if (feature_enabled == nil) then
|
||||
--Do Not Disturb
|
||||
--notify.dnd(user, host, sip_profile, do_not_disturb);
|
||||
--notify.dnd(user, host, sip_profile, do_not_disturb);
|
||||
|
||||
--Forward all
|
||||
forward_immediate_enabled = forward_all_enabled;
|
||||
forward_immediate_destination = forward_all_destination;
|
||||
--notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
forward_immediate_enabled = forward_all_enabled;
|
||||
forward_immediate_destination = forward_all_destination;
|
||||
--notify.forward_immediate(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination);
|
||||
|
||||
--Forward busy
|
||||
--notify.forward_busy(user, host, sip_profile, forward_busy_enabled, forward_busy_destination);
|
||||
--notify.forward_busy(user, host, sip_profile, forward_busy_enabled, forward_busy_destination);
|
||||
|
||||
--Forward No Answer
|
||||
ring_count = math.ceil (call_timeout / 6);
|
||||
--notify.forward_no_answer(user, host, sip_profile, forward_no_answer_enabled, forward_no_answer_destination, ring_count);
|
||||
ring_count = math.ceil (call_timeout / 6);
|
||||
--notify.forward_no_answer(user, host, sip_profile, forward_no_answer_enabled, forward_no_answer_destination, ring_count);
|
||||
notify.init(user,
|
||||
host,
|
||||
sip_profile,
|
||||
|
|
@ -445,9 +413,9 @@
|
|||
ring_count,
|
||||
do_not_disturb);
|
||||
end
|
||||
|
||||
|
||||
-- feature_event_notify.init(user, host, sip_profile, forward_immediate_enabled, forward_immediate_destination, forward_busy_enabled, forward_busy_destination, forward_no_answer_enabled, forward_no_answer_destination, ring_count, do_not_disturb)
|
||||
|
||||
|
||||
--clear the cache
|
||||
if (feature_enabled ~= nil) then
|
||||
cache.del("directory:"..user.."@"..host)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ function feature_event_notify.get_db_values(user, domain_name)
|
|||
forward_no_answer_destination = row.forward_no_answer_destination;
|
||||
forward_user_not_registered_enabled = row.forward_user_not_registered_enabled;
|
||||
forward_user_not_registered_destination = row.forward_user_not_registered_destination;
|
||||
forward_caller_id_uuid = row.forward_caller_id_uuid;
|
||||
toll_allow = row.toll_allow
|
||||
call_timeout = row.call_timeout
|
||||
--freeswitch.consoleLog("NOTICE", "[feature_event] extension "..row.extension.."\n");
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
if (session:ready()) then
|
||||
domain_name = session:getVariable("domain_name");
|
||||
domain_uuid = session:getVariable("domain_uuid");
|
||||
uuid = session:getVariable("uuid");
|
||||
destination_number = session:getVariable("destination_number");
|
||||
caller_id_name = session:getVariable("caller_id_name");
|
||||
caller_id_number = session:getVariable("caller_id_number");
|
||||
|
|
@ -142,7 +143,7 @@
|
|||
--get the follow me data
|
||||
if (follow_me_uuid ~= nil) then
|
||||
local sql = "select cid_name_prefix, cid_number_prefix, ";
|
||||
sql = sql .. "follow_me_enabled, follow_me_caller_id_uuid, follow_me_ignore_busy ";
|
||||
sql = sql .. "follow_me_enabled, follow_me_ignore_busy ";
|
||||
sql = sql .. "from v_follow_me ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and follow_me_uuid = :follow_me_uuid; ";
|
||||
|
|
@ -154,7 +155,6 @@
|
|||
caller_id_name_prefix = row["cid_name_prefix"];
|
||||
caller_id_number_prefix = row["cid_number_prefix"];
|
||||
follow_me_enabled = row["follow_me_enabled"];
|
||||
follow_me_caller_id_uuid = row["follow_me_caller_id_uuid"];
|
||||
follow_me_ignore_busy = row["follow_me_ignore_busy"];
|
||||
end);
|
||||
--dbh:query(sql, params, function(row);
|
||||
|
|
@ -330,8 +330,23 @@
|
|||
--get the extension_uuid
|
||||
cmd = "user_data ".. destination_number .."@"..domain_name.." var extension_uuid";
|
||||
extension_uuid = trim(api:executeString(cmd));
|
||||
|
||||
local record_session = "";
|
||||
--if session is already recording then skip
|
||||
if (session:getVariable("record_session") ~= "true") then
|
||||
local cmd = "user_data "..destination_number.."@"..domain_name.." var user_record";
|
||||
local user_record = api:executeString(cmd);
|
||||
if (user_record == "all" or user_record == call_direction) then
|
||||
local recordings_dir = session:getVariable("recordings_dir");
|
||||
local record_ext = session:getVariable("record_ext") or "wav";
|
||||
local record_name = uuid.."."..record_ext;
|
||||
local record_path = recordings_dir .. "/" .. domain_name .. "/archive/" .. os.date("%Y/%b/%d");
|
||||
record_session = ",api_on_answer='uuid_record "..uuid.." start ".. record_path .. "/" .. record_name .. "',record_path='".. record_path .."',record_name="..record_name;
|
||||
end
|
||||
end
|
||||
|
||||
--send to user
|
||||
local dial_string_to_user = "[sip_invite_domain="..domain_name..",call_direction="..call_direction..","..group_confirm..","..timeout_name.."="..destination_timeout..","..delay_name.."="..destination_delay..",dialed_extension=" .. row.destination_number .. ",extension_uuid="..extension_uuid .. "]user/" .. row.destination_number .. "@" .. domain_name;
|
||||
local dial_string_to_user = "[sip_invite_domain="..domain_name..",call_direction="..call_direction..","..group_confirm..","..timeout_name.."="..destination_timeout..","..delay_name.."="..destination_delay..",dialed_extension=" .. row.destination_number .. ",extension_uuid="..extension_uuid..record_session.."]user/" .. row.destination_number .. "@" .. domain_name;
|
||||
dial_string = dial_string_to_user;
|
||||
elseif (tonumber(destination_number) == nil) then
|
||||
--sip uri
|
||||
|
|
@ -348,23 +363,6 @@
|
|||
toll_allow = '';
|
||||
end
|
||||
|
||||
--get the destination caller id name and number
|
||||
if (follow_me_caller_id_uuid and follow_me_caller_id_uuid ~= '') then
|
||||
local sql = "select destination_uuid, destination_number, destination_description, destination_caller_id_name, destination_caller_id_number ";
|
||||
sql = sql .. "from v_destinations ";
|
||||
sql = sql .. "where domain_uuid = :domain_uuid ";
|
||||
sql = sql .. "and destination_uuid = :destination_uuid ";
|
||||
sql = sql .. "order by destination_number asc ";
|
||||
local params = {domain_uuid = domain_uuid, destination_uuid = follow_me_caller_id_uuid};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "SQL:" .. sql .. "; params: " .. json.encode(params) .. "\n");
|
||||
end
|
||||
status = dbh:query(sql, params, function(field)
|
||||
caller_id_name = field["destination_caller_id_name"];
|
||||
caller_id_number = field["destination_caller_id_number"];
|
||||
end);
|
||||
end
|
||||
|
||||
--check if the user exists
|
||||
if tonumber(caller_id_number) ~= nil then
|
||||
cmd = "user_exists id ".. caller_id_number .." "..domain_name;
|
||||
|
|
|
|||
|
|
@ -193,6 +193,7 @@
|
|||
event:addHeader('content-type', 'application/simple-message-summary');
|
||||
--check sync
|
||||
event:addHeader('event-string', 'check-sync;reboot='..reboot);
|
||||
--event:addHeader('event-string', 'resync');
|
||||
--send the event
|
||||
event:fire();
|
||||
end);
|
||||
|
|
@ -249,6 +250,7 @@
|
|||
event:addHeader('content-type', 'application/simple-message-summary');
|
||||
--check sync
|
||||
event:addHeader('event-string', 'check-sync;reboot='..reboot);
|
||||
--event:addHeader('event-string', 'resync');
|
||||
--send the event
|
||||
event:fire();
|
||||
end
|
||||
|
|
|
|||
|
|
@ -325,6 +325,7 @@
|
|||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[voicemail] SQL: " .. sql .. "; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
dbh = Database.new('system');
|
||||
dbh:query(sql, params, function(row)
|
||||
subject = row["template_subject"];
|
||||
body = row["template_body"];
|
||||
|
|
@ -882,6 +883,9 @@
|
|||
end
|
||||
end
|
||||
|
||||
--release dbh before bridge
|
||||
dbh:release();
|
||||
|
||||
--session execute
|
||||
if (session:ready()) then
|
||||
--set the variables
|
||||
|
|
@ -1006,6 +1010,7 @@
|
|||
session:execute(ring_group_timeout_app, ring_group_timeout_data);
|
||||
end
|
||||
else
|
||||
dbh = Database.new('system');
|
||||
local sql = "SELECT ring_group_timeout_app, ring_group_timeout_data FROM v_ring_groups ";
|
||||
sql = sql .. "where ring_group_uuid = :ring_group_uuid";
|
||||
local params = {ring_group_uuid = ring_group_uuid};
|
||||
|
|
|
|||
|
|
@ -587,7 +587,7 @@
|
|||
|
||||
--if the recording is below the minimal length then re-record the message
|
||||
if (message_length > 2) then
|
||||
--continue
|
||||
session:setVariable("voicemail_message_seconds", message_length);
|
||||
else
|
||||
if (session:ready()) then
|
||||
--your recording is below the minimal acceptable length, please try again
|
||||
|
|
|
|||
|
|
@ -180,16 +180,21 @@
|
|||
agent_wrap_up_time = row.agent_wrap_up_time;
|
||||
agent_reject_delay_time = row.agent_reject_delay_time;
|
||||
agent_busy_delay_time = row.agent_busy_delay_time;
|
||||
agent_record = row.agent_record;
|
||||
|
||||
--get and then set the complete agent_contact with the call_timeout and when necessary confirm
|
||||
--confirm = "group_confirm_file=custom/press_1_to_accept_this_call.wav,group_confirm_key=1";
|
||||
--if you change this variable also change app/call_center/call_center_agent_edit.php
|
||||
confirm = "group_confirm_file=ivr/ivr-accept_reject_voicemail.wav,group_confirm_key=1,group_confirm_read_timeout=2000,leg_timeout="..agent_call_timeout;
|
||||
local record = "";
|
||||
if (agent_record == "true") then
|
||||
record = string.format(",execute_on_pre_bridge='record_session %s/%s/archive/${strftime(%%Y)}/${strftime(%%b)}/${strftime(%%d)}/${uuid}.${record_ext}'", recordings_dir, domain_name)
|
||||
end
|
||||
if (string.find(agent_contact, '}') == nil) then
|
||||
--not found
|
||||
if (string.find(agent_contact, 'sofia/gateway') == nil) then
|
||||
--add the call_timeout
|
||||
agent_contact = "{call_timeout="..agent_call_timeout..",domain_name="..domain_name..",domain_uuid="..domain_uuid..",extension_uuid="..extension_uuid..",sip_h_caller_destination=${caller_destination}}"..agent_contact;
|
||||
agent_contact = "{call_timeout="..agent_call_timeout..",domain_name="..domain_name..",domain_uuid="..domain_uuid..",extension_uuid="..extension_uuid..",sip_h_caller_destination=${caller_destination}"..record.."}"..agent_contact;
|
||||
else
|
||||
--add the call_timeout and confirm
|
||||
agent_contact = "{"..confirm..",call_timeout="..agent_call_timeout..",domain_name="..domain_name..",domain_uuid="..domain_uuid..",sip_h_caller_destination=${caller_destination}}"..agent_contact;
|
||||
|
|
|
|||
|
|
@ -312,6 +312,7 @@
|
|||
password = row.password;
|
||||
mwi_account = row.mwi_account;
|
||||
auth_acl = row.auth_acl;
|
||||
|
||||
--variables
|
||||
sip_from_user = row.extension;
|
||||
sip_from_number = (#number_alias > 0) and number_alias or row.extension;
|
||||
|
|
@ -412,6 +413,25 @@
|
|||
end);
|
||||
end
|
||||
|
||||
--get the extension settings from the database
|
||||
if (extension_uuid) then
|
||||
local sql = "SELECT * FROM v_extension_settings "
|
||||
.. "WHERE extension_uuid = :extension_uuid "
|
||||
.. "and extension_setting_enabled = 'true' ";
|
||||
local params = {extension_uuid=extension_uuid};
|
||||
if (debug["sql"]) then
|
||||
freeswitch.consoleLog("notice", "[xml_handler] SQL: " .. sql .. "; params:" .. json.encode(params) .. "\n");
|
||||
end
|
||||
extension_settings = {}
|
||||
dbh:query(sql, params, function(row)
|
||||
table.insert(extension_settings, {
|
||||
extension_setting_type = row.extension_setting_type,
|
||||
extension_setting_name = row.extension_setting_name,
|
||||
extension_setting_value = row.extension_setting_value
|
||||
});
|
||||
end);
|
||||
end
|
||||
|
||||
--get the voicemail from the database
|
||||
if (continue) then
|
||||
vm_enabled = "true";
|
||||
|
|
@ -510,6 +530,11 @@
|
|||
table.insert(xml, [[ <param name="verto-dialplan" value="XML"/>]]);
|
||||
table.insert(xml, [[ <param name="jsonrpc-allowed-methods" value="verto"/>]]);
|
||||
table.insert(xml, [[ <param name="jsonrpc-allowed-event-channels" value="demo,conference,presence"/>]]);
|
||||
for key,row in pairs(extension_settings) do
|
||||
if (row.extension_setting_type == 'param') then
|
||||
table.insert(xml, [[ <param name="]]..row.extension_setting_name..[[" value="]]..row.extension_setting_value..[["/>]]);
|
||||
end
|
||||
end
|
||||
table.insert(xml, [[ </params>]]);
|
||||
table.insert(xml, [[ <variables>]]);
|
||||
table.insert(xml, [[ <variable name="domain_uuid" value="]] .. domain_uuid .. [["/>]]);
|
||||
|
|
@ -645,6 +670,11 @@
|
|||
table.insert(xml, [[ <variable name="record_stereo" value="true"/>]]);
|
||||
table.insert(xml, [[ <variable name="transfer_fallback_extension" value="operator"/>]]);
|
||||
table.insert(xml, [[ <variable name="export_vars" value="domain_name"/>]]);
|
||||
for key,row in pairs(extension_settings) do
|
||||
if (row.extension_setting_type == 'variable') then
|
||||
table.insert(xml, [[ <variable name="]]..row.extension_setting_name..[[" value="]]..row.extension_setting_value..[["/>]]);
|
||||
end
|
||||
end
|
||||
table.insert(xml, [[ </variables>]]);
|
||||
table.insert(xml, [[ </user>]]);
|
||||
table.insert(xml, [[ </users>]]);
|
||||
|
|
|
|||
|
|
@ -147,7 +147,6 @@
|
|||
local last_forward_all_destination = row.forward_all_destination;
|
||||
local follow_me_uuid = row.follow_me_uuid;
|
||||
local toll_allow = row.toll_allow or '';
|
||||
local forward_caller_id_uuid = row.forward_caller_id_uuid;
|
||||
|
||||
--toggle enabled
|
||||
if enabled == "toggle" then
|
||||
|
|
@ -190,56 +189,17 @@
|
|||
session:streamFile(sounds_dir.."/"..default_language.."/"..default_dialect.."/"..default_voice.."/ivr/ivr-call_forwarding_has_been_set.wav");
|
||||
end
|
||||
|
||||
--get the caller_id for outbound call
|
||||
local forward_caller_id = ""
|
||||
if enabled == "true" and not empty(forward_caller_id_uuid) then
|
||||
local sql = "select destination_number, destination_description,"..
|
||||
"destination_caller_id_number, destination_caller_id_name " ..
|
||||
"from v_destinations where domain_uuid = :domain_uuid and " ..
|
||||
"destination_type = 'inbound' and destination_uuid = :destination_uuid";
|
||||
local params = {domain_uuid = domain_uuid; destination_uuid = forward_caller_id_uuid}
|
||||
if (debug["sql"]) then
|
||||
log.noticef("SQL: %s; params: %s", sql, json.encode(params));
|
||||
end
|
||||
local row = dbh:first_row(sql, params)
|
||||
if row then
|
||||
local caller_id_number = row.destination_caller_id_number
|
||||
if empty(caller_id_number) then
|
||||
caller_id_number = row.destination_number
|
||||
end
|
||||
|
||||
local caller_id_name = row.destination_caller_id_name
|
||||
if empty(caller_id_name) then
|
||||
caller_id_name = row.destination_description
|
||||
end
|
||||
|
||||
if not empty(caller_id_number) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_number=" .. caller_id_number ..
|
||||
",origination_caller_id_number=" .. caller_id_number
|
||||
end
|
||||
|
||||
if not empty(caller_id_name) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_name=" .. caller_id_name ..
|
||||
",origination_caller_id_name=" .. caller_id_name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--get default caller_id for outbound call
|
||||
if enabled == "true" and empty(forward_caller_id_uuid) then
|
||||
if settings:get('cdr', 'call_forward_fix', 'boolean') == 'true' then
|
||||
if not empty(row.outbound_caller_id_number) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_number=" .. row.outbound_caller_id_number ..
|
||||
",origination_caller_id_number=" .. row.outbound_caller_id_number
|
||||
end
|
||||
if not empty(row.outbound_caller_id_name) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_name=" .. row.outbound_caller_id_name ..
|
||||
",origination_caller_id_name=" .. row.outbound_caller_id_name
|
||||
end
|
||||
if enabled == "true" and settings:get('cdr', 'call_forward_fix', 'boolean') == 'true' then
|
||||
if not empty(row.outbound_caller_id_number) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_number=" .. row.outbound_caller_id_number ..
|
||||
",origination_caller_id_number=" .. row.outbound_caller_id_number
|
||||
end
|
||||
if not empty(row.outbound_caller_id_name) then
|
||||
forward_caller_id = forward_caller_id ..
|
||||
",outbound_caller_id_name=" .. row.outbound_caller_id_name ..
|
||||
",origination_caller_id_name=" .. row.outbound_caller_id_name
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
local Settings = require "resources.functions.lazy_settings";
|
||||
local Database = require "resources.functions.database";
|
||||
local Settings = require "resources.functions.lazy_settings";
|
||||
local cache = require"resources.functions.cache";
|
||||
local log = require "resources.functions.log".send_mail
|
||||
|
||||
|
|
@ -28,6 +28,7 @@ if (email_queue_enabled == 'true') then
|
|||
email_action_after = '';
|
||||
end
|
||||
|
||||
local db = dbh or Database.new('system');
|
||||
local settings = Settings.new(db, domain_name, domain_uuid);
|
||||
|
||||
local email_from = settings:get('email', 'smtp_from', 'text');
|
||||
|
|
|
|||
|
|
@ -345,8 +345,8 @@ $text['button-flush_registrations']['de-ch'] = "Registrierungen verwerfen"; //co
|
|||
$text['button-flush_registrations']['de-de'] = "Registrierungen verwerfen";
|
||||
$text['button-flush_registrations']['es-cl'] = "Inscripciones Flush";
|
||||
$text['button-flush_registrations']['es-mx'] = "Inscripciones Flush"; //copied from es-cl
|
||||
$text['button-flush_registrations']['fr-ca'] = "Nettoyer enregistrements"; //copied from fr-fr
|
||||
$text['button-flush_registrations']['fr-fr'] = "Nettoyer enregistrements";
|
||||
$text['button-flush_registrations']['fr-ca'] = "Effacer enregistrements"; //copied from fr-fr
|
||||
$text['button-flush_registrations']['fr-fr'] = "Effacer enregistrements";
|
||||
$text['button-flush_registrations']['he-il'] = "";
|
||||
$text['button-flush_registrations']['it-it'] = "Pulisci Registrazioni";
|
||||
$text['button-flush_registrations']['nl-nl'] = "Verwijder Registraties";
|
||||
|
|
|
|||
|
|
@ -49,8 +49,11 @@
|
|||
$preset_region = "preset_".$_SESSION['time_conditions']['region']['text'];
|
||||
if (is_array($_SESSION['time_conditions'][$preset_region])) {
|
||||
foreach ($_SESSION['time_conditions'][$preset_region] as $json) {
|
||||
$available_presets[] = json_decode($json, true);
|
||||
$valid_presets[] = array_key_first(end($available_presets));
|
||||
$json_array = json_decode($json, true);
|
||||
if (is_array($json_array)) {
|
||||
$available_presets[] = $json_array;
|
||||
$valid_presets[] = array_key_first(end($available_presets));
|
||||
}
|
||||
}
|
||||
}
|
||||
unset($preset_region);
|
||||
|
|
@ -1296,4 +1299,4 @@ if ($action == 'update') {
|
|||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -197,6 +197,9 @@
|
|||
$apps[$x]['permissions'][$y]['name'] = "xml_cdr_lose_race";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "xml_cdr_enterprise_leg";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = "xml_cdr_cc_agent_leg";
|
||||
$apps[$x]['permissions'][$y]['groups'][] = "superadmin";
|
||||
$y++;
|
||||
|
|
@ -537,6 +540,12 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(1)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "The leg of the call a or b.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "originating_leg_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Originating Leg UUID. Used to identify legs of an enterprise ring group - and exclude them ";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "pdd_ms";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "numeric";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "numeric";
|
||||
|
|
@ -555,6 +564,12 @@
|
|||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Save the last application data.";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "voicemail_message";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "missed_call";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
|
|
|
|||
|
|
@ -1562,8 +1562,8 @@ $text['label-hangup_cause']['de-ch'] = "Hangup Ursache"; //copied from de-de
|
|||
$text['label-hangup_cause']['de-de'] = "Hangup Ursache";
|
||||
$text['label-hangup_cause']['es-cl'] = "Causa Colgar";
|
||||
$text['label-hangup_cause']['es-mx'] = "Causa Colgar"; //copied from es-cl
|
||||
$text['label-hangup_cause']['fr-ca'] = "Parce hangup"; //copied from fr-fr
|
||||
$text['label-hangup_cause']['fr-fr'] = "Parce hangup";
|
||||
$text['label-hangup_cause']['fr-ca'] = "Cause de raccrochage"; //copied from fr-fr
|
||||
$text['label-hangup_cause']['fr-fr'] = "Cause de raccrochage";
|
||||
$text['label-hangup_cause']['he-il'] = "";
|
||||
$text['label-hangup_cause']['it-it'] = "Causa Chiusura Chiamata";
|
||||
$text['label-hangup_cause']['nl-nl'] = "";
|
||||
|
|
@ -1982,8 +1982,8 @@ $text['label-caller_id_number']['de-ch'] = "Anrufer Nummer"; //copied from de-de
|
|||
$text['label-caller_id_number']['de-de'] = "Anrufer Nummer";
|
||||
$text['label-caller_id_number']['es-cl'] = "Número CID";
|
||||
$text['label-caller_id_number']['es-mx'] = "Número CID"; //copied from es-cl
|
||||
$text['label-caller_id_number']['fr-ca'] = "Nombre de l'Appelant"; //copied from fr-fr
|
||||
$text['label-caller_id_number']['fr-fr'] = "Nombre de l'Appelant";
|
||||
$text['label-caller_id_number']['fr-ca'] = "Numéro de l'Appelant"; //copied from fr-fr
|
||||
$text['label-caller_id_number']['fr-fr'] = "Numéro de l'Appelant";
|
||||
$text['label-caller_id_number']['he-il'] = "";
|
||||
$text['label-caller_id_number']['it-it'] = "Numero CID";
|
||||
$text['label-caller_id_number']['nl-nl'] = "";
|
||||
|
|
@ -2402,8 +2402,8 @@ $text['label-order']['de-ch'] = "Order";
|
|||
$text['label-order']['de-de'] = "Order";
|
||||
$text['label-order']['es-cl'] = "Order";
|
||||
$text['label-order']['es-mx'] = "Order";
|
||||
$text['label-order']['fr-ca'] = "Order";
|
||||
$text['label-order']['fr-fr'] = "Order";
|
||||
$text['label-order']['fr-ca'] = "Ordre";
|
||||
$text['label-order']['fr-fr'] = "Ordre";
|
||||
$text['label-order']['he-il'] = "Order";
|
||||
$text['label-order']['it-it'] = "Order";
|
||||
$text['label-order']['nl-nl'] = "Order";
|
||||
|
|
@ -2696,8 +2696,8 @@ $text['description-tta']['de-ch'] = "Zeit zu beantworten"; //copied from de-de
|
|||
$text['description-tta']['de-de'] = "Zeit zu beantworten";
|
||||
$text['description-tta']['es-cl'] = "Hora de contestar";
|
||||
$text['description-tta']['es-mx'] = "Hora de contestar"; //copied from es-cl
|
||||
$text['description-tta']['fr-ca'] = "Le temps de répondre"; //copied from fr-fr
|
||||
$text['description-tta']['fr-fr'] = "Le temps de répondre";
|
||||
$text['description-tta']['fr-ca'] = "Temps de réponse"; //copied from fr-fr
|
||||
$text['description-tta']['fr-fr'] = "Temps de réponse";
|
||||
$text['description-tta']['he-il'] = "הגיע הזמן לענות";
|
||||
$text['description-tta']['it-it'] = "Tempo per rispondere";
|
||||
$text['description-tta']['nl-nl'] = "Tijd om te antwoorden";
|
||||
|
|
@ -2898,4 +2898,4 @@ $text['button-advanced_search']['ru-ru'] = "Расширенный поиск";
|
|||
$text['button-advanced_search']['sv-se'] = "Avancerad";
|
||||
$text['button-advanced_search']['uk-ua'] = "";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -145,10 +145,12 @@ if (!class_exists('xml_cdr')) {
|
|||
$this->fields[] = "record_path";
|
||||
$this->fields[] = "record_name";
|
||||
$this->fields[] = "leg";
|
||||
$this->fields[] = "originating_leg_uuid";
|
||||
$this->fields[] = "pdd_ms";
|
||||
$this->fields[] = "rtp_audio_in_mos";
|
||||
$this->fields[] = "last_app";
|
||||
$this->fields[] = "last_arg";
|
||||
$this->fields[] = "voicemail_message";
|
||||
$this->fields[] = "cc_side";
|
||||
$this->fields[] = "cc_member_uuid";
|
||||
$this->fields[] = "cc_queue_joined_epoch";
|
||||
|
|
@ -316,7 +318,7 @@ if (!class_exists('xml_cdr')) {
|
|||
|
||||
//set missed calls
|
||||
$missed_call = 'false';
|
||||
if (strlen($xml->variables->answer_stamp) == 0) {
|
||||
if ($xml->variables->cc_side != "agent" && strlen($xml->variables->originating_leg_uuid) == 0 && $xml->variables->call_direction != 'outbound' && strlen($xml->variables->answer_stamp) == 0) {
|
||||
$missed_call = 'true';
|
||||
}
|
||||
if ($xml->variables->missed_call == 'true') {
|
||||
|
|
@ -390,6 +392,14 @@ if (!class_exists('xml_cdr')) {
|
|||
$this->array[$key]['last_app'] = urldecode($xml->variables->last_app);
|
||||
$this->array[$key]['last_arg'] = urldecode($xml->variables->last_arg);
|
||||
|
||||
//voicemail message success
|
||||
if ($xml->variables->voicemail_action == "save" && $xml->variables->voicemail_message_seconds > 0){
|
||||
$this->array[$key]['voicemail_message'] = "true";
|
||||
}
|
||||
else { //if ($xml->variables->voicemail_action == "save") {
|
||||
$this->array[$key]['voicemail_message'] = "false";
|
||||
}
|
||||
|
||||
//conference
|
||||
$this->array[$key]['conference_name'] = urldecode($xml->variables->conference_name);
|
||||
$this->array[$key]['conference_uuid'] = urldecode($xml->variables->conference_uuid);
|
||||
|
|
@ -404,6 +414,9 @@ if (!class_exists('xml_cdr')) {
|
|||
//store the call leg
|
||||
$this->array[$key]['leg'] = $leg;
|
||||
|
||||
//store the originating leg uuid
|
||||
$this->array[$key]['originating_leg_uuid'] = urldecode($xml->variables->originating_leg_uuid);
|
||||
|
||||
//store post dial delay, in milliseconds
|
||||
$this->array[$key]['pdd_ms'] = urldecode($xml->variables->progress_mediamsec) + urldecode($xml->variables->progressmsec);
|
||||
|
||||
|
|
@ -430,7 +443,7 @@ if (!class_exists('xml_cdr')) {
|
|||
if (strlen($domain_name) == 0) {
|
||||
$presence_id = urldecode($xml->variables->presence_id);
|
||||
if (strlen($presence_id) > 0) {
|
||||
$presence_array = explode($presence_id);
|
||||
$presence_array = explode($presence_id, '%40');
|
||||
$domain_name = $presence_array[1];
|
||||
}
|
||||
}
|
||||
|
|
@ -918,13 +931,13 @@ if (!class_exists('xml_cdr')) {
|
|||
if (strlen($this->start_stamp_begin) > 0 || strlen($this->start_stamp_end) > 0) {
|
||||
unset($this->quick_select);
|
||||
if (strlen($this->start_stamp_begin) > 0 && strlen($this->start_stamp_end) > 0) {
|
||||
$sql_date_range .= " and start_stamp between :start_stamp_begin and :start_stamp_end \n";
|
||||
$sql_date_range = " and start_stamp between :start_stamp_begin and :start_stamp_end \n";
|
||||
$parameters['start_stamp_begin'] = $this->start_stamp_begin.':00.000';
|
||||
$parameters['start_stamp_end'] = $this->start_stamp_end.':59.999';
|
||||
}
|
||||
else {
|
||||
if (strlen($this->start_stamp_begin) > 0) {
|
||||
$sql_date_range .= "and start_stamp >= :start_stamp_begin \n";
|
||||
$sql_date_range = "and start_stamp >= :start_stamp_begin \n";
|
||||
$parameters['start_stamp_begin'] = $this->start_stamp_begin.':00.000';
|
||||
}
|
||||
if (strlen($this->start_stamp_end) > 0) {
|
||||
|
|
@ -935,13 +948,13 @@ if (!class_exists('xml_cdr')) {
|
|||
}
|
||||
else {
|
||||
switch ($this->quick_select) {
|
||||
case 1: $sql_date_range .= "and start_stamp >= '".date('Y-m-d H:i:s.000', strtotime("-1 week"))."' \n"; break; //last 7 days
|
||||
case 2: $sql_date_range .= "and start_stamp >= '".date('Y-m-d H:i:s.000', strtotime("-1 hour"))."' \n"; break; //last hour
|
||||
case 3: $sql_date_range .= "and start_stamp >= '".date('Y-m-d')." "."00:00:00.000' \n"; break; //today
|
||||
case 4: $sql_date_range .= "and start_stamp between '".date('Y-m-d',strtotime("-1 day"))." "."00:00:00.000' and '".date('Y-m-d',strtotime("-1 day"))." "."23:59:59.999' \n"; break; //yesterday
|
||||
case 5: $sql_date_range .= "and start_stamp >= '".date('Y-m-d',strtotime("this week"))." "."00:00:00.000' \n"; break; //this week
|
||||
case 6: $sql_date_range .= "and start_stamp >= '".date('Y-m-')."01 "."00:00:00.000' \n"; break; //this month
|
||||
case 7: $sql_date_range .= "and start_stamp >= '".date('Y-')."01-01 "."00:00:00.000' \n"; break; //this year
|
||||
case 1: $sql_date_range = "and start_stamp >= '".date('Y-m-d H:i:s.000', strtotime("-1 week"))."' \n"; break; //last 7 days
|
||||
case 2: $sql_date_range = "and start_stamp >= '".date('Y-m-d H:i:s.000', strtotime("-1 hour"))."' \n"; break; //last hour
|
||||
case 3: $sql_date_range = "and start_stamp >= '".date('Y-m-d')." "."00:00:00.000' \n"; break; //today
|
||||
case 4: $sql_date_range = "and start_stamp between '".date('Y-m-d',strtotime("-1 day"))." "."00:00:00.000' and '".date('Y-m-d',strtotime("-1 day"))." "."23:59:59.999' \n"; break; //yesterday
|
||||
case 5: $sql_date_range = "and start_stamp >= '".date('Y-m-d',strtotime("this week"))." "."00:00:00.000' \n"; break; //this week
|
||||
case 6: $sql_date_range = "and start_stamp >= '".date('Y-m-')."01 "."00:00:00.000' \n"; break; //this month
|
||||
case 7: $sql_date_range = "and start_stamp >= '".date('Y-')."01-01 "."00:00:00.000' \n"; break; //this year
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -969,7 +982,10 @@ if (!class_exists('xml_cdr')) {
|
|||
$sql .= "filter ( \n";
|
||||
$sql .= " where c.extension_uuid = e.extension_uuid \n";
|
||||
$sql .= " and missed_call = true \n";
|
||||
if (!permission_exists('xml_cdr_lose_race')) {
|
||||
if (!permission_exists('xml_cdr_enterprise_leg')) {
|
||||
$sql .= " and originating_leg_uuid is null \n";
|
||||
}
|
||||
elseif (!permission_exists('xml_cdr_lose_race')) {
|
||||
$sql .= " and hangup_cause <> 'LOSE_RACE' \n";
|
||||
}
|
||||
if ($this->include_internal) {
|
||||
|
|
@ -1025,7 +1041,10 @@ if (!class_exists('xml_cdr')) {
|
|||
$sql .= "count(*) \n";
|
||||
$sql .= "filter ( \n";
|
||||
$sql .= " where c.extension_uuid = e.extension_uuid \n";
|
||||
if (!permission_exists('xml_cdr_lose_race')) {
|
||||
if (!permission_exists('xml_cdr_enterprise_leg')) {
|
||||
$sql .= " and originating_leg_uuid is null \n";
|
||||
}
|
||||
elseif (!permission_exists('xml_cdr_lose_race')) {
|
||||
$sql .= " and hangup_cause <> 'LOSE_RACE' \n";
|
||||
}
|
||||
if ($this->include_internal) {
|
||||
|
|
@ -1076,6 +1095,7 @@ if (!class_exists('xml_cdr')) {
|
|||
$sql .= " direction, \n";
|
||||
$sql .= " start_stamp, \n";
|
||||
$sql .= " hangup_cause, \n";
|
||||
$sql .= " originating_leg_uuid, \n";
|
||||
$sql .= " billsec \n";
|
||||
$sql .= " from v_xml_cdr \n";
|
||||
if (!($_GET['show'] === 'all' && permission_exists('xml_cdr_all'))) {
|
||||
|
|
@ -1210,7 +1230,7 @@ if (!class_exists('xml_cdr')) {
|
|||
// If the range starts with an '-' we start from the beginning
|
||||
// If not, we forward the file pointer
|
||||
// And make sure to get the end byte if spesified
|
||||
if ($range0 == '-') {
|
||||
if ($range == '-') {
|
||||
// The n-number of the last bytes is requested
|
||||
$c_start = $size - substr($range, 1);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -198,6 +198,14 @@
|
|||
$database->fields['last_app'] = urldecode($xml->variables->last_app);
|
||||
$database->fields['last_arg'] = urldecode($xml->variables->last_arg);
|
||||
|
||||
//voicemail message success
|
||||
if ($xml->variables->voicemail_action == "save" && $xml->variables->voicemail_message_seconds > 0){
|
||||
$database->fields['voicemail_message'] = "true";
|
||||
}
|
||||
elseif ($xml->variables->voicemail_action == "save") {
|
||||
$database->fields['voicemail_message'] = "false";
|
||||
}
|
||||
|
||||
//conference
|
||||
$database->fields['conference_name'] = urldecode($xml->variables->conference_name);
|
||||
$database->fields['conference_uuid'] = urldecode($xml->variables->conference_uuid);
|
||||
|
|
@ -211,7 +219,7 @@
|
|||
|
||||
//set missed calls
|
||||
$database->fields['missed_call'] = 'false';
|
||||
if (strlen($xml->variables->answer_stamp) == 0) {
|
||||
if ($xml->variables->cc_side != "agent" && strlen($xml->variables->originating_leg_uuid) == 0 && $xml->variables->call_direction != 'outbound' && strlen($xml->variables->answer_stamp) == 0) {
|
||||
$database->fields['missed_call'] = 'true';
|
||||
}
|
||||
if ($xml->variables->missed_call == 'true') {
|
||||
|
|
@ -292,7 +300,7 @@
|
|||
if (strlen($domain_name) == 0) {
|
||||
$presence_id = urldecode($xml->variables->presence_id);
|
||||
if (strlen($presence_id) > 0) {
|
||||
$presence_array = explode($presence_id);
|
||||
$presence_array = explode($presence_id, '%40');
|
||||
$domain_name = $presence_array[1];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -796,7 +796,7 @@
|
|||
}
|
||||
//tta (time to answer)
|
||||
if (permission_exists('xml_cdr_tta')) {
|
||||
$content .= " <td class='middle right hide-md-dn'>".(($row['tta'] > 0) ? $row['tta']."s" : " ")."</td>\n";
|
||||
$content .= " <td class='middle right hide-md-dn'>".(($row['tta'] >= 0) ? $row['tta']."s" : " ")."</td>\n";
|
||||
}
|
||||
//duration
|
||||
if (permission_exists('xml_cdr_duration')) {
|
||||
|
|
@ -823,14 +823,6 @@
|
|||
}
|
||||
|
||||
$content .= "</tr>\n";
|
||||
|
||||
if (!permission_exists('xml_cdr_lose_race') && $row['hangup_cause'] == 'LOSE_RACE') {
|
||||
$content = '';
|
||||
}
|
||||
//show agent originated legs only to those with the permission
|
||||
if (!permission_exists('xml_cdr_cc_agent_leg') && $row['cc_side'] == "agent") {
|
||||
$content = '';
|
||||
}
|
||||
//show the leg b only to those with the permission
|
||||
if ($row['leg'] == 'a') {
|
||||
echo $content;
|
||||
|
|
|
|||
|
|
@ -387,9 +387,17 @@
|
|||
|
||||
//foreach($array["variables"] as $key => $value) {
|
||||
if (is_array($array["app_log"]["application"])) {
|
||||
foreach ($array["app_log"]["application"] as $row) {
|
||||
$app_name = $row["@attributes"]["app_name"];
|
||||
$app_data = urldecode($row["@attributes"]["app_data"]);
|
||||
foreach ($array["app_log"]["application"] as $key=>$row) {
|
||||
//single app
|
||||
if ($key === "@attributes") {
|
||||
$app_name = $row["app_name"];
|
||||
$app_data = urldecode($row["app_data"]);
|
||||
}
|
||||
//multiple apps
|
||||
else {
|
||||
$app_name = $row["@attributes"]["app_name"];
|
||||
$app_data = urldecode($row["@attributes"]["app_data"]);
|
||||
}
|
||||
echo "<tr >\n";
|
||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape($app_name)." </td>\n";
|
||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".escape(wordwrap($app_data,75,"\n", true))." </td>\n";
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
$data_body[$p] .= '<td>'.format_phone($fields['destination_number']).'</td>';
|
||||
$data_body[$p] .= '<td>'.$fields['start_stamp'].'</td>';
|
||||
$total['tta'] += ($fields['tta'] > 0) ? $fields['tta'] : 0;
|
||||
$data_body[$p] .= '<td align="right">'.(($fields['tta'] > 0) ? $fields['tta'].'s' : null).'</td>';
|
||||
$data_body[$p] .= '<td align="right">'.(($fields['tta'] >= 0) ? $fields['tta'].'s' : null).'</td>';
|
||||
$seconds = ($fields['hangup_cause'] == "ORIGINATOR_CANCEL") ? $fields['duration'] : round(($fields['billmsec'] / 1000), 0, PHP_ROUND_HALF_UP);
|
||||
$total['duration'] += $seconds;
|
||||
$data_body[$p] .= '<td align="right">'.gmdate("G:i:s", $seconds).'</td>';
|
||||
|
|
|
|||
|
|
@ -417,6 +417,13 @@
|
|||
$sql .= "and hangup_cause like :hangup_cause ";
|
||||
$parameters['hangup_cause'] = '%'.$hangup_cause.'%';
|
||||
}
|
||||
elseif (!permission_exists('xml_cdr_lose_race') && !permission_exists('xml_cdr_enterprise_leg')) {
|
||||
$sql .= "and hangup_cause != 'LOSE_RACE' ";
|
||||
}
|
||||
//exclude enterprise ring group legs
|
||||
if (!permission_exists('xml_cdr_enterprise_leg')) {
|
||||
$sql .= "and originating_leg_uuid IS NULL ";
|
||||
}
|
||||
if (strlen($call_result) > 0) {
|
||||
switch ($call_result) {
|
||||
case 'answered':
|
||||
|
|
@ -430,10 +437,20 @@
|
|||
break;
|
||||
case 'cancelled':
|
||||
if ($direction == 'inbound' || $direction == 'local' || $call_result == 'missed') {
|
||||
$sql = "and (answer_stamp is null and bridge_uuid is null and sip_hangup_disposition <> 'send_refuse') ";
|
||||
$sql .= "
|
||||
and ((
|
||||
answer_stamp is null
|
||||
and bridge_uuid is null
|
||||
and sip_hangup_disposition <> 'send_refuse'
|
||||
)
|
||||
or (
|
||||
answer_stamp is not null
|
||||
and bridge_uuid is null
|
||||
and voicemail_message = false
|
||||
))";
|
||||
}
|
||||
else if ($direction == 'outbound') {
|
||||
$sql = "and (answer_stamp is null and bridge_uuid is not null) ";
|
||||
$sql .= "and (answer_stamp is null and bridge_uuid is not null) ";
|
||||
}
|
||||
else {
|
||||
$sql .= "
|
||||
|
|
@ -447,10 +464,17 @@
|
|||
direction = 'outbound'
|
||||
and answer_stamp is null
|
||||
and bridge_uuid is not null
|
||||
)
|
||||
or (
|
||||
(direction = 'inbound' or direction = 'local')
|
||||
and answer_stamp is not null
|
||||
and bridge_uuid is null
|
||||
and voicemail_message = false
|
||||
))";
|
||||
}
|
||||
break;
|
||||
default: //failed
|
||||
default:
|
||||
$sql .= "and (answer_stamp is null and bridge_uuid is null and duration = 0) ";
|
||||
//$sql .= "and (answer_stamp is null and bridge_uuid is null and billsec = 0 and sip_hangup_disposition = 'send_refuse') ";
|
||||
}
|
||||
}
|
||||
|
|
@ -507,6 +531,10 @@
|
|||
$sql .= "and (c.record_path is null or c.record_name is null) ";
|
||||
}
|
||||
}
|
||||
//show agent originated legs only to those with the permission
|
||||
if (!permission_exists('xml_cdr_cc_agent_leg')) {
|
||||
$sql .= "and (cc_side is null or cc_side != 'agent') ";
|
||||
}
|
||||
//end where
|
||||
if (strlen($order_by) > 0) {
|
||||
$sql .= order_by($order_by, $order);
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@
|
|||
echo " <td>".escape($row['volume'])." </td>\n";
|
||||
echo " <td>".(round(escape($row['minutes']),2))." </td>\n";
|
||||
echo " <td>".(round(escape($row['avg_min']),2))." / ".(round(escape($row['cpm_ans']),2))." </td>\n";
|
||||
echo " <td class='center'><a href=\"xml_cdr.php?missed=true&direction=$direction&start_epoch=".escape($row['start_epoch'])."&stop_epoch=".escape($row['stop_epoch'])."\">".escape($row['missed'])."</a> </td>\n";
|
||||
echo " <td class='center'><a href=\"xml_cdr.php?call_result=missed&direction=$direction&start_epoch=".escape($row['start_epoch'])."&stop_epoch=".escape($row['stop_epoch'])."\">".escape($row['missed'])."</a> </td>\n";
|
||||
echo " <td>".(round(escape($row['asr']),2))." </td>\n";
|
||||
echo " <td>".(round(escape($row['aloc']),2))." </td>\n";
|
||||
echo "</tr >\n";
|
||||
|
|
|
|||
|
|
@ -153,7 +153,7 @@
|
|||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
}
|
||||
if ($missed == true) {
|
||||
$sql_where_ands[] = "billsec = '0'";
|
||||
$sql_where_ands[] = "missed_call = true ";
|
||||
}
|
||||
if (strlen($start_epoch) > 0 && strlen($stop_epoch) > 0) {
|
||||
$sql_where_ands[] = "start_epoch between :start_epoch and :stop_epoch";
|
||||
|
|
@ -280,6 +280,15 @@
|
|||
$sql_where_ands[] = "leg = :leg";
|
||||
$parameters['leg'] = $leg;
|
||||
}
|
||||
//Exclude enterprise ring group legs
|
||||
if (!permission_exists('xml_cdr_enterprise_leg')) {
|
||||
$sql_where_ands[] .= "originating_leg_uuid IS NULL";
|
||||
}
|
||||
//If you can't see lose_race, don't run stats on it
|
||||
elseif (!permission_exists('xml_cdr_lose_race')) {
|
||||
$sql_where_ands[] = "hangup_cause != 'LOSE_RACE'";
|
||||
}
|
||||
|
||||
|
||||
//if not admin or superadmin, only show own calls
|
||||
if (!permission_exists('xml_cdr_domain')) {
|
||||
|
|
@ -345,7 +354,7 @@
|
|||
|
||||
//get the call volume between a start end end time in seconds
|
||||
function get_call_volume_between($start, $end, $where, $parameters) {
|
||||
$sql = "select count(*) as count, sum(billsec) as seconds from v_xml_cdr ";
|
||||
$sql = "select count(*) as count, sum(billsec) as seconds, sum(answer_stamp - start_stamp) as tta from v_xml_cdr ";
|
||||
$sql .= $where." ";
|
||||
$sql .= "start_epoch between :start and :end ";
|
||||
$parameters['start'] = $start;
|
||||
|
|
@ -356,6 +365,7 @@
|
|||
return array(
|
||||
'volume' => $row['count'],
|
||||
'seconds' => $row['seconds'],
|
||||
'tta' => $row['tta'],
|
||||
);
|
||||
}
|
||||
return false;
|
||||
|
|
@ -375,14 +385,13 @@
|
|||
$stats[$i]['volume'] = $stat_range ? $stat_range['volume'] : 0;
|
||||
$stats[$i]['seconds'] = $stat_range ? $stat_range['seconds'] : 0;
|
||||
$stats[$i]['minutes'] = $stats[$i]['seconds'] / 60;
|
||||
$stats[$i]['avg_sec'] = $stats[$i]['volume'] == 0 ? 0 : $stats[$i]['seconds'] / $stats[$i]['volume'];
|
||||
|
||||
if ($missed) {
|
||||
//we select only missed calls at first place - no reasons to select it again
|
||||
$stats[$i]['missed'] = $stats[$i]['volume'];
|
||||
}
|
||||
else {
|
||||
$where = $sql_where."billsec = '0' and ";
|
||||
$where = $sql_where."missed_call = true and ";
|
||||
$stat_range = get_call_volume_between($stats[$i]['start_epoch'], $stats[$i]['stop_epoch'], $where, $parameters);
|
||||
$stats[$i]['missed'] = $stat_range ? $stat_range['volume'] : 0;
|
||||
}
|
||||
|
|
@ -399,6 +408,9 @@
|
|||
//answer / seizure ratio
|
||||
$stats[$i]['asr'] = $stats[$i]['volume'] == 0 ? 0 : ($success_volume / $stats[$i]['volume'] * 100);
|
||||
|
||||
//average time to answer
|
||||
$stats[$i]['avg_tta'] = $stats[$i]['volume'] == 0 ? 0 : round($stat_range['tta'] / $success_volume);
|
||||
|
||||
//average length of call
|
||||
$stats[$i]['aloc'] = $success_volume == 0 ? 0 : $stats[$i]['minutes'] / $success_volume;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -263,6 +263,14 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Filename of the CP860 firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2d167eaf-dbfb-423d-a073-feb66e1434bd";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_firmware_cp920";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "cp920-78.85.0.5.rom";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Filename of the CP920 firmware ROM";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7a769f2f-2833-4b90-9789-ff96a4723773";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_firmware_cp960";
|
||||
|
|
@ -559,14 +567,6 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "http://localhost/all,delete all the customized ring tones";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "7af991ec-ddb9-4942-a05d-d1acc529fef5";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_ringtone_url";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "custom.wav";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Before using this parameter, you should store the desired ring tone (custom.wav) to the provisioning server";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "95862d61-18ac-41b5-ac69-467e0ef3afd7";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_remote_phonebook_1_name";
|
||||
|
|
@ -1206,5 +1206,44 @@
|
|||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "PC port VLAN enable Set 1 = ON 0 = OFF.";
|
||||
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "fe946865-b2a4-47a0-92f7-9b2b879be8ef";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_lock_enable";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the keypad lock type; 0-Disabled (default), 1-Enable. If needing remove pin lock, set value=0 and enabled=true, reprovision. Then you can set enabled=false and reprovision again for full removal and disablement.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c9020c9e-ffb8-4755-9bf8-e3c9344cd129";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_lock_key_type";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the keypad lock type;0-All Keys(default), 1-Function Key, 2-Menu Key";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d3ebfed3-13a8-44b6-bed9-6eaeb6ba7bf6";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_lock_pin";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "123";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the unlock password for the phone. The default value is 123.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b4e7451c-ff42-4269-8404-5434a6303013";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_emergency_number";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "text";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "911,110,112";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Configure the emergency number, each separated by a comma. The default value is 911,110,112.";
|
||||
$y++;
|
||||
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = "76efe175-8701-4222-b022-552c43e647cf";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_category'] = "provision";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_lock_timeout";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_value'] = "0";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false";
|
||||
$apps[$x]['default_settings'][$y]['default_setting_description'] = "Configures the interval (in seconds) to automatically lock the IP phone. It ranges from 0 to 3600, the default value is 0.";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ class authentication {
|
|||
}
|
||||
|
||||
//add user logs
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/user_logs/app_config.php")) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/core/user_logs/app_config.php")) {
|
||||
user_logs::add($result);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -765,8 +765,8 @@
|
|||
echo " ".$text['label-description']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='default_setting_description' style='width: 80%; max-width: 600px; min-width: 167px;' maxlength='255' value=\"".$default_setting_description."\">\n";
|
||||
echo "<br />\n";
|
||||
echo " <textarea class='formfld' style='width: 185px; height: 80px;' name='default_setting_description'>".escape($default_setting_description)."</textarea>\n";
|
||||
echo " <br />\n";
|
||||
echo $text['description-description']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2020
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
|
|
@ -820,7 +820,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo " ".$text['label-description']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='domain_setting_description' style='width: 80%; max-width: 600px; min-width: 167px;' maxlength='255' value=\"".escape($domain_setting_description)."\">\n";
|
||||
echo " <textarea class='formfld' style='width: 185px; height: 80px;' name='domain_setting_description'>".escape($domain_setting_description)."</textarea>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-description']."\n";
|
||||
echo "</td>\n";
|
||||
|
|
|
|||
|
|
@ -233,6 +233,7 @@
|
|||
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
}
|
||||
echo th_order_by('domain_name', $text['label-domain_name'], $order_by, $order);
|
||||
echo "<th class='center'>".$text['label-tools']."</th>";
|
||||
echo th_order_by('domain_enabled', $text['label-domain_enabled'], $order_by, $order, null, "class='center'");
|
||||
echo " <th class='hide-sm-dn'>".$text['label-domain_description']."</th>\n";
|
||||
if (permission_exists('domain_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
|
|
@ -264,15 +265,19 @@
|
|||
echo " ".escape($row['domain_name']);
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='no-link center'>\n";
|
||||
echo " <a href='".PROJECT_PATH."/core/domains/domains.php?domain_uuid=".escape($row['domain_uuid'])."&domain_change=true'>".$text['label-manage']."</a>";
|
||||
echo " </td>\n";
|
||||
if (permission_exists('domain_edit')) {
|
||||
echo " <td class='no-link center'>\n";
|
||||
echo button::create(['type'=>'submit','class'=>'link','label'=>$text['label-'.$row['domain_enabled']],'title'=>$text['button-toggle'],'onclick'=>"list_self_check('checkbox_".$x."'); list_action_set('toggle'); list_form_submit('form_list')"]);
|
||||
echo " </td>\n";
|
||||
}
|
||||
else {
|
||||
echo " <td class='center'>\n";
|
||||
echo $text['label-'.$row['domain_enabled']];
|
||||
echo " </td>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td class='description overflow hide-sm-dn'>".escape($row['domain_description'])."</td>\n";
|
||||
if (permission_exists('domain_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'>\n";
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ if (!class_exists('software')) {
|
|||
* version
|
||||
*/
|
||||
public static function version() {
|
||||
return '4.5.20';
|
||||
return '4.5.22';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -0,0 +1,84 @@
|
|||
<?php
|
||||
|
||||
//application details
|
||||
$apps[$x]['name'] = 'User Logs';
|
||||
$apps[$x]['uuid'] = '582a13cf-7d75-4ea3-b2d9-60914352d76e';
|
||||
$apps[$x]['category'] = 'system';
|
||||
$apps[$x]['subcategory'] = 'users';
|
||||
$apps[$x]['version'] = '1.1';
|
||||
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
||||
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
||||
$apps[$x]['description']['en-us'] = '';
|
||||
|
||||
//permission details
|
||||
$y = 0;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'user_log_view';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'user_log_all';
|
||||
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
$apps[$x]['permissions'][$y]['name'] = 'user_log_delete';
|
||||
//$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
||||
$y++;
|
||||
|
||||
//User Logs
|
||||
$y = 0;
|
||||
$apps[$x]['db'][$y]['table']['name'] = 'v_user_logs';
|
||||
$apps[$x]['db'][$y]['table']['parent'] = '';
|
||||
$z = 0;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_log_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'timestamp';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamptz';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'date';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Set the datetime.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = '';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Select the user.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'username';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the Username.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'type';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the type.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'result';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the result.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'remote_address';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the IP address.';
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'user_agent';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['search_by'] = 'true';
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Enter the user agent.';
|
||||
$z++;
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
if ($domains_processed == 1) {
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,422 @@
|
|||
<?php
|
||||
|
||||
//User Logs
|
||||
$text['title-user_logs']['en-us'] = 'User Logs';
|
||||
$text['title-user_logs']['ar-eg'] = '';
|
||||
$text['title-user_logs']['de-at'] = '';
|
||||
$text['title-user_logs']['de-ch'] = '';
|
||||
$text['title-user_logs']['de-de'] = '';
|
||||
$text['title-user_logs']['es-cl'] = '';
|
||||
$text['title-user_logs']['es-mx'] = '';
|
||||
$text['title-user_logs']['fr-ca'] = '';
|
||||
$text['title-user_logs']['fr-fr'] = '';
|
||||
$text['title-user_logs']['he-il'] = '';
|
||||
$text['title-user_logs']['it-it'] = '';
|
||||
$text['title-user_logs']['nl-nl'] = '';
|
||||
$text['title-user_logs']['pl-pl'] = '';
|
||||
$text['title-user_logs']['pt-br'] = '';
|
||||
$text['title-user_logs']['pt-pt'] = '';
|
||||
$text['title-user_logs']['ro-ro'] = '';
|
||||
$text['title-user_logs']['ru-ru'] = '';
|
||||
$text['title-user_logs']['sv-se'] = '';
|
||||
$text['title-user_logs']['uk-ua'] = '';
|
||||
|
||||
$text['title-user_log']['en-us'] = 'User Log';
|
||||
$text['title-user_log']['ar-eg'] = '';
|
||||
$text['title-user_log']['de-at'] = '';
|
||||
$text['title-user_log']['de-ch'] = '';
|
||||
$text['title-user_log']['de-de'] = '';
|
||||
$text['title-user_log']['es-cl'] = '';
|
||||
$text['title-user_log']['es-mx'] = '';
|
||||
$text['title-user_log']['fr-ca'] = '';
|
||||
$text['title-user_log']['fr-fr'] = '';
|
||||
$text['title-user_log']['he-il'] = '';
|
||||
$text['title-user_log']['it-it'] = '';
|
||||
$text['title-user_log']['nl-nl'] = '';
|
||||
$text['title-user_log']['pl-pl'] = '';
|
||||
$text['title-user_log']['pt-br'] = '';
|
||||
$text['title-user_log']['pt-pt'] = '';
|
||||
$text['title-user_log']['ro-ro'] = '';
|
||||
$text['title-user_log']['ru-ru'] = '';
|
||||
$text['title-user_log']['sv-se'] = '';
|
||||
$text['title-user_log']['uk-ua'] = '';
|
||||
|
||||
$text['title_description-user_logs']['en-us'] = 'Shows authentication attempts with the result, timestamp, remote address and user details.';
|
||||
$text['title_description-user_logs']['ar-eg'] = '';
|
||||
$text['title_description-user_logs']['de-at'] = '';
|
||||
$text['title_description-user_logs']['de-ch'] = '';
|
||||
$text['title_description-user_logs']['de-de'] = '';
|
||||
$text['title_description-user_logs']['es-cl'] = '';
|
||||
$text['title_description-user_logs']['es-mx'] = '';
|
||||
$text['title_description-user_logs']['fr-ca'] = '';
|
||||
$text['title_description-user_logs']['fr-fr'] = '';
|
||||
$text['title_description-user_logs']['he-il'] = '';
|
||||
$text['title_description-user_logs']['it-it'] = '';
|
||||
$text['title_description-user_logs']['nl-nl'] = '';
|
||||
$text['title_description-user_logs']['pl-pl'] = '';
|
||||
$text['title_description-user_logs']['pt-br'] = '';
|
||||
$text['title_description-user_logs']['pt-pt'] = '';
|
||||
$text['title_description-user_logs']['ro-ro'] = '';
|
||||
$text['title_description-user_logs']['ru-ru'] = '';
|
||||
$text['title_description-user_logs']['sv-se'] = '';
|
||||
$text['title_description-user_logs']['uk-ua'] = '';
|
||||
|
||||
$text['label-timestamp']['en-us'] = 'Timestamp';
|
||||
$text['label-timestamp']['ar-eg'] = '';
|
||||
$text['label-timestamp']['de-at'] = '';
|
||||
$text['label-timestamp']['de-ch'] = '';
|
||||
$text['label-timestamp']['de-de'] = '';
|
||||
$text['label-timestamp']['es-cl'] = '';
|
||||
$text['label-timestamp']['es-mx'] = '';
|
||||
$text['label-timestamp']['fr-ca'] = '';
|
||||
$text['label-timestamp']['fr-fr'] = '';
|
||||
$text['label-timestamp']['he-il'] = '';
|
||||
$text['label-timestamp']['it-it'] = '';
|
||||
$text['label-timestamp']['nl-nl'] = '';
|
||||
$text['label-timestamp']['pl-pl'] = '';
|
||||
$text['label-timestamp']['pt-br'] = '';
|
||||
$text['label-timestamp']['pt-pt'] = '';
|
||||
$text['label-timestamp']['ro-ro'] = '';
|
||||
$text['label-timestamp']['ru-ru'] = '';
|
||||
$text['label-timestamp']['sv-se'] = '';
|
||||
$text['label-timestamp']['uk-ua'] = '';
|
||||
|
||||
$text['description-timestamp']['en-us'] = 'Set the datetime.';
|
||||
$text['description-timestamp']['ar-eg'] = '';
|
||||
$text['description-timestamp']['de-at'] = '';
|
||||
$text['description-timestamp']['de-ch'] = '';
|
||||
$text['description-timestamp']['de-de'] = '';
|
||||
$text['description-timestamp']['es-cl'] = '';
|
||||
$text['description-timestamp']['es-mx'] = '';
|
||||
$text['description-timestamp']['fr-ca'] = '';
|
||||
$text['description-timestamp']['fr-fr'] = '';
|
||||
$text['description-timestamp']['he-il'] = '';
|
||||
$text['description-timestamp']['it-it'] = '';
|
||||
$text['description-timestamp']['nl-nl'] = '';
|
||||
$text['description-timestamp']['pl-pl'] = '';
|
||||
$text['description-timestamp']['pt-br'] = '';
|
||||
$text['description-timestamp']['pt-pt'] = '';
|
||||
$text['description-timestamp']['ro-ro'] = '';
|
||||
$text['description-timestamp']['ru-ru'] = '';
|
||||
$text['description-timestamp']['sv-se'] = '';
|
||||
$text['description-timestamp']['uk-ua'] = '';
|
||||
|
||||
$text['label-user_uuid']['en-us'] = 'User';
|
||||
$text['label-user_uuid']['ar-eg'] = '';
|
||||
$text['label-user_uuid']['de-at'] = '';
|
||||
$text['label-user_uuid']['de-ch'] = '';
|
||||
$text['label-user_uuid']['de-de'] = '';
|
||||
$text['label-user_uuid']['es-cl'] = '';
|
||||
$text['label-user_uuid']['es-mx'] = '';
|
||||
$text['label-user_uuid']['fr-ca'] = '';
|
||||
$text['label-user_uuid']['fr-fr'] = '';
|
||||
$text['label-user_uuid']['he-il'] = '';
|
||||
$text['label-user_uuid']['it-it'] = '';
|
||||
$text['label-user_uuid']['nl-nl'] = '';
|
||||
$text['label-user_uuid']['pl-pl'] = '';
|
||||
$text['label-user_uuid']['pt-br'] = '';
|
||||
$text['label-user_uuid']['pt-pt'] = '';
|
||||
$text['label-user_uuid']['ro-ro'] = '';
|
||||
$text['label-user_uuid']['ru-ru'] = '';
|
||||
$text['label-user_uuid']['sv-se'] = '';
|
||||
$text['label-user_uuid']['uk-ua'] = '';
|
||||
|
||||
$text['description-user_uuid']['en-us'] = 'Select the user.';
|
||||
$text['description-user_uuid']['ar-eg'] = '';
|
||||
$text['description-user_uuid']['de-at'] = '';
|
||||
$text['description-user_uuid']['de-ch'] = '';
|
||||
$text['description-user_uuid']['de-de'] = '';
|
||||
$text['description-user_uuid']['es-cl'] = '';
|
||||
$text['description-user_uuid']['es-mx'] = '';
|
||||
$text['description-user_uuid']['fr-ca'] = '';
|
||||
$text['description-user_uuid']['fr-fr'] = '';
|
||||
$text['description-user_uuid']['he-il'] = '';
|
||||
$text['description-user_uuid']['it-it'] = '';
|
||||
$text['description-user_uuid']['nl-nl'] = '';
|
||||
$text['description-user_uuid']['pl-pl'] = '';
|
||||
$text['description-user_uuid']['pt-br'] = '';
|
||||
$text['description-user_uuid']['pt-pt'] = '';
|
||||
$text['description-user_uuid']['ro-ro'] = '';
|
||||
$text['description-user_uuid']['ru-ru'] = '';
|
||||
$text['description-user_uuid']['sv-se'] = '';
|
||||
$text['description-user_uuid']['uk-ua'] = '';
|
||||
|
||||
$text['label-username']['en-us'] = 'Username';
|
||||
$text['label-username']['ar-eg'] = '';
|
||||
$text['label-username']['de-at'] = '';
|
||||
$text['label-username']['de-ch'] = '';
|
||||
$text['label-username']['de-de'] = '';
|
||||
$text['label-username']['es-cl'] = '';
|
||||
$text['label-username']['es-mx'] = '';
|
||||
$text['label-username']['fr-ca'] = '';
|
||||
$text['label-username']['fr-fr'] = '';
|
||||
$text['label-username']['he-il'] = '';
|
||||
$text['label-username']['it-it'] = '';
|
||||
$text['label-username']['nl-nl'] = '';
|
||||
$text['label-username']['pl-pl'] = '';
|
||||
$text['label-username']['pt-br'] = '';
|
||||
$text['label-username']['pt-pt'] = '';
|
||||
$text['label-username']['ro-ro'] = '';
|
||||
$text['label-username']['ru-ru'] = '';
|
||||
$text['label-username']['sv-se'] = '';
|
||||
$text['label-username']['uk-ua'] = '';
|
||||
|
||||
$text['description-username']['en-us'] = 'Enter the Username.';
|
||||
$text['description-username']['ar-eg'] = '';
|
||||
$text['description-username']['de-at'] = '';
|
||||
$text['description-username']['de-ch'] = '';
|
||||
$text['description-username']['de-de'] = '';
|
||||
$text['description-username']['es-cl'] = '';
|
||||
$text['description-username']['es-mx'] = '';
|
||||
$text['description-username']['fr-ca'] = '';
|
||||
$text['description-username']['fr-fr'] = '';
|
||||
$text['description-username']['he-il'] = '';
|
||||
$text['description-username']['it-it'] = '';
|
||||
$text['description-username']['nl-nl'] = '';
|
||||
$text['description-username']['pl-pl'] = '';
|
||||
$text['description-username']['pt-br'] = '';
|
||||
$text['description-username']['pt-pt'] = '';
|
||||
$text['description-username']['ro-ro'] = '';
|
||||
$text['description-username']['ru-ru'] = '';
|
||||
$text['description-username']['sv-se'] = '';
|
||||
$text['description-username']['uk-ua'] = '';
|
||||
|
||||
$text['label-type']['en-us'] = 'Type';
|
||||
$text['label-type']['ar-eg'] = '';
|
||||
$text['label-type']['de-at'] = '';
|
||||
$text['label-type']['de-ch'] = '';
|
||||
$text['label-type']['de-de'] = '';
|
||||
$text['label-type']['es-cl'] = '';
|
||||
$text['label-type']['es-mx'] = '';
|
||||
$text['label-type']['fr-ca'] = '';
|
||||
$text['label-type']['fr-fr'] = '';
|
||||
$text['label-type']['he-il'] = '';
|
||||
$text['label-type']['it-it'] = '';
|
||||
$text['label-type']['nl-nl'] = '';
|
||||
$text['label-type']['pl-pl'] = '';
|
||||
$text['label-type']['pt-br'] = '';
|
||||
$text['label-type']['pt-pt'] = '';
|
||||
$text['label-type']['ro-ro'] = '';
|
||||
$text['label-type']['ru-ru'] = '';
|
||||
$text['label-type']['sv-se'] = '';
|
||||
$text['label-type']['uk-ua'] = '';
|
||||
|
||||
$text['description-type']['en-us'] = 'Enter the type.';
|
||||
$text['description-type']['ar-eg'] = '';
|
||||
$text['description-type']['de-at'] = '';
|
||||
$text['description-type']['de-ch'] = '';
|
||||
$text['description-type']['de-de'] = '';
|
||||
$text['description-type']['es-cl'] = '';
|
||||
$text['description-type']['es-mx'] = '';
|
||||
$text['description-type']['fr-ca'] = '';
|
||||
$text['description-type']['fr-fr'] = '';
|
||||
$text['description-type']['he-il'] = '';
|
||||
$text['description-type']['it-it'] = '';
|
||||
$text['description-type']['nl-nl'] = '';
|
||||
$text['description-type']['pl-pl'] = '';
|
||||
$text['description-type']['pt-br'] = '';
|
||||
$text['description-type']['pt-pt'] = '';
|
||||
$text['description-type']['ro-ro'] = '';
|
||||
$text['description-type']['ru-ru'] = '';
|
||||
$text['description-type']['sv-se'] = '';
|
||||
$text['description-type']['uk-ua'] = '';
|
||||
|
||||
$text['label-result']['en-us'] = 'Result';
|
||||
$text['label-result']['ar-eg'] = '';
|
||||
$text['label-result']['de-at'] = '';
|
||||
$text['label-result']['de-ch'] = '';
|
||||
$text['label-result']['de-de'] = '';
|
||||
$text['label-result']['es-cl'] = '';
|
||||
$text['label-result']['es-mx'] = '';
|
||||
$text['label-result']['fr-ca'] = '';
|
||||
$text['label-result']['fr-fr'] = '';
|
||||
$text['label-result']['he-il'] = '';
|
||||
$text['label-result']['it-it'] = '';
|
||||
$text['label-result']['nl-nl'] = '';
|
||||
$text['label-result']['pl-pl'] = '';
|
||||
$text['label-result']['pt-br'] = '';
|
||||
$text['label-result']['pt-pt'] = '';
|
||||
$text['label-result']['ro-ro'] = '';
|
||||
$text['label-result']['ru-ru'] = '';
|
||||
$text['label-result']['sv-se'] = '';
|
||||
$text['label-result']['uk-ua'] = '';
|
||||
|
||||
$text['description-result']['en-us'] = 'Enter the result.';
|
||||
$text['description-result']['ar-eg'] = '';
|
||||
$text['description-result']['de-at'] = '';
|
||||
$text['description-result']['de-ch'] = '';
|
||||
$text['description-result']['de-de'] = '';
|
||||
$text['description-result']['es-cl'] = '';
|
||||
$text['description-result']['es-mx'] = '';
|
||||
$text['description-result']['fr-ca'] = '';
|
||||
$text['description-result']['fr-fr'] = '';
|
||||
$text['description-result']['he-il'] = '';
|
||||
$text['description-result']['it-it'] = '';
|
||||
$text['description-result']['nl-nl'] = '';
|
||||
$text['description-result']['pl-pl'] = '';
|
||||
$text['description-result']['pt-br'] = '';
|
||||
$text['description-result']['pt-pt'] = '';
|
||||
$text['description-result']['ro-ro'] = '';
|
||||
$text['description-result']['ru-ru'] = '';
|
||||
$text['description-result']['sv-se'] = '';
|
||||
$text['description-result']['uk-ua'] = '';
|
||||
|
||||
$text['label-success']['en-us'] = 'success';
|
||||
$text['label-success']['ar-eg'] = '';
|
||||
$text['label-success']['de-at'] = '';
|
||||
$text['label-success']['de-ch'] = '';
|
||||
$text['label-success']['de-de'] = '';
|
||||
$text['label-success']['es-mx'] = '';
|
||||
$text['label-success']['fr-ca'] = '';
|
||||
$text['label-success']['fr-fr'] = '';
|
||||
$text['label-success']['he-il'] = '';
|
||||
$text['label-success']['it-it'] = '';
|
||||
$text['label-success']['nl-nl'] = '';
|
||||
$text['label-success']['pl-pl'] = '';
|
||||
$text['label-success']['pt-br'] = '';
|
||||
$text['label-success']['pt-pt'] = '';
|
||||
$text['label-success']['ro-ro'] = '';
|
||||
$text['label-success']['ru-ru'] = '';
|
||||
$text['label-success']['sv-se'] = '';
|
||||
$text['label-success']['uk-ua'] = '';
|
||||
|
||||
$text['label-failure']['en-us'] = 'failure';
|
||||
$text['label-failure']['ar-eg'] = '';
|
||||
$text['label-failure']['de-at'] = '';
|
||||
$text['label-failure']['de-ch'] = '';
|
||||
$text['label-failure']['de-de'] = '';
|
||||
$text['label-failure']['es-mx'] = '';
|
||||
$text['label-failure']['fr-ca'] = '';
|
||||
$text['label-failure']['fr-fr'] = '';
|
||||
$text['label-failure']['he-il'] = '';
|
||||
$text['label-failure']['it-it'] = '';
|
||||
$text['label-failure']['nl-nl'] = '';
|
||||
$text['label-failure']['pl-pl'] = '';
|
||||
$text['label-failure']['pt-br'] = '';
|
||||
$text['label-failure']['pt-pt'] = '';
|
||||
$text['label-failure']['ro-ro'] = '';
|
||||
$text['label-failure']['ru-ru'] = '';
|
||||
$text['label-failure']['sv-se'] = '';
|
||||
$text['label-failure']['uk-ua'] = '';
|
||||
|
||||
$text['label-remote_address']['en-us'] = 'Remote Address';
|
||||
$text['label-remote_address']['ar-eg'] = '';
|
||||
$text['label-remote_address']['de-at'] = '';
|
||||
$text['label-remote_address']['de-ch'] = '';
|
||||
$text['label-remote_address']['de-de'] = '';
|
||||
$text['label-remote_address']['es-cl'] = '';
|
||||
$text['label-remote_address']['es-mx'] = '';
|
||||
$text['label-remote_address']['fr-ca'] = '';
|
||||
$text['label-remote_address']['fr-fr'] = '';
|
||||
$text['label-remote_address']['he-il'] = '';
|
||||
$text['label-remote_address']['it-it'] = '';
|
||||
$text['label-remote_address']['nl-nl'] = '';
|
||||
$text['label-remote_address']['pl-pl'] = '';
|
||||
$text['label-remote_address']['pt-br'] = '';
|
||||
$text['label-remote_address']['pt-pt'] = '';
|
||||
$text['label-remote_address']['ro-ro'] = '';
|
||||
$text['label-remote_address']['ru-ru'] = '';
|
||||
$text['label-remote_address']['sv-se'] = '';
|
||||
$text['label-remote_address']['uk-ua'] = '';
|
||||
|
||||
$text['description-remote_address']['en-us'] = 'Enter the IP address.';
|
||||
$text['description-remote_address']['ar-eg'] = '';
|
||||
$text['description-remote_address']['de-at'] = '';
|
||||
$text['description-remote_address']['de-ch'] = '';
|
||||
$text['description-remote_address']['de-de'] = '';
|
||||
$text['description-remote_address']['es-cl'] = '';
|
||||
$text['description-remote_address']['es-mx'] = '';
|
||||
$text['description-remote_address']['fr-ca'] = '';
|
||||
$text['description-remote_address']['fr-fr'] = '';
|
||||
$text['description-remote_address']['he-il'] = '';
|
||||
$text['description-remote_address']['it-it'] = '';
|
||||
$text['description-remote_address']['nl-nl'] = '';
|
||||
$text['description-remote_address']['pl-pl'] = '';
|
||||
$text['description-remote_address']['pt-br'] = '';
|
||||
$text['description-remote_address']['pt-pt'] = '';
|
||||
$text['description-remote_address']['ro-ro'] = '';
|
||||
$text['description-remote_address']['ru-ru'] = '';
|
||||
$text['description-remote_address']['sv-se'] = '';
|
||||
$text['description-remote_address']['uk-ua'] = '';
|
||||
|
||||
$text['label-user_agent']['en-us'] = 'User Agent';
|
||||
$text['label-user_agent']['ar-eg'] = '';
|
||||
$text['label-user_agent']['de-at'] = '';
|
||||
$text['label-user_agent']['de-ch'] = '';
|
||||
$text['label-user_agent']['de-de'] = '';
|
||||
$text['label-user_agent']['es-cl'] = '';
|
||||
$text['label-user_agent']['es-mx'] = '';
|
||||
$text['label-user_agent']['fr-ca'] = '';
|
||||
$text['label-user_agent']['fr-fr'] = '';
|
||||
$text['label-user_agent']['he-il'] = '';
|
||||
$text['label-user_agent']['it-it'] = '';
|
||||
$text['label-user_agent']['nl-nl'] = '';
|
||||
$text['label-user_agent']['pl-pl'] = '';
|
||||
$text['label-user_agent']['pt-br'] = '';
|
||||
$text['label-user_agent']['pt-pt'] = '';
|
||||
$text['label-user_agent']['ro-ro'] = '';
|
||||
$text['label-user_agent']['ru-ru'] = '';
|
||||
$text['label-user_agent']['sv-se'] = '';
|
||||
$text['label-user_agent']['uk-ua'] = '';
|
||||
|
||||
$text['description-user_agent']['en-us'] = 'Enter the user agent.';
|
||||
$text['description-user_agent']['ar-eg'] = '';
|
||||
$text['description-user_agent']['de-at'] = '';
|
||||
$text['description-user_agent']['de-ch'] = '';
|
||||
$text['description-user_agent']['de-de'] = '';
|
||||
$text['description-user_agent']['es-cl'] = '';
|
||||
$text['description-user_agent']['es-mx'] = '';
|
||||
$text['description-user_agent']['fr-ca'] = '';
|
||||
$text['description-user_agent']['fr-fr'] = '';
|
||||
$text['description-user_agent']['he-il'] = '';
|
||||
$text['description-user_agent']['it-it'] = '';
|
||||
$text['description-user_agent']['nl-nl'] = '';
|
||||
$text['description-user_agent']['pl-pl'] = '';
|
||||
$text['description-user_agent']['pt-br'] = '';
|
||||
$text['description-user_agent']['pt-pt'] = '';
|
||||
$text['description-user_agent']['ro-ro'] = '';
|
||||
$text['description-user_agent']['ru-ru'] = '';
|
||||
$text['description-user_agent']['sv-se'] = '';
|
||||
$text['description-user_agent']['uk-ua'] = '';
|
||||
|
||||
$text['label-location']['en-us'] = 'Location';
|
||||
$text['label-location']['ar-eg'] = '';
|
||||
$text['label-location']['de-at'] = '';
|
||||
$text['label-location']['de-ch'] = '';
|
||||
$text['label-location']['de-de'] = '';
|
||||
$text['label-location']['es-cl'] = '';
|
||||
$text['label-location']['es-mx'] = '';
|
||||
$text['label-location']['fr-ca'] = '';
|
||||
$text['label-location']['fr-fr'] = '';
|
||||
$text['label-location']['he-il'] = '';
|
||||
$text['label-location']['it-it'] = '';
|
||||
$text['label-location']['nl-nl'] = '';
|
||||
$text['label-location']['pl-pl'] = '';
|
||||
$text['label-location']['pt-br'] = '';
|
||||
$text['label-location']['pt-pt'] = '';
|
||||
$text['label-location']['ro-ro'] = '';
|
||||
$text['label-location']['ru-ru'] = '';
|
||||
$text['label-location']['sv-se'] = '';
|
||||
$text['label-location']['uk-ua'] = '';
|
||||
|
||||
$text['description-location']['en-us'] = 'Enter the location.';
|
||||
$text['description-location']['ar-eg'] = '';
|
||||
$text['description-location']['de-at'] = '';
|
||||
$text['description-location']['de-ch'] = '';
|
||||
$text['description-location']['de-de'] = '';
|
||||
$text['description-location']['es-cl'] = '';
|
||||
$text['description-location']['es-mx'] = '';
|
||||
$text['description-location']['fr-ca'] = '';
|
||||
$text['description-location']['fr-fr'] = '';
|
||||
$text['description-location']['he-il'] = '';
|
||||
$text['description-location']['it-it'] = '';
|
||||
$text['description-location']['nl-nl'] = '';
|
||||
$text['description-location']['pl-pl'] = '';
|
||||
$text['description-location']['pt-br'] = '';
|
||||
$text['description-location']['pt-pt'] = '';
|
||||
$text['description-location']['ro-ro'] = '';
|
||||
$text['description-location']['ru-ru'] = '';
|
||||
$text['description-location']['sv-se'] = '';
|
||||
$text['description-location']['uk-ua'] = '';
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
$apps[$x]['menu'][0]['title']['en-us'] = 'User Logs';
|
||||
$apps[$x]['menu'][0]['title']['es-cl'] = '';
|
||||
$apps[$x]['menu'][0]['title']['fr-fr'] = '';
|
||||
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
||||
$apps[$x]['menu'][0]['title']['pl'] = '';
|
||||
$apps[$x]['menu'][0]['title']['sv-se'] = '';
|
||||
$apps[$x]['menu'][0]['title']['uk'] = '';
|
||||
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
||||
$apps[$x]['menu'][0]['uuid'] = '88e5773a-2e33-43dc-9a6e-07d46d200e9c';
|
||||
$apps[$x]['menu'][0]['parent_uuid'] = '0438b504-8613-7887-c420-c837ffb20cb1';
|
||||
$apps[$x]['menu'][0]['category'] = 'internal';
|
||||
$apps[$x]['menu'][0]['path'] = '/core/user_logs/user_logs.php';
|
||||
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
||||
//$apps[$x]['menu'][0]['groups'][] = 'admin';
|
||||
//$apps[$x]['menu'][0]['groups'][] = 'user';
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,161 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2019-2021
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
/**
|
||||
* user_logs class
|
||||
*
|
||||
* @method null delete
|
||||
* @method null toggle
|
||||
* @method null copy
|
||||
*/
|
||||
if (!class_exists('user_logs')) {
|
||||
class user_logs {
|
||||
|
||||
/**
|
||||
* declare the variables
|
||||
*/
|
||||
private $app_name;
|
||||
private $app_uuid;
|
||||
private $name;
|
||||
private $table;
|
||||
private $toggle_field;
|
||||
private $toggle_values;
|
||||
private $location;
|
||||
|
||||
/**
|
||||
* called when the object is created
|
||||
*/
|
||||
public function __construct() {
|
||||
//assign the variables
|
||||
$this->app_name = 'user_logs';
|
||||
$this->app_uuid = '582a13cf-7d75-4ea3-b2d9-60914352d76e';
|
||||
$this->name = 'user_log';
|
||||
$this->table = 'user_logs';
|
||||
$this->toggle_field = '';
|
||||
$this->toggle_values = ['true','false'];
|
||||
$this->location = 'user_logs.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* called when there are no references to a particular object
|
||||
* unset the variables used in the class
|
||||
*/
|
||||
public function __destruct() {
|
||||
foreach ($this as $key => $value) {
|
||||
unset($this->$key);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* add user_logs
|
||||
*/
|
||||
public static function add($result) {
|
||||
//prepare the array
|
||||
$array['user_logs'][0]["timestamp"] = 'now()';
|
||||
$array['user_logs'][0]["domain_uuid"] = $result['domain_uuid'];
|
||||
$array['user_logs'][0]["user_uuid"] = $result['user_uuid'];
|
||||
$array['user_logs'][0]["username"] = $result['username'];
|
||||
$array['user_logs'][0]["type"] = 'login';
|
||||
$array['user_logs'][0]["remote_address"] = $_SERVER['REMOTE_ADDR'];
|
||||
$array['user_logs'][0]["user_agent"] = $_SERVER['HTTP_USER_AGENT'];
|
||||
$array['user_logs'][0]["type"] = 'login';
|
||||
if ($result["authorized"] == "true") {
|
||||
$array['user_logs'][0]["result"] = 'success';
|
||||
}
|
||||
else {
|
||||
$array['user_logs'][0]["result"] = 'failure';
|
||||
}
|
||||
|
||||
//add the dialplan permission
|
||||
$p = new permissions;
|
||||
$p->add("user_log_add", 'temp');
|
||||
|
||||
//save to the data
|
||||
$database = new database;
|
||||
$database->app_name = 'authentication';
|
||||
$database->app_uuid = 'a8a12918-69a4-4ece-a1ae-3932be0e41f1';
|
||||
$database->uuid($user_log_uuid);
|
||||
$database->save($array);
|
||||
$message = $database->message;
|
||||
|
||||
//remove the temporary permission
|
||||
$p->delete("user_log_add", 'temp');
|
||||
}
|
||||
|
||||
/**
|
||||
* delete rows from the database
|
||||
*/
|
||||
public function delete($records) {
|
||||
if (permission_exists($this->name.'_delete')) {
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: '.$this->location);
|
||||
exit;
|
||||
}
|
||||
|
||||
//delete multiple records
|
||||
if (is_array($records) && @sizeof($records) != 0) {
|
||||
//build the delete array
|
||||
$x = 0;
|
||||
foreach ($records as $record) {
|
||||
//add to the array
|
||||
if ($record['checked'] == 'true' && is_uuid($record['uuid'])) {
|
||||
$array[$this->table][$x][$this->name.'_uuid'] = $record['uuid'];
|
||||
$array[$this->table][$x]['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
}
|
||||
|
||||
//increment the id
|
||||
$x++;
|
||||
}
|
||||
|
||||
//delete the checked rows
|
||||
if (is_array($array) && @sizeof($array) != 0) {
|
||||
//execute delete
|
||||
$database = new database;
|
||||
$database->app_name = $this->app_name;
|
||||
$database->app_uuid = $this->app_uuid;
|
||||
$database->delete($array);
|
||||
unset($array);
|
||||
|
||||
//set message
|
||||
message::add($text['message-delete']);
|
||||
}
|
||||
unset($records);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
|
||||
// make sure the PATH_SEPARATOR is defined
|
||||
umask(2);
|
||||
if (!defined("PATH_SEPARATOR")) {
|
||||
if (strpos($_ENV["OS"], "Win") !== false) {
|
||||
define("PATH_SEPARATOR", ";");
|
||||
} else {
|
||||
define("PATH_SEPARATOR", ":");
|
||||
}
|
||||
}
|
||||
|
||||
if (!isset($output_format)) $output_format = (PHP_SAPI == 'cli') ? 'text' : 'html';
|
||||
|
||||
// make sure the document_root is set
|
||||
$_SERVER["SCRIPT_FILENAME"] = str_replace("\\", '/', $_SERVER["SCRIPT_FILENAME"]);
|
||||
if(PHP_SAPI == 'cli'){
|
||||
chdir(pathinfo(realpath($_SERVER["PHP_SELF"]), PATHINFO_DIRNAME));
|
||||
$script_full_path = str_replace("\\", '/', getcwd() . '/' . $_SERVER["SCRIPT_FILENAME"]);
|
||||
$dirs = explode('/', pathinfo($script_full_path, PATHINFO_DIRNAME));
|
||||
if (file_exists('/project_root.php')) {
|
||||
$path = '/';
|
||||
} else {
|
||||
$i = 1;
|
||||
$path = '';
|
||||
while ($i < count($dirs)) {
|
||||
$path .= '/' . $dirs[$i];
|
||||
if (file_exists($path. '/project_root.php')) {
|
||||
break;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
$_SERVER["DOCUMENT_ROOT"] = $path;
|
||||
}else{
|
||||
$_SERVER["DOCUMENT_ROOT"] = str_replace($_SERVER["PHP_SELF"], "", $_SERVER["SCRIPT_FILENAME"]);
|
||||
}
|
||||
$_SERVER["DOCUMENT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"]);
|
||||
// try to detect if a project path is being used
|
||||
if (!defined('PROJECT_PATH')) {
|
||||
if (is_dir($_SERVER["DOCUMENT_ROOT"]. '/fusionpbx')) {
|
||||
define('PROJECT_PATH', '/fusionpbx');
|
||||
} elseif (file_exists($_SERVER["DOCUMENT_ROOT"]. '/project_root.php')) {
|
||||
define('PROJECT_PATH', '');
|
||||
} else {
|
||||
$dirs = explode('/', str_replace('\\', '/', pathinfo($_SERVER["PHP_SELF"], PATHINFO_DIRNAME)));
|
||||
$i = 1;
|
||||
$path = $_SERVER["DOCUMENT_ROOT"];
|
||||
while ($i < count($dirs)) {
|
||||
$path .= '/' . $dirs[$i];
|
||||
if (file_exists($path. '/project_root.php')) {
|
||||
break;
|
||||
}
|
||||
$i++;
|
||||
}
|
||||
if(!file_exists($path. '/project_root.php')){
|
||||
die("Failed to locate the Project Root by searching for project_root.php please contact support for assistance");
|
||||
}
|
||||
$project_path = str_replace($_SERVER["DOCUMENT_ROOT"], "", $path);
|
||||
define('PROJECT_PATH', $project_path);
|
||||
}
|
||||
$_SERVER["PROJECT_ROOT"] = realpath($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH);
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . $_SERVER["PROJECT_ROOT"]);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,213 @@
|
|||
<?php
|
||||
|
||||
//includes
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('user_log_view')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//get the uuid
|
||||
$user_log_uuid = $_GET['id'];
|
||||
|
||||
//pre-populate the form
|
||||
if (is_array($_GET) && $_POST["persistformvar"] != "true") {
|
||||
$sql = "select * from v_user_logs ";
|
||||
$sql .= "where user_log_uuid = :user_log_uuid ";
|
||||
//$sql .= "and domain_uuid = :domain_uuid ";
|
||||
//$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$parameters['user_log_uuid'] = $user_log_uuid;
|
||||
$database = new database;
|
||||
$row = $database->select($sql, $parameters, 'row');
|
||||
if (is_array($row) && @sizeof($row) != 0) {
|
||||
$domain_uuid = $row["domain_uuid"];
|
||||
$timestamp = $row["timestamp"];
|
||||
$user_uuid = $row["user_uuid"];
|
||||
$username = $row["username"];
|
||||
$type = $row["type"];
|
||||
$result = $row["result"];
|
||||
$remote_address = $row["remote_address"];
|
||||
$user_agent = $row["user_agent"];
|
||||
}
|
||||
unset($sql, $parameters, $row);
|
||||
}
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//show the header
|
||||
$document['title'] = $text['title-user_log'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//get the users
|
||||
$sql = "SELECT user_uuid, username FROM v_users ";
|
||||
$sql .= "WHERE domain_uuid = :domain_uuid ";
|
||||
$sql .= "ORDER by username asc ";
|
||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||
$database = new database;
|
||||
$users = $database->execute($sql, $parameters, 'all');
|
||||
unset ($sql, $parameters);
|
||||
|
||||
//show the content
|
||||
echo "<form name='frm' id='frm' method='post' action=''>\n";
|
||||
echo "<input class='formfld' type='hidden' name='user_log_uuid' value='".escape($user_log_uuid)."'>\n";
|
||||
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['title-user_log']."</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'id'=>'btn_back','collapse'=>'hide-xs','style'=>'margin-right: 15px;','link'=>'user_logs.php']);
|
||||
echo " </div>\n";
|
||||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
echo $text['title_description-user_logs']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-domain_uuid']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='domain_uuid'>\n";
|
||||
if (strlen($domain_uuid) == 0) {
|
||||
echo " <option value='' selected='selected'>".$text['select-global']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value=''>".$text['label-global']."</option>\n";
|
||||
}
|
||||
foreach ($_SESSION['domains'] as $row) {
|
||||
if ($row['domain_uuid'] == $domain_uuid) {
|
||||
echo " <option value='".$row['domain_uuid']."' selected='selected'>".escape($row['domain_name'])."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='".$row['domain_uuid']."'>".$row['domain_name']."</option>\n";
|
||||
}
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-domain_uuid']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-timestamp']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='timestamp' maxlength='255' value='".escape($timestamp)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-timestamp']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-user_uuid']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='user_uuid'>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
foreach($users as $field) {
|
||||
if ($field['user_uuid'] == $user_uuid) { $selected = "selected='selected'"; } else { $selected = ''; }
|
||||
echo " <option value='".$field['user_uuid']."' $selected>".escape($field['username'])."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-user_uuid']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-username']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='username' maxlength='255' value='".escape($username)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-username']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-type']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='type' maxlength='255' value='".escape($type)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-type']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-result']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <select class='formfld' name='result'>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
if ($result == "success") {
|
||||
echo " <option value='success' selected='selected'>".$text['label-success']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='success'>".$text['label-success']."</option>\n";
|
||||
}
|
||||
if ($result == "failure") {
|
||||
echo " <option value='failure' selected='selected'>".$text['label-failure']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='failure'>".$text['label-failure']."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-result']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-remote_address']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='remote_address' maxlength='255' value='".escape($remote_address)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-remote_address']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-user_agent']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' style='position: relative;' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='user_agent' maxlength='255' value='".escape($user_agent)."'>\n";
|
||||
echo "<br />\n";
|
||||
echo $text['description-user_agent']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "</table>";
|
||||
echo "<br /><br />";
|
||||
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
|
||||
echo "</form>";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
@ -0,0 +1,263 @@
|
|||
<?php
|
||||
/*
|
||||
FusionPBX
|
||||
Version: MPL 1.1
|
||||
|
||||
The contents of this file are subject to the Mozilla Public License Version
|
||||
1.1 (the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
http://www.mozilla.org/MPL/
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis,
|
||||
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
for the specific language governing rights and limitations under the
|
||||
License.
|
||||
|
||||
The Original Code is FusionPBX
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2018 - 2020
|
||||
the Initial Developer. All Rights Reserved.
|
||||
*/
|
||||
|
||||
//includes
|
||||
require_once "root.php";
|
||||
require_once "resources/require.php";
|
||||
require_once "resources/check_auth.php";
|
||||
require_once "resources/paging.php";
|
||||
|
||||
//check permissions
|
||||
if (permission_exists('user_log_view')) {
|
||||
//access granted
|
||||
}
|
||||
else {
|
||||
echo "access denied";
|
||||
exit;
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
$language = new text;
|
||||
$text = $language->get();
|
||||
|
||||
//get the http post data
|
||||
if (is_array($_POST['user_logs'])) {
|
||||
$action = $_POST['action'];
|
||||
$search = $_POST['search'];
|
||||
$user_logs = $_POST['user_logs'];
|
||||
}
|
||||
|
||||
//process the http post data by action
|
||||
if ($action != '' && is_array($user_logs) && @sizeof($user_logs) != 0) {
|
||||
|
||||
//validate the token
|
||||
$token = new token;
|
||||
if (!$token->validate($_SERVER['PHP_SELF'])) {
|
||||
message::add($text['message-invalid_token'],'negative');
|
||||
header('Location: user_logs.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
//prepare the array
|
||||
foreach($user_logs as $row) {
|
||||
$array['user_logs'][$x]['checked'] = $row['checked'];
|
||||
$array['user_logs'][$x]['user_log_uuid'] = $row['user_log_uuid'];
|
||||
$x++;
|
||||
}
|
||||
|
||||
//prepare the database object
|
||||
$database = new database;
|
||||
$database->app_name = 'user_logs';
|
||||
$database->app_uuid = '582a13cf-7d75-4ea3-b2d9-60914352d76e';
|
||||
|
||||
//send the array to the database class
|
||||
if ($action == 'delete') {
|
||||
if (permission_exists('user_log_delete')) {
|
||||
$database->delete($array);
|
||||
}
|
||||
}
|
||||
|
||||
//redirect the user
|
||||
header('Location: user_logs.php'.($search != '' ? '?search='.urlencode($search) : null));
|
||||
exit;
|
||||
}
|
||||
|
||||
//get order and order by
|
||||
$order_by = $_GET["order_by"];
|
||||
$order = $_GET["order"];
|
||||
|
||||
//add the search
|
||||
if (isset($_GET["search"])) {
|
||||
$search = strtolower($_GET["search"]);
|
||||
}
|
||||
|
||||
//get the count
|
||||
$sql = "select count(user_log_uuid) ";
|
||||
$sql .= "from v_user_logs ";
|
||||
if (isset($search)) {
|
||||
$sql .= "where (";
|
||||
$sql .= " lower(username) like :search ";
|
||||
$sql .= " or lower(type) like :search ";
|
||||
$sql .= " or lower(result) like :search ";
|
||||
$sql .= " or lower(remote_address) like :search ";
|
||||
$sql .= " or lower(user_agent) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
else {
|
||||
$sql .= "where (domain_uuid = :domain_uuid or domain_uuid is null) ";
|
||||
if (isset($sql_search)) {
|
||||
$sql .= "and ".$sql_search;
|
||||
}
|
||||
$parameters['domain_uuid'] = $domain_uuid;
|
||||
}
|
||||
$database = new database;
|
||||
$num_rows = $database->select($sql, $parameters, 'column');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//prepare to page the results
|
||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||
$param = $search ? "&search=".$search : null;
|
||||
$param = ($_GET['show'] == 'all' && permission_exists('user_log_all')) ? "&show=all" : null;
|
||||
$page = is_numeric($_GET['page']) ? $_GET['page'] : 0;
|
||||
list($paging_controls, $rows_per_page) = paging($num_rows, $param, $rows_per_page);
|
||||
list($paging_controls_mini, $rows_per_page) = paging($num_rows, $param, $rows_per_page, true);
|
||||
$offset = $rows_per_page * $page;
|
||||
|
||||
//get the list
|
||||
$sql = "select ";
|
||||
$sql .= "domain_uuid, ";
|
||||
$sql .= "user_log_uuid, ";
|
||||
$sql .= "timestamp, ";
|
||||
$sql .= "username, ";
|
||||
$sql .= "type, ";
|
||||
$sql .= "result, ";
|
||||
$sql .= "remote_address, ";
|
||||
$sql .= "user_agent ";
|
||||
$sql .= "from v_user_logs ";
|
||||
if (isset($_GET["search"])) {
|
||||
$sql .= "where (";
|
||||
$sql .= " lower(username) like :search ";
|
||||
$sql .= " or lower(type) like :search ";
|
||||
$sql .= " or lower(result) like :search ";
|
||||
$sql .= " or lower(remote_address) like :search ";
|
||||
$sql .= " or lower(user_agent) like :search ";
|
||||
$sql .= ") ";
|
||||
$parameters['search'] = '%'.$search.'%';
|
||||
}
|
||||
$sql .= order_by($order_by, $order, 'timestamp', 'desc');
|
||||
$sql .= limit_offset($rows_per_page, $offset);
|
||||
$database = new database;
|
||||
$user_logs = $database->select($sql, $parameters, 'all');
|
||||
unset($sql, $parameters);
|
||||
|
||||
//create token
|
||||
$object = new token;
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//additional includes
|
||||
$document['title'] = $text['title-user_logs'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//show the content
|
||||
echo "<div class='action_bar' id='action_bar'>\n";
|
||||
echo " <div class='heading'><b>".$text['title-user_logs']." (".$num_rows.")</b></div>\n";
|
||||
echo " <div class='actions'>\n";
|
||||
if (permission_exists('user_log_delete') && $user_logs) {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-delete'],'icon'=>$_SESSION['theme']['button_icon_delete'],'id'=>'btn_delete','name'=>'btn_delete','style'=>'display:none;','onclick'=>"modal_open('modal-delete','btn_delete');"]);
|
||||
}
|
||||
echo "<form id='form_search' class='inline' method='get'>\n";
|
||||
if (permission_exists('user_log_all')) {
|
||||
if ($_GET['show'] == 'all') {
|
||||
echo " <input type='hidden' name='show' value='all'>\n";
|
||||
}
|
||||
else {
|
||||
echo button::create(['type'=>'button','label'=>$text['button-show_all'],'icon'=>$_SESSION['theme']['button_icon_all'],'link'=>'?show=all']);
|
||||
}
|
||||
}
|
||||
echo "<input type='text' class='txt list-search' name='search' id='search' value=\"".escape($search)."\" placeholder=\"".$text['label-search']."\" onkeydown='list_search_reset();'>";
|
||||
echo button::create(['label'=>$text['button-search'],'icon'=>$_SESSION['theme']['button_icon_search'],'type'=>'submit','id'=>'btn_search','style'=>($search != '' ? 'display: none;' : null)]);
|
||||
echo button::create(['label'=>$text['button-reset'],'icon'=>$_SESSION['theme']['button_icon_reset'],'type'=>'button','id'=>'btn_reset','link'=>'user_logs.php','style'=>($search == '' ? 'display: none;' : null)]);
|
||||
if ($paging_controls_mini != '') {
|
||||
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>\n";
|
||||
}
|
||||
echo " </form>\n";
|
||||
echo " </div>\n";
|
||||
echo " <div style='clear: both;'></div>\n";
|
||||
echo "</div>\n";
|
||||
|
||||
if (permission_exists('user_log_delete') && $user_logs) {
|
||||
echo modal::create(['id'=>'modal-delete','type'=>'delete','actions'=>button::create(['type'=>'button','label'=>$text['button-continue'],'icon'=>'check','id'=>'btn_delete','style'=>'float: right; margin-left: 15px;','collapse'=>'never','onclick'=>"modal_close(); list_action_set('delete'); list_form_submit('form_list');"])]);
|
||||
}
|
||||
|
||||
echo $text['title_description-user_logs']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<form id='form_list' method='post'>\n";
|
||||
echo "<input type='hidden' id='action' name='action' value=''>\n";
|
||||
echo "<input type='hidden' name='search' value=\"".escape($search)."\">\n";
|
||||
|
||||
echo "<table class='list'>\n";
|
||||
echo "<tr class='list-header'>\n";
|
||||
if (permission_exists('user_log_add') || permission_exists('user_log_edit') || permission_exists('user_log_delete')) {
|
||||
echo " <th class='checkbox'>\n";
|
||||
echo " <input type='checkbox' id='checkbox_all' name='checkbox_all' onclick='list_all_toggle(); checkbox_on_change(this);' ".($user_logs ?: "style='visibility: hidden;'").">\n";
|
||||
echo " </th>\n";
|
||||
}
|
||||
if ($_GET['show'] == 'all' && permission_exists('user_log_all')) {
|
||||
echo th_order_by('domain_name', $text['label-domain'], $order_by, $order);
|
||||
}
|
||||
echo th_order_by('timestamp', $text['label-timestamp'], $order_by, $order);
|
||||
echo th_order_by('username', $text['label-username'], $order_by, $order);
|
||||
echo th_order_by('type', $text['label-type'], $order_by, $order);
|
||||
echo th_order_by('result', $text['label-result'], $order_by, $order);
|
||||
echo th_order_by('remote_address', $text['label-remote_address'], $order_by, $order);
|
||||
echo th_order_by('user_agent', $text['label-user_agent'], $order_by, $order);
|
||||
if (permission_exists('user_log_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'> </td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
|
||||
if (is_array($user_logs) && @sizeof($user_logs) != 0) {
|
||||
$x = 0;
|
||||
foreach ($user_logs as $row) {
|
||||
if (permission_exists('user_log_edit')) {
|
||||
$list_row_url = "user_log_edit.php?id=".urlencode($row['user_log_uuid']);
|
||||
}
|
||||
echo "<tr class='list-row' href='".$list_row_url."'>\n";
|
||||
if (permission_exists('user_log_add') || permission_exists('user_log_edit') || permission_exists('user_log_delete')) {
|
||||
echo " <td class='checkbox'>\n";
|
||||
echo " <input type='checkbox' name='user_logs[$x][checked]' id='checkbox_".$x."' value='true' onclick=\"checkbox_on_change(this); if (!this.checked) { document.getElementById('checkbox_all').checked = false; }\">\n";
|
||||
echo " <input type='hidden' name='user_logs[$x][user_log_uuid]' value='".escape($row['user_log_uuid'])."' />\n";
|
||||
echo " </td>\n";
|
||||
}
|
||||
if ($_GET['show'] == 'all' && permission_exists('user_log_all')) {
|
||||
echo " <td>".escape($_SESSION['domains'][$row['domain_uuid']]['domain_name'])."</td>\n";
|
||||
}
|
||||
echo " <td>".escape($row['timestamp'])."</td>\n";
|
||||
echo " <td>".escape($row['username'])."</td>\n";
|
||||
echo " <td>".escape($row['type'])."</td>\n";
|
||||
echo " <td>".escape($row['result'])."</td>\n";
|
||||
echo " <td>".escape($row['remote_address'])."</td>\n";
|
||||
echo " <td>".escape($row['user_agent'])."</td>\n";
|
||||
if (permission_exists('user_log_edit') && $_SESSION['theme']['list_row_edit_button']['boolean'] == 'true') {
|
||||
echo " <td class='action-button'>\n";
|
||||
echo button::create(['type'=>'button','title'=>$text['button-edit'],'icon'=>$_SESSION['theme']['button_icon_edit'],'link'=>$list_row_url]);
|
||||
echo " </td>\n";
|
||||
}
|
||||
echo "</tr>\n";
|
||||
$x++;
|
||||
}
|
||||
unset($user_logs);
|
||||
}
|
||||
|
||||
echo "</table>\n";
|
||||
echo "<br />\n";
|
||||
echo "<div align='center'>".$paging_controls."</div>\n";
|
||||
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
|
||||
echo "</form>\n";
|
||||
|
||||
//include the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
?>
|
||||
|
|
@ -1332,7 +1332,7 @@ $text['label-ivr_menus']['de-de'] = "Automatische Vermittlungen";
|
|||
$text['label-ivr_menus']['el-gr'] = "Μενού IVR";
|
||||
$text['label-ivr_menus']['es-cl'] = "Menus IVR";
|
||||
$text['label-ivr_menus']['es-mx'] = "Menus IVR"; //copied from es-cl
|
||||
$text['label-ivr_menus']['fr-ca'] = "Menus SVI"; //copied from fr-fr
|
||||
$text['label-ivr_menus']['fr-ca'] = "Menus RVI";
|
||||
$text['label-ivr_menus']['fr-fr'] = "Menus SVI";
|
||||
$text['label-ivr_menus']['he-il'] = "";
|
||||
$text['label-ivr_menus']['it-it'] = "Menu IVR";
|
||||
|
|
|
|||
|
|
@ -662,8 +662,8 @@ $text['button-clear']['de-de'] = "Zurücksetzen";
|
|||
$text['button-clear']['el-gr'] = "Εκκαθάριση";
|
||||
$text['button-clear']['es-cl'] = "Limpiar";
|
||||
$text['button-clear']['es-mx'] = "Limpiar"; //copied from es-cl
|
||||
$text['button-clear']['fr-ca'] = "Nettoyer"; //copied from fr-fr
|
||||
$text['button-clear']['fr-fr'] = "Nettoyer";
|
||||
$text['button-clear']['fr-ca'] = "Effacer"; //copied from fr-fr
|
||||
$text['button-clear']['fr-fr'] = "Effacer";
|
||||
$text['button-clear']['he-il'] = "נקה";
|
||||
$text['button-clear']['it-it'] = "Pulisci";
|
||||
$text['button-clear']['nl-nl'] = "";
|
||||
|
|
@ -754,8 +754,8 @@ $text['button-search']['de-de'] = "Suchen";
|
|||
$text['button-search']['el-gr'] = "Αναζήτηση";
|
||||
$text['button-search']['es-cl'] = "Buscar";
|
||||
$text['button-search']['es-mx'] = "Buscar"; //copied from es-cl
|
||||
$text['button-search']['fr-ca'] = "Chercher"; //copied from fr-fr
|
||||
$text['button-search']['fr-fr'] = "Chercher";
|
||||
$text['button-search']['fr-ca'] = "Rechercher"; //copied from fr-fr
|
||||
$text['button-search']['fr-fr'] = "Rechercher";
|
||||
$text['button-search']['he-il'] = "חפש";
|
||||
$text['button-search']['it-it'] = "Ricerca";
|
||||
$text['button-search']['nl-nl'] = "";
|
||||
|
|
@ -4226,8 +4226,8 @@ $text['label-uploaded']['de-ch'] = "Hochgeladen"; //copied from de-de
|
|||
$text['label-uploaded']['de-de'] = "Hochgeladen";
|
||||
$text['label-uploaded']['es-cl'] = "Subir";
|
||||
$text['label-uploaded']['es-mx'] = "Subir"; //copied from es-cl
|
||||
$text['label-uploaded']['fr-ca'] = "Envoyé"; //copied from fr-fr
|
||||
$text['label-uploaded']['fr-fr'] = "Envoyé";
|
||||
$text['label-uploaded']['fr-ca'] = "Envoyés"; //copied from fr-fr
|
||||
$text['label-uploaded']['fr-fr'] = "Envoyés";
|
||||
$text['label-uploaded']['he-il'] = "הוטען";
|
||||
$text['label-uploaded']['it-it'] = "Caricato";
|
||||
$text['label-uploaded']['nl-nl'] = "Opgestuurd";
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@
|
|||
if (is_array($sql_where_or) && @sizeof($sql_where_or) != 0) {
|
||||
$sql .= "and (".implode(' or ', $sql_where_or).") ";
|
||||
}
|
||||
$sql .= "and permission_assigned = 'true' ";
|
||||
$parameters['domain_uuid'] = $_SESSION["domain_uuid"];
|
||||
$database = new database;
|
||||
$result = $database->select($sql, $parameters, 'all');
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@
|
|||
<!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
|
||||
<param name="tls-passphrase" value=""/>
|
||||
<!-- Verify the date on TLS certificates -->
|
||||
<param name="tls-verify-date" value="true"/>
|
||||
<param name="tls-verify-date" value="false"/>
|
||||
<!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
|
||||
<!-- set to 'in' to only verify incoming connections, 'out' to only verify outgoing connections, 'all' to verify all connections, also 'in_subjects', 'out_subjects' and 'all_subjects' for subject validation. Multiple policies can be split with a '|' pipe -->
|
||||
<param name="tls-verify-policy" value="all|subjects_all" enabled="false"/>
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
<!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
|
||||
<param name="tls-passphrase" value=""/>
|
||||
<!-- Verify the date on TLS certificates -->
|
||||
<param name="tls-verify-date" value="true"/>
|
||||
<param name="tls-verify-date" value="false"/>
|
||||
<!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
|
||||
<!-- set to 'in' to only verify incoming connections, 'out' to only verify outgoing connections, 'all' to verify all connections, also 'in_subjects', 'out_subjects' and 'all_subjects' for subject validation. Multiple policies can be split with a '|' pipe -->
|
||||
<param name="tls-verify-policy" value="all|subjects_all" enabled="false"/>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
<!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
|
||||
<param name="tls-passphrase" value=""/>
|
||||
<!-- Verify the date on TLS certificates -->
|
||||
<param name="tls-verify-date" value="true"/>
|
||||
<param name="tls-verify-date" value="false"/>
|
||||
<!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
|
||||
<!-- set to 'in' to only verify incoming connections, 'out' to only verify outgoing connections, 'all' to verify all connections, also 'in_subjects', 'out_subjects' and 'all_subjects' for subject validation. Multiple policies can be split with a '|' pipe -->
|
||||
<param name="tls-verify-policy" value="all|subjects_all" enabled="false"/>
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@
|
|||
<!-- Optionally set the passphrase password used by openSSL to encrypt/decrypt TLS private key files -->
|
||||
<param name="tls-passphrase" value=""/>
|
||||
<!-- Verify the date on TLS certificates -->
|
||||
<param name="tls-verify-date" value="true"/>
|
||||
<param name="tls-verify-date" value="false"/>
|
||||
<!-- TLS verify policy, when registering/inviting gateways with other servers (outbound) or handling inbound registration/invite requests how should we verify their certificate -->
|
||||
<!-- set to 'in' to only verify incoming connections, 'out' to only verify outgoing connections, 'all' to verify all connections, also 'in_subjects', 'out_subjects' and 'all_subjects' for subject validation. Multiple policies can be split with a '|' pipe -->
|
||||
<param name="tls-verify-policy" value="all|subjects_all" enabled="false"/>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--Template is optimized for firmware ver 2.2.10 and newer. Older firmware has incorrect tag names.-->
|
||||
<sysConf>
|
||||
<Version>2.0000000000</Version>
|
||||
<net>
|
||||
|
|
@ -11,7 +12,7 @@
|
|||
<SecondaryDNS>{if isset($dns_server_secondary)}{$dns_server_secondary}{else}208.67.222.222{/if}</SecondaryDNS>
|
||||
<EnableDHCP>1</EnableDHCP>
|
||||
<DHCPAutoDNS>1</DHCPAutoDNS>
|
||||
<DHCPAutoTime>1</DHCPAutoTime>
|
||||
|
||||
<DHCPOption100-101>1</DHCPOption100-101>
|
||||
<UseVendorClassID>0</UseVendorClassID>
|
||||
<VendorClassID>Fanvil X3U</VendorClassID>
|
||||
|
|
@ -43,11 +44,11 @@
|
|||
<OpusPayloadType></OpusPayloadType>
|
||||
<OpusSampleRate></OpusSampleRate>
|
||||
<VAD></VAD>
|
||||
<H264PayloadType></H264PayloadType>
|
||||
<ResvAudioBand></ResvAudioBand>
|
||||
<RTPInitialPort></RTPInitialPort>
|
||||
<RTPPortQuantity></RTPPortQuantity>
|
||||
<RTPKeepAlive></RTPKeepAlive>
|
||||
<RTPRelay></RTPRelay>
|
||||
<RTCPCNAMEUser></RTCPCNAMEUser>
|
||||
<RTCPCNAMEHost></RTCPCNAMEHost>
|
||||
<SelectYourTone>{if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}</SelectYourTone>
|
||||
|
|
@ -98,22 +99,25 @@
|
|||
<RegisterUser>{$account.1.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.1.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.1.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.1.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.1.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.1.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.1.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.1.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.1.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.1.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.1.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -147,7 +151,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.1.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.1.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -166,7 +170,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.1.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.1.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.1.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.1.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -174,10 +178,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.1.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -200,13 +205,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -223,7 +229,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -245,6 +251,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="2">
|
||||
<PhoneNumber>{$account.2.user_id}</PhoneNumber>
|
||||
|
|
@ -255,22 +263,25 @@
|
|||
<RegisterUser>{$account.2.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.2.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.2.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.2.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.2.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.2.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.2.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.2.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.2.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.2.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.2.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -304,7 +315,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.2.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.2.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -323,7 +334,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.2.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.2.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.2.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -331,10 +342,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.2.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -357,13 +369,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -380,7 +393,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -402,6 +415,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="3">
|
||||
<PhoneNumber>{$account.3.user_id}</PhoneNumber>
|
||||
|
|
@ -412,22 +427,25 @@
|
|||
<RegisterUser>{$account.3.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.3.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.3.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.3.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.3.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.3.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.3.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.3.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.3.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.3.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.3.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -461,7 +479,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.3.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.3.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -480,7 +498,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.3.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.3.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.3.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -488,10 +506,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.3.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -514,13 +533,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -537,7 +557,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -559,6 +579,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="4">
|
||||
<PhoneNumber>{$account.4.user_id}</PhoneNumber>
|
||||
|
|
@ -569,22 +591,25 @@
|
|||
<RegisterUser>{$account.4.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.4.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.4.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.4.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.4.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.4.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.4.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.4.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.4.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.4.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.4.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -618,7 +643,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.4.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.4.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -637,7 +662,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.4.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.4.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.4.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -645,10 +670,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.4.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -671,13 +697,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -694,7 +721,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -716,6 +743,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="5">
|
||||
<PhoneNumber>{$account.5.user_id}</PhoneNumber>
|
||||
|
|
@ -726,22 +755,25 @@
|
|||
<RegisterUser>{$account.5.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.5.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.5.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.5.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.5.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.5.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.5.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.5.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.5.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.5.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.5.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -775,15 +807,15 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.5.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.5.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
<DNSMode>0</DNSMode>
|
||||
{if $account.5.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
<BanAnonymous>0</BanAnonymous>
|
||||
<DialOffLine>0</DialOffLine>
|
||||
|
|
@ -794,7 +826,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.5.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.5.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.5.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -802,10 +834,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.5.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -828,13 +861,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -851,7 +885,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -873,6 +907,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="6">
|
||||
<PhoneNumber>{$account.6.user_id}</PhoneNumber>
|
||||
|
|
@ -883,22 +919,25 @@
|
|||
<RegisterUser>{$account.6.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.6.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.6.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.6.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.6.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.6.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.6.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.6.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.6.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.6.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.6.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
<SignalCrypto>0</SignalCrypto>
|
||||
<SigCryptoKey></SigCryptoKey>
|
||||
<MediaCrypto>0</MediaCrypto>
|
||||
<MedCryptoKey></MedCryptoKey>
|
||||
|
|
@ -932,15 +971,15 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.6.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.6.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
<DNSMode>0</DNSMode>
|
||||
{if $account.6.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
<BanAnonymous>0</BanAnonymous>
|
||||
<DialOffLine>0</DialOffLine>
|
||||
|
|
@ -951,7 +990,7 @@
|
|||
<SignalPort>5060</SignalPort>
|
||||
{if $account.6.sip_transport == 'udp'}<Transport>0</Transport>{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
|
||||
{if $account.6.sip_transport == 'tls'}<Transport>2</Transport>{/if}
|
||||
{if $account.6.sip_transport == 'tls'}<Transport>3</Transport>{/if}
|
||||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
|
|
@ -959,10 +998,11 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.6.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
<RetrieveType>0</RetrieveType>
|
||||
<HelpNo></HelpNo>
|
||||
<MSRPHelpNum></MSRPHelpNum>
|
||||
<UserIsPhone>0</UserIsPhone>
|
||||
|
|
@ -985,13 +1025,14 @@
|
|||
<SendANOffCode></SendANOffCode>
|
||||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>OPUS,PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,iLBC,G722</VoiceCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
<EnableBLFList>0</EnableBLFList>
|
||||
<CallerIdType>4</CallerIdType>
|
||||
<KeepHigherCallerID>0</KeepHigherCallerID>
|
||||
<SynClockTime>0</SynClockTime>
|
||||
<MohServer></MohServer>
|
||||
<UseVPN>1</UseVPN>
|
||||
|
|
@ -1008,7 +1049,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1030,17 +1071,22 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<p2p>
|
||||
<SIPP2PEnableAutoAnswer>0</SIPP2PEnableAutoAnswer>
|
||||
<SIPP2PAutoAnswerDelay>30</SIPP2PAutoAnswerDelay>
|
||||
<SIPP2PDtmfMode>1</SIPP2PDtmfMode>
|
||||
<SIPP2PSipInfoDtmfMode>0</SIPP2PSipInfoDtmfMode>
|
||||
<SIPP2PEnablePreview>0</SIPP2PEnablePreview>
|
||||
<SIPP2PPreviewMode>0</SIPP2PPreviewMode>
|
||||
<SIPP2PUseVPN>1</SIPP2PUseVPN>
|
||||
</p2p>
|
||||
</sip>
|
||||
<call>
|
||||
<port index="1">
|
||||
<EnableXferDPlan></EnableXferDPlan>
|
||||
<EnableXferDPlan>1</EnableXferDPlan>
|
||||
<EnableFwdDPlan>0</EnableFwdDPlan>
|
||||
<EnablePreDPlan>0</EnablePreDPlan>
|
||||
<IPDialPrefix>.</IPDialPrefix>
|
||||
|
|
@ -1085,7 +1131,7 @@
|
|||
<AllowIPCall>1</AllowIPCall>
|
||||
<CallerNameType>0</CallerNameType>
|
||||
<MuteForRing>0</MuteForRing>
|
||||
<AutoHandleVideo>0</AutoHandleVideo>
|
||||
<AutoHandleVideo>1</AutoHandleVideo>
|
||||
<DefaultAnsMode>{$fanvil_default_answer_mode}</DefaultAnsMode>
|
||||
<DefaultDialMode>{$fanvil_default_dial_mode}</DefaultDialMode>
|
||||
<HoldToTransfer>0</HoldToTransfer>
|
||||
|
|
@ -1109,6 +1155,10 @@
|
|||
<ConfDTMFCode></ConfDTMFCode>
|
||||
<DisableDialSearch>0</DisableDialSearch>
|
||||
<CallNumberFilter></CallNumberFilter>
|
||||
<AutoResumeCurrent>0</AutoResumeCurrent>
|
||||
<AlertTimeout>120</AlertTimeout>
|
||||
<RingTimeout>120</RingTimeout>
|
||||
<RingPriority>0</RingPriority>
|
||||
</port>
|
||||
<basic>
|
||||
<DialbyPound>1</DialbyPound>
|
||||
|
|
@ -1189,13 +1239,17 @@
|
|||
<CallLogDisplayType>0</CallLogDisplayType>
|
||||
<EnableRecvSMS>1</EnableRecvSMS>
|
||||
<EnableCallHistory>1</EnableCallHistory>
|
||||
<LineDisplayFormat>$name@$protocol$instance</LineDisplayFormat>
|
||||
<LineDisplayFormat>$name</LineDisplayFormat>
|
||||
<EnableMWITone>0</EnableMWITone>
|
||||
<AllPswdEncryption>0</AllPswdEncryption>
|
||||
<SIPNotifyXML>1</SIPNotifyXML>
|
||||
<BlockXMLWhenCall>1</BlockXMLWhenCall>
|
||||
<XMLUpdateInterval>30</XMLUpdateInterval>
|
||||
<VqmDisplayOrder></VqmDisplayOrder>
|
||||
<EnablePushXMLAuth>0</EnablePushXMLAuth>
|
||||
<PickupVisualAlert>0</PickupVisualAlert>
|
||||
<PickupAudioAlert>0</PickupAudioAlert>
|
||||
<PickupRingType></PickupRingType>
|
||||
<display>
|
||||
<LCDTitle>{$fanvil_greeting}</LCDTitle>
|
||||
<LCDConstrast>5</LCDConstrast>
|
||||
|
|
@ -1216,6 +1270,7 @@
|
|||
<Hold>0</Hold>
|
||||
<Mute>0</Mute>
|
||||
<MissedCall>3</MissedCall>
|
||||
<PowserSaving>1</PowserSaving>
|
||||
</powerLed>
|
||||
<lineLed>
|
||||
<LineIdleColor>0</LineIdleColor>
|
||||
|
|
@ -1224,25 +1279,36 @@
|
|||
<blfLed>
|
||||
<BLFIdleColor>0</BLFIdleColor>
|
||||
<BLFIdleCtl>1</BLFIdleCtl>
|
||||
<BLFIdleText>terminated</BLFIdleText>
|
||||
<BLFRingColor>1</BLFRingColor>
|
||||
<BLFRingCtl>2</BLFRingCtl>
|
||||
<BLFUsingColor>1</BLFUsingColor>
|
||||
<BLFUsingCtl>1</BLFUsingCtl>
|
||||
<BLFRingText>early</BLFRingText>
|
||||
<BLFDialingColor>1</BLFDialingColor>
|
||||
<BLFDialingCtl>0</BLFDialingCtl>
|
||||
<BLFDialingText></BLFDialingText>
|
||||
<BLFTalkingColor>1</BLFTalkingColor>
|
||||
<BLFTalkingCtl>1</BLFTalkingCtl>
|
||||
<BLFTalkingText>confirmed</BLFTalkingText>
|
||||
<BLFHoldColor>1</BLFHoldColor>
|
||||
<BLFHoldCtl>0</BLFHoldCtl>
|
||||
<BLFHoldText></BLFHoldText>
|
||||
<BLFFailedColor>0</BLFFailedColor>
|
||||
<BLFFailedCtl>0</BLFFailedCtl>
|
||||
<BLFFailedText>failed</BLFFailedText>
|
||||
<BLFParkedColor>0</BLFParkedColor>
|
||||
<BLFParkedCtl>3</BLFParkedCtl>
|
||||
<BLFParkedText>parked</BLFParkedText>
|
||||
</blfLed>
|
||||
<volume>
|
||||
<HandsetVol></HandsetVol>
|
||||
<HandsetMicVol></HandsetMicVol>
|
||||
<HeadsetVol></HeadsetVol>
|
||||
<HeadsetMicVol></HeadsetMicVol>
|
||||
<HeadsetRingVol></HeadsetRingVol>
|
||||
<HandFreeVol></HandFreeVol>
|
||||
<HandFreeMicVol></HandFreeMicVol>
|
||||
<HandFreeRingVol></HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if}</RingType>
|
||||
<HandsetVol>5</HandsetVol>
|
||||
<HandsetMicVol>3</HandsetMicVol>
|
||||
<HeadsetVol>5</HeadsetVol>
|
||||
<HeadsetMicVol>3</HeadsetMicVol>
|
||||
<HeadsetRingVol>5</HeadsetRingVol>
|
||||
<HandFreeVol>8</HandFreeVol>
|
||||
<HandFreeMicVol>3</HandFreeMicVol>
|
||||
<HandFreeRingVol>4</HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if}</RingType>
|
||||
</volume>
|
||||
<date>
|
||||
<EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
|
||||
|
|
@ -1274,7 +1340,7 @@
|
|||
</timeDisplay>
|
||||
<softkey>
|
||||
<SoftkeyMode>0</SoftkeyMode>
|
||||
<SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}</SoftKeyExitStyle>
|
||||
<SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}</SoftKeyExitStyle>
|
||||
<DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}</DesktopSoftkey>
|
||||
<TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}</TalkingSoftkey>
|
||||
<RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}</RingingSoftkey>
|
||||
|
|
@ -1289,6 +1355,7 @@
|
|||
<DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
|
||||
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
|
||||
<DailerClick>pline;nline;none;none;none;</DailerClick>
|
||||
<RingingClick>none;none;none;none;none;</RingingClick>
|
||||
<CallClick>none;none;none;none;none;</CallClick>
|
||||
<DesktopLongPress>status;none;none;none;reset;</DesktopLongPress>
|
||||
<DialerConfSoftkey>contact;clogs;redial;video;cancel;</DialerConfSoftkey>
|
||||
|
|
@ -1529,6 +1596,8 @@
|
|||
<dm>
|
||||
<OnhookTime>120</OnhookTime>
|
||||
<EnableHookflash>0</EnableHookflash>
|
||||
<KeyLongPressTime>2</KeyLongPressTime>
|
||||
<KeyLongLongPressTime>6</KeyLongLongPressTime>
|
||||
</dm>
|
||||
<vqm>
|
||||
<SessionReport>1</SessionReport>
|
||||
|
|
@ -1544,6 +1613,7 @@
|
|||
<cti>
|
||||
<EnabledActiveUri>1</EnabledActiveUri>
|
||||
<EnabledActionUrl>1</EnabledActionUrl>
|
||||
<ActionUrlType>0</ActionUrlType>
|
||||
<ActiveUriIP></ActiveUriIP>
|
||||
<StartRebootUrl></StartRebootUrl>
|
||||
<BootCompletedUrl></BootCompletedUrl>
|
||||
|
|
@ -1554,6 +1624,8 @@
|
|||
<PhoneStateIdleUrl></PhoneStateIdleUrl>
|
||||
<PhoneStateTalking></PhoneStateTalking>
|
||||
<PhoneStateRinging></PhoneStateRinging>
|
||||
<OnhookUri></OnhookUri>
|
||||
<OffhookUrl></OffhookUrl>
|
||||
<DNDOnUrl></DNDOnUrl>
|
||||
<DNDOffUrl></DNDOffUrl>
|
||||
<AlwaysFWDOnUrl></AlwaysFWDOnUrl>
|
||||
|
|
@ -1578,6 +1650,7 @@
|
|||
<NewMissedcallUrl></NewMissedcallUrl>
|
||||
<NewMWIUrl></NewMWIUrl>
|
||||
<NewSMSUrl></NewSMSUrl>
|
||||
<WebAuthChangedUrl></WebAuthChangedUrl>
|
||||
<at></at>
|
||||
</cti>
|
||||
<ateTest>
|
||||
|
|
@ -1649,6 +1722,9 @@
|
|||
<Port>0</Port>
|
||||
<Channel>0</Channel>
|
||||
</addr>
|
||||
<dynamic>
|
||||
<AutoExitExpires>60</AutoExitExpires>
|
||||
</dynamic>
|
||||
</mcast>
|
||||
<dsskey>
|
||||
<SelectDsskeyAction>0</SelectDsskeyAction>
|
||||
|
|
@ -1656,10 +1732,12 @@
|
|||
<FuncKeyPageNum>1</FuncKeyPageNum>
|
||||
<SideKeyPageNum>1</SideKeyPageNum>
|
||||
<DSSHomePage>0</DSSHomePage>
|
||||
<DisplayParkedInfo>0</DisplayParkedInfo>
|
||||
<DSSDIALSwitchMode>0</DSSDIALSwitchMode>
|
||||
<FirstCallWaitTime>16</FirstCallWaitTime>
|
||||
<FirstNumStartTime>360</FirstNumStartTime>
|
||||
<FirstNumEndTime>1080</FirstNumEndTime>
|
||||
<DSSLongPressAction>1</DSSLongPressAction>
|
||||
<Extern1PageBelong>0</Extern1PageBelong>
|
||||
<Extern2PageBelong>0</Extern2PageBelong>
|
||||
<Extern3PageBelong>0</Extern3PageBelong>
|
||||
|
|
@ -1725,7 +1803,7 @@
|
|||
</log>
|
||||
<tr069>
|
||||
<TR069Tone>1</TR069Tone>
|
||||
<CPESerialNumber>00100400FV02001000000c383e3aaf78</CPESerialNumber>
|
||||
<CPESerialNumber></CPESerialNumber>
|
||||
<ACSServerType>1</ACSServerType>
|
||||
<EnableTR069>0</EnableTR069>
|
||||
<ACSURL>0.0.0.0</ACSURL>
|
||||
|
|
@ -1737,12 +1815,14 @@
|
|||
<CPEUserName>dps</CPEUserName>
|
||||
<CPEPassword>dps</CPEPassword>
|
||||
<PeriodixInterval>3600</PeriodixInterval>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<AreaCode>020</AreaCode>
|
||||
<STUNEnable>0</STUNEnable>
|
||||
<STUNServerAddr>{$fanvil_stun_server}</STUNServerAddr>
|
||||
<STUNServerPort>{$fanvil_stun_port}</STUNServerPort>
|
||||
<STUNLocalPort>30000</STUNLocalPort>
|
||||
<STUNMaxPeriod>30</STUNMaxPeriod>
|
||||
<STUNMinPeriod>30</STUNMinPeriod>
|
||||
</tr069>
|
||||
<hotspot>
|
||||
<EnableHotspot>0</EnableHotspot>
|
||||
|
|
@ -1751,23 +1831,32 @@
|
|||
<ListenIP>224.0.2.0</ListenIP>
|
||||
<ListenPort>16360</ListenPort>
|
||||
<OwnName>SIP Hotspot</OwnName>
|
||||
<RingMode>0</RingMode>
|
||||
<EnableManageMode>0</EnableManageMode>
|
||||
<EnableConfigMode>0</EnableConfigMode>
|
||||
<hs index="1">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
<hs index="2">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
<hs index="3">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
<hs index="4">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
<hs index="5">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
<hs index="6">
|
||||
<Enable>1</Enable>
|
||||
<ExtPrefix></ExtPrefix>
|
||||
</hs>
|
||||
</hotspot>
|
||||
<vpn>
|
||||
|
|
@ -1794,7 +1883,7 @@
|
|||
<DeviceCfgFileKey></DeviceCfgFileKey>
|
||||
<CommonCfgFileKey></CommonCfgFileKey>
|
||||
<DownloadCommonConf>1</DownloadCommonConf>
|
||||
<SaveProvisionInfo>0</SaveProvisionInfo>
|
||||
<SaveProvisionInfo>1</SaveProvisionInfo>
|
||||
<CheckFailTimes>5</CheckFailTimes>
|
||||
<FlashServerIP>{if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if}</FlashServerIP>
|
||||
<FlashFileName>{$fanvil_firmware_config}</FlashFileName>
|
||||
|
|
@ -1814,6 +1903,8 @@
|
|||
<DHCPOption>66</DHCPOption>
|
||||
<DHCPv6Option>0</DHCPv6Option>
|
||||
<DhcpOption120>0</DhcpOption120>
|
||||
<SaveDHCPOpion>0</SaveDHCPOpion>
|
||||
<DhcpRenewUpgrade>1</DhcpRenewUpgrade>
|
||||
</opt>
|
||||
</ap>
|
||||
<fwCheck>
|
||||
|
|
@ -1839,7 +1930,7 @@
|
|||
<LLDPRefreshTime>{if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if}</LLDPRefreshTime>
|
||||
<LLDPLearnPolicy>{if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if}</LLDPLearnPolicy>
|
||||
<LLDPSaveLearnData>0</LLDPSaveLearnData>
|
||||
<CDPEnable>0</CDPEnable>
|
||||
<CDPEnable>1</CDPEnable>
|
||||
<CDPRefreshTime>60</CDPRefreshTime>
|
||||
<DHCPOptionVlan>132</DHCPOptionVlan>
|
||||
</qos>
|
||||
|
|
@ -1867,6 +1958,7 @@
|
|||
<ServerAddr>0.0.0.0</ServerAddr>
|
||||
<ServerPort>10000</ServerPort>
|
||||
</record>
|
||||
<UIconfig></UIconfig>
|
||||
<background>
|
||||
<TimeoutToScreensaver>0</TimeoutToScreensaver>
|
||||
<UserChangeBackground>0</UserChangeBackground>
|
||||
|
|
@ -1878,5 +1970,19 @@
|
|||
<SMSPopup>1</SMSPopup>
|
||||
<OtherPopup>1</OtherPopup>
|
||||
<EnablePortMirror>0</EnablePortMirror>
|
||||
<SidekeyLabelLength>0</SidekeyLabelLength>
|
||||
<AppIconDisplay>1,1,1,1</AppIconDisplay>
|
||||
<DisplayProvisionprompt>0</DisplayProvisionprompt>
|
||||
<IdleTimeFontColor>0x262626</IdleTimeFontColor>
|
||||
<CommonTitleFontColor>0xffffff</CommonTitleFontColor>
|
||||
<SoftkeyFontColor>0xffffff</SoftkeyFontColor>
|
||||
<MenuListFontColor>0x262626</MenuListFontColor>
|
||||
<ScrollBarColor>0x5a9dba</ScrollBarColor>
|
||||
<WarnThemeColor>0xc4012f</WarnThemeColor>
|
||||
<InformThemeColor>0x007bb0</InformThemeColor>
|
||||
<FunkeyListFontColor>0xffffff</FunkeyListFontColor>
|
||||
<TalkingFontColor>0x262626</TalkingFontColor>
|
||||
<DesktopTimeDisplay>1</DesktopTimeDisplay>
|
||||
<TimeoutToPowerSaving></TimeoutToPowerSaving>
|
||||
</background>
|
||||
</sysConf>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
<EnableDHCP6>1</EnableDHCP6>
|
||||
<DHCP6AutoDNS>1</DHCP6AutoDNS>
|
||||
<UseVendor6ClassID>0</UseVendor6ClassID>
|
||||
<Vendor6ClassID></Vendor6ClassID>
|
||||
<Vendor6ClassID>Fanvil X4U</Vendor6ClassID>
|
||||
</wifi>
|
||||
<NetGlobal>
|
||||
<NetPriority>10</NetPriority>
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.1.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.1.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.1.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -349,7 +349,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.2.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.2.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -376,7 +376,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.2.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -425,7 +425,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -511,7 +511,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.3.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.3.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -538,7 +538,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.3.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -587,7 +587,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -673,7 +673,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.4.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.4.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -700,7 +700,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.4.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -749,7 +749,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -835,15 +835,15 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.5.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.5.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
<DNSMode>0</DNSMode>
|
||||
{if $account.5.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
<BanAnonymous>0</BanAnonymous>
|
||||
<DialOffLine>0</DialOffLine>
|
||||
|
|
@ -862,7 +862,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.5.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -911,7 +911,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -983,7 +983,7 @@
|
|||
<PickupNum></PickupNum>
|
||||
<JoinNum></JoinNum>
|
||||
<IntercomNum></IntercomNum>
|
||||
<RingType>{if isset($fanvil_ringtone_line)}{$fanvil_ringtone_line6}{else}default{/if}</RingType>
|
||||
<RingType>{if isset($fanvil_ringtone_line6)}{$fanvil_ringtone_line6}{else}default{/if}</RingType>
|
||||
<NATUDPUpdate>2</NATUDPUpdate>
|
||||
<UDPUpdateTTL>30</UDPUpdateTTL>
|
||||
<ServerType>0</ServerType>
|
||||
|
|
@ -997,7 +997,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.6.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.6.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1020,11 +1020,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.6.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1035,7 +1035,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1051,7 +1051,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1073,7 +1073,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1159,7 +1159,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.7.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.7.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1182,11 +1182,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.7.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1197,7 +1197,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1213,7 +1213,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1235,7 +1235,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1321,7 +1321,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.8.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.8.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1344,11 +1344,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.8.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1359,7 +1359,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1375,7 +1375,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1397,7 +1397,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1483,7 +1483,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.9.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.9.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1506,11 +1506,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.9.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1521,7 +1521,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1537,7 +1537,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1559,7 +1559,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1645,7 +1645,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.10.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.10.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1668,11 +1668,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.10.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1683,7 +1683,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1699,7 +1699,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1721,7 +1721,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1807,7 +1807,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.11.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.11.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1830,11 +1830,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.11.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1845,7 +1845,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1861,7 +1861,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -1883,7 +1883,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1969,7 +1969,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.12.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.12.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1992,11 +1992,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.12.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2007,7 +2007,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2023,7 +2023,7 @@
|
|||
<CWOnCode></CWOnCode>
|
||||
<CWOffCode></CWOffCode>
|
||||
<VoiceCodecMap>PCMU,PCMA,G726-32,G729,G723,iLBC,AMR,G722,AMR-WB</VoiceCodecMap>
|
||||
<VideoCodecMap></VideoCodecMap>
|
||||
<VideoCodecMap>{if isset($fanvil_video_codec)}{$fanvil_video_codec}{else}{/if}</VideoCodecMap>
|
||||
<BLFListUri></BLFListUri>
|
||||
<BLFServer></BLFServer>
|
||||
<Respond182>0</Respond182>
|
||||
|
|
@ -2045,7 +2045,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2295,15 +2295,15 @@
|
|||
<BLFParkedText>parked</BLFParkedText>
|
||||
</blfLed>
|
||||
<volume>
|
||||
<HandsetVol></HandsetVol>
|
||||
<HandsetMicVol></HandsetMicVol>
|
||||
<HeadsetVol></HeadsetVol>
|
||||
<HeadsetMicVol></HeadsetMicVol>
|
||||
<HeadsetRingVol></HeadsetRingVol>
|
||||
<HandFreeVol></HandFreeVol>
|
||||
<HandFreeMicVol></HandFreeMicVol>
|
||||
<HandFreeRingVol></HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if}</RingType>
|
||||
<HandsetVol>5</HandsetVol>
|
||||
<HandsetMicVol>3</HandsetMicVol>
|
||||
<HeadsetVol>5</HeadsetVol>
|
||||
<HeadsetMicVol>3</HeadsetMicVol>
|
||||
<HeadsetRingVol>5</HeadsetRingVol>
|
||||
<HandFreeVol>8</HandFreeVol>
|
||||
<HandFreeMicVol>3</HandFreeMicVol>
|
||||
<HandFreeRingVol>4</HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if}</RingType>
|
||||
</volume>
|
||||
<date>
|
||||
<EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
|
||||
|
|
@ -2348,7 +2348,7 @@
|
|||
<DialerCallSoftkey>send;2aB;delete;exit;</DialerCallSoftkey>
|
||||
<DialerXferSoftkey>delete;xfer;send;exit;</DialerXferSoftkey>
|
||||
<DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
|
||||
<DesktopClick>history;status;none;none;none;</DesktopClick>
|
||||
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
|
||||
<DailerClick>pline;nline;none;none;none;</DailerClick>
|
||||
<RingingClick>none;none;none;none;none;</RingingClick>
|
||||
<CallClick>none;none;voldown;volup;none;</CallClick>
|
||||
|
|
@ -2755,7 +2755,6 @@
|
|||
</Fkey>
|
||||
{/foreach}
|
||||
</dssSide>
|
||||
|
||||
{strip}{*-- Each Internal Index contains 6 keys --*}{/strip}
|
||||
<internal index="1">
|
||||
{foreach $keys["memory"] as $row}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
<EnableDHCP6>1</EnableDHCP6>
|
||||
<DHCP6AutoDNS>1</DHCP6AutoDNS>
|
||||
<UseVendor6ClassID>0</UseVendor6ClassID>
|
||||
<Vendor6ClassID></Vendor6ClassID>
|
||||
<Vendor6ClassID>Fanvil X5U</Vendor6ClassID>
|
||||
</wifi>
|
||||
<NetGlobal>
|
||||
<NetPriority>10</NetPriority>
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.1.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.1.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.1.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -263,7 +263,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -312,7 +312,6 @@
|
|||
<BakProxyAddr>{$account.2.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.2.sip_port}</BakProxyPort>
|
||||
<EnableFailback>{if isset($account.2.outbound_proxy_secondary)}1{else}0{/if}</EnableFailback>
|
||||
<EnableFailback>1</EnableFailback>
|
||||
<FailbackInterval>1800</FailbackInterval>
|
||||
<SignalFailback>0</SignalFailback>
|
||||
<SignalRetryCounts>3</SignalRetryCounts>
|
||||
|
|
@ -349,7 +348,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.2.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.2.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -376,7 +375,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.2.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -425,7 +424,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -511,7 +510,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.3.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.3.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -538,7 +537,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.3.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -587,7 +586,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -673,7 +672,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.4.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.4.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -700,7 +699,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.4.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -749,7 +748,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -835,7 +834,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.5.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.5.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -862,7 +861,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.5.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -911,7 +910,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -997,7 +996,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.6.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.6.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1020,11 +1019,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.6.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1035,7 +1034,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1073,7 +1072,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1159,7 +1158,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.7.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.7.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1182,11 +1181,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.7.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1197,7 +1196,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1235,7 +1234,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1321,7 +1320,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.8.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.8.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1344,11 +1343,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.8.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1359,7 +1358,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1397,7 +1396,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1483,7 +1482,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.9.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.9.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1506,11 +1505,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.9.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1521,7 +1520,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1559,7 +1558,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1645,7 +1644,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.10.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.10.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1668,11 +1667,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.10.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1683,7 +1682,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1721,7 +1720,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1807,7 +1806,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.11.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.11.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1830,11 +1829,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.11.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1845,7 +1844,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -1883,7 +1882,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1969,7 +1968,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.12.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.12.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1992,11 +1991,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.12.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2007,7 +2006,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2045,7 +2044,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2131,7 +2130,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.13.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.13.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2154,11 +2153,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.13.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2169,7 +2168,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2207,7 +2206,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2293,7 +2292,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.14.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.14.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2316,11 +2315,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.14.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2331,7 +2330,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2369,7 +2368,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2455,7 +2454,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.15.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.15.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2478,11 +2477,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.15.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2493,7 +2492,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2531,7 +2530,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2617,7 +2616,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.16.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.16.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2640,11 +2639,11 @@
|
|||
<UseSRVMixer>0</UseSRVMixer>
|
||||
<SRVMixerUri></SRVMixerUri>
|
||||
<LongContact>0</LongContact>
|
||||
<AutoTCP>0</AutoTCP>
|
||||
<AutoTCP>1</AutoTCP>
|
||||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.16.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2655,7 +2654,7 @@
|
|||
<NoAnswerTime>5</NoAnswerTime>
|
||||
<MissedCallLog>1</MissedCallLog>
|
||||
<ParkMode></ParkMode>
|
||||
<SvcCodeMode>0</SvcCodeMode>
|
||||
<SvcCodeMode>1</SvcCodeMode>
|
||||
<DNDOnSvcCode></DNDOnSvcCode>
|
||||
<DNDOffSvcCode></DNDOffSvcCode>
|
||||
<CFUOnSvcCode></CFUOnSvcCode>
|
||||
|
|
@ -2693,7 +2692,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2943,15 +2942,15 @@
|
|||
<BLFParkedText>parked</BLFParkedText>
|
||||
</blfLed>
|
||||
<volume>
|
||||
<HandsetVol></HandsetVol>
|
||||
<HandsetMicVol></HandsetMicVol>
|
||||
<HeadsetVol></HeadsetVol>
|
||||
<HeadsetMicVol></HeadsetMicVol>
|
||||
<HeadsetRingVol></HeadsetRingVol>
|
||||
<HandFreeVol></HandFreeVol>
|
||||
<HandFreeMicVol></HandFreeMicVol>
|
||||
<HandFreeRingVol></HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if}</RingType>
|
||||
<HandsetVol>5</HandsetVol>
|
||||
<HandsetMicVol>3</HandsetMicVol>
|
||||
<HeadsetVol>5</HeadsetVol>
|
||||
<HeadsetMicVol>3</HeadsetMicVol>
|
||||
<HeadsetRingVol>5</HeadsetRingVol>
|
||||
<HandFreeVol>8</HandFreeVol>
|
||||
<HandFreeMicVol>3</HandFreeMicVol>
|
||||
<HandFreeRingVol>4</HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if}</RingType>
|
||||
</volume>
|
||||
<date>
|
||||
<EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.1.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.1.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -219,7 +219,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.1.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -354,7 +354,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.2.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.2.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -381,7 +381,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.2.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -430,7 +430,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -516,7 +516,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.3.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.3.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -543,7 +543,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.3.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -592,7 +592,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -678,7 +678,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.4.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.4.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -705,7 +705,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.4.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -754,7 +754,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -840,7 +840,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.5.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.5.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -867,7 +867,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.5.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -916,7 +916,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1002,7 +1002,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.6.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.6.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1029,7 +1029,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.6.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1078,7 +1078,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1164,7 +1164,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.7.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.7.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1191,7 +1191,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.7.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1240,7 +1240,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1326,7 +1326,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.8.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.8.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1353,7 +1353,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.8.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1402,7 +1402,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1488,7 +1488,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.9.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.9.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1515,7 +1515,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.9.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1564,7 +1564,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1650,7 +1650,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.10.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.10.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1677,7 +1677,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.10.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1726,7 +1726,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1812,7 +1812,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.11.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.11.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -1839,7 +1839,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.11.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -1888,7 +1888,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -1974,7 +1974,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.12.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.12.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2001,7 +2001,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.12.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2050,7 +2050,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2135,7 +2135,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.13.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.13.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2162,7 +2162,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.13.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2211,7 +2211,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2297,7 +2297,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.14.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.14.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2324,7 +2324,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.14.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2373,7 +2373,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2459,7 +2459,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.15.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.15.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2486,7 +2486,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.15.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2535,7 +2535,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2621,7 +2621,7 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.16.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.16.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
|
|
@ -2648,7 +2648,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.16.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2697,7 +2697,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2783,14 +2783,13 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.17.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.17.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
{if $account.17.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.17.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
|
|
@ -2811,7 +2810,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.17.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -2860,7 +2859,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -2946,14 +2945,13 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.18.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.18.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
{if $account.18.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.18.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
|
|
@ -2974,7 +2972,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.18.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -3023,7 +3021,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -3109,14 +3107,13 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.19.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.19.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
{if $account.19.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.19.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
|
|
@ -3137,7 +3134,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.19.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -3186,7 +3183,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -3272,14 +3269,13 @@
|
|||
<DTMFInfoMode>0</DTMFInfoMode>
|
||||
<NATType>0</NATType>
|
||||
<EnableRport>1</EnableRport>
|
||||
<Subscribe>0</Subscribe>
|
||||
<Subscribe>{if isset($account.20.user_id)}1{else}{/if}</Subscribe>
|
||||
<SubExpire>{$account.20.register_expires}</SubExpire>
|
||||
<SingleCodec>0</SingleCodec>
|
||||
<CLIR>0</CLIR>
|
||||
<StrictProxy>1</StrictProxy>
|
||||
<DirectContact>0</DirectContact>
|
||||
<HistoryInfo>0</HistoryInfo>
|
||||
<DNSSRV>0</DNSSRV>
|
||||
{if $account.20.sip_transport == 'dns srv'}<DNSSRV>1</DNSSRV>{/if}
|
||||
{if $account.20.sip_transport == 'dns srv'}<DNSMode>1</DNSMode>{/if}
|
||||
<XFERExpire>0</XFERExpire>
|
||||
|
|
@ -3300,7 +3296,7 @@
|
|||
<UriEscaped>1</UriEscaped>
|
||||
<ClicktoTalk>0</ClicktoTalk>
|
||||
<MwiNo></MwiNo>
|
||||
<MWINum></MWINum>
|
||||
<MWINum>{if isset($account.20.user_id)}*97{else}{/if}</MWINum>
|
||||
<ParkNo></ParkNo>
|
||||
<CallParkNum></CallParkNum>
|
||||
<RetrieveNum></RetrieveNum>
|
||||
|
|
@ -3349,7 +3345,7 @@
|
|||
<UseTelCall>0</UseTelCall>
|
||||
<EnablePreview>0</EnablePreview>
|
||||
<PreviewMode>1</PreviewMode>
|
||||
<TLSVersion>0</TLSVersion>
|
||||
<TLSVersion>2</TLSVersion>
|
||||
<CSTANumber></CSTANumber>
|
||||
<EnableChgPort>0</EnableChgPort>
|
||||
<VQName></VQName>
|
||||
|
|
@ -3599,14 +3595,14 @@
|
|||
<BLFParkedText>parked</BLFParkedText>
|
||||
</blfLed>
|
||||
<volume>
|
||||
<HandsetVol></HandsetVol>
|
||||
<HandsetMicVol></HandsetMicVol>
|
||||
<HeadsetVol></HeadsetVol>
|
||||
<HeadsetMicVol></HeadsetMicVol>
|
||||
<HeadsetRingVol></HeadsetRingVol>
|
||||
<HandFreeVol></HandFreeVol>
|
||||
<HandFreeMicVol></HandFreeMicVol>
|
||||
<HandFreeRingVol></HandFreeRingVol>
|
||||
<HandsetVol>5</HandsetVol>
|
||||
<HandsetMicVol>3</HandsetMicVol>
|
||||
<HeadsetVol>5</HeadsetVol>
|
||||
<HeadsetMicVol>3</HeadsetMicVol>
|
||||
<HeadsetRingVol>5</HeadsetRingVol>
|
||||
<HandFreeVol>8</HandFreeVol>
|
||||
<HandFreeMicVol>3</HandFreeMicVol>
|
||||
<HandFreeRingVol>4</HandFreeRingVol>
|
||||
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 2{/if}</RingType>
|
||||
</volume>
|
||||
<date>
|
||||
|
|
|
|||
|
|
@ -3637,9 +3637,9 @@
|
|||
<softkey>
|
||||
<SoftkeyMode>0</SoftkeyMode>
|
||||
<SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}</SoftKeyExitStyle>
|
||||
<DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;</DesktopSoftkey>
|
||||
<TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;</TalkingSoftkey>
|
||||
<RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;</RingingSoftkey>
|
||||
<DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}</DesktopSoftkey>
|
||||
<TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}</TalkingSoftkey>
|
||||
<RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}</RingingSoftkey>
|
||||
<AlertingSoftkey>end;none;none;none;</AlertingSoftkey>
|
||||
<XAlertingSoftkey>end;none;none;xfer;</XAlertingSoftkey>
|
||||
<ConferenceSoftkey>hold;none;split;end;</ConferenceSoftkey>
|
||||
|
|
@ -3649,7 +3649,7 @@
|
|||
<DialerCallSoftkey>send;2aB;delete;exit;</DialerCallSoftkey>
|
||||
<DialerXferSoftkey>delete;xfer;send;exit;</DialerXferSoftkey>
|
||||
<DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
|
||||
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;</DesktopClick>
|
||||
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
|
||||
<DailerClick>pline;nline;none;none;none;</DailerClick>
|
||||
<RingingClick>none;none;none;none;none;</RingingClick>
|
||||
<CallClick>none;none;voldown;volup;none;</CallClick>
|
||||
|
|
|
|||
|
|
@ -488,7 +488,7 @@
|
|||
|
||||
<!-- # Conference URI -->
|
||||
<!-- # String -->
|
||||
<P2318></P2318>
|
||||
<P2318>{if $nway_conference == true}nway{$account.1.user_id}@{$account.1.server_address}{/if}</P2318>
|
||||
|
||||
<!-- # Account Ring Tone. See ring tone options and value in the Ring Tone Value Table below -->
|
||||
{if isset($grandstream_account_ring_tone_1)}
|
||||
|
|
@ -502,7 +502,7 @@
|
|||
|
||||
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
|
||||
<!-- # String -->
|
||||
<P1488></P1488>
|
||||
<P1488>{$grandstream_distinctive_ringtone_name_1}</P1488>
|
||||
|
||||
<!-- # Matching Rule 1 Distinctive Ringtone. See ring tone options and value in the Ring Tone Value Table below -->
|
||||
<!-- # String -->
|
||||
|
|
@ -510,7 +510,7 @@
|
|||
|
||||
<!-- # Matching Incoming Caller ID. Matching Rule 2 -->
|
||||
<!-- # String -->
|
||||
<P1490></P1490>
|
||||
<P1490>{$grandstream_distinctive_ringtone_name_2}</P1490>
|
||||
|
||||
<!-- # Matching Rule 2 Distinctive Ringtone. See ring tone options and value in the Ring Tone Value Table below -->
|
||||
<!-- # String -->
|
||||
|
|
@ -518,7 +518,7 @@
|
|||
|
||||
<!-- # Matching Incoming Caller ID. Matching Rule 3 -->
|
||||
<!-- # String -->
|
||||
<P1492></P1492>
|
||||
<P1492>{$grandstream_distinctive_ringtone_name_3}</P1492>
|
||||
|
||||
<!-- # Matching Rule 3 Distinctive Ringtone. See ring tone options and value in the Ring Tone Value Table below -->
|
||||
<!-- # String -->
|
||||
|
|
@ -1056,7 +1056,7 @@
|
|||
|
||||
<!-- # Conference-URI -->
|
||||
<!-- # String -->
|
||||
<P2418></P2418>
|
||||
<P2418>{if $nway_conference == true}nway{$account.2.user_id}@{$account.2.server_address}{/if}</P2418>
|
||||
|
||||
<!-- # No Answer Timeout (s). Default value is 20 -->
|
||||
<!-- # Number: 1 - 120. -->
|
||||
|
|
@ -1624,7 +1624,7 @@
|
|||
|
||||
<!-- # Conference-URI -->
|
||||
<!-- # String -->
|
||||
<P2518></P2518>
|
||||
<P2518>{if $nway_conference == true}nway{$account.3.user_id}@{$account.3.server_address}{/if}</P2518>
|
||||
|
||||
<!-- # No Answer Timeout (s). Default value is 20 -->
|
||||
<!-- # Number: 1 - 120 -->
|
||||
|
|
@ -1632,7 +1632,7 @@
|
|||
|
||||
<!-- # Matching Incoming Caller ID. Matching Rule 1 -->
|
||||
<!-- # String -->
|
||||
<P1500></P1500>
|
||||
<P1500>{$grandstream_distinctive_ringtone_name_1}</P1500>
|
||||
|
||||
<!-- # Account Ring Tone. See ring tone options and value in the Ring Tone value table below -->
|
||||
<P523>content://settings/system/ringtone</P523>
|
||||
|
|
@ -2193,7 +2193,7 @@
|
|||
|
||||
<!-- # Conference-URI -->
|
||||
<!-- # String -->
|
||||
<P2618></P2618>
|
||||
<P2618>{if $nway_conference == true}nway{$account.4.user_id}@{$account.4.server_address}{/if}</P2618>
|
||||
|
||||
<!-- # Account Ring Tone. See ring tone options and value in the Ring Tone value table below -->
|
||||
|
||||
|
|
@ -2764,7 +2764,7 @@
|
|||
|
||||
<!-- # Conference-URI -->
|
||||
<!-- # String -->
|
||||
<P2718></P2718>
|
||||
<P2718>{if $nway_conference == true}nway{$account.5.user_id}@{$account.5.server_address}{/if}</P2718>
|
||||
|
||||
<!-- # No Answer Timeout (s). Default value is 20 -->
|
||||
<!-- # Number: 1 - 120 -->
|
||||
|
|
@ -3335,7 +3335,7 @@
|
|||
|
||||
<!-- # Conference-URI -->
|
||||
<!-- # String -->
|
||||
<P2818></P2818>
|
||||
<P2818>{if $nway_conference == true}nway{$account.6.user_id}@{$account.6.server_address}{/if}</P2818>
|
||||
|
||||
<!-- # No Answer Timeout (s). Default value is 20 -->
|
||||
<!-- # Number: 1 - 120 -->
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue