mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-20 07:22:15 +00:00
Merge branch 'master' of https://github.com/fusionpbx/fusionpbx
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 ");
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user