diff --git a/resources/templates/provision/fanvil/h5/{$mac}.cfg b/resources/templates/provision/fanvil/h5/{$mac}.cfg index 8d89ac6f2a..0697fcde38 100644 --- a/resources/templates/provision/fanvil/h5/{$mac}.cfg +++ b/resources/templates/provision/fanvil/h5/{$mac}.cfg @@ -6,8 +6,8 @@ -{if isset($dns_server_primary)}{$dns_server_primary}{else}8.8.8.8{/if} -{if isset($dns_server_secondary)}{$dns_server_secondary}{else}202.96.134.133{/if} +{if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if} +{if isset($dns_server_secondary)}{$dns_server_secondary}{else}8.8.8.8{/if} 1 0 Fanvil H5 @@ -18,13 +18,14 @@ 0 10000 200 -time.nist.gov -pool.ntp.org +{$ntp_server_primary} +{$ntp_server_secondary} 1 -32 -1 -UTC+8 -1 +{$fanvil_time_zone} +{$fanvil_location} +{$fanvil_time_zone_name} +{$fanvil_enable_dst} + 2 60 60 @@ -69,23 +70,23 @@ - - - +{$fanvil_hotel_name} +{$fanvil_hotel_floor_number} +{$fanvil_hotel_room_number} 0 - +{$fanvil_hotel_address} 2 2 - +{$fanvil_hotel_tel_number} 2 2 - +{$fanvil_hotel_first_text} 2 - +{$fanvil_hotel_second_text} 2 - +{$fanvil_hotel_third_text} 2 - +{$fanvil_hotel_fourth_text} 2 2 1 @@ -104,7 +105,6 @@ 1 5 0 -1 . 0 @@ -172,6 +172,7 @@ 1 2 120 +0 1 1 0 @@ -185,6 +186,7 @@ 3 0 0 +5000 P1 @@ -276,30 +278,36 @@ 1 0 0 +500 +4000 +5000 SIP1 - - - - -5060 - - -3600 +{$account.1.user_id} +{$account.1.display_name} +{$fanvil_server_name} +{$account.1.server_address} +{$account.1.sip_port} +{$account.1.auth_id} +{$account.1.password} +{$account.1.register_expires} + 5060 0 3600 0 -0 - -5060 - - - -5060 -0 + +{if isset($account.1.password)}1{else}0{/if} + +{$account.1.outbound_proxy_primary} +{$account.1.sip_port} +{$account.1.auth_id} +{$account.1.password} +{$account.1.outbound_proxy_secondary} +{$account.1.sip_port} +1 1 1800 0 @@ -350,7 +358,13 @@ 0 1 5060 -0 + +{if $account.1.sip_transport == 'udp'}0{/if} +{if $account.1.sip_transport == 'tcp'}1{/if} +{if $account.1.sip_transport == 'tls'}2{/if} +{if $account.1.sip_transport == 'dns srv'}1{/if} +{if $account.1.sip_transport == 'dns srv'}1{/if} + 1 0 0 @@ -415,27 +429,31 @@ SIP2 - - - - -5060 - - -3600 +{$account.2.user_id} +{$account.2.display_name} +{$fanvil_server_name} +{$account.2.server_address} +{$account.2.sip_port} +{$account.2.auth_id} +{$account.2.password} +{$account.2.register_expires} + 5060 0 3600 0 -0 - -5060 - - - -5060 -0 + +{if isset($account.2.password)}1{else}0{/if} + +{$account.2.outbound_proxy_primary} +{$account.2.sip_port} +{$account.2.auth_id} +{$account.2.password} +{$account.2.outbound_proxy_secondary} +{$account.2.sip_port} +1 + 1 1800 0 @@ -486,7 +504,13 @@ 0 1 5060 -0 + +{if $account.2.sip_transport == 'udp'}0{/if} +{if $account.2.sip_transport == 'tcp'}1{/if} +{if $account.2.sip_transport == 'tls'}2{/if} +{if $account.2.sip_transport == 'dns srv'}1{/if} +{if $account.2.sip_transport == 'dns srv'}1{/if} + 1 0 0 @@ -687,10 +711,10 @@ 0 0 -110 -VOIP PHONE +{$fanvil_emergency_number} +{$fanvil_greeting} 5 -0 +{$fanvil_hotel_lcd} 30 0 0 @@ -702,7 +726,9 @@ 0 1 0 -0 + +{if isset($fanvil_time_display)}1{else}0{/if} + 0 H5 1 @@ -710,7 +736,7 @@ 0 0 1 -0 +{$fanvil_date_display} 0 0 1 @@ -967,98 +993,62 @@ + + +{foreach $keys["memory"] as $row} +{if $row.device_key_id <= 15} + + +Fkey{$row.device_key_id} +{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} + + +{/if} +{/foreach} + + Fkey1 1 -@1/f + Reception Fkey2 1 -@1/f + Service Fkey3 1 -@1/f + Cleaning Fkey4 1 -@1/f + WakeUp Fkey5 1 -@1/f + Emergency Fkey6 1 -@1/f + Manager - -Fkey7 -0 - - - - -Fkey8 -0 - - - - -Fkey9 -0 - - - - -Fkey10 -0 - - - - -Fkey11 -0 - - - - -Fkey12 -0 - - - - -Fkey13 -0 - - - - -Fkey14 -0 - - - - -Fkey15 -0 - - - + + SoftFkey1 @@ -1125,6 +1115,7 @@ 0x00$0xa9c1c9 + 0x00$0x786d7e 0x00$0x808080 @@ -1133,6 +1124,12 @@ 0 1 0 +0 +1 + + + +1 history;contact;dnd;menu; @@ -1174,15 +1171,16 @@ - - +{$http_auth_username} +{$http_auth_password} + 0 - -0 -0 +https://{$domain_name}/app/provision +5 +1 1 66 0 @@ -1192,7 +1190,7 @@ 5060 0 1 -0 +1 1 1 5 @@ -1222,7 +1220,7 @@ admin admin 0 -01:80:C2:00:00:03 + 1 @@ -1232,7 +1230,7 @@ admin dps dps -00100400FV02001000000c383e273f40 + @@ -1243,7 +1241,7 @@ 0 0 0 -0 +2 3600 020 0