#!version:1.0.0.1
#{$microtime}

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##

{foreach $lines as $row}

#######################################################################################
##                           Account 1 Basic Settings                                ##
#######################################################################################

{if isset($row.password) }
account.{$row.line_number}.enable = 1
{else}
account.{$row.line_number}.enable = 0
{/if}
account.{$row.line_number}.label = {$row.label}
account.{$row.line_number}.display_name = {$row.display_name}
account.{$row.line_number}.auth_name = {$row.auth_id}
{if isset($row.server.1.address)}
account.{$row.line_number}.user_name = {$row.user_id}@{$row.server_address}
{else}
account.{$row.line_number}.user_name = {$row.user_id}
{/if}
account.{$row.line_number}.password = {$row.password}
account.{$row.line_number}.outbound_proxy_enable = {if isset($row.outbound_proxy_primary)}1{else}0{/if}

account.{$row.line_number}.outbound_proxy.1.address = {$row.outbound_proxy_primary}
{if isset($outbound_proxy_1_port)}
account.{$row.line_number}.outbound_proxy.1.port = {$outbound_proxy_1_port}
{else}
account.{$row.line_number}.outbound_proxy.1.port = {$row.sip_port}
{/if}
account.{$row.line_number}.dial_tone =
account.{$row.line_number}.outbound_proxy.2.address = {$row.outbound_proxy_secondary}
{if isset($outbound_proxy_1_port)}
account.{$row.line_number}.outbound_proxy.2.port = {$outbound_proxy_2_port}
{else}
account.{$row.line_number}.outbound_proxy.2.port = {$row.sip_port}
{/if}
account.{$row.line_number}.outbound_proxy_fallback_interval = 120

##It configures the transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR
##The default value is 0.

{if $account.{$row.line_number}.sip_transport == 'udp'}account.{$row.line_number}.sip_server.1.transport_type = 0{/if}
{if $account.{$row.line_number}.sip_transport == 'tcp'}account.{$row.line_number}.sip_server.1.transport_type = 1{/if}
{if $account.{$row.line_number}.sip_transport == 'tls'}account.{$row.line_number}.sip_server.1.transport_type = 2{/if}
{if $account.{$row.line_number}.sip_transport == 'dns srv'}account.{$row.line_number}.sip_server.1.transport_type = 3{/if}

##It configures the backup server transport type for account 1. 0-UDP,1-TCP,2-TLS,3-DNS-NAPTR
##The default value is 0.

{if $account.{$row.line_number}.sip_transport == 'udp'}account.{$row.line_number}.sip_server.2.transport_type = 0{/if}
{if $account.{$row.line_number}.sip_transport == 'tcp'}account.{$row.line_number}.sip_server.2.transport_type = 1{/if}
{if $account.{$row.line_number}.sip_transport == 'tls'}account.{$row.line_number}.sip_server.2.transport_type = 2{/if}
{if $account.{$row.line_number}.sip_transport == 'dns srv'}account.{$row.line_number}.sip_server.2.transport_type = 3{/if}


#######################################################################################
##                          Failback                                                 ##
#######################################################################################

account.{$row.line_number}.naptr_build = 0
account.{$row.line_number}.fallback.redundancy_type = 0
account.{$row.line_number}.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}

{if isset($row.server.1.address)}
account.{$row.line_number}.sip_server.1.address = {$row.server.1.address}
{else}
account.{$row.line_number}.sip_server.1.address = {$row.server_address}
{/if}

account.{$row.line_number}.sip_server.1.port = {$row.sip_port}
account.{$row.line_number}.sip_server.1.expires = {$row.register_expires}
account.{$row.line_number}.sip_server.1.retry_counts = 3
account.{$row.line_number}.sip_server.1.failback_mode = 0
account.{$row.line_number}.sip_server.1.failback_timeout = 3600
account.{$row.line_number}.sip_server.1.register_on_enable = 0
account.{$row.line_number}.sip_server.2.address = {$row.server.2.address}
account.{$row.line_number}.sip_server.2.port = {$row.sip_port}
account.{$row.line_number}.sip_server.2.expires = {$row.register_expires}
account.{$row.line_number}.sip_server.2.retry_counts = 3
account.{$row.line_number}.sip_server.2.failback_mode =  0
account.{$row.line_number}.sip_server.2.failback_timeout = 3600
account.{$row.line_number}.sip_server.2.register_on_enable = 0

account.{$row.line_number}.dns_cache_type =
account.{$row.line_number}.static_cache_pri =
account.{$row.line_number}.register_expires_overlap =
account.{$row.line_number}.subscribe_expires_overlap =


#######################################################################################
##                           Register Advanced                                       ##
#######################################################################################

##It configures the SIP server type for account X.0-Default,2-BroadSoft,4-Cosmocom,6-UCAP
##The default value is 0.

account.{$row.line_number}.sip_server_type =

account.{$row.line_number}.unregister_on_reboot =
account.{$row.line_number}.proxy_require =
account.{$row.line_number}.srv_ttl_timer_enable =
account.{$row.line_number}.register_mac =
account.{$row.line_number}.register_line =
account.{$row.line_number}.reg_fail_retry_interval =


######################################################################################
##                     NAT Settings                                                 ##
######################################################################################

##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled
##The default value is 0.
account.{$row.line_number}.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}

##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X.
##0-Disabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server.
##The default value is 1.
account.{$row.line_number}.nat.udp_update_enable = 3

##It configures the keep-alive interval (in seconds) for account X.
##The default value is 30.Integer from 15 to 2147483647
account.{$row.line_number}.nat.udp_update_time = 30

##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled
##The default value is 0.
account.{$row.line_number}.nat.rport = {$yealink_rport}


#######################################################################################
##                            Account1 Advance Settings                              ##
#######################################################################################

##It configures the voice mail number for account X.
##The default value is blank.
voice_mail.number.1 = {$voicemail_number}

##Except T19P/T21P Models
account.{$row.line_number}.auto_dial_enable =
account.{$row.line_number}.auto_dial_num =

account.{$row.line_number}.call_id_mode =
account.{$row.line_number}.call_info =


#######################################################################################
##                            Subscribe                                              ##
#######################################################################################

##It enables or disables the phone to subscribe the message waiting indicator for account X.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.subscribe_mwi =

##It is configuration MWI is NOTIFY messages, whether in Terminated status attributes.
##The default value is 0(Don't handle terminated values)
account.{$row.line_number}.mwi_parse_terminated =

##It configures the interval (in seconds) of MWI subscription for account X.
##The default value is 3600.
account.{$row.line_number}.subscribe_mwi_expires =

##It enables or disables the phone to subscribe to the voice mail number for the message waiting indicator for account X.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.subscribe_mwi_to_vm =

##It configures the period (in seconds) of ACD subscription for account X.
##The default value is 1800.Except T19P/T21P Models
account.{$row.line_number}.subscribe_acd_expires=

account.{$row.line_number}.display_mwi.enable=


#######################################################################################
##                            BLF List(Except T19D Model)                            ##
#######################################################################################

##It configures the BLF List URI to monitor a list of users for account X.
##The default value is blank.
account.{$row.line_number}.blf.blf_list_uri =

##It configures the feature access code for directed call pickup (default: {$voicemail_number}) for account X.
##The default value is blank.
account.{$row.line_number}.blf_list_code =

##It configures the feature access code for directed call pickup with barge-in (default: *33) for account X.
##The default value is blank.
account.{$row.line_number}.blf_list_barge_in_code =

##It configures the period (in seconds) of the BLF subscription for account X.
##The default value is 1800.Integer from 30 to 2147483647.
account.{$row.line_number}.blf.subscribe_period =

##It configures the event of the BLF subscription for account X.0-Dialog,1-Presence.
##The default value is 0.
account.{$row.line_number}.blf.subscribe_event =

##It enables or disables the phone to handle NOTIFY messages out of the BLF dialog for account X.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.out_dialog_blf_enable =

