Merge pull request #1 from fusionpbx/master
Updating my fork from fusionpbx master
This commit is contained in:
commit
17bc3aa49b
|
|
@ -267,6 +267,9 @@
|
|||
|
||||
//clear the cache
|
||||
$cache = new cache;
|
||||
if ($dialplan_context == "\${domain_name}" or $dialplan_context == "global") {
|
||||
$dialplan_context = "*";
|
||||
}
|
||||
$cache->delete("dialplan:".$dialplan_context);
|
||||
|
||||
//set the message
|
||||
|
|
|
|||
|
|
@ -115,7 +115,6 @@
|
|||
|
||||
//download the fax
|
||||
if ($_GET['a'] == "download") {
|
||||
session_cache_limiter('public');
|
||||
//test to see if it is in the inbox or sent directory.
|
||||
if ($_GET['type'] == "fax_inbox") {
|
||||
if (file_exists($fax_dir.'/'.$_GET['ext'].'/inbox/'.$_GET['filename'])) {
|
||||
|
|
@ -349,19 +348,12 @@
|
|||
$page_height = 11.7;
|
||||
$page_size = 'a4';
|
||||
}
|
||||
//generate pdf (a work around, as tiff2pdf improperly inverts the colors)
|
||||
$cmd_tif2pdf = "tiff2pdf -i -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax_temp.'/'.$file_name.".pdf ".$dir_fax.'/'.$file_name.".tif";
|
||||
//echo $cmd_tif2pdf."<br>";
|
||||
//generate pdf from tif
|
||||
$cmd_tif2pdf = "tiff2pdf -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax.'/'.$file_name.".pdf ".$dir_fax.'/'.$file_name.".tif";
|
||||
exec($cmd_tif2pdf);
|
||||
chdir($dir_fax_temp);
|
||||
$cmd_pdf2tif = "gs -q -sDEVICE=tiffg3 -r".$gs_r." -g".$gs_g." -dNOPAUSE -sOutputFile=".$file_name."_temp.tif -- ".$file_name.".pdf -c quit";
|
||||
//echo $cmd_pdf2tif."<br>";
|
||||
exec($cmd_pdf2tif); //convert pdf to tif
|
||||
@unlink($dir_fax_temp.'/'.$file_name.".pdf");
|
||||
$cmd_tif2pdf = "tiff2pdf -i -u i -p ".$page_size." -w ".$page_width." -l ".$page_height." -f -o ".$dir_fax.'/'.$file_name.".pdf ".$dir_fax_temp.'/'.$file_name."_temp.tif";
|
||||
//echo $cmd_tif2pdf."<br>";
|
||||
exec($cmd_tif2pdf);
|
||||
@unlink($dir_fax_temp.'/'.$file_name."_temp.tif");
|
||||
//clean up temporary files, if any
|
||||
if (file_exists($dir_fax_temp.'/'.$file_name.'.pdf')) { @unlink($dir_fax_temp.'/'.$file_name.'.pdf'); }
|
||||
if (file_exists($dir_fax_temp.'/'.$file_name.'.tif')) { @unlink($dir_fax_temp.'/'.$file_name.'.tif'); }
|
||||
}
|
||||
|
||||
if ($_REQUEST['box'] == 'inbox' && permission_exists('fax_inbox_view')) {
|
||||
|
|
|
|||
|
|
@ -369,7 +369,9 @@ if (!function_exists('fax_split_dtmf')) {
|
|||
$fax_name = str_replace("=", "_", $fax_name);
|
||||
|
||||
$attachment_file_name = $_files['name'][$index];
|
||||
rename($dir_fax_temp.'/'.$attachment_file_name, $dir_fax_temp.'/'.$fax_name.'.'.$fax_file_extension);
|
||||
if ($attachment_file_name != $fax_name.'.'.$fax_file_extension) {
|
||||
rename($dir_fax_temp.'/'.$attachment_file_name, $dir_fax_temp.'/'.$fax_name.'.'.$fax_file_extension);
|
||||
}
|
||||
unset($attachment_file_name);
|
||||
|
||||
if (!$included) {
|
||||
|
|
@ -660,41 +662,14 @@ if (!function_exists('fax_split_dtmf')) {
|
|||
@unlink($tif_file);
|
||||
}
|
||||
|
||||
//generate pdf (a work around, as tiff2pdf was improperly inverting the colors)
|
||||
//generate pdf from tif
|
||||
$cmd = 'tiff2pdf -u i -p '.$fax_page_size.
|
||||
' -w '.$page_width.
|
||||
' -l '.$page_height.
|
||||
' -f -o '.
|
||||
correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.pdf').' '.
|
||||
correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.tif');
|
||||
// echo($cmd . "<br/>\n");
|
||||
exec($cmd);
|
||||
|
||||
chdir($dir_fax_temp);
|
||||
|
||||
//$cmd = gs_cmd("-q -sDEVICE=psmono -r".$gs_r." -g".$gs_g." -dNOPAUSE -dBATCH -dSAFER -sOutputFile=".correct_path($fax_instance_uuid).".pdf -- ".correct_path($fax_instance_uuid).".pdf -c quit");
|
||||
// echo($cmd . "<br/>\n");
|
||||
//exec($cmd);
|
||||
|
||||
//convert pdf to tif
|
||||
$cmd = gs_cmd('-q -sDEVICE=tiffg32d -r'.$gs_r.' -g'.$gs_g.' -dBATCH -dPDFFitPage -dNOPAUSE -sOutputFile='.
|
||||
correct_path($fax_instance_uuid.'_temp.tif').
|
||||
' -- '.$fax_instance_uuid.'.pdf -c quit');
|
||||
// echo($cmd . "<br/>\n");
|
||||
exec($cmd);
|
||||
|
||||
@unlink($dir_fax_temp.'/'.$fax_instance_uuid.".pdf");
|
||||
|
||||
$cmd = 'tiff2pdf -u i -p '.$fax_page_size.
|
||||
' -w '.$page_width.
|
||||
' -l '.$page_height.
|
||||
' -f -o '.
|
||||
correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'.pdf').' '.
|
||||
correct_path($dir_fax_temp.'/'.$fax_instance_uuid.'_temp.tif');
|
||||
// echo($cmd . "<br/>\n");
|
||||
exec($cmd);
|
||||
|
||||
@unlink($dir_fax_temp.'/'.$fax_instance_uuid."_temp.tif");
|
||||
}
|
||||
else {
|
||||
if (!$included) {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ if (email_queue_enabled == 'true') then
|
|||
local domain_uuid = headers["X-FusionPBX-Domain-UUID"];
|
||||
local domain_name = headers["X-FusionPBX-Domain-Name"];
|
||||
local email_type = headers["X-FusionPBX-Email-Type"] or 'info';
|
||||
local call_uuid = headers["X-FusionPBX-Email-Call-UUID"];
|
||||
local call_uuid = headers["X-FusionPBX-Call-UUID"];
|
||||
local local_after_email = headers["X-FusionPBX-local_after_email"] or '';
|
||||
|
||||
if (local_after_email == 'false') then
|
||||
|
|
@ -56,7 +56,9 @@ if (email_queue_enabled == 'true') then
|
|||
sql = sql .. " email_subject, ";
|
||||
sql = sql .. " email_body, ";
|
||||
sql = sql .. " email_status, ";
|
||||
sql = sql .. " email_uuid, ";
|
||||
sql = sql .. " email_action_after ";
|
||||
|
||||
sql = sql .. ") ";
|
||||
sql = sql .. "values ( ";
|
||||
sql = sql .. " :email_queue_uuid, ";
|
||||
|
|
@ -68,6 +70,7 @@ if (email_queue_enabled == 'true') then
|
|||
sql = sql .. " :email_subject, ";
|
||||
sql = sql .. " :email_body, ";
|
||||
sql = sql .. " :email_status, ";
|
||||
sql = sql .. " :email_uuid, ";
|
||||
sql = sql .. " :email_action_after ";
|
||||
sql = sql .. ") ";
|
||||
local params = {
|
||||
|
|
@ -79,6 +82,7 @@ if (email_queue_enabled == 'true') then
|
|||
email_subject = email_subject;
|
||||
email_body = email_body;
|
||||
email_status = email_status;
|
||||
email_uuid = call_uuid;
|
||||
email_action_after = email_action_after;
|
||||
}
|
||||
db:query(sql, params);
|
||||
|
|
@ -156,7 +160,7 @@ else
|
|||
local domain_uuid = headers["X-FusionPBX-Domain-UUID"]
|
||||
local domain_name = headers["X-FusionPBX-Domain-Name"]
|
||||
local email_type = headers["X-FusionPBX-Email-Type"] or 'info'
|
||||
local call_uuid = headers["X-FusionPBX-Email-Call-UUID"]
|
||||
local call_uuid = headers["X-FusionPBX-Call-UUID"]
|
||||
local db = dbh or Database.new('system')
|
||||
local settings = Settings.new(db, domain_name, domain_uuid)
|
||||
|
||||
|
|
|
|||
|
|
@ -145,11 +145,13 @@ class cache {
|
|||
event_socket_request($fp, $event);
|
||||
|
||||
//remove the local files
|
||||
if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key)) {
|
||||
unlink($_SESSION['cache']['location']['text'] . "/" . $key);
|
||||
}
|
||||
if (file_exists($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp")) {
|
||||
unlink($_SESSION['cache']['location']['text'] . "/" . $key . ".tmp");
|
||||
foreach (glob($_SESSION['cache']['location']['text'] . "/" . $key) as $file) {
|
||||
if (file_exists($file)) {
|
||||
unlink($file);
|
||||
}
|
||||
if (file_exists($file)) {
|
||||
unlink($file . ".tmp");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -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>
|
||||
|
|
@ -33,7 +34,36 @@
|
|||
<Vendor6ClassID>Fanvil X4U</Vendor6ClassID>
|
||||
<wifi>
|
||||
<WIFIEnable>{$fanvil_wifi_enable}</WIFIEnable>
|
||||
<WIFILogEnable>0</WIFILogEnable>
|
||||
<WANTYPE>0</WANTYPE>
|
||||
<WANIP>192.168.1.179</WANIP>
|
||||
<WANSubnetMask>255.255.255.0</WANSubnetMask>
|
||||
<WANGateway>192.168.1.1</WANGateway>
|
||||
<DomainName></DomainName>
|
||||
<PrimaryDNS>8.8.8.8</PrimaryDNS>
|
||||
<SecondaryDNS>202.96.134.133</SecondaryDNS>
|
||||
<EnableDHCP>1</EnableDHCP>
|
||||
<DHCPAutoDNS>1</DHCPAutoDNS>
|
||||
<DHCPOption100-101>1</DHCPOption100-101>
|
||||
<UseVendorClassID>0</UseVendorClassID>
|
||||
<VendorClassID>Fanvil X4U</VendorClassID>
|
||||
<EnablePPPoE>0</EnablePPPoE>
|
||||
<PPPoEUser>user123</PPPoEUser>
|
||||
<PPPoEPassword>password</PPPoEPassword>
|
||||
<WAN6IP></WAN6IP>
|
||||
<WAN6IPPREFIX></WAN6IPPREFIX>
|
||||
<WAN6Gateway></WAN6Gateway>
|
||||
<Domain6Name></Domain6Name>
|
||||
<PrimaryDNS6></PrimaryDNS6>
|
||||
<SecondaryDNS6></SecondaryDNS6>
|
||||
<EnableDHCP6>1</EnableDHCP6>
|
||||
<DHCP6AutoDNS>1</DHCP6AutoDNS>
|
||||
<UseVendor6ClassID>0</UseVendor6ClassID>
|
||||
<Vendor6ClassID></Vendor6ClassID>
|
||||
</wifi>
|
||||
<NetGlobal>
|
||||
<NetPriority>10</NetPriority>
|
||||
</NetGlobal>
|
||||
</net>
|
||||
<mm>
|
||||
<G723BitRate>1</G723BitRate>
|
||||
|
|
@ -54,6 +84,7 @@
|
|||
<RTPInitialPort>10000</RTPInitialPort>
|
||||
<RTPPortQuantity>1000</RTPPortQuantity>
|
||||
<RTPKeepAlive>1</RTPKeepAlive>
|
||||
<RTPRelay>0</RTPRelay>
|
||||
<RTCPCNAMEUser></RTCPCNAMEUser>
|
||||
<RTCPCNAMEHost></RTCPCNAMEHost>
|
||||
<SelectYourTone>{if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}</SelectYourTone>
|
||||
|
|
@ -104,22 +135,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>
|
||||
|
|
@ -251,6 +285,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>
|
||||
|
|
@ -261,22 +297,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>
|
||||
|
|
@ -408,6 +447,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>
|
||||
|
|
@ -418,22 +459,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>
|
||||
|
|
@ -565,6 +609,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>
|
||||
|
|
@ -575,22 +621,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>
|
||||
|
|
@ -722,6 +771,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>
|
||||
|
|
@ -732,22 +783,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>
|
||||
|
|
@ -879,6 +933,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>
|
||||
|
|
@ -889,22 +945,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>
|
||||
|
|
@ -1036,6 +1095,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="7">
|
||||
<PhoneNumber>{$account.7.user_id}</PhoneNumber>
|
||||
|
|
@ -1046,22 +1107,25 @@
|
|||
<RegisterUser>{$account.7.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.7.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.7.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.7.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.7.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.7.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.7.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.7.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.7.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.7.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.7.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>
|
||||
|
|
@ -1193,6 +1257,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="8">
|
||||
<PhoneNumber>{$account.8.user_id}</PhoneNumber>
|
||||
|
|
@ -1203,22 +1269,25 @@
|
|||
<RegisterUser>{$account.8.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.8.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.8.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.8.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.8.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.8.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.8.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.8.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.8.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.8.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.8.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>
|
||||
|
|
@ -1350,6 +1419,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="9">
|
||||
<PhoneNumber>{$account.9.user_id}</PhoneNumber>
|
||||
|
|
@ -1360,22 +1431,25 @@
|
|||
<RegisterUser>{$account.9.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.9.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.9.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.9.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.9.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.9.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.9.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.9.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.9.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.9.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.9.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>
|
||||
|
|
@ -1507,6 +1581,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="10">
|
||||
<PhoneNumber>{$account.10.user_id}</PhoneNumber>
|
||||
|
|
@ -1517,22 +1593,25 @@
|
|||
<RegisterUser>{$account.10.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.10.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.10.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.10.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.10.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.10.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.10.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.10.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.10.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.10.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.10.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>
|
||||
|
|
@ -1664,6 +1743,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="11">
|
||||
<PhoneNumber>{$account.11.user_id}</PhoneNumber>
|
||||
|
|
@ -1674,22 +1755,25 @@
|
|||
<RegisterUser>{$account.11.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.11.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.11.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.11.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.11.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.11.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.11.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.11.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.11.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.11.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.11.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>
|
||||
|
|
@ -1821,6 +1905,8 @@
|
|||
<SessionTimerT1>500</SessionTimerT1>
|
||||
<SessionTimerT2>4000</SessionTimerT2>
|
||||
<SessionTimerT4>5000</SessionTimerT4>
|
||||
<UnavailableMode>0</UnavailableMode>
|
||||
<TCPUseRetryTimer>0</TCPUseRetryTimer>
|
||||
</line>
|
||||
<line index="12">
|
||||
<PhoneNumber>{$account.12.user_id}</PhoneNumber>
|
||||
|
|
@ -1831,22 +1917,25 @@
|
|||
<RegisterUser>{$account.12.auth_id}</RegisterUser>
|
||||
<RegisterPswd>{$account.12.password}</RegisterPswd>
|
||||
<RegisterTTL>{$account.12.register_expires}</RegisterTTL>
|
||||
<NeedRegOn>0</NeedRegOn>
|
||||
<BackupAddr></BackupAddr>
|
||||
<BackupPort>5060</BackupPort>
|
||||
<BackupTransport>0</BackupTransport>
|
||||
<BackupTTL>3600</BackupTTL>
|
||||
<BackupNeedRegOn>0</BackupNeedRegOn>
|
||||
<EnableReg>{if isset($account.12.password)}1{else}0{/if}</EnableReg>
|
||||
<ProxyAddr>{$account.12.outbound_proxy_primary}</ProxyAddr>
|
||||
<ProxyPort>{$account.12.sip_port}</ProxyPort>
|
||||
<ProxyUser>{$account.12.auth_id}</ProxyUser>
|
||||
<ProxyPswd>{$account.12.password}</ProxyPswd>
|
||||
<ProxyNeedRegOn>0</ProxyNeedRegOn>
|
||||
<BakProxyAddr>{$account.12.outbound_proxy_secondary}</BakProxyAddr>
|
||||
<BakProxyPort>{$account.12.sip_port}</BakProxyPort>
|
||||
<BakProxyNeedRegOn>0</BakProxyNeedRegOn>
|
||||
<EnableFailback>{if isset($account.12.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>
|
||||
|
|
@ -1978,12 +2067,17 @@
|
|||
<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>
|
||||
|
|
@ -2057,6 +2151,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>
|
||||
|
|
@ -2137,13 +2235,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>
|
||||
|
|
@ -2172,14 +2274,25 @@
|
|||
<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>2</BLFFailedColor>
|
||||
<BLFFailedCtl>0</BLFFailedCtl>
|
||||
<BLFFailedText>failed</BLFFailedText>
|
||||
<BLFParkedColor>0</BLFParkedColor>
|
||||
<BLFParkedCtl>3</BLFParkedCtl>
|
||||
<BLFParkedText>parked</BLFParkedText>
|
||||
</blfLed>
|
||||
<volume>
|
||||
<HandsetVol></HandsetVol>
|
||||
|
|
@ -2237,6 +2350,7 @@
|
|||
<DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
|
||||
<DesktopClick>history;status;none;none;none;</DesktopClick>
|
||||
<DailerClick>pline;nline;none;none;none;</DailerClick>
|
||||
<RingingClick>none;none;none;none;none;</RingingClick>
|
||||
<CallClick>none;none;voldown;volup;none;</CallClick>
|
||||
<DesktopLongPress>status;none;none;none;reset;</DesktopLongPress>
|
||||
<DialerConfSoftkey>contact;clogs;redial;video;cancel;</DialerConfSoftkey>
|
||||
|
|
@ -2477,6 +2591,8 @@
|
|||
<dm>
|
||||
<OnhookTime>120</OnhookTime>
|
||||
<EnableHookflash>0</EnableHookflash>
|
||||
<KeyLongPressTime>2</KeyLongPressTime>
|
||||
<KeyLongLongPressTime>6</KeyLongLongPressTime>
|
||||
</dm>
|
||||
<vqm>
|
||||
<SessionReport>1</SessionReport>
|
||||
|
|
@ -2526,6 +2642,7 @@
|
|||
<NewMissedcallUrl></NewMissedcallUrl>
|
||||
<NewMWIUrl></NewMWIUrl>
|
||||
<NewSMSUrl></NewSMSUrl>
|
||||
<WebAuthChangedUrl></WebAuthChangedUrl>
|
||||
<at></at>
|
||||
</cti>
|
||||
<ateTest>
|
||||
|
|
@ -2597,6 +2714,9 @@
|
|||
<Port>0</Port>
|
||||
<Channel>0</Channel>
|
||||
</addr>
|
||||
<dynamic>
|
||||
<AutoExitExpires>60</AutoExitExpires>
|
||||
</dynamic>
|
||||
</mcast>
|
||||
<dsskey>
|
||||
<SelectDsskeyAction>0</SelectDsskeyAction>
|
||||
|
|
@ -2604,10 +2724,12 @@
|
|||
<FuncKeyPageNum>5</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>
|
||||
|
|
@ -2737,7 +2859,7 @@
|
|||
</log>
|
||||
<tr069>
|
||||
<TR069Tone>1</TR069Tone>
|
||||
<CPESerialNumber>00100400FV02001000000c383e42691d</CPESerialNumber>
|
||||
<CPESerialNumber></CPESerialNumber>
|
||||
<ACSServerType>1</ACSServerType>
|
||||
<EnableTR069>0</EnableTR069>
|
||||
<ACSURL>0.0.0.0</ACSURL>
|
||||
|
|
@ -2859,6 +2981,7 @@
|
|||
<DHCPOption>66</DHCPOption>
|
||||
<DHCPv6Option>0</DHCPv6Option>
|
||||
<DhcpOption120>0</DhcpOption120>
|
||||
<SaveDHCPOpion>0</SaveDHCPOpion>
|
||||
</opt>
|
||||
</ap>
|
||||
<fwCheck>
|
||||
|
|
@ -2929,5 +3052,27 @@
|
|||
<OtherPopup>1</OtherPopup>
|
||||
<EnablePortMirror>0</EnablePortMirror>
|
||||
<AutoCloseLed>0</AutoCloseLed>
|
||||
<IdleTimeFontColor>0xffffff</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>
|
||||
<SidekeyLabelLength>0</SidekeyLabelLength>
|
||||
<AppIconDisplay>1,1,1,1</AppIconDisplay>
|
||||
<DisplayProvisionprompt>0</DisplayProvisionprompt>
|
||||
<DsskeyPage1Type>0</DsskeyPage1Type>
|
||||
<DsskeyPage2Type>0</DsskeyPage2Type>
|
||||
<DsskeyPage3Type>0</DsskeyPage3Type>
|
||||
<DsskeyPage4Type>0</DsskeyPage4Type>
|
||||
<DsskeyPage5Type>0</DsskeyPage5Type>
|
||||
<DsskeyPage1XmlUrl></DsskeyPage1XmlUrl>
|
||||
<DsskeyPage2XmlUrl></DsskeyPage2XmlUrl>
|
||||
<DsskeyPage3XmlUrl></DsskeyPage3XmlUrl>
|
||||
<DsskeyPage4XmlUrl></DsskeyPage4XmlUrl>
|
||||
<DsskeyPage5XmlUrl></DsskeyPage5XmlUrl>
|
||||
</background>
|
||||
</sysConf>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,83 @@
|
|||
<YealinkIPPhoneDirectory>
|
||||
{foreach $contacts as $row}
|
||||
{if $smarty.get.contacts == "users" && $row.category == "users"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "groups" && $row.category == "groups"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{if $row.phone_number != ""}
|
||||
<Telephone>{$row.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$row.phone_extension}</Telephone>
|
||||
{/if}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "all"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{if $row.category == "extensions"}
|
||||
{if $row.phone_number != ""}
|
||||
<Telephone>{$row.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$row.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{else}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</DirectoryEntry>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</YealinkIPPhoneDirectory>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<root_favorite_set>
|
||||
<item id_name="localdirectory" display_name="Local Directory" priority="2" enable="0" />
|
||||
<item id_name="history" display_name="History" priority="3" enable="1" />
|
||||
<item id_name="networkcalllog" display_name="Network CallLog" priority="4" enable="0" />
|
||||
<item id_name="remotedirectory" display_name="Remote Phone Book" priority="5" enable="1" />
|
||||
<item id_name="ldap" display_name="LDAP" priority="1" enable="0" />
|
||||
<item id_name="networkdirectory" display_name="Network Directory" priority="6" enable="0" />
|
||||
</root_favorite_set>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#!version:1.0.0.1
|
||||
## The header above must appear as-is in the first line
|
||||
|
||||
include:config "y000000000124.cfg"
|
||||
include:config "{$mac}.cfg"
|
||||
|
||||
overwrite_mode = {$yealink_overwrite_mode}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -39,17 +39,17 @@ static.network.ipv6_prefix =
|
|||
##(X ranges from 1 to 5)
|
||||
##Only T5XW/T54S/T52S/T48G/T48S/T46G/T46S/T42S/T41S/T29G/T27G/T4XU Models support these parameters.
|
||||
|
||||
static.wifi.enable =
|
||||
static.wifi.1.label =
|
||||
static.wifi.1.ssid =
|
||||
static.wifi.1.priority =
|
||||
static.wifi.1.security_mode =
|
||||
static.wifi.1.cipher_type =
|
||||
static.wifi.1.password =
|
||||
static.wifi.1.eap_type =
|
||||
static.wifi.1.eap_user_name =
|
||||
static.wifi.1.eap_password =
|
||||
static.wifi.show_scan_prompt =
|
||||
static.wifi.enable = {$yealink_wifi_enable}
|
||||
static.wifi.1.label = {$yealink_wifi_1_label}
|
||||
static.wifi.1.ssid = {$yealink_wifi_1_ssid}
|
||||
static.wifi.1.priority = {$yealink_wifi_1_priority}
|
||||
static.wifi.1.security_mode = {$yealink_wifi_1_security}
|
||||
static.wifi.1.cipher_type = {$yealink_wifi_1_cipher}
|
||||
static.wifi.1.password = {$yealink_wifi_1_password}
|
||||
static.wifi.1.eap_type = {$yealink_wifi_1_type}
|
||||
static.wifi.1.eap_user_name = {$yealink_wifi_1_username}
|
||||
static.wifi.1.eap_password = {$yealink_wifi_1_password}
|
||||
static.wifi.show_scan_prompt = {$yealink_wifi_scan_prompt}
|
||||
|
||||
##V83 Add
|
||||
static.wifi.function.enable =
|
||||
|
|
@ -73,8 +73,6 @@ static.network.wifi.ipv6_static_dns_enable=
|
|||
static.network.wifi.ipv6_primary_dns=
|
||||
static.network.wifi.ipv6_secondary_dns=
|
||||
static.network.wifi.ipv6_icmp_v6.enable=
|
||||
|
||||
|
||||
#######################################################################################
|
||||
## Network Internet ##
|
||||
#######################################################################################
|
||||
|
|
@ -136,7 +134,10 @@ static.network.vlan.vlan_change.enable =
|
|||
|
||||
static.network.vlan.pc_port_priority = {$yealink_vlan_pc_cos}
|
||||
static.network.vlan.pc_port_vid = {$yealink_vlan_pc_id}
|
||||
static.network.vlan.pc_port_enable =
|
||||
|
||||
{if isset($yealink_vlan_pc_enable)}static.network.vlan.pc_port_enable = {$yealink_vlan_pc_enable}{else}static.network.vlan.pc_port_enable = 0{/if}
|
||||
|
||||
#static.network.vlan.pc_port_enable =
|
||||
|
||||
static.network.vlan.internet_port_priority = {$yealink_vlan_cos}
|
||||
static.network.vlan.internet_port_vid = {$yealink_vlan_id}
|
||||
|
|
@ -686,7 +687,7 @@ phone_setting.early_media.rtp_sniffer.timeout=
|
|||
sip.reg_surge_prevention =
|
||||
|
||||
################################################################
|
||||
# V84 new add 配合sip.escape_characters.enable=使用 ##
|
||||
# V84 new add sip.escape_characters.enable= ##
|
||||
################################################################
|
||||
sip.reserve_characters=
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.1.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.1.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
@ -574,7 +574,7 @@ bw.virtual_user.1.xsi.user=
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.2.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.2.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
@ -1142,7 +1142,7 @@ account.2.acd.call_information=
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.3.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.3.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
@ -1710,7 +1710,7 @@ account.3.acd.call_information=
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.4.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.4.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
@ -2278,7 +2278,7 @@ account.4.acd.call_information=
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.5.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.5.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
@ -2846,7 +2846,7 @@ account.5.acd.call_information=
|
|||
#######################################################################################
|
||||
## Transfer ##
|
||||
#######################################################################################
|
||||
account.6.phone_setting.call_appearance.transfer_via_new_linekey=
|
||||
account.6.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}
|
||||
|
||||
|
||||
#######################################################################################
|
||||
|
|
|
|||
|
|
@ -0,0 +1,83 @@
|
|||
<YealinkIPPhoneDirectory>
|
||||
{foreach $contacts as $row}
|
||||
{if $smarty.get.contacts == "users" && $row.category == "users"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "groups" && $row.category == "groups"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{if $row.phone_number != ""}
|
||||
<Telephone>{$row.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$row.phone_extension}</Telephone>
|
||||
{/if}
|
||||
</DirectoryEntry>
|
||||
{elseif $smarty.get.contacts == "all"}
|
||||
<DirectoryEntry>
|
||||
{if $row.contact_name_given != ""}
|
||||
{if $row.contact_organization != ""}
|
||||
<Name>{$row.contact_organization} {$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{else}
|
||||
<Name>{$row.contact_name_given} {$row.contact_name_family}</Name>
|
||||
{/if}
|
||||
{else}
|
||||
<Name>{$row.effective_caller_id_name}</Name>
|
||||
{/if}
|
||||
{if $row.category == "extensions"}
|
||||
{if $row.phone_number != ""}
|
||||
<Telephone>{$row.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$row.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{else}
|
||||
{foreach $row.numbers as $number}
|
||||
{if $number.phone_number != ""}
|
||||
<Telephone>{$number.phone_number}</Telephone>
|
||||
{else}
|
||||
<Telephone>{$number.phone_extension}</Telephone>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</DirectoryEntry>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</YealinkIPPhoneDirectory>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<root_favorite_set>
|
||||
<item id_name="localdirectory" display_name="Local Directory" priority="2" enable="0" />
|
||||
<item id_name="history" display_name="History" priority="3" enable="1" />
|
||||
<item id_name="networkcalllog" display_name="Network CallLog" priority="4" enable="0" />
|
||||
<item id_name="remotedirectory" display_name="Remote Phone Book" priority="5" enable="1" />
|
||||
<item id_name="ldap" display_name="LDAP" priority="1" enable="0" />
|
||||
<item id_name="networkdirectory" display_name="Network Directory" priority="6" enable="0" />
|
||||
</root_favorite_set>
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#!version:1.0.0.1
|
||||
## The header above must appear as-is in the first line
|
||||
|
||||
include:config "y000000000095.cfg"
|
||||
include:config "{$mac}.cfg"
|
||||
|
||||
overwrite_mode = {$yealink_overwrite_mode}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue