Added many variables to the template. (#5449)

This commit is contained in:
chansizzle 2020-09-11 10:48:22 -06:00 committed by GitHub
parent 56e56aa6f9
commit 002da38d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 51 additions and 51 deletions

View File

@ -30,7 +30,7 @@
<DHCP6AutoDNS>1</DHCP6AutoDNS>
<DHCP6AutoTime>0</DHCP6AutoTime>
<UseVendor6ClassID>0</UseVendor6ClassID>
<Vendor6ClassID></Vendor6ClassID>
<Vendor6ClassID>Fanvil X3SG</Vendor6ClassID>
</net>
<mm>
<ILBCPayloadType></ILBCPayloadType>
@ -50,7 +50,7 @@
<RTPRelay></RTPRelay>
<RTCPCNAMEUser></RTCPCNAMEUser>
<RTCPCNAMEHost></RTCPCNAMEHost>
<SelectYourTone></SelectYourTone>
<SelectYourTone>{if isset($fanvil_country_toneset)}{$fanvil_country_toneset}{else}11{/if}</SelectYourTone>
<SidetoneGAIN></SidetoneGAIN>
<PlayEgressDTMF></PlayEgressDTMF>
<DialTone></DialTone>
@ -774,8 +774,8 @@
<CallerNameType>0</CallerNameType>
<MuteForRing>0</MuteForRing>
<AutoHandleVideo>0</AutoHandleVideo>
<DefaultAnsMode>1</DefaultAnsMode>
<DefaultDialMode>1</DefaultDialMode>
<DefaultAnsMode>{$fanvil_default_answer_mode}</DefaultAnsMode>
<DefaultDialMode>{$fanvil_default_dial_mode}</DefaultDialMode>
<HoldToTransfer>0</HoldToTransfer>
<EnablePreDial>1</EnablePreDial>
<DefaultExtLine>1</DefaultExtLine>
@ -815,12 +815,12 @@
<alertInfo index="1">
<Text></Text>
<Line>-1</Line>
<RingType>Type 1</RingType>
<RingType>{if isset($fanvil_default_ringtone_ext)}{$fanvil_default_ringtone_ext}{else}Type 1{/if}</RingType>
</alertInfo>
<alertInfo index="2">
<Text></Text>
<Line>-1</Line>
<RingType>Type 1</RingType>
<RingType>{if isset($fanvil_default_ringtone_ext2)}{$fanvil_default_ringtone_ext2}{else}Type 1{/if}</RingType>
</alertInfo>
<alertInfo index="3">
<Text></Text>
@ -864,7 +864,7 @@
</alertInfo>
</call>
<timePlan>
<MenuPassword>123</MenuPassword>
<MenuPassword>{if isset($fanvil_menu_password)}{$fanvil_menu_password}{else}123{/if}</MenuPassword>
<KeyLockPassword>123</KeyLockPassword>
<FastKeylockCode></FastKeylockCode>
<EnableKeyLock>0</EnableKeyLock>
@ -891,11 +891,11 @@
<PickupAudioAlert>0</PickupAudioAlert>
<PickupRingType></PickupRingType>
<display>
<LCDTitle>VOIP PHONE</LCDTitle>
<LCDTitle>{$fanvil_greeting}</LCDTitle>
<LCDConstrast>5</LCDConstrast>
<EnableEnergysaving>4</EnableEnergysaving>
<LCDLuminanceLevel>12</LCDLuminanceLevel>
<BacklightOffTime>45</BacklightOffTime>
<EnableEnergysaving>{if isset($fanvil_display_brightness_inactive)}{$fanvil_display_brightness_inactive}{else}4{/if}</EnableEnergysaving>
<LCDLuminanceLevel>{if isset($fanvil_display_brightness_active)}{$fanvil_display_brightness_active}{else}12{/if}</LCDLuminanceLevel>
<BacklightOffTime>{if isset($fanvil_display_inactivity_time)}{$fanvil_display_inactivity_time}{else}45{/if}</BacklightOffTime>
<DisableCHNIME>0</DisableCHNIME>
<PhoneModel></PhoneModel>
<HostName>dvf97</HostName>
@ -947,7 +947,7 @@
<HandFreeVol></HandFreeVol>
<HandFreeMicVol></HandFreeMicVol>
<HandFreeRingVol></HandFreeRingVol>
<RingType></RingType>
<RingType>{if isset($fanvil_default_ringtone)}{$fanvil_default_ringtone}{else}Type 1{/if}</RingType>
</volume>
<date>
<EnableSNTP>{if isset($fanvil_enable_sntp)}{$fanvil_enable_sntp}{else}1{/if}</EnableSNTP>
@ -973,16 +973,16 @@
</date>
<timeDisplay>
<EnableTimeDisplay>0</EnableTimeDisplay>
<TimeDisplayStyle>0</TimeDisplayStyle>
<DateDisplayStyle>0</DateDisplayStyle>
<DateSeparator>0</DateSeparator>
<TimeDisplayStyle>{if isset($fanvil_time_display)}{$fanvil_time_display}{else}0{/if}</TimeDisplayStyle>
<DateDisplayStyle>{if isset($fanvil_date_display)}{$fanvil_date_display}{else}6{/if}</DateDisplayStyle>
<DateSeparator>{if isset($fanvil_date_separator)}{$fanvil_date_separator}{else}0{/if}</DateSeparator>
</timeDisplay>
<softkey>
<SoftkeyMode>0</SoftkeyMode>
<SoftKeyExitStyle>2</SoftKeyExitStyle>
<DesktopSoftkey>history;contact;dnd;menu;</DesktopSoftkey>
<TalkingSoftkey>hold;xfer;conf;end;</TalkingSoftkey>
<RingingSoftkey>accept;none;forward;reject;</RingingSoftkey>
<SoftKeyExitStyle>{if isset($fanvil_softkey_exit)}{$fanvil_softkey_exit}{else}2{/if}</SoftKeyExitStyle>
<DesktopSoftkey>{if isset($fanvil_softkey_desktopsoftkey)}{$fanvil_softkey_desktopsoftkey}{else}history;contact;dnd;menu;{/if}</DesktopSoftkey>
<TalkingSoftkey>{if isset($fanvil_softkey_talkingsoftkey)}{$fanvil_softkey_talkingsoftkey}{else}hold;xfer;conf;end;{/if}</TalkingSoftkey>
<RingingSoftkey>{if isset($fanvil_softkey_ringingsoftkey)}{$fanvil_softkey_ringingsoftkey}{else}accept;none;forward;reject;{/if}</RingingSoftkey>
<AlertingSoftkey>end;none;none;none;</AlertingSoftkey>
<XAlertingSoftkey>end;none;none;xfer;</XAlertingSoftkey>
<ConferenceSoftkey>hold;none;split;end;</ConferenceSoftkey>
@ -992,7 +992,7 @@
<DialerCallSoftkey>send;2aB;delete;exit;</DialerCallSoftkey>
<DialerXferSoftkey>delete;xfer;send;exit;</DialerXferSoftkey>
<DialerCfwdSoftkey>send;2aB;delete;exit;</DialerCfwdSoftkey>
<DesktopClick>history;status;none;none;none;</DesktopClick>
<DesktopClick>{if isset($fanvil_softkey_desktopclick)}{$fanvil_softkey_desktopclick}{else}history;status;none;none;none;{/if}</DesktopClick>
<DailerClick>pline;nline;none;none;none;</DailerClick>
<RingingClick>none;none;none;none;none;</RingingClick>
<CallClick>none;none;none;none;none;</CallClick>
@ -1419,8 +1419,8 @@
<TelnetPrompt></TelnetPrompt>
<LogonTimeout>15</LogonTimeout>
<account index="1">
<Name>admin</Name>
<Password>admin</Password>
<Name>{if isset($admin_name)}{$admin_name}{else}admin{/if}</Name>
<Password>{if isset($admin_password)}{$admin_password}{else}admin{/if}</Password>
<Level>10</Level>
</account>
<account index="2">
@ -1432,12 +1432,12 @@
<log>
<Level>ERROR</Level>
<Style>level,tag</Style>
<OutputDevice></OutputDevice>
<OutputDevice>{if $fanvil_syslog_enable == '1'},syslog{else}stdout{/if}</OutputDevice>
<FileName>platform.log</FileName>
<FileSize>512KB</FileSize>
<SyslogTag>platform</SyslogTag>
<SyslogServer>0.0.0.0</SyslogServer>
<SyslogServerPort>514</SyslogServerPort>
<SyslogServer>{if isset($fanvil_syslog_server)}{$fanvil_syslog_server}{else}0.0.0.0{/if}</SyslogServer>
<SyslogServerPort>{if isset($fanvil_syslog_server_port)}{$fanvil_syslog_server_port}{else}514{/if}</SyslogServerPort>
</log>
<tr069>
<TR069Tone>1</TR069Tone>
@ -1456,8 +1456,8 @@
<TLSVersion>2</TLSVersion>
<AreaCode>020</AreaCode>
<STUNEnable>0</STUNEnable>
<STUNServerAddr></STUNServerAddr>
<STUNServerPort>3478</STUNServerPort>
<STUNServerAddr>{$fanvil_stun_server}</STUNServerAddr>
<STUNServerPort>{$fanvil_stun_port}</STUNServerPort>
<STUNLocalPort>30000</STUNLocalPort>
</tr069>
<hotspot>
@ -1505,18 +1505,18 @@
<AutoServerDigest>0</AutoServerDigest>
</mt>
<ap>
<DefaultUsername></DefaultUsername>
<DefaultPassword></DefaultPassword>
<DefaultUsername>{$http_auth_username}</DefaultUsername>
<DefaultPassword>{$http_auth_password}</DefaultPassword>
<InputCfgFileName></InputCfgFileName>
<DeviceCfgFileKey></DeviceCfgFileKey>
<CommonCfgFileKey></CommonCfgFileKey>
<DownloadCommonConf>1</DownloadCommonConf>
<SaveProvisionInfo>0</SaveProvisionInfo>
<CheckFailTimes>5</CheckFailTimes>
<FlashServerIP></FlashServerIP>
<FlashFileName></FlashFileName>
<FlashProtocol>2</FlashProtocol>
<FlashMode>0</FlashMode>
<FlashServerIP>{if isset($fanvil_provision_url)}{$fanvil_provision_url}{else}https://{$domain_name}/app/provision{/if}</FlashServerIP>
<FlashFileName>{$fanvil_firmware_config}</FlashFileName>
<FlashProtocol>5</FlashProtocol>
<FlashMode>1</FlashMode>
<FlashInterval>1</FlashInterval>
<updatePBInterval>720</updatePBInterval>
<APPswdEncryption>0</APPswdEncryption>
@ -1534,27 +1534,27 @@
</opt>
</ap>
<fwCheck>
<EnableAutoUpgrade>0</EnableAutoUpgrade>
<UpgradeServer1></UpgradeServer1>
<UpgradeServer2></UpgradeServer2>
<AutoUpgradeInterval>24</AutoUpgradeInterval>
<EnableAutoUpgrade>{if isset($fanvil_enable_auto_upgrade)}{$fanvil_enable_auto_upgrade}{else}0{/if}</EnableAutoUpgrade>
<UpgradeServer1>{if isset($fanvil_firmware_upgrade_server_1)}{$fanvil_firmware_upgrade_server_1}{else}{/if}</UpgradeServer1>
<UpgradeServer2>{if isset($fanvil_firmware_upgrade_server_2)}{$fanvil_firmware_upgrade_server_2}{else}{/if}</UpgradeServer2>
<AutoUpgradeInterval>{if isset($fanvil_firmware_upgrade_interval)}{$fanvil_firmware_upgrade_interval}{else}24{/if}</AutoUpgradeInterval>
</fwCheck>
<qos>
<EnableVLAN>0</EnableVLAN>
<VLANID>256</VLANID>
<EnablePVID>0</EnablePVID>
<PVIDValue>254</PVIDValue>
<SignallingPriority>0</SignallingPriority>
<VoicePriority>0</VoicePriority>
<VideoPriority>0</VideoPriority>
<EnableVLAN>{if isset($fanvil_enable_vlan)}{$fanvil_enable_vlan}{else}0{/if}</EnableVLAN>
<VLANID>{if isset($fanvil_lan_port_vlan)}{$fanvil_lan_port_vlan}{else}256{/if}</VLANID>
<EnablePVID>{if isset($fanvil_pc_port_vlan)}2{else}0{/if}</EnablePVID>
<PVIDValue>{if isset($fanvil_pc_port_vlan)}{$fanvil_pc_port_vlan}{else}254{/if}</PVIDValue>
<SignallingPriority>{if isset($fanvil_qos_sip)}{$fanvil_qos_sip}{else}0{/if}</SignallingPriority>
<VoicePriority>{if isset($fanvil_qos_rtp_voice)}{$fanvil_qos_rtp_voice}{else}0{/if}</VoicePriority>
<VideoPriority>{if isset($fanvil_qos_rtp_video)}{$fanvil_qos_rtp_video}{else}0{/if}</VideoPriority>
<LANPortPriority>0</LANPortPriority>
<EnablediffServ>0</EnablediffServ>
<SingallingDSCP>46</SingallingDSCP>
<VoiceDSCP>46</VoiceDSCP>
<VideoDSCP>46</VideoDSCP>
<LLDPTransmit>1</LLDPTransmit>
<LLDPRefreshTime>60</LLDPRefreshTime>
<LLDPLearnPolicy>1</LLDPLearnPolicy>
<EnablediffServ>{if isset($fanvil_enable_diffserv)}{$fanvil_enable_diffserv}{else}0{/if}</EnablediffServ>
<SingallingDSCP>{if isset($fanvil_dscp_sip)}{$fanvil_dscp_sip}{else}46{/if}</SingallingDSCP>
<VoiceDSCP>{if isset($fanvil_dscp_rtp_voice)}{$fanvil_dscp_rtp_voice}{else}46{/if}</VoiceDSCP>
<VideoDSCP>{if isset($fanvil_dscp_rtp_video)}{$fanvil_dscp_rtp_video}{else}34{/if}</VideoDSCP>
<LLDPTransmit>{if isset($fanvil_lldp_tx_enable)}{$fanvil_lldp_tx_enable}{else}0{/if}</LLDPTransmit>
<LLDPRefreshTime>{if isset($fanvil_lldp_refresh)}{$fanvil_lldp_refresh}{else}60{/if}</LLDPRefreshTime>
<LLDPLearnPolicy>{if isset($fanvil_lldp_learn)}{$fanvil_lldp_learn}{else}0{/if}</LLDPLearnPolicy>
<LLDPSaveLearnData>0</LLDPSaveLearnData>
<CDPEnable>0</CDPEnable>
<CDPRefreshTime>60</CDPRefreshTime>