##It configures the BLF List Retrieve call parked code for account X.
##The default value is blank
account.{$row.line_number}.blf_list_retrieve_call_parked_code =

account.{$row.line_number}.blf.match_host.enable=


#######################################################################################
##                            BLA/SCA                                                ##
#######################################################################################

##It enables or disables Broadsoft SCA feature for account X.0-Disabled,1-Broadsoft SCA.
##The default value is 0.
account.{$row.line_number}.shared_line = {$row.shared_line}

##It configures the BLA number for account X.
##The default value is blank.
account.{$row.line_number}.bla_number =

##It configures the period (in seconds) of BLA subscription for account X.
##The default value is 300.Integer from 60 to 7200
account.{$row.line_number}.bla_subscribe_period =

##Except T19P/T21P Models
##It configures the Call Pull Feature access code for account X.
##The default value is blank.
account.{$row.line_number}.shared_line_callpull_code =
##It configures number of linekey for line.
##The default value is 1,you should enable auto line keys first.
account.{$row.line_number}.number_of_linekey =
##It config whether you can retrieve the remote hold call through line key
##The default value is 1
account.{$row.line_number}.shared_line_one_touch_retrieve.enable=
##It config whether you can barge in the active call through line key
##The default value is 1
account.{$row.line_number}.shared_line_one_touch_bargein.enable =


#######################################################################################
##                            Brosoft Callpark                                       ##
#######################################################################################

##It enables or disables Broadsoft Callpark for account X.0-Disabled,1-Broadsoft SCA.
##The default value is 0.
account.{$row.line_number}.callpark_enable =


#######################################################################################
##                            Audio Codec                                            ##
#######################################################################################

account.{$row.line_number}.codec.ilbc_15_2kbps.priority= 0
account.{$row.line_number}.codec.ilbc_15_2kbps.enable= 0
account.{$row.line_number}.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}
account.{$row.line_number}.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if}
account.{$row.line_number}.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if}
account.{$row.line_number}.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}
account.{$row.line_number}.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if}
account.{$row.line_number}.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}
account.{$row.line_number}.codec.opus.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}
account.{$row.line_number}.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if}
account.{$row.line_number}.codec.opus.para=
account.{$row.line_number}.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}
account.{$row.line_number}.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}
account.{$row.line_number}.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}
account.{$row.line_number}.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}
account.{$row.line_number}.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}
account.{$row.line_number}.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}
account.{$row.line_number}.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}
account.{$row.line_number}.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if}
account.{$row.line_number}.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}
account.{$row.line_number}.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if}

account.{$row.line_number}.codec.g722_1_24kpbs.enable =
account.{$row.line_number}.codec.g722_1_24kpbs.para =
account.{$row.line_number}.codec.g722_1_24kpbs.priority =
account.{$row.line_number}.codec.g722_1_24kpbs.rtpmap =
account.{$row.line_number}.codec.g722_1_24kpbs.samplerate =

account.{$row.line_number}.codec.g722_1c_24kpbs.enable =
account.{$row.line_number}.codec.g722_1c_24kpbs.para =
account.{$row.line_number}.codec.g722_1c_24kpbs.priority =
account.{$row.line_number}.codec.g722_1c_24kpbs.rtpmap =
account.{$row.line_number}.codec.g722_1c_24kpbs.samplerate =

account.{$row.line_number}.codec.g722_1c_24kpbs.enable =
account.{$row.line_number}.codec.g722_1c_24kpbs.para =
account.{$row.line_number}.codec.g722_1c_24kpbs.priority =
account.{$row.line_number}.codec.g722_1c_24kpbs.rtpmap =
account.{$row.line_number}.codec.g722_1c_24kpbs.samplerate =

account.{$row.line_number}.codec.g722_1c_32kpbs.enable =
account.{$row.line_number}.codec.g722_1c_32kpbs.para =
account.{$row.line_number}.codec.g722_1c_32kpbs.priority =
account.{$row.line_number}.codec.g722_1c_32kpbs.rtpmap =
account.{$row.line_number}.codec.g722_1c_32kpbs.samplerate =

account.{$row.line_number}.codec.g722_1c_48kpbs.enable =
account.{$row.line_number}.codec.g722_1c_48kpbs.para =
account.{$row.line_number}.codec.g722_1c_48kpbs.priority =
account.{$row.line_number}.codec.g722_1c_48kpbs.rtpmap =
account.{$row.line_number}.codec.g722_1c_48kpbs.samplerate =


#######################################################################################
##                            Audio Advanced                                         ##
#######################################################################################

##It configures the RTP packet time for account X.0 (Disabled), 10, 20, 30, 40, 50 or 60.
##The default value is 20.
account.{$row.line_number}.ptime =


#######################################################################################
##                            Anonymous Call                                         ##
#######################################################################################

account.{$row.line_number}.send_anonymous_code =
account.{$row.line_number}.anonymous_call =
account.{$row.line_number}.anonymous_call_oncode =
account.{$row.line_number}.anonymous_call_offcode =
account.{$row.line_number}.reject_anonymous_call =
account.{$row.line_number}.anonymous_reject_oncode =
account.{$row.line_number}.anonymous_reject_offcode =
account.{$row.line_number}.send_anonymous_rejection_code =


#######################################################################################
##                            Pickup Code                                            ##
#######################################################################################

##It enables or disables the phone to pick up a call according to the SIP header of dialog-info for account X.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.dialoginfo_callpickup =

##It configures the group pickup code for account X.
##The default value is blank.
account.{$row.line_number}.group_pickup_code =

##It configures the directed pickup code for account X.
##The default value is blank.
account.{$row.line_number}.direct_pickup_code =


#######################################################################################
##                            DTMF                                                   ##
#######################################################################################

account.{$row.line_number}.dtmf.type = {$yealink_dtmf_type}
account.{$row.line_number}.dtmf.info_type =
account.{$row.line_number}.dtmf.dtmf_payload =


#######################################################################################
##                            Alert info                                             ##
#######################################################################################

##It enables or disables the distinctive ringtones by the Alert-Info SIP header for account X.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.alert_info_url_enable =
##Except T19P/T21P Models
##The default value is blank.Values range 256 characters in length
account.{$row.line_number}.alert_info =

account.{$row.line_number}.ringtone.ring_type =

###Only for T46G Model
##It enables or disables the phone to download the picture information for account X when receiving an incoming call or during a call.0-Disabled,1-Enabled.
##The default value is 0.
account.{$row.line_number}.picture_info_enable =


#######################################################################################
##                            Conference                                             ##
#######################################################################################

##It configures the conference type for account X.0-Local Conference,2-Network Conference.
##The default value is 0.
account.{$row.line_number}.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if}

##It configures the network conference URI for account X.
##The default value is blank.
account.{$row.line_number}.conf_uri = {if $nway_conference == 'true'}nway{$row.auth_id}@{$row.server_address}{/if}


#######################################################################################
##                            CID Source                                             ##
#######################################################################################

account.{$row.line_number}.cid_source = {$yealink_cid_source}
account.{$row.line_number}.cid_source_privacy = 1
account.{$row.line_number}.cid_source_ppi = 1
account.{$row.line_number}.cp_source = 2


#######################################################################################
##                            Session Timer                                          ##
#######################################################################################

account.{$row.line_number}.session_timer.enable = {$yealink_session_timer}
account.{$row.line_number}.session_timer.expires =
account.{$row.line_number}.session_timer.refresher =


#######################################################################################
##                            Music on Hold                                          ##
#######################################################################################

##It configures the way on how the phone processes Music On Hold when placing an active call on hold for account X.
##0-Calling the music server before holding
##1-Calling the music server after holding
##The default value is 0.
account.{$row.line_number}.music_on_hold_type =

##It configures the URI of the Music On Hold server for account X.
##The default value is blank.
account.{$row.line_number}.music_server_uri =


#######################################################################################
##                            Advanced                                               ##
#######################################################################################

account.{$row.line_number}.auto_answer =
account.{$row.line_number}.missed_calllog =
account.{$row.line_number}.100rel_enable = {$yealink_retransmission}
account.{$row.line_number}.enable_user_equal_phone =
account.{$row.line_number}.compact_header_enable =
account.{$row.line_number}.custom_ua =


#######################################################################################
##                                   DND(Except T19 Model)                           ##
#######################################################################################

account.{$row.line_number}.dnd.enable =
account.{$row.line_number}.dnd.on_code =
account.{$row.line_number}.dnd.off_code =


#######################################################################################
##                                 Call Forward(Except T19 Model)                    ##
#######################################################################################

account.{$row.line_number}.always_fwd.enable =
account.{$row.line_number}.always_fwd.target =
account.{$row.line_number}.always_fwd.off_code =
account.{$row.line_number}.always_fwd.on_code =
account.{$row.line_number}.busy_fwd.enable =
account.{$row.line_number}.busy_fwd.target =
account.{$row.line_number}.busy_fwd.off_code =
account.{$row.line_number}.busy_fwd.on_code =
account.{$row.line_number}.timeout_fwd.enable =
account.{$row.line_number}.timeout_fwd.target =
account.{$row.line_number}.timeout_fwd.timeout =
account.{$row.line_number}.timeout_fwd.off_code =
account.{$row.line_number}.timeout_fwd.on_code =


#######################################################################################
##                                   Voice Monitoring  (Except T19P/T21P Models)                  ##
#######################################################################################

account.{$row.line_number}.vq_rtcpxr.collector_name=
account.{$row.line_number}.vq_rtcpxr.collector_server_host=
account.{$row.line_number}.vq_rtcpxr.collector_server_port=


#######################################################################################
##         Broadsoft XSI                    ##
#######################################################################################

##It configures the user name for XSI authentication for account X.Example:account.{$row.line_number}.xsi.user = 3502@as.iop1.broadworks.net.
##The default value is blank.
account.{$row.line_number}.xsi.user =

##It configures the password for XSI authentication for account X.Example:account.{$row.line_number}.xsi.password = 123456.
##The default value is blank.
account.{$row.line_number}.xsi.password =

##It configures the access URL of the Xtended Services Platform server for account X.Example:account.{$row.line_number}.xsi.host = xsp1.iop1.broadworks.net.
##The default value is blank.
account.{$row.line_number}.xsi.host =

##It configures the server type of the Xtended Services Platform server for account X.Example:account.{$row.line_number}.xsi.server_type = http.
##The default value is http.
account.{$row.line_number}.xsi.server_type =

##It configures the server port of the Xtended Services Platform server for account X.Example:account.{$row.line_number}.xsi.port = 80.
##The default value is 80.Integer from 1 to 65535
account.{$row.line_number}.xsi.port =


#######################################################################################
##                           V80 Add                                                 ##
#######################################################################################

## Add Time 2015.6.26
account.{$row.line_number}.callerid_in_support_header.enable =
account.{$row.line_number}.acd.auto_login_enable  =
account.{$row.line_number}.outbound_proxy_fallback_interval =
account.{$row.line_number}.transfer_refer_to_contact_header.enable =
account.{$row.line_number}.sub_fail_retry_interval =
account.{$row.line_number}.update_ack_while_dialing =
account.{$row.line_number}.end_call_when_transferred.enable =
account.{$row.line_number}.nat.stun_refresh_timer =
account.{$row.line_number}.contact_take_line_param.enable =
account.{$row.line_number}.backup_outbound_host =
account.{$row.line_number}.backup_outbound_port =


#######################################################################################
##                           V80-SP2 Add                                             ##
#######################################################################################

account.{$row.line_number}.bla.notify_with_expire.enable =
account.{$row.line_number}.bla.subscribe_uri_build_type =
account.{$row.line_number}.instance_id.enable =


#######################################################################################
##                           V81 Add                                                 ##
#######################################################################################

account.{$row.line_number}.dialplan.digitmap.active.on_hook_dialing =
account.{$row.line_number}.dialplan.digitmap.apply_to.directory_dial =
account.{$row.line_number}.dialplan.digitmap.apply_to.forward =
account.{$row.line_number}.dialplan.digitmap.apply_to.on_hook_dial =
account.{$row.line_number}.dialplan.digitmap.apply_to.press_send =
account.{$row.line_number}.dialplan.digitmap.enable =
account.{$row.line_number}.dialplan.digitmap.interdigit_long_timer =
account.{$row.line_number}.dialplan.digitmap.interdigit_short_timer =
account.{$row.line_number}.dialplan.digitmap.no_match_action =
account.{$row.line_number}.dialplan.digitmap.string =

{/foreach}

#######################################################################################
##                                 Broadsoft Setting                                ##
#######################################################################################

bw.enable =

###It enables or disables feature key synchronization.
###0-Disabled,1-Enabled.
###The default value is 0.
bw.feature_key_sync = {$yealink_feature_key_sync}


#######################################################################################
##                                   Broadsoft Phonebook(Except T20P model)          ##
#######################################################################################

###It enables or disables the phone to display the group directory.
###0-Disabled,1-Enabled.
###The default value is 1.
bw_phonebook.group_enable =

###It enables or disables the phone to display the personal directory.
###0-Disabled,1-Enabled.
###The default value is 1.
bw_phonebook.personal_enable =

###It enables or disables the phone to display the group common directory.
###0-Disabled,1-Enabled.
###The default value is 1.
bw_phonebook.group_common_enable =

###It enables or disables the phone to display the enterprise directory.
###0-Disabled,1-Enabled.
###The default value is 1.
bw_phonebook.enterprise_enable =

###It enables or disables the phone to display the enterprise common directory.
###0-Disabled,1-Enabled.
###The default value is 1.
bw_phonebook.enterprise_common_enable =

###It configures the display name on the LCD screen for the enterprise common directory.
###The default value is EnterpriseCommon.
bw_phonebook.enterprise_common_displayname =

###It enables or disables BroadSoft call log feature.
###0-Disabled,1-Enabled.
###The default value is 0.
bw_phonebook.call_log_enable =

###It enables or disables custom directory feature.
###0-Disabled,1-Enabled.
###The default value is 0.
bw_phonebook.custom =

###It configures the display name on the LCD screen for the group directory.
###The default value is Group.
bw_phonebook.group_displayname =

###It configures the display name on the LCD screen for the enterprise directory.
###The default value is Enterprise.
bw_phonebook.enterprise_displayname =

###It configures the display name on the LCD screen for the personal directory.
###The default value is Personal.
bw_phonebook.personal_displayname =

bw_phonebook.group_common_displayname =

##It configures the interval (in minutes) for the phone to update the data of the BroadSoft directory from the BroadSoft server.
##The default value is 60.Integer from 2 to 43200
directory.update_time_interval =


#######################################################################################
##                                   Features Pickup(Except T20P model)              ##
#######################################################################################

##It enables or disables the phone to display the GPickup soft key when the phone is in the pre-dialing screen.
##0-Disabled,1-Enabled.
##The default value is 0.
features.pickup.group_pickup_enable =

##It configures the group call pickup code.
##The default value is blank.
features.pickup.group_pickup_code =

##It enables or disables the phone to display the DPickup soft key when the phone is in the pre-dialing screen.
##0-Disabled,1-Enabled.
##The default value is 0.
features.pickup.direct_pickup_enable =

##It configures the directed call pickup code.
##The default value is blank.
features.pickup.direct_pickup_code =

##It enables or disables the phone to display a visual alert when the monitored user receives an incoming call.
##0-Disabled,1-Enabled.
##The default value is 0.
features.pickup.blf_visual_enable =

##It enables or disables the phone to play an audio alert when the monitored user receives an incoming call.
##0-Disabled,1-Enabled.
##The default value is 0.
features.pickup.blf_audio_enable =


#######################################################################################
##                                   Call Park(Except T20P model)                    ##
#######################################################################################

###It enables or disables the phone to display the Park soft key during a call.
###0-Disabled,1-Enabled.
###The default value is 0.
features.call_park.enable =

###It enables or disables the phone to display the GPark soft key during a call.
###0-Disabled,1-Enabled.
###The default value is 0.
features.call_park.group_enable =

###It enables or disables the phone to play a warning tone when a call is parked against its line.
###0-Disabled,1-Enabled.
###The default value is 0.
features.call_park.park_ring =

###It enables or disables the phone to display a parked indicator when a call is parked against its line.
###0-Disabled,1-Enabled.
###The default value is 0.
features.call_park.park_visual_notify_enable =

features.call_park.group_park_code =
features.call_park.park_code =
features.call_park.park_mode =
features.call_park.park_retrieve_code =


#######################################################################################
##                                 Time                                              ##
#######################################################################################

##It configures the time zone.For more available time zones, refer to Time Zones on page 215.
##The default value is +8.
local_time.time_zone = {$yealink_time_zone}

##It configures the time zone name.For more available time zone names, refer to Time Zones on page 215.
##The default time zone name is China(Beijing).
local_time.time_zone_name = {$yealink_time_zone_name}

local_time.ntp_server1 = {$ntp_server_primary}
local_time.ntp_server2 = {$ntp_server_secondary}

##It configures the update interval (in seconds) when using the NTP server.
##The default value is 1000.Integer from 15 to 86400
local_time.interval =

##It enables or disables daylight saving time (DST) feature.
##0-Disabled,1-Enabled,2-Automatic.
##The default value is 2.
local_time.summer_time = {$yealink_summer_time}

##It configures the way DST works when DST feature is enabled.
##0-DST By Date ,1-DST By Week.
##The default value is 0.
local_time.dst_time_type = {$yealink_dst_type}

##It configures the start time of the DST.
##Value formats are:Month/Day/Hour (for By Date),Month/ Day of Week/ Day of Week Last in Month/ Hour of Day (for By Week)
##The default value is 1/1/0.
local_time.start_time = {$yealink_time_zone_start_time}

##It configures the end time of the DST.
##Value formats are:Month/Day/Hour (for By Date),Month/ Day of Week/ Day of Week Last in Month/ Hour of Day (for By Week)
##The default value is 12/31/23.
local_time.end_time = {$yealink_time_zone_end_time}

##It configures the offset time (in minutes).
##The default value is blank.Integer from -300 to 300
local_time.offset_time = {$yealink_time_format}

##It configures the time format.0-12 Hour,1-24 Hour.
##The default value is 1.
local_time.time_format = {$yealink_time_format}

local_time.date_format = {$yealink_date_format}

##It enables or disables the phone to update time with the offset time obtained from the DHCP server.
##It is only available to offset from GMT 0.0-Disabled,1-Enabled.
##The default value is 0.
local_time.dhcp_time = {$yealink_dhcp_time}

##It configures the phone to obtain time from NTP server or manual settings.0-Manual,1-NTP
##The default value is 1.
local_time.manual_time_enable =

##It enables or disables the phone to use manually configured NTP server preferentially.
##0-Disabled (use the NTP server obtained by DHCP preferentially),1-Enabled.
##The default value is 0.
local_time.manual_ntp_srv_prior =

auto_dst.url = {$yealink_auto_dst_url}


#######################################################################################
##                                   NETWORK                                         ##
#######################################################################################

##It configures the IP address mode.0-IPv4,1-IPv6,2-IPv4&IPv6
##The default value is 0.It takes effect after a reboot.
static.network.ip_address_mode = {$yealink_ip_address_mode}

static.network.ipv6_prefix =
static.network.ipv6_internet_port.type =
static.network.ipv6_internet_port.ip =
static.network.ipv6_internet_port.gateway =
static.network.ipv6_primary_dns =
static.network.ipv6_secondary_dns =

####Only T46G Model supports this parameter
static.network.ipv6_icmp_v6.enable =

static.network.internet_port.type =
static.network.internet_port.ip =
static.network.internet_port.mask =
static.network.internet_port.gateway =
static.network.primary_dns = {$dns_server_primary}
static.network.secondary_dns = {$dns_server_secondary}

