This commit is contained in:
Jim Kusznir 2017-04-06 21:23:03 -07:00
commit e116dcf1ca
33 changed files with 103 additions and 66 deletions

View File

@ -26,7 +26,7 @@
$apps[$x]['destinations'][$y]['label'] = "destinations";
$apps[$x]['destinations'][$y]['name'] = "destinations";
$apps[$x]['destinations'][$y]['sql'] = "select destination_number as destination, destination_context as context, destination_description as description from v_destinations ";
$apps[$x]['destinations'][$y]['where'] = "where domain_uuid = '\${domain_uuid}' and destination_type = 'outbound' and destination_enabled = 'true' ";
$apps[$x]['destinations'][$y]['where'] = "where (domain_uuid = '\${domain_uuid}' or domain_uuid is null) and destination_type = 'outbound' and destination_enabled = 'true' ";
$apps[$x]['destinations'][$y]['order_by'] = "destination_number asc";
$apps[$x]['destinations'][$y]['field']['uuid'] = "destination_uuid";
$apps[$x]['destinations'][$y]['field']['context'] = "destination_context";

View File

@ -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-2016
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -43,12 +43,12 @@
$text = $language->get();
//get the ID
if (count($_GET) > 0) {
if (is_array($_GET)) {
$id = check_str($_GET["id"]);
}
//if the ID is not set then exit
if (!isset($id)) {
if (!is_uuid($id)) {
echo "ID is required.";
exit;
}
@ -82,22 +82,22 @@
//delete the dialplan
if (isset($dialplan_uuid)) {
$sql = "delete from v_dialplan_details ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
//echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);
$sql = "delete from v_dialplans ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
//echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);
}
//delete the destination
$sql = "delete from v_destinations ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "and destination_uuid = '".$id."' ";
$sql .= "where destination_uuid = '".$id."' ";
echo $sql."<br />\n";
$db->exec(check_sql($sql));
unset($sql);

View File

@ -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-2016
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
@ -114,6 +114,9 @@
$_POST["destination_uuid"] = $destination_uuid;
}
//set the default context
if ($destination_type =="outbound" && strlen($destination_context) == 0) { $destination_context = $_SESSION['domain_name']; }
//check for all required data
$msg = '';
if (strlen($destination_type) == 0) { $msg .= $text['message-required']." ".$text['label-destination_type']."<br>\n"; }
@ -274,7 +277,7 @@
//delete previous fax detection settings
$sql = "delete from v_dialplan_details ";
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
$sql .= "and dialplan_uuid = '".$dialplan_uuid."' ";
$sql .= "and (";
$sql .= " dialplan_detail_data like '%tone_detect%' ";
@ -351,7 +354,7 @@
$sql = "delete from v_dialplan_details ";
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
if (!permission_exists('destination_domain')) {
$sql .= "and domain_uuid = '".$domain_uuid."' ";
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
}
//echo $sql."<br><br>";
$db->exec(check_sql($sql));
@ -502,6 +505,8 @@
//set the defaults
if (strlen($destination_type) == 0) { $destination_type = 'inbound'; }
if (strlen($destination_context) == 0) { $destination_context = 'public'; }
if ($destination_type =="outbound" && $destination_context == "public") { $destination_context = $_SESSION['domain_name']; }
if ($destination_type =="outbound" && strlen($destination_context) == 0) { $destination_context = $_SESSION['domain_name']; }
//show the header
require_once "resources/header.php";
@ -525,7 +530,6 @@
echo " if (document.getElementById('tr_buy')) { document.getElementById('tr_buy').style.display = 'none'; }\n";
echo " if (document.getElementById('tr_carrier')) { document.getElementById('tr_carrier').style.display = 'none'; }\n";
echo " document.getElementById('tr_account_code').style.display = 'none';\n";
echo " document.getElementById('destination_context').value = '".$_SESSION['domain_name']."'";
echo " }\n";
echo " else if (dir == 'inbound') {\n";
echo " if (document.getElementById('tr_caller_id_name')) { document.getElementById('tr_caller_id_name').style.display = ''; }\n";

View File

@ -17,22 +17,26 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2015
Portions created by the Initial Developer are Copyright (C) 2008-2017
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
if (permission_exists('destination_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('destination_view')) {
//access granted
}
else {
echo "access denied";
exit;
}
//add multi-lingual support
$language = new text;
@ -55,7 +59,7 @@ else {
$sql .= "where ";
}
} else {
$sql .= "where domain_uuid = '".$domain_uuid."' ";
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
if (strlen($search) > 0) {
$sql .= "and ";
}
@ -97,7 +101,7 @@ else {
$sql .= " where ";
}
} else {
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
if (strlen($search) > 0) {
$sql .= " and ";
}
@ -225,4 +229,5 @@ else {
//include the footer
require_once "resources/footer.php";
?>
?>

View File

@ -361,5 +361,13 @@
$apps[$x]['default_settings'][$y]['default_setting_value'] = '(*xxxxxxx|*xxxxxx|*xxxxx|*xxxx|*xxx|*xx*|*x|**xxxxx|**xxxx|**xxx|**xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)';
$apps[$x]['default_settings'][$y]['default_setting_enabled'] = 'true';
$apps[$x]['default_settings'][$y]['default_setting_description'] = '';
$y++;
$apps[$x]['default_settings'][$y]['default_setting_uuid'] = 'bf122bc9-c9bf-497c-9dda-95d125293eaf';
$apps[$x]['default_settings'][$y]['default_setting_category'] = 'provision';
$apps[$x]['default_settings'][$y]['default_setting_subcategory'] = 'yealink_srtp_encryption';
$apps[$x]['default_settings'][$y]['default_setting_name'] = 'text';
$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'] = '';
?>

View File

@ -143,7 +143,7 @@ $text['label-switch']['uk'] = "перемикач";
$text['label-switch']['de-at'] = "Schalter";
$text['label-switch']['it-it'] = "Switch";
$text['label-git_branch']['en-us'] = "Branch:";
$text['label-git_branch']['en-us'] = "Branch";
$text['label-git_branch']['es-cl'] = "Rama";
$text['label-git_branch']['pt-pt'] = "Ramo";
$text['label-git_branch']['fr-fr'] = "Une succursale";
@ -152,9 +152,9 @@ $text['label-git_branch']['pl'] = "Gałąź";
$text['label-git_branch']['sv-se'] = "Gren";
$text['label-git_branch']['uk'] = "філія";
$text['label-git_branch']['de-at'] = "Ast";
$text['label-git_branch']['it-it'] = "Branch:";
$text['label-git_branch']['it-it'] = "Branch";
$text['label-git_commit']['en-us'] = "Commit:";
$text['label-git_commit']['en-us'] = "Commit";
$text['label-git_commit']['es-cl'] = "Cometer";
$text['label-git_commit']['pt-pt'] = "cometer";
$text['label-git_commit']['fr-fr'] = "Commettre";
@ -163,9 +163,9 @@ $text['label-git_commit']['pl'] = "Popełnić";
$text['label-git_commit']['sv-se'] = "Begå";
$text['label-git_commit']['uk'] = "здійснити";
$text['label-git_commit']['de-at'] = "Verpflichten";
$text['label-git_commit']['it-it'] = "Commit:";
$text['label-git_commit']['it-it'] = "Commit";
$text['label-git_origin']['en-us'] = "Origin:";
$text['label-git_origin']['en-us'] = "Origin";
$text['label-git_origin']['es-cl'] = "Origen";
$text['label-git_origin']['pt-pt'] = "Origem";
$text['label-git_origin']['fr-fr'] = "Origine";
@ -174,7 +174,18 @@ $text['label-git_origin']['pl'] = "Pochodzenie";
$text['label-git_origin']['sv-se'] = "Ursprung";
$text['label-git_origin']['uk'] = "походження";
$text['label-git_origin']['de-at'] = "Herkunft";
$text['label-git_origin']['it-it'] = "Origine:";
$text['label-git_origin']['it-it'] = "Origine";
$text['label-git_status']['en-us'] = "Status";
$text['label-git_status']['es-cl'] = "Estado de";
$text['label-git_status']['pt-pt'] = "Status do";
$text['label-git_status']['fr-fr'] = "Statut";
$text['label-git_status']['pt-br'] = "Status do";
$text['label-git_status']['pl'] = "Status";
$text['label-git_status']['sv-se'] = "Status";
$text['label-git_status']['uk'] = "Статус";
$text['label-git_status']['de-at'] = "Status";
$text['label-git_status']['it-it'] = "Stato";
$text['label-memcache_status']['en-us'] = "Memcache Status";
$text['label-memcache_status']['es-cl'] = "Estado de Memcache";

View File

@ -89,20 +89,29 @@ $document['title'] = $text['title-sys-status'];
if(file_exists($git_path)){
$git_exe = 'git';
if (strtoupper(substr(PHP_OS, 0, 3)) === 'SUN') { $git_exe = shell_exec('which git'); }
shell_exec($git_exe.' --git-dir='.$git_path.' fetch');
$git_branch = shell_exec($git_exe.' --git-dir='.$git_path.' name-rev --name-only HEAD');
rtrim($git_branch);
$git_commit = shell_exec($git_exe.' --git-dir='.$git_path.' rev-parse HEAD');
rtrim($git_commit);
$git_origin = shell_exec($git_exe.' --git-dir='.$git_path.' config --get remote.origin.url');
rtrim($git_commit);
rtrim($git_origin);
$git_origin = preg_replace('/\.git$/','',$git_origin);
$git_status = shell_exec($git_exe.' --git-dir='.$git_path.' status | grep "Your branch"');
rtrim($git_status);
$git_age = shell_exec($git_exe.' --git-dir='.$git_path.' log --pretty=format:%at HEAD^!');
rtrim($git_age);
$git_date = DateTime::createFromFormat('U', $git_age);
$git_age = $git_date->diff(new DateTime('now'));
echo "<tr>\n";
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
echo " ".$text['label-git_info']."\n";
echo " </td>\n";
echo " <td class=\"row_style1\">\n";
echo " ".$text['label-git_branch']." ".$git_branch."<br>\n";
echo " ".$text['label-git_commit']." ".$git_commit."<br>\n";
echo " ".$text['label-git_origin']." ".$git_origin."<br>\n";
echo " ".$text['label-git_branch'].": ".$git_branch."<br>\n";
echo " ".$text['label-git_commit'].": <a href='$git_origin/commit/$git_commit'>".$git_commit."</a><br>\n";
echo " ".$text['label-git_origin'].": ".$git_origin."<br>\n";
echo " ".$text['label-git_status'].": ".$git_status.$git_age->format(' %R%a days ago')."<br>\n";
echo " </td>\n";
echo "</tr>\n";
}

View File

@ -67,7 +67,7 @@ class plugin_ldap {
if ($bind) {
//connected and authorized
$user_authorized = true;
break;
exit;
}
else {
//connection failed

View File

@ -132,10 +132,10 @@ local log = require "resources.functions.log".ring_group
--set the caller id
if (session:ready()) then
if (string.len(ring_group_cid_name_prefix) > 0) then
session:execute("set", "effective_caller_id_name="..ring_group_cid_name_prefix.."#"..caller_id_name);
session:execute("export", "effective_caller_id_name="..ring_group_cid_name_prefix.."#"..caller_id_name);
end
if (string.len(ring_group_cid_number_prefix) > 0) then
session:execute("set", "effective_caller_id_number="..ring_group_cid_number_prefix..caller_id_number);
session:execute("export", "effective_caller_id_number="..ring_group_cid_number_prefix..caller_id_number);
end
end

View File

@ -423,7 +423,7 @@
if (storage_type == "base64") then
table.insert(sql, "message_base64, ");
end
if (transcribe_enabled == "true") then
if (transcribe_enabled == "true") and (voicemail_transcription_enabled == "true") then
table.insert(sql, "message_transcription, ");
end
table.insert(sql, "message_length ");
@ -441,7 +441,7 @@
if (storage_type == "base64") then
table.insert(sql, ":message_base64, ");
end
if (transcribe_enabled == "true") then
if (transcribe_enabled == "true") and (voicemail_transcription_enabled == "true") then
table.insert(sql, ":transcription, ");
end
table.insert(sql, ":message_length ");

View File

@ -293,7 +293,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -139,7 +139,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -293,7 +293,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -140,7 +140,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -139,7 +139,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -140,7 +140,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -287,7 +287,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -125,7 +125,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -125,7 +125,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -291,7 +291,7 @@ account.1.codec.12.rtpmap = 3
## Audio Advanced ##
#######################################################################################
#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =

View File

@ -116,7 +116,7 @@ account.1.session_timer.refresher =
account.1.enable_user_equal_phone =
#Configure the way of encrypting the message; 0-Disabled (default), 1-Forced, 2-Negotiated;
account.1.srtp_encryption =
account.1.srtp_encryption = {$yealink_srtp_encryption}
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime =