From d419fd38ef2714027db7132e68a2c62f24404595 Mon Sep 17 00:00:00 2001
From: chansizzle <14916599+chansizzle@users.noreply.github.com>
Date: Mon, 17 Aug 2020 15:46:58 -0600
Subject: [PATCH] Update {$mac}.cfg (#5409)
---
.../templates/provision/fanvil/x4u/{$mac}.cfg | 800 +++++++++---------
1 file changed, 383 insertions(+), 417 deletions(-)
diff --git a/resources/templates/provision/fanvil/x4u/{$mac}.cfg b/resources/templates/provision/fanvil/x4u/{$mac}.cfg
index 46d3443d92..2057dc880f 100644
--- a/resources/templates/provision/fanvil/x4u/{$mac}.cfg
+++ b/resources/templates/provision/fanvil/x4u/{$mac}.cfg
@@ -30,9 +30,9 @@
1
0
0
-
+ Fanvil X4U
- 0
+ {$fanvil_wifi_enable}
@@ -56,7 +56,7 @@
1
- 11
+ {if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}
1
0
350+440/0
@@ -883,26 +883,26 @@
5000
-
-
+ {$account.6.user_id}
+ {$account.6.display_name}
-
- 5060
-
-
- 3600
+ {$account.6.server_address}
+ {$account.6.sip_port}
+ {$account.6.auth_id}
+ {$account.6.password}
+ {$account.6.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.6.password)}1{else}0{/if}
+ {$account.6.outbound_proxy_primary}
+ {$account.6.sip_port}
+ {$account.6.auth_id}
+ {$account.6.password}
+ {$account.6.outbound_proxy_secondary}
+ {$account.6.sip_port}
+ {if isset($account.6.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -926,7 +926,7 @@
- default
+ {if isset($fanvil_ringtone_line)}{$fanvil_ringtone_line6}{else}default{/if}
2
30
0
@@ -941,14 +941,14 @@
0
1
0
- 3600
+ {$account.6.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.6.sip_transport == 'dns srv'}1{/if}
+ {if $account.6.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -957,7 +957,9 @@
1
0
5060
- 0
+ {if $account.6.sip_transport == 'udp'}0{/if}
+ {if $account.6.sip_transport == 'tcp'}1{/if}
+ {if $account.6.sip_transport == 'tls'}2{/if}
0
0
@@ -1038,26 +1040,26 @@
5000
-
-
+ {$account.7.user_id}
+ {$account.7.display_name}
-
- 5060
-
-
- 3600
+ {$account.7.server_address}
+ {$account.7.sip_port}
+ {$account.7.auth_id}
+ {$account.7.password}
+ {$account.7.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.7.password)}1{else}0{/if}
+ {$account.7.outbound_proxy_primary}
+ {$account.7.sip_port}
+ {$account.7.auth_id}
+ {$account.7.password}
+ {$account.7.outbound_proxy_secondary}
+ {$account.7.sip_port}
+ {if isset($account.7.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1081,7 +1083,7 @@
- default
+ {if isset($fanvil_ringtone_line7)}{$fanvil_ringtone_line7}{else}default{/if}
2
30
0
@@ -1096,14 +1098,14 @@
0
1
0
- 3600
+ {$account.7.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.7.sip_transport == 'dns srv'}1{/if}
+ {if $account.7.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1112,7 +1114,9 @@
1
0
5060
- 0
+ {if $account.7.sip_transport == 'udp'}0{/if}
+ {if $account.7.sip_transport == 'tcp'}1{/if}
+ {if $account.7.sip_transport == 'tls'}2{/if}
0
0
@@ -1193,26 +1197,26 @@
5000
-
-
+ {$account.8.user_id}
+ {$account.8.display_name}
-
- 5060
-
-
- 3600
+ {$account.8.server_address}
+ {$account.8.sip_port}
+ {$account.8.auth_id}
+ {$account.8.password}
+ {$account.8.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.8.password)}1{else}0{/if}
+ {$account.8.outbound_proxy_primary}
+ {$account.8.sip_port}
+ {$account.8.auth_id}
+ {$account.8.password}
+ {$account.8.outbound_proxy_secondary}
+ {$account.8.sip_port}
+ {if isset($account.8.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1236,7 +1240,7 @@
- default
+ {if isset($fanvil_ringtone_line8)}{$fanvil_ringtone_line8}{else}default{/if}
2
30
0
@@ -1251,14 +1255,14 @@
0
1
0
- 3600
+ {$account.8.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.8.sip_transport == 'dns srv'}1{/if}
+ {if $account.8.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1267,7 +1271,9 @@
1
0
5060
- 0
+ {if $account.8.sip_transport == 'udp'}0{/if}
+ {if $account.8.sip_transport == 'tcp'}1{/if}
+ {if $account.8.sip_transport == 'tls'}2{/if}
0
0
@@ -1348,26 +1354,26 @@
5000
-
-
+ {$account.9.user_id}
+ {$account.9.display_name}
-
- 5060
-
-
- 3600
+ {$account.9.server_address}
+ {$account.9.sip_port}
+ {$account.9.auth_id}
+ {$account.9.password}
+ {$account.9.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.9.password)}1{else}0{/if}
+ {$account.9.outbound_proxy_primary}
+ {$account.9.sip_port}
+ {$account.9.auth_id}
+ {$account.9.password}
+ {$account.9.outbound_proxy_secondary}
+ {$account.9.sip_port}
+ {if isset($account.9.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1391,7 +1397,7 @@
- default
+ {if isset($fanvil_ringtone_line9)}{$fanvil_ringtone_line9}{else}default{/if}
2
30
0
@@ -1406,14 +1412,14 @@
0
1
0
- 3600
+ {$account.9.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.9.sip_transport == 'dns srv'}1{/if}
+ {if $account.9.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1422,7 +1428,9 @@
1
0
5060
- 0
+ {if $account.9.sip_transport == 'udp'}0{/if}
+ {if $account.9.sip_transport == 'tcp'}1{/if}
+ {if $account.9.sip_transport == 'tls'}2{/if}
0
0
@@ -1503,26 +1511,26 @@
5000
-
-
+ {$account.10.user_id}
+ {$account.10.display_name}
-
- 5060
-
-
- 3600
+ {$account.10.server_address}
+ {$account.10.sip_port}
+ {$account.10.auth_id}
+ {$account.10.password}
+ {$account.10.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.10.password)}1{else}0{/if}
+ {$account.10.outbound_proxy_primary}
+ {$account.10.sip_port}
+ {$account.10.auth_id}
+ {$account.10.password}
+ {$account.10.outbound_proxy_secondary}
+ {$account.10.sip_port}
+ {if isset($account.10.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1546,7 +1554,7 @@
- default
+ {if isset($fanvil_ringtone_line10)}{$fanvil_ringtone_line10}{else}default{/if}
2
30
0
@@ -1561,14 +1569,14 @@
0
1
0
- 3600
+ {$account.10.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.10.sip_transport == 'dns srv'}1{/if}
+ {if $account.10.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1577,6 +1585,9 @@
1
0
5060
+ {if $account.10.sip_transport == 'udp'}0{/if}
+ {if $account.10.sip_transport == 'tcp'}1{/if}
+ {if $account.10.sip_transport == 'tls'}2{/if}
0
0
@@ -1658,26 +1669,26 @@
5000
-
-
+ {$account.11.user_id}
+ {$account.11.display_name}
-
- 5060
-
-
- 3600
+ {$account.11.server_address}
+ {$account.11.sip_port}
+ {$account.11.auth_id}
+ {$account.11.password}
+ {$account.11.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.11.password)}1{else}0{/if}
+ {$account.11.outbound_proxy_primary}
+ {$account.11.sip_port}
+ {$account.11.auth_id}
+ {$account.11.password}
+ {$account.11.outbound_proxy_secondary}
+ {$account.11.sip_port}
+ {if isset($account.11.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1701,7 +1712,7 @@
- default
+ {if isset($fanvil_ringtone_line11)}{$fanvil_ringtone_line11}{else}default{/if}
2
30
0
@@ -1716,14 +1727,14 @@
0
1
0
- 3600
+ {$account.11.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.11.sip_transport == 'dns srv'}1{/if}
+ {if $account.11.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1732,7 +1743,9 @@
1
0
5060
- 0
+ {if $account.11.sip_transport == 'udp'}0{/if}
+ {if $account.11.sip_transport == 'tcp'}1{/if}
+ {if $account.11.sip_transport == 'tls'}2{/if}
0
0
@@ -1813,26 +1826,26 @@
5000
-
-
+ {$account.12.user_id}
+ {$account.12.display_name}
-
- 5060
-
-
- 3600
+ {$account.12.server_address}
+ {$account.12.sip_port}
+ {$account.12.auth_id}
+ {$account.12.password}
+ {$account.12.register_expires}
5060
0
3600
- 0
-
- 5060
-
-
-
- 5060
- 1
+ {if isset($account.12.password)}1{else}0{/if}
+ {$account.12.outbound_proxy_primary}
+ {$account.12.sip_port}
+ {$account.12.auth_id}
+ {$account.12.password}
+ {$account.12.outbound_proxy_secondary}
+ {$account.12.sip_port}
+ {if isset($account.12.outbound_proxy_secondary)}1{else}0{/if}
1800
0
3
@@ -1856,7 +1869,7 @@
- default
+ {if isset($fanvil_ringtone_line12)}{$fanvil_ringtone_line12}{else}default{/if}
2
30
0
@@ -1871,14 +1884,14 @@
0
1
0
- 3600
+ {$account.12.register_expires}
0
0
1
0
0
- 0
- 0
+ {if $account.12.sip_transport == 'dns srv'}1{/if}
+ {if $account.12.sip_transport == 'dns srv'}1{/if}
0
0
0
@@ -1887,7 +1900,9 @@
1
0
5060
- 0
+ {if $account.12.sip_transport == 'udp'}0{/if}
+ {if $account.12.sip_transport == 'tcp'}1{/if}
+ {if $account.12.sip_transport == 'tls'}2{/if}
0
0
@@ -2110,7 +2125,7 @@
- 123
+ {if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if}
123
0
@@ -2133,11 +2148,11 @@
30
- VOIP PHONE
+ {$fanvil_greeting}
5
- 4
- 12
- 45
+ {if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if}
+ {if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if}
+ {if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if}
0
bcm911188sv
@@ -2178,19 +2193,21 @@
-
+ {if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if}
1
- 0.pool.ntp.org
- time.nist.gov
- 32
- UTC+8
+ {$ntp_server_primary}
+ {$ntp_server_secondary}
+ {$fanvil_time_zone}
+ {$fanvil_time_zone_name}
+ {$fanvil_enable_dst}
+ 2
60
- 0
- 0
+ 1
+ {if isset($fanvil_location)}{$fanvil_location}{else}4{/if}
0
- 60
+ {if isset($fanvil_dst_minute_offset)}{$fanvil_dst_minute_offset}{else}60{/if}
3
5
0
@@ -2202,16 +2219,16 @@
0
- 0
- 0
- 0
+ {if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if}
+ {if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if}
+ {if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if}
0
- 2
- history;contact;dnd;menu;
- hold;xfer;conf;end;
- accept;none;forward;reject;
+ {if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}
+ {if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}
+ {if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}
+ {if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}
end;none;none;none;
end;none;none;xfer;
hold;none;split;end;
@@ -2627,256 +2644,205 @@
Green
+
+ 2
+ SIP4
+
+ Green
+
+ {strip}{*-- Each Internal Index contains 6 keys --*}{/strip}
+
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
+ {foreach $keys["line"] as $row}
+ {if $row.device_key_id <= 6}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+ {/if}
+ {/foreach}
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
+ {foreach $keys["line"] as $row}
+ {if $row.device_key_id > 6 && $row.device_key_id <= 12}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+ {/if}
+ {/foreach}
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
+ {foreach $keys["line"] as $row}
+ {if $row.device_key_id > 12 && $row.device_key_id <= 18}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+ {/if}
+ {/foreach}
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
+ {foreach $keys["line"] as $row}
+ {if $row.device_key_id > 18 && $row.device_key_id <= 24}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+ {/if}
+ {/foreach}
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
+ {foreach $keys["line"] as $row}
+ {if $row.device_key_id > 24 && $row.device_key_id <= 30}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+ {/if}
+ {/foreach}
-
- 0
-
-
- Green
+
+
+ {foreach $keys["memory"] as $row}
+ {if $row.device_key_id <= 6}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["memory"] as $row}
+ {if $row.device_key_id > 6 && $row.device_key_id <= 12}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["memory"] as $row}
+ {if $row.device_key_id > 12 && $row.device_key_id <= 18}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["memory"] as $row}
+ {if $row.device_key_id > 18 && $row.device_key_id <= 24}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["memory"] as $row}
+ {if $row.device_key_id > 24 && $row.device_key_id <= 30}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["programmable"] as $row}
+
+ {if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}
+ {if $row.device_key_type == 3}{elseif $row.device_key_type == 1}SIP{$row.device_key_line}{else}{$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}{/if}
+ {$row.device_key_label}
+ {$row.device_key_icon}
-
+ {/foreach}
+ {strip}{*-- Each External Index contains 20 keys --*}{/strip}
+
+ {foreach $keys["expansion"] as $row}
+ {if $row.device_key_id < 20}
+
0
-
-
- Green
-
-
+ {$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["expansion"] as $row}
+ {if $row.device_key_id > 19 && $row.device_key_id < 40}
+
0
-
-
- Green
-
-
+ {$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["expansion"] as $row}
+ {if $row.device_key_id > 39 && $row.device_key_id < 60}
+
0
-
-
- Green
-
-
+ {$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["expansion"] as $row}
+ {if $row.device_key_id > 59 && $row.device_key_id < 80}
+
0
-
-
- Green
-
-
+ {$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
+
+ {foreach $keys["expansion"] as $row}
+ {if $row.device_key_id > 79 && $row.device_key_id < 100}
+
0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
-
- 0
-
-
- Green
-
+ {$row.device_key_value}@{$row.device_key_line}/{$row.device_key_type}
+ {$row.device_key_label}
+ {$row.device_key_icon}
+
+ {/if}
+ {/foreach}
+
0
@@ -2890,8 +2856,8 @@
15
- admin
- admin
+ {if isset($admin_name)}{$admin_name}{else}admin{/if}
+ {if isset($admin_password)}{$admin_password}{else}admin{/if}
10
@@ -3008,18 +2974,18 @@
0
-
-
+ {$http_auth_username}
+ {$http_auth_password}
1
- 0
+ 1
5
-
+ {if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if}
- 2
- 0
+ 5
+ 1
1
720
0
@@ -3037,27 +3003,27 @@
- 0
-
-
- 24
+ {if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if}
+ {if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if}
+ {if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if}
+ {if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if}
- 0
- 256
- 1
- 254
- 0
- 0
- 0
+ {if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if}
+ {if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if}
+ {if isset($fanvil_pc_port_vlan)}2{else}1{/if}
+ {if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if}
+ {if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if}
+ {if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if}
+ {if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if}
0
- 0
- 46
- 46
- 46
- 1
- 60
- 1
+ {if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if}
+ {if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if}
+ {if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if}
+ {if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}46{/if}
+ {if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}1{/if}
+ {if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if}
+ {if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}1{/if}
0
1
60