Fanvil H5 Template Update {$mac}.cfg (#5299)

This commit is contained in:
Len
2020-06-11 00:55:39 -04:00
committed by GitHub
parent 73fd112e0c
commit 4b405f6b9b

View File

@@ -6,8 +6,8 @@
<WAN_IP></WAN_IP>
<WAN_Subnet_Mask></WAN_Subnet_Mask>
<WAN_Gateway></WAN_Gateway>
<PrimaryDNS>{if isset($dns_server_primary)}{$dns_server_primary}{else}8.8.8.8{/if}</PrimaryDNS>
<SecondaryDNS>{if isset($dns_server_secondary)}{$dns_server_secondary}{else}202.96.134.133{/if}</SecondaryDNS>
<PrimaryDNS>{if isset($dns_server_primary)}{$dns_server_primary}{else}9.9.9.9{/if}</PrimaryDNS>
<SecondaryDNS>{if isset($dns_server_secondary)}{$dns_server_secondary}{else}8.8.8.8{/if}</SecondaryDNS>
<Enable_DHCP>1</Enable_DHCP>
<Use_Vendor_Class_ID>0</Use_Vendor_Class_ID>
<Vendor_Class_ID>Fanvil H5</Vendor_Class_ID>
@@ -18,13 +18,14 @@
<Enable_PPPoE>0</Enable_PPPoE>
<RTP_Initial_Port>10000</RTP_Initial_Port>
<RTP_Port_Quantity>200</RTP_Port_Quantity>
<SNTP_Server>time.nist.gov</SNTP_Server>
<Second_SNTP_Server>pool.ntp.org</Second_SNTP_Server>
<SNTP_Server>{$ntp_server_primary}</SNTP_Server>
<Second_SNTP_Server>{$ntp_server_secondary}</Second_SNTP_Server>
<Enable_SNTP>1</Enable_SNTP>
<Time_Zone>32</Time_Zone>
<Location>1</Location>
<Time_Zone_Name>UTC+8</Time_Zone_Name>
<Enable_DST>1</Enable_DST>
<Time_Zone>{$fanvil_time_zone}</Time_Zone>
<Location>{$fanvil_location}</Location>
<Time_Zone_Name>{$fanvil_time_zone_name}</Time_Zone_Name>
<Enable_DST>{$fanvil_enable_dst}</Enable_DST>
<DST_Fixed_Type>2</DST_Fixed_Type>
<SNTP_Timeout>60</SNTP_Timeout>
<DST_Min_Offset>60</DST_Min_Offset>
@@ -69,23 +70,23 @@
<IP_Change_Url></IP_Change_Url>
<Idle_to_Busy_Url></Idle_to_Busy_Url>
<Busy_to_Idle_Url></Busy_to_Idle_Url>
<Hotel_Name></Hotel_Name>
<Floor_Addr></Floor_Addr>
<Room_No></Room_No>
<Hotel_Name>{$fanvil_hotel_name}</Hotel_Name>
<Floor_Addr>{$fanvil_hotel_floor_number}</Floor_Addr>
<Room_No>{$fanvil_hotel_room_number}</Room_No>
<Redial_Out_Of_Time>0</Redial_Out_Of_Time>
<Hotel_Address></Hotel_Address>
<Hotel_Address>{$fanvil_hotel_address}</Hotel_Address>
<Addr_Font>2</Addr_Font>
<Addr_Format>2</Addr_Format>
<Hotel_Tel></Hotel_Tel>
<Hotel_Tel>{$fanvil_hotel_tel_number}</Hotel_Tel>
<Tel_Font>2</Tel_Font>
<Tel_Format>2</Tel_Format>
<Hotel_First_line></Hotel_First_line>
<Hotel_First_line>{$fanvil_hotel_first_text}</Hotel_First_line>
<First_line_Format>2</First_line_Format>
<Hotel_Second_line></Hotel_Second_line>
<Hotel_Second_line>{$fanvil_hotel_second_text}</Hotel_Second_line>
<Second_line__Format>2</Second_line__Format>
<Hotel_Third_line></Hotel_Third_line>
<Hotel_Third_line>{$fanvil_hotel_third_text}</Hotel_Third_line>
<Third_line_Format>2</Third_line_Format>
<Hotel_Four_line></Hotel_Four_line>
<Hotel_Four_line>{$fanvil_hotel_fourth_text}</Hotel_Four_line>
<Four_line_Format>2</Four_line_Format>
<Line_Font>2</Line_Font>
<Font_colour>1</Font_colour>
@@ -104,7 +105,6 @@
<Dial_by_Timeout>1</Dial_by_Timeout>
<Dial_Timeout_value>5</Dial_Timeout_value>
<Dialpeer_With_Line>0</Dialpeer_With_Line>
<Accept_Any_Call>1</Accept_Any_Call>
<IP_Dial_Prefix>.</IP_Dial_Prefix>
<Auto_Switch_Call>0</Auto_Switch_Call>
<Port_Config>
@@ -172,6 +172,7 @@
<Enable_MWI_Tone>1</Enable_MWI_Tone>
<Play_Egress_DTMF>2</Play_Egress_DTMF>
<Onhook_Time>120</Onhook_Time>
<Enable_Hookflash>0</Enable_Hookflash>
<G729_Payload_Len>1</G729_Payload_Len>
<G723_Bit_Rate>1</G723_Bit_Rate>
<G722_Timestamps>0</G722_Timestamps>
@@ -185,6 +186,7 @@
<Sidetone_GAIN>3</Sidetone_GAIN>
<RTP_Keep_Alive>0</RTP_Keep_Alive>
<Region_type>0</Region_type>
<RTCP_Interval>5000</RTCP_Interval>
<Port_Config>
<Port_Config_Entry>
<ID>P1</ID>
@@ -276,30 +278,36 @@
<SMS_Ring_Enabled>1</SMS_Ring_Enabled>
<CSTA_Enable>0</CSTA_Enable>
<Strict_UA_Match>0</Strict_UA_Match>
<Transaction_TimerT1>500</Transaction_TimerT1>
<Transaction_TimerT2>4000</Transaction_TimerT2>
<Transaction_TimerT4>5000</Transaction_TimerT4>
<SIP_Line_List>
<SIP_Line_List_Entry>
<ID>SIP1</ID>
<Phone_Number></Phone_Number>
<Display_Name></Display_Name>
<Sip_Name></Sip_Name>
<Register_Addr></Register_Addr>
<Register_Port>5060</Register_Port>
<Register_User></Register_User>
<Register_Pswd></Register_Pswd>
<Register_TTL>3600</Register_TTL>
<Phone_Number>{$account.1.user_id}</Phone_Number>
<Display_Name>{$account.1.display_name}</Display_Name>
<Sip_Name>{$fanvil_server_name}</Sip_Name>
<Register_Addr>{$account.1.server_address}</Register_Addr>
<Register_Port>{$account.1.sip_port}</Register_Port>
<Register_User>{$account.1.auth_id}</Register_User>
<Register_Pswd>{$account.1.password}</Register_Pswd>
<Register_TTL>{$account.1.register_expires}</Register_TTL>
<Backup_Addr></Backup_Addr>
<Backup_Port>5060</Backup_Port>
<Backup_Transpo>0</Backup_Transpo>
<Backup_TTL>3600</Backup_TTL>
<Backup_Mode>0</Backup_Mode>
<Enable_Reg>0</Enable_Reg>
<Proxy_Addr></Proxy_Addr>
<Proxy_Port>5060</Proxy_Port>
<Proxy_User></Proxy_User>
<Proxy_Pswd></Proxy_Pswd>
<BakProxy_Addr></BakProxy_Addr>
<BakProxy_Port>5060</BakProxy_Port>
<Enable_Failbac>0</Enable_Failbac>
<Enable_Reg>{if isset($account.1.password)}1{else}0{/if}</Enable_Reg>
<Proxy_Addr>{$account.1.outbound_proxy_primary}</Proxy_Addr>
<Proxy_Port>{$account.1.sip_port}</Proxy_Port>
<Proxy_User>{$account.1.auth_id}</Proxy_User>
<Proxy_Pswd>{$account.1.password}</Proxy_Pswd>
<BakProxy_Addr>{$account.1.outbound_proxy_secondary}</BakProxy_Addr>
<BakProxy_Port>{$account.1.sip_port}</BakProxy_Port>
<Enable_Failbac>1</Enable_Failbac>
<Failback_Hold>1</Failback_Hold>
<Failback_Inter>1800</Failback_Inter>
<Signal_Failbac>0</Signal_Failbac>
@@ -350,7 +358,13 @@
<Presence_Mode>0</Presence_Mode>
<RFC_Ver>1</RFC_Ver>
<Signal_Port>5060</Signal_Port>
<Transport>0</Transport>
{if $account.1.sip_transport == 'udp'}<Transport>0</Transport>{/if}
{if $account.1.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
{if $account.1.sip_transport == 'tls'}<Transport>2</Transport>{/if}
{if $account.1.sip_transport == 'dns srv'}<DNS_SRV>1</DNS_SRV>{/if}
{if $account.1.sip_transport == 'dns srv'}<DNS_Mode>1</DNS_Mode>{/if}
<Enable_ChgPort>1</Enable_ChgPort>
<TLS_Version>0</TLS_Version>
<Ena_sips_URI>0</Ena_sips_URI>
@@ -415,27 +429,31 @@
</SIP_Line_List_Entry>
<SIP_Line_List_Entry>
<ID>SIP2</ID>
<Phone_Number></Phone_Number>
<Display_Name></Display_Name>
<Sip_Name></Sip_Name>
<Register_Addr></Register_Addr>
<Register_Port>5060</Register_Port>
<Register_User></Register_User>
<Register_Pswd></Register_Pswd>
<Register_TTL>3600</Register_TTL>
<Phone_Number>{$account.2.user_id}</Phone_Number>
<Display_Name>{$account.2.display_name}</Display_Name>
<Sip_Name>{$fanvil_server_name}</Sip_Name>
<Register_Addr>{$account.2.server_address}</Register_Addr>
<Register_Port>{$account.2.sip_port}</Register_Port>
<Register_User>{$account.2.auth_id}</Register_User>
<Register_Pswd>{$account.2.password}</Register_Pswd>
<Register_TTL>{$account.2.register_expires}</Register_TTL>
<Backup_Addr></Backup_Addr>
<Backup_Port>5060</Backup_Port>
<Backup_Transpo>0</Backup_Transpo>
<Backup_TTL>3600</Backup_TTL>
<Backup_Mode>0</Backup_Mode>
<Enable_Reg>0</Enable_Reg>
<Proxy_Addr></Proxy_Addr>
<Proxy_Port>5060</Proxy_Port>
<Proxy_User></Proxy_User>
<Proxy_Pswd></Proxy_Pswd>
<BakProxy_Addr></BakProxy_Addr>
<BakProxy_Port>5060</BakProxy_Port>
<Enable_Failbac>0</Enable_Failbac>
<Enable_Reg>{if isset($account.2.password)}1{else}0{/if}</Enable_Reg>
<Proxy_Addr>{$account.2.outbound_proxy_primary}</Proxy_Addr>
<Proxy_Port>{$account.2.sip_port}</Proxy_Port>
<Proxy_User>{$account.2.auth_id}</Proxy_User>
<Proxy_Pswd>{$account.2.password}</Proxy_Pswd>
<BakProxy_Addr>{$account.2.outbound_proxy_secondary}</BakProxy_Addr>
<BakProxy_Port>{$account.2.sip_port}</BakProxy_Port>
<Enable_Failbac>1</Enable_Failbac>
<Failback_Hold>1</Failback_Hold>
<Failback_Inter>1800</Failback_Inter>
<Signal_Failbac>0</Signal_Failbac>
@@ -486,7 +504,13 @@
<Presence_Mode>0</Presence_Mode>
<RFC_Ver>1</RFC_Ver>
<Signal_Port>5060</Signal_Port>
<Transport>0</Transport>
{if $account.2.sip_transport == 'udp'}<Transport>0</Transport>{/if}
{if $account.2.sip_transport == 'tcp'}<Transport>1</Transport>{/if}
{if $account.2.sip_transport == 'tls'}<Transport>2</Transport>{/if}
{if $account.2.sip_transport == 'dns srv'}<DNS_SRV>1</DNS_SRV>{/if}
{if $account.2.sip_transport == 'dns srv'}<DNS_Mode>1</DNS_Mode>{/if}
<Enable_ChgPort>1</Enable_ChgPort>
<TLS_Version>0</TLS_Version>
<Ena_sips_URI>0</Ena_sips_URI>
@@ -687,10 +711,10 @@
<Fast_Keylock_Code></Fast_Keylock_Code>
<Enable_KeyLock>0</Enable_KeyLock>
<KeyLock_Status>0</KeyLock_Status>
<Emergency_Call>110</Emergency_Call>
<LCD_Title>VOIP PHONE</LCD_Title>
<Emergency_Call>{$fanvil_emergency_number}</Emergency_Call>
<LCD_Title>{$fanvil_greeting}</LCD_Title>
<LCD_Constrast>5</LCD_Constrast>
<LCD_Luminance>0</LCD_Luminance>
<LCD_Luminance>{$fanvil_hotel_lcd}</LCD_Luminance>
<Backlight_Off_Time>30</Backlight_Off_Time>
<ScrnSaver_Wait_Time>0</ScrnSaver_Wait_Time>
<Power_Led_Refresh>0</Power_Led_Refresh>
@@ -702,7 +726,9 @@
<Ringing_Power_Led>0</Ringing_Power_Led>
<Mute_Call_Power_Led>1</Mute_Call_Power_Led>
<Hold_Power_Led>0</Hold_Power_Led>
<Time_Display_Style>0</Time_Display_Style>
<Time_Display_Style>{if isset($fanvil_time_display)}1{else}0{/if}</Time_Display_Style>
<Remove_Call_Timer>0</Remove_Call_Timer>
<Phone_Model>H5</Phone_Model>
<FuncKey_Page_Num>1</FuncKey_Page_Num>
@@ -710,7 +736,7 @@
<Disable_CHN_IME>0</Disable_CHN_IME>
<Disable_Dial_Search>0</Disable_Dial_Search>
<Redial_Enter_CLog>1</Redial_Enter_CLog>
<Date_Display_Style>0</Date_Display_Style>
<Date_Display_Style>{$fanvil_date_display}</Date_Display_Style>
<Date_Separator>0</Date_Separator>
<BLF_Idle_Color>0</BLF_Idle_Color>
<BLF_Idle_Ctl>1</BLF_Idle_Ctl>
@@ -967,98 +993,62 @@
</Xml_PhoneBook_Entry>
</Xml_PhoneBook>
<Phonebook_Groups></Phonebook_Groups>
<Function_Key>
{foreach $keys["memory"] as $row}
{if $row.device_key_id <= 15}
<Function_Key_Entry>
<ID>Fkey{$row.device_key_id}</ID>
<Type>{if $row.device_key_type == 3}0{elseif $row.device_key_type == 1}2{else}1{/if}</Type>
<Value>{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}</Value>
<Title>{$row.device_key_label}</Title>
</Function_Key_Entry>
{/if}
{/foreach}
<Function_Key_Entry>
<ID>Fkey1</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>Reception</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey2</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>Service</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey3</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>Cleaning</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey4</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>WakeUp</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey5</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>Emergency</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey6</ID>
<Type>1</Type>
<Value>@1/f</Value>
<Title>Manager</Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey7</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey8</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey9</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey10</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey11</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey12</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey13</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey14</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
<Function_Key_Entry>
<ID>Fkey15</ID>
<Type>0</Type>
<Value></Value>
<Title></Title>
</Function_Key_Entry>
</Function_Key>
<Soft_Dss_Key>
<Soft_Dss_Key_Entry>
<ID>SoftFkey1</ID>
@@ -1125,6 +1115,7 @@
<Ui_Title_Color></Ui_Title_Color>
<Ui_Softkey_Color></Ui_Softkey_Color>
<Ui_List__Color>0x00$0xa9c1c9</Ui_List__Color>
<UI_ListText_Color></UI_ListText_Color>
<Ui_Balloon_Color>0x00$0x786d7e</Ui_Balloon_Color>
<Ui_Second_Color></Ui_Second_Color>
<Ui_ScrnSaver_Color>0x00$0x808080</Ui_ScrnSaver_Color>
@@ -1133,6 +1124,12 @@
<Block_XML_when_call>0</Block_XML_when_call>
<SIP_Notify_XML>1</SIP_Notify_XML>
<XML_Update_Interval>0</XML_Update_Interval>
<Hide_DSS_Icon>0</Hide_DSS_Icon>
<Notification_Popups>1</Notification_Popups>
<Time/Date_Display>1</Time/Date_Display>
<Dss_Text_Size>1</Dss_Text_Size>
</PHONE_CONFIG_MODULE>
<SCREEN_KEY_CONFIG_MODULE>
<Desktop_Softkey>history;contact;dnd;menu;</Desktop_Softkey>
@@ -1174,15 +1171,16 @@
</Line_Conf_List>
</SIP_Hotspot_MODULE>
<AUTOUPDATE_CONFIG_MODULE>
<Download_Username></Download_Username>
<Download_Password></Download_Password>
<Download_Username>{$http_auth_username}</Download_Username>
<Download_Password>{$http_auth_password}</Download_Password>
<AP_Pswd_Encryption>0</AP_Pswd_Encryption>
<Config_File_Name></Config_File_Name>
<Config_File_Key></Config_File_Key>
<Common_Cfg_File_Key></Common_Cfg_File_Key>
<Download_Server_IP></Download_Server_IP>
<Download_Protocol>0</Download_Protocol>
<Download_Mode>0</Download_Mode>
<Download_Server_IP>https://{$domain_name}/app/provision</Download_Server_IP>
<Download_Protocol>5</Download_Protocol>
<Download_Mode>1</Download_Mode>
<Download_Interval>1</Download_Interval>
<DHCP_Option>66</DHCP_Option>
<Save_DHCP_Opion>0</Save_DHCP_Opion>
@@ -1192,7 +1190,7 @@
<PNP_Port>5060</PNP_Port>
<PNP_Transport>0</PNP_Transport>
<PNP_Interval>1</PNP_Interval>
<Save_Provision_Info>0</Save_Provision_Info>
<Save_Provision_Info>1</Save_Provision_Info>
<Download_CommonConf>1</Download_CommonConf>
<Download_DeviceConf>1</Download_DeviceConf>
<Check_FailTimes>5</Check_FailTimes>
@@ -1222,7 +1220,7 @@
<Xsup_User>admin</Xsup_User>
<Xsup_Password>admin</Xsup_Password>
<Xsup_Enable>0</Xsup_Enable>
<Xsup_AuthMac>01:80:C2:00:00:03</Xsup_AuthMac>
<Xsup_AuthMac></Xsup_AuthMac>
<Xsup_UseDefaultMac>1</Xsup_UseDefaultMac>
</DOT1X_CONFIG_MODULE>
<TR069_CONFIG_MODULE>
@@ -1232,7 +1230,7 @@
<ACS_Password>admin</ACS_Password>
<CPE_UserName>dps</CPE_UserName>
<CPE_Password>dps</CPE_Password>
<CPE_SerialNumber>00100400FV02001000000c383e273f40</CPE_SerialNumber>
<CPE_SerialNumber></CPE_SerialNumber>
<ParameterKey></ParameterKey>
<RebootCommandKey></RebootCommandKey>
<DownloadCommandKey></DownloadCommandKey>
@@ -1243,7 +1241,7 @@
<Download_End_Time>0</Download_End_Time>
<TR069_Tone>0</TR069_Tone>
<Enable_TR069>0</Enable_TR069>
<TLS_Version>0</TLS_Version>
<TLS_Version>2</TLS_Version>
<Periodix_Interval>3600</Periodix_Interval>
<Area_Code>020</Area_Code>
<STUN_Enable>0</STUN_Enable>