#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U/T42U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2/T31/T31P/T31G: X ranges from 1 to 2.)##
##T33P/T33G :X ranges from 1 to 4
##T30/T30P Not Support
#######################################################################################
##                                   Transfer                                        ##       
#######################################################################################
account.1.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}


#######################################################################################
##                                   Conference                                      ##       
#######################################################################################
account.1.phone_setting.call_appearance.conference_via_new_linekey=


###V85##
account.X.networkconf_type=

#######################################################################################
##                                   Anonymous                                       ##       
#######################################################################################
account.1.anonymous_call.server_base_only =
account.1.send_anonymous_rejection_code =
account.1.anonymous_reject_offcode =
account.1.anonymous_reject_oncode =
account.1.reject_anonymous_call=
account.1.anonymous_call_offcode =
account.1.anonymous_call_oncode =
account.1.anonymous_call =
account.1.send_anonymous_code =



#######################################################################################
##                          Call Configuration                                       ##       
#######################################################################################
account.1.music_server_uri=
account.1.music_on_hold_type=
account.1.auto_label.rule=
account.1.auto_label.enable=
account.1.number_of_linekey=
account.1.phone_setting.call_appearance.calls_per_linekey=


#######################################################################################
##                                    Codec                                          ##       
#######################################################################################
account.1.codec.ilbc_15_2kbps.priority=
account.1.codec.ilbc_15_2kbps.enable=

account.1.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}

account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_ilbc_enable) && $yealink_codec_ilbc_enable}1{else}0{/if}

account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable) && $yealink_codec_pcma_enable}1{else}{0}{/if}

account.1.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}

account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable) && $yealink_codec_pcmu_enable}1{else}{0}{/if}

account.1.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}

account.1.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}

account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable) && $yealink_codec_opus_enable}1{else}0{/if}

account.1.codec.opus.para= 106

account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable) && $yealink_codec_g726_40_enable}1{else}0{/if}

account.1.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}

account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable) && $yealink_codec_g726_32_enable}1{else}0{/if}

account.1.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}

account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable) && $yealink_codec_g726_24_enable}1{else}0{/if}

account.1.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}

account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable) && $yealink_codec_g726_16_enable}1{else}0{/if}

account.1.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}

account.1.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}

account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable) && $yealink_codec_g723_63_enable}1{else}0{/if}

account.1.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}

account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable) && $yealink_codec_g723_53_enable}1{else}{0}{/if}

account.1.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}

account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable) && $yealink_codec_g729_enable}1{else}0{/if}

account.1.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}

account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable) && $yealink_codec_g722_enable}1{else}0{/if}

account.1.codec.G722_1_24kpbs.priority=
account.1.codec.G722_1_24kpbs.enable=
account.1.codec.G722_1c_24kpbs.priority=
account.1.codec.G722_1c_24kpbs.enable=
account.1.codec.G722_1c_32kpbs.priority=
account.1.codec.G722_1c_32kpbs.enable=
account.1.codec.G722_1c_48kpbs.priority=
account.1.codec.G722_1c_48kpbs.enable=

################################################################
#                      Account Register                       ##
################################################################
{if isset($account.1.password) }
account.1.enable = 1
{else}
account.1.enable = 0
{/if}
account.1.label = {$account.1.label}
account.1.display_name = {$account.1.display_name}
account.1.auth_name = {$account.1.auth_id}

{if isset($account.1.server.1.address)}
account.1.user_name = {$account.1.user_id}@{$account.1.server_address}
{else}
account.1.user_name = {$account.1.user_id}
{/if}

account.1.password = {$account.1.password}

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

account.1.sip_server_port = {$account.1.sip_port}


#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{if $account.1.sip_transport == 'udp'}account.1.sip_server.1.transport_type = 0{/if}
{if $account.1.sip_transport == 'tcp'}account.1.sip_server.1.transport_type = 1{/if}
{if $account.1.sip_transport == 'tls'}account.1.sip_server.1.transport_type = 2{/if}
{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.1.transport_type = 3{/if}

account.1.sip_server.1.expires=  {$account.1.register_expires}
account.1.sip_server.1.retry_counts= 3

account.1.sip_server.2.address= {$account.1.server.2.address}
account.1.sip_server.2.port= {$account.1.sip_port}

#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.1.sip_transport == 'udp'}account.1.sip_server.2.transport_type = 0{/if}
{if $account.1.sip_transport == 'tcp'}account.1.sip_server.2.transport_type = 1{/if}
{if $account.1.sip_transport == 'tls'}account.1.sip_server.2.transport_type = 2{/if}
{if $account.1.sip_transport == 'dns srv'}account.1.sip_server.2.transport_type = 3{/if}

account.1.sip_server.2.expires= {$account.1.register_expires}
account.1.sip_server.2.retry_counts= 3

account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/if}

account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary}
account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.1.outbound_proxy.1.port = {$outbound_proxy_1_port}
{else}
account.1.outbound_proxy.1.port = {$account.1.sip_port}
{/if}

account.1.outbound_proxy.2.address= {$account.1.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.1.outbound_proxy.2.port = {$outbound_proxy_2_port}
{else}
account.1.outbound_proxy.2.port = {$account.1.sip_port}
{/if}

account.1.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval}

account.1.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if}



################################################################
#                      Account Basic                          ##
################################################################
account.1.auto_answer=

################################################################
#                      Account Advanced                       ##
################################################################
account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""}
account.1.nat.udp_update_time = 30
account.1.nat.rport= {$yealink_rport}

account.1.dtmf.type= {$yealink_dtmf_type}
account.1.dtmf.info_type=
account.1.dtmf.dtmf_payload=
account.1.100rel_enable=

account.1.subscribe_register=
account.1.cid_source= {$yealink_cid_source}
account.1.enable_user_equal_phone=
account.1.srtp_encryption= {$yealink_srtp_encryption}
account.1.ptime=
account.1.register_line=
account.1.register_mac=
account.1.reg_fail_retry_interval=
account.1.unregister_on_reboot=

account.1.session_timer.refresher=
account.1.session_timer.expires=
account.1.session_timer.enable= {$yealink_session_timer}

account.1.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if}
account.1.sip_server_type=

##V83 Add
account.1.srtp.unencrypted_rtcp.enable =
account.1.srtp.unencrypted_rtp.enable =
account.1.sip_server_mode =



################################################################
#                        SIP Backup Server                    ##
################################################################
account.1.outbound_proxy.1.register_on_enable=
account.1.outbound_proxy.1.failback_timeout=
account.1.outbound_proxy.1.failback_mode=
account.1.outbound_proxy.1.retry_counts=
account.1.outbound_proxy.1.only_signal_with_registered=
account.1.outbound_proxy.1.failback_subscribe.enable=
account.1.outbound_proxy.1.invite_retry_counts=

account.1.sip_server.1.register_on_enable=
account.1.sip_server.1.failback_timeout=
account.1.sip_server.1.failback_mode=
account.1.sip_server.1.failback_subscribe.enable=
account.1.sip_server.1.only_signal_with_registered=
account.1.sip_server.1.invite_retry_counts=

account.1.outbound_proxy.2.register_on_enable=
account.1.outbound_proxy.2.failback_timeout=
account.1.outbound_proxy.2.failback_mode=
account.1.outbound_proxy.2.retry_counts=
account.1.outbound_proxy.2.only_signal_with_registered=
account.1.outbound_proxy.2.failback_subscribe.enable=
account.1.outbound_proxy.2.invite_retry_counts=

account.1.sip_server.2.register_on_enable=
account.1.sip_server.2.failback_timeout=
account.1.sip_server.2.failback_mode=
account.1.sip_server.2.failback_subscribe.enable=
account.1.sip_server.2.only_signal_with_registered=
account.1.sip_server.2.invite_retry_counts=

account.1.static_cache_pri=
account.1.dns_cache_type=
account.1.naptr_build=
account.1.fallback.timeout=
account.1.fallback.redundancy_type=
account.1.reg_failed_retry_max_time=
account.1.reg_failed_retry_min_time=
account.1.redundancy_with_reg_fail.enable =

##V83 Add
account.1.sip_server.1.outbound_proxy_enable =
account.1.sip_server.2.outbound_proxy_enable =

################################################################
#                        SIP Basic config                     ##
################################################################
account.1.contact_take_line_param=
account.1.update_ack_while_dialing=
account.1.srtp_lifetime=
account.1.third_part_request_with_route.enable=
account.1.insert_outbound_in_route.enable=
account.1.path.enable=
account.1.sub_fail_retry_interval=
account.1.transfer_refer_to_contact_header.enable=
account.1.hold_use_inactive=
account.1.gruu.enable=
account.1.dial_tone=
account.1.call_id_mode=
account.1.subscribe_expires_overlap=
account.1.register_expires_overlap=
account.1.call_info=
account.1.custom_ua=
account.1.mwi_parse_terminated=
account.1.check_cseq.enable=
account.1.check_to_tag.enable=
account.1.vq_rtcpxr.collector_server_port=
account.1.vq_rtcpxr.collector_server_host=
account.1.vq_rtcpxr.collector_name=
account.1.compact_header_enable=
account.1.cp_source = {$yealink_cp_source}
account.1.cid_source_ppi= 1
account.1.cid_source_privacy= 1
account.1.reg_with_pani_header.enable =
account.1.alert_info=
account.1.picture_info_enable= 1

##V83 Add
account.1.invite_with_pani_header.enable = 

##V84 Add
account.1.invite_with_rpid_header.enable=

account.1.auto_answer_mute_enable

##V84 SP4 Add
account.1.share_line.enable_private_code =
account.1.share_line.cancel_private_code =

#######################################################################################
##                                 History                                           ##       
#######################################################################################
account.1.missed_calllog = {$yealink_missed_calllog}


#######################################################################################  
##                                  Forward                                          ##  
####################################################################################### 
account.1.timeout_fwd.off_code=
account.1.timeout_fwd.on_code=
account.1.timeout_fwd.timeout=
account.1.timeout_fwd.target=
account.1.timeout_fwd.enable=
account.1.busy_fwd.off_code=
account.1.busy_fwd.on_code=
account.1.busy_fwd.target=
account.1.busy_fwd.enable=
account.1.always_fwd.off_code=
account.1.always_fwd.on_code=
account.1.always_fwd.target=
account.1.always_fwd.enable=


#######################################################################################  
##                                  DND                                              ##  
#######################################################################################
account.1.dnd.enable=
account.1.dnd.off_code=
account.1.dnd.on_code=



#######################################################################################  
##                               Voice Mail                                          ##  
#######################################################################################
voice_mail.number.1= {$voicemail_number}
account.1.subscribe_mwi= 1
account.1.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm}
account.1.subscribe_mwi_expires= 3600
account.1.display_mwi.enable=

#######################################################################################  
##                               Auto Dial                                           ##  
#######################################################################################
account.1.auto_dial_enable=
account.1.auto_dial_num=


#######################################################################################
##                           Preference&Status                                       ##       
#######################################################################################
account.1.ringtone.ring_type=

#######################################################################################
##                           Digitmap                                                ##       
#######################################################################################
account.1.dialplan.digitmap.enable=
account.1.dialplan.digitmap.string=
account.1.dialplan.digitmap.no_match_action=
account.1.dialplan.digitmap.interdigit_short_timer=
account.1.dialplan.digitmap.interdigit_long_timer=
account.1.dialplan.digitmap.apply_to.press_send=
account.1.dialplan.digitmap.apply_to.forward=
account.1.dialplan.digitmap.apply_to.history_dial=
account.1.dialplan.digitmap.apply_to.directory_dial=
account.1.dialplan.digitmap.apply_to.on_hook_dial=
account.1.dialplan.digitmap.active.on_hook_dialing=


#######################################################################################
##                                 Rings Settings                                    ##
#######################################################################################
account.1.alert_info_url_enable=


#######################################################################################
##                                  BLF/BLF List                                     ##       
#######################################################################################
account.1.blf.blf_list_uri=
account.1.blf_list_barge_in_code=
account.1.blf_list_code=
account.1.blf_list_retrieve_call_parked_code=
account.1.blf.subscribe_period=
account.1.blf.match_host.enable=
account.1.out_dialog_blf_enable=
account.1.blf.subscribe_event=

##V84 Add
account.1.blf_list_call_parked_code=
account.1.blf_list_call_parked_list=

##V84 SP4 ADD
account.1.blf_list_whisper_code=
account.1.blf_list_listen_in_code=


#######################################################################################
##                                   SCA                                             ##       
#######################################################################################
account.1.shared_line=
account.1.line_seize.expires=
account.1.shared_line_one_touch_bargein.enable=
account.1.shared_line_one_touch_retrieve.enable=
account.1.sca_manage_interface_display_time=
account.1.shared_line_callpull_code=

##V83 Add
account.x.share_line.barge_in.enable

###V85 add
account.X.shared_line.idle_details=

#######################################################################################
##                                   BLA                                             ##       
#######################################################################################
account.1.bla_number=
account.1.bla_subscribe_period=
account.1.bla.notify_with_expire.enable=
account.1.bla.subscribe_uri_build_type=

#######################################################################################
##                                   Call Park                                       ##       
#######################################################################################
account.1.callpark_enable=


#######################################################################################
##                                    Broadsoft ACD                                  ##       
#######################################################################################
account.1.acd.enable= 0
account.1.acd.available= 0
account.1.acd.unavailable_reason_enable= 0
account.1.acd.initial_state= 1
account.1.subscribe_acd_expires=


#######################################################################################
##                                 Broadsoft ACD Call Center                         ##       
#######################################################################################
##account.X.reason_code.Y=
##account.X.reason_code_name.Y=
##account.X.bw_disp_code.Y=
##account.X.bw_disp_code_name.Y=
##account.X.supervisor_info_code.Y=
##account.X.supervisor_info_code_name.Y=
##The value Y must be continuous.

account.1.reason_code.1=
account.1.reason_code_name.1= 0
account.1.bw_disp_code.1=
account.1.bw_disp_code_name.1=
account.1.supervisor_info_code.1=
account.1.supervisor_info_code_name.1=

#######################################################################################
##                                 Broadsoft Call Center                             ##       
#######################################################################################
account.1.call_center.call_info_enable= 0
account.1.call_center.show_call_info_time= 30
account.1.call_center.disp_code_enable= 0
account.1.call_center.trace_enable= 0
account.1.call_center.emergency_enable= 0
account.1.call_center.queue_status_enable= 0
account.1.call_center.queue_status_light_enable = 0



#######################################################################################
##                         Broadsoft Hoteling                                        ##       
#######################################################################################
account.1.hoteling.enable= 0
account.1.hoteling.user_id= 0
account.1.hoteling.password= 0
account.1.hoteling.expires= 0
account.1.hoteling.auto_login_enable= 0


#######################################################################################
##                              Broadsoft XSI                                        ##       
#######################################################################################
account.1.xsi.user =
account.1.xsi.password =
account.1.xsi.host =
account.1.xsi.server_type =
account.1.xsi.port =


#######################################################################################
##                                Call Pickup                                        ##       
#######################################################################################
account.1.direct_pickup_code =
account.1.group_pickup_code =
account.1.dialoginfo_callpickup = 0
account.1.refresh_remote_id.enable =


#######################################################################################
##                              Broadsoft Call Recording                             ##       
#######################################################################################
account.1.call_recording.enable=

#######################################################################################
##                                Network Conference                                  ##
#######################################################################################
account.1.conf_uri = {if $nway_conference == 'true'}nway{$account.1.auth_id}@{$account.1.server_address}{/if}


#######################################################################################
##                              Broadsoft Call Decline                               ##       
#######################################################################################
account.1.features.call_decline.enable =


#######################################################################################
##                       Broadsoft Security Classification                           ##       
#######################################################################################
account.1.security_classification.enable =



#######################################################################################
##                        Broadsoft Flexible Seating                                 ##       
#######################################################################################
account.1.flexible_seating.enable=
account.1.hoteling.pin=
account.1.hoteling.mode=

#######################################################################################
##                         Features Sync                                             ##       
#######################################################################################
account.1.features.forward.feature_key_sync.local_processing.enable=
account.1.features.dnd.feature_key_sync.local_processing.enable =

##V84 Add
account.1.dnd.feature_key_sync.enable=
account.1.feature_key_sync.enable=
account.1.forward.feature_key_sync.enable=

#######################################################################################
##                                   ACD                                             ##       
#######################################################################################
account.1.acd.available_url=
account.1.acd.away_url =
account.1.acd.refresh_url =
account.1.acd.call_information=



#######################################################################################
##                                  virtual_user                                     ##       
#######################################################################################
##V84 Add
bw.virtual_user.1.enable=
bw.virtual_user.1.label=
bw.virtual_user.1.xsi.dnd.enable=
bw.virtual_user.1.xsi.host=
bw.virtual_user.1.xsi.password=
bw.virtual_user.1.xsi.port=
bw.virtual_user.1.xsi.server_type=
bw.virtual_user.1.xsi.user=

#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)##

#######################################################################################
##                                   Transfer                                        ##
#######################################################################################
account.2.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}


#######################################################################################
##                                   Conference                                      ##
#######################################################################################
account.2.phone_setting.call_appearance.conference_via_new_linekey=


#######################################################################################
##                                   Anonymous                                       ##
#######################################################################################
account.2.anonymous_call.server_base_only =
account.2.send_anonymous_rejection_code =
account.2.anonymous_reject_offcode =
account.2.anonymous_reject_oncode =
account.2.reject_anonymous_call=
account.2.anonymous_call_offcode =
account.2.anonymous_call_oncode =
account.2.anonymous_call = 0
account.2.send_anonymous_code =



#######################################################################################
##                          Call Configuration                                       ##
#######################################################################################
account.2.music_server_uri=
account.2.music_on_hold_type=
account.2.auto_label.rule=
account.2.auto_label.enable=
account.2.number_of_linekey=
account.2.phone_setting.call_appearance.calls_per_linekey=


#######################################################################################
##                                    Codec                                          ##
#######################################################################################
account.2.codec.ilbc_15_2kbps.priority=
account.2.codec.ilbc_15_2kbps.enable=

account.2.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}

account.2.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_ilbc_enable) && $yealink_codec_ilbc_enable}1{else}0{/if}

account.2.codec.pcma.enable= {if isset($yealink_codec_pcma_enable) && $yealink_codec_pcma_enable}1{else}{0}{/if}

account.2.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}

account.2.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable) && $yealink_codec_pcmu_enable}1{else}{0}{/if}

account.2.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}

account.2.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}

account.2.codec.opus.enable= {if isset($yealink_codec_opus_enable) && $yealink_codec_opus_enable}1{else}0{/if}

account.2.codec.opus.para= 106

account.2.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable) && $yealink_codec_g726_40_enable}1{else}0{/if}

account.2.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}

account.2.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable) && $yealink_codec_g726_32_enable}1{else}0{/if}

account.2.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}

account.2.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable) && $yealink_codec_g726_24_enable}1{else}0{/if}

account.2.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}

account.2.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable) && $yealink_codec_g726_16_enable}1{else}0{/if}

account.2.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}

account.2.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}

account.2.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable) && $yealink_codec_g723_63_enable}1{else}0{/if}

account.2.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}

account.2.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable) && $yealink_codec_g723_53_enable}1{else}{0}{/if}

account.2.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}

account.2.codec.g729.enable= {if isset($yealink_codec_g729_enable) && $yealink_codec_g729_enable}1{else}0{/if}

account.2.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}

account.2.codec.g722.enable= {if isset($yealink_codec_g722_enable) && $yealink_codec_g722_enable}1{else}0{/if}

account.2.codec.G722_1_24kpbs.priority=
account.2.codec.G722_1_24kpbs.enable=
account.2.codec.G722_1c_24kpbs.priority=
account.2.codec.G722_1c_24kpbs.enable=
account.2.codec.G722_1c_32kpbs.priority=
account.2.codec.G722_1c_32kpbs.enable=
account.2.codec.G722_1c_48kpbs.priority=
account.2.codec.G722_1c_48kpbs.enable=

################################################################
#                      Account2 Register                       ##
################################################################
{if isset($account.2.password) }
account.2.enable = 1
{else}
account.2.enable = 0
{/if}
account.2.label = {$account.2.label}
account.2.display_name = {$account.2.display_name}
account.2.auth_name = {$account.2.auth_id}

{if isset($account.2.server.1.address)}
account.2.user_name = {$account.2.user_id}@{$account.2.server_address}
{else}
account.2.user_name = {$account.2.user_id}
{/if}

account.2.password = {$account.2.password}
account.2.sip_server.1.address= {$account.2.server_address}
account.2.sip_server_port = {$account.2.sip_port}


#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{if $account.2.sip_transport == 'udp'}account.2.sip_server.1.transport_type = 0{/if}
{if $account.2.sip_transport == 'tcp'}account.2.sip_server.1.transport_type = 1{/if}
{if $account.2.sip_transport == 'tls'}account.2.sip_server.1.transport_type = 2{/if}
{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.1.transport_type = 3{/if}

account.2.sip_server.1.expires=  {$account.2.register_expires}
account.2.sip_server.1.retry_counts= 3

account.2.sip_server.2.address= {$account.2.server.2.address}
account.2.sip_server.2.port= {$account.2.sip_port}

#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.2.sip_transport == 'udp'}account.2.sip_server.2.transport_type = 0{/if}
{if $account.2.sip_transport == 'tcp'}account.2.sip_server.2.transport_type = 1{/if}
{if $account.2.sip_transport == 'tls'}account.2.sip_server.2.transport_type = 2{/if}
{if $account.2.sip_transport == 'dns srv'}account.2.sip_server.2.transport_type = 3{/if}

account.2.sip_server.2.expires= {$account.2.register_expires}
account.2.sip_server.2.retry_counts= 3

account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if}

account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary}
account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.2.outbound_proxy.1.port = {$outbound_proxy_1_port}
{else}
account.2.outbound_proxy.1.port = {$account.2.sip_port}
{/if}

account.2.outbound_proxy.2.address= {$account.2.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.2.outbound_proxy.2.port = {$outbound_proxy_2_port}
{else}
account.2.outbound_proxy.2.port = {$account.2.sip_port}
{/if}

account.2.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval}

account.2.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if}



################################################################
#                      Account Basic                          ##
################################################################
account.2.auto_answer=

################################################################
#                      Account Advanced                       ##
################################################################
account.2.nat.udp_update_enable = {if isset($account.2.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""}
account.2.nat.udp_update_time = 30
account.2.nat.rport=  {$yealink_rport}

account.2.dtmf.type= {$yealink_dtmf_type}
account.2.dtmf.info_type=
account.2.dtmf.dtmf_payload=
account.2.100rel_enable=

account.2.subscribe_register=
account.2.cid_source= {$yealink_cid_source}
account.2.enable_user_equal_phone=
account.2.srtp_encryption= {$yealink_srtp_encryption}
account.2.ptime=
account.2.register_line=
account.2.register_mac=
account.2.reg_fail_retry_interval=
account.2.unregister_on_reboot=

account.2.session_timer.refresher=
account.2.session_timer.expires=
account.2.session_timer.enable= {$yealink_session_timer}

account.2.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if}
account.2.sip_server_type=

##V83 Add
account.2.srtp.unencrypted_rtcp.enable =
account.2.srtp.unencrypted_rtp.enable =
account.2.sip_server_mode =



################################################################
#                        SIP Backup Server                    ##
################################################################
account.2.outbound_proxy.1.register_on_enable=
account.2.outbound_proxy.1.failback_timeout=
account.2.outbound_proxy.1.failback_mode=
account.2.outbound_proxy.1.retry_counts=
account.2.outbound_proxy.1.only_signal_with_registered=
account.2.outbound_proxy.1.failback_subscribe.enable=
account.2.outbound_proxy.1.invite_retry_counts=

account.2.sip_server.1.register_on_enable=
account.2.sip_server.1.failback_timeout=
account.2.sip_server.1.failback_mode=
account.2.sip_server.1.failback_subscribe.enable=
account.2.sip_server.1.only_signal_with_registered=
account.2.sip_server.1.invite_retry_counts=

account.2.outbound_proxy.2.register_on_enable=
account.2.outbound_proxy.2.failback_timeout=
account.2.outbound_proxy.2.failback_mode=
account.2.outbound_proxy.2.retry_counts=
account.2.outbound_proxy.2.only_signal_with_registered=
account.2.outbound_proxy.2.failback_subscribe.enable=
account.2.outbound_proxy.2.invite_retry_counts=

account.2.sip_server.2.register_on_enable=
account.2.sip_server.2.failback_timeout=
account.2.sip_server.2.failback_mode=
account.2.sip_server.2.failback_subscribe.enable=
account.2.sip_server.2.only_signal_with_registered=
account.2.sip_server.2.invite_retry_counts=

account.2.static_cache_pri=
account.2.dns_cache_type=
account.2.naptr_build=
account.2.fallback.timeout=
account.2.fallback.redundancy_type=
account.2.reg_failed_retry_max_time=
account.2.reg_failed_retry_min_time=
account.2.redundancy_with_reg_fail.enable =

##V83 Add
account.2.sip_server.1.outbound_proxy_enable =
account.2.sip_server.2.outbound_proxy_enable =

################################################################
#                        SIP Basic config                     ##
################################################################
account.2.contact_take_line_param=
account.2.update_ack_while_dialing=
account.2.srtp_lifetime=
account.2.third_part_request_with_route.enable=
account.2.insert_outbound_in_route.enable=
account.2.path.enable=
account.2.sub_fail_retry_interval=
account.2.transfer_refer_to_contact_header.enable=
account.2.hold_use_inactive=
account.2.gruu.enable=
account.2.dial_tone=
account.2.call_id_mode=
account.2.subscribe_expires_overlap=
account.2.register_expires_overlap=
account.2.call_info=
account.2.custom_ua=
account.2.mwi_parse_terminated=
account.2.check_cseq.enable=
account.2.check_to_tag.enable=
account.2.vq_rtcpxr.collector_server_port=
account.2.vq_rtcpxr.collector_server_host=
account.2.vq_rtcpxr.collector_name=
account.2.compact_header_enable=
account.2.cp_source = {$yealink_cp_source}
account.2.cid_source_ppi= 1
account.2.cid_source_privacy= 1
account.2.reg_with_pani_header.enable =
account.2.alert_info=
account.2.picture_info_enable= 1

##V83 Add
account.2.invite_with_pani_header.enable = 

##V84 Add
account.2.invite_with_rpid_header.enable=

account.2.auto_answer_mute_enable

##V84 SP4 Add
account.2.share_line.enable_private_code =
account.2.share_line.cancel_private_code =

#######################################################################################
##                                 History                                           ##
#######################################################################################
account.2.missed_calllog = {$yealink_missed_calllog}


#######################################################################################
##                                  Forward                                          ##
#######################################################################################
account.2.timeout_fwd.off_code=
account.2.timeout_fwd.on_code=
account.2.timeout_fwd.timeout=
account.2.timeout_fwd.target=
account.2.timeout_fwd.enable=
account.2.busy_fwd.off_code=
account.2.busy_fwd.on_code=
account.2.busy_fwd.target=
account.2.busy_fwd.enable=
account.2.always_fwd.off_code=
account.2.always_fwd.on_code=
account.2.always_fwd.target=
account.2.always_fwd.enable=


#######################################################################################
##                                  DND                                              ##
#######################################################################################
account.2.dnd.enable=
account.2.dnd.off_code=
account.2.dnd.on_code=



#######################################################################################
##                               Voice Mail                                          ##
#######################################################################################
voice_mail.number.1= {$voicemail_number}
account.2.subscribe_mwi= 1
account.2.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm}
account.2.subscribe_mwi_expires= 3600
account.2.display_mwi.enable=

#######################################################################################
##                               Auto Dial                                           ##
#######################################################################################
account.2.auto_dial_enable=
account.2.auto_dial_num=


#######################################################################################
##                           Preference&Status                                       ##
#######################################################################################
account.2.ringtone.ring_type=

#######################################################################################
##                           Digitmap                                                ##
#######################################################################################
account.2.dialplan.digitmap.enable=
account.2.dialplan.digitmap.string=
account.2.dialplan.digitmap.no_match_action=
account.2.dialplan.digitmap.interdigit_short_timer=
account.2.dialplan.digitmap.interdigit_long_timer=
account.2.dialplan.digitmap.apply_to.press_send=
account.2.dialplan.digitmap.apply_to.forward=
account.2.dialplan.digitmap.apply_to.history_dial=
account.2.dialplan.digitmap.apply_to.directory_dial=
account.2.dialplan.digitmap.apply_to.on_hook_dial=
account.2.dialplan.digitmap.active.on_hook_dialing=


#######################################################################################
##                                 Rings Settings                                    ##
#######################################################################################
account.2.alert_info_url_enable=


#######################################################################################
##                                  BLF/BLF List                                     ##
#######################################################################################
account.2.blf.blf_list_uri=
account.2.blf_list_barge_in_code=
account.2.blf_list_code=
account.2.blf_list_retrieve_call_parked_code=
account.2.blf.subscribe_period=
account.2.blf.match_host.enable=
account.2.out_dialog_blf_enable=
account.2.blf.subscribe_event=

##V84 Add
account.2.blf_list_call_parked_code=
account.2.blf_list_call_parked_list=

##V84 SP4 ADD
account.2.blf_list_whisper_code=
account.2.blf_list_listen_in_code=


#######################################################################################
##                                   SCA                                             ##
#######################################################################################
account.2.shared_line=
account.2.line_seize.expires=
account.2.shared_line_one_touch_bargein.enable=
account.2.shared_line_one_touch_retrieve.enable=
account.2.sca_manage_interface_display_time=
account.2.shared_line_callpull_code=

##V83 Add
account.x.share_line.barge_in.enable

#######################################################################################
##                                   BLA                                             ##
#######################################################################################
account.2.bla_number=
account.2.bla_subscribe_period=
account.2.bla.notify_with_expire.enable=
account.2.bla.subscribe_uri_build_type=

#######################################################################################
##                                   Call Park                                       ##
#######################################################################################
account.2.callpark_enable=


#######################################################################################
##                                    Broadsoft ACD                                  ##
#######################################################################################
account.2.acd.enable= 0
account.2.acd.available= 0
account.2.acd.unavailable_reason_enable= 0
account.2.acd.initial_state= 1
account.2.subscribe_acd_expires=


#######################################################################################
##                                 Broadsoft ACD Call Center                         ##
#######################################################################################
##account.X.reason_code.Y=
##account.X.reason_code_name.Y=
##account.X.bw_disp_code.Y=
##account.X.bw_disp_code_name.Y=
##account.X.supervisor_info_code.Y=
##account.X.supervisor_info_code_name.Y=
##The value Y must be continuous.

account.2.reason_code.1=
account.2.reason_code_name.1= 0
account.2.bw_disp_code.1=
account.2.bw_disp_code_name.1=
account.2.supervisor_info_code.1=
account.2.supervisor_info_code_name.1=

#######################################################################################
##                                 Broadsoft Call Center                             ##
#######################################################################################
account.2.call_center.call_info_enable= 0
account.2.call_center.show_call_info_time= 30
account.2.call_center.disp_code_enable= 0
account.2.call_center.trace_enable= 0
account.2.call_center.emergency_enable= 0
account.2.call_center.queue_status_enable= 0
account.2.call_center.queue_status_light_enable = 0



#######################################################################################
##                         Broadsoft Hoteling                                        ##
#######################################################################################
account.2.hoteling.enable= 0
account.2.hoteling.user_id= 0
account.2.hoteling.password= 0
account.2.hoteling.expires= 0
account.2.hoteling.auto_login_enable= 0


#######################################################################################
##                              Broadsoft XSI                                        ##
#######################################################################################
account.2.xsi.user =
account.2.xsi.password =
account.2.xsi.host =
account.2.xsi.server_type =
account.2.xsi.port =


#######################################################################################
##                                Call Pickup                                        ##
#######################################################################################
account.2.direct_pickup_code =
account.2.group_pickup_code =
account.2.dialoginfo_callpickup = 0
account.2.refresh_remote_id.enable =


#######################################################################################
##                              Broadsoft Call Recording                             ##
#######################################################################################
account.2.call_recording.enable=

#######################################################################################
##                                Network Conference                                  ##
#######################################################################################
account.2.conf_uri = {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if}


#######################################################################################
##                              Broadsoft Call Decline                               ##
#######################################################################################
account.2.features.call_decline.enable =


#######################################################################################
##                       Broadsoft Security Classification                           ##
#######################################################################################
account.2.security_classification.enable =



#######################################################################################
##                        Broadsoft Flexible Seating                                 ##
#######################################################################################
account.2.flexible_seating.enable=
account.2.hoteling.pin=
account.2.hoteling.mode=

#######################################################################################
##                         Features Sync                                             ##
#######################################################################################
account.2.features.forward.feature_key_sync.local_processing.enable=
account.2.features.dnd.feature_key_sync.local_processing.enable =

##V84 Add
account.2.dnd.feature_key_sync.enable=
account.2.feature_key_sync.enable=
account.2.forward.feature_key_sync.enable=

#######################################################################################
##                                   ACD                                             ##
#######################################################################################
account.2.acd.available_url=
account.2.acd.away_url =
account.2.acd.refresh_url =
account.2.acd.call_information=



#######################################################################################
##                                  virtual_user                                     ##
#######################################################################################
##V84 Add
#bw.virtual_user.1.enable=
#bw.virtual_user.1.label=
#bw.virtual_user.1.xsi.dnd.enable=
#bw.virtual_user.1.xsi.host=
#bw.virtual_user.1.xsi.password=
#bw.virtual_user.1.xsi.port=
#bw.virtual_user.1.xsi.server_type=
#bw.virtual_user.1.xsi.user=

#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)##

#######################################################################################
##                                   Transfer                                        ##
#######################################################################################
account.3.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}


#######################################################################################
##                                   Conference                                      ##
#######################################################################################
account.3.phone_setting.call_appearance.conference_via_new_linekey=


#######################################################################################
##                                   Anonymous                                       ##
#######################################################################################
account.3.anonymous_call.server_base_only =
account.3.send_anonymous_rejection_code =
account.3.anonymous_reject_offcode =
account.3.anonymous_reject_oncode =
account.3.reject_anonymous_call=
account.3.anonymous_call_offcode =
account.3.anonymous_call_oncode =
account.3.anonymous_call = 0
account.3.send_anonymous_code =



#######################################################################################
##                          Call Configuration                                       ##
#######################################################################################
account.3.music_server_uri=
account.3.music_on_hold_type=
account.3.auto_label.rule=
account.3.auto_label.enable=
account.3.number_of_linekey=
account.3.phone_setting.call_appearance.calls_per_linekey=


#######################################################################################
##                                    Codec                                          ##
#######################################################################################
account.3.codec.ilbc_15_2kbps.priority=
account.3.codec.ilbc_15_2kbps.enable=

account.3.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}

account.3.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_ilbc_enable) && $yealink_codec_ilbc_enable}1{else}0{/if}

account.3.codec.pcma.enable= {if isset($yealink_codec_pcma_enable) && $yealink_codec_pcma_enable}1{else}{0}{/if}

account.3.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}

account.3.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable) && $yealink_codec_pcmu_enable}1{else}{0}{/if}

account.3.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}

account.3.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}

account.3.codec.opus.enable= {if isset($yealink_codec_opus_enable) && $yealink_codec_opus_enable}1{else}0{/if}

account.3.codec.opus.para= 106

account.3.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable) && $yealink_codec_g726_40_enable}1{else}0{/if}

account.3.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}

account.3.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable) && $yealink_codec_g726_32_enable}1{else}0{/if}

account.3.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}

account.3.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable) && $yealink_codec_g726_24_enable}1{else}0{/if}

account.3.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}

account.3.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable) && $yealink_codec_g726_16_enable}1{else}0{/if}

account.3.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}

account.3.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}

account.3.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable) && $yealink_codec_g723_63_enable}1{else}0{/if}

account.3.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}

account.3.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable) && $yealink_codec_g723_53_enable}1{else}{0}{/if}

account.3.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}

account.3.codec.g729.enable= {if isset($yealink_codec_g729_enable) && $yealink_codec_g729_enable}1{else}0{/if}

account.3.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}

account.3.codec.g722.enable= {if isset($yealink_codec_g722_enable) && $yealink_codec_g722_enable}1{else}0{/if}

account.3.codec.G722_1_24kpbs.priority=
account.3.codec.G722_1_24kpbs.enable=
account.3.codec.G722_1c_24kpbs.priority=
account.3.codec.G722_1c_24kpbs.enable=
account.3.codec.G722_1c_32kpbs.priority=
account.3.codec.G722_1c_32kpbs.enable=
account.3.codec.G722_1c_48kpbs.priority=
account.3.codec.G722_1c_48kpbs.enable=

################################################################
#                      Account3 Register                       ##
################################################################
{if isset($account.3.password) }
account.3.enable = 1
{else}
account.3.enable = 0
{/if}
account.3.label = {$account.3.label}
account.3.display_name = {$account.3.display_name}
account.3.auth_name = {$account.3.auth_id}

{if isset($account.3.server.1.address)}
account.3.user_name = {$account.3.user_id}@{$account.3.server_address}
{else}
account.3.user_name = {$account.3.user_id}
{/if}

account.3.password = {$account.3.password}
account.3.sip_server.1.address= {$account.3.server_address}
account.3.sip_server_port = {$account.3.sip_port}


#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{if $account.3.sip_transport == 'udp'}account.3.sip_server.1.transport_type = 0{/if}
{if $account.3.sip_transport == 'tcp'}account.3.sip_server.1.transport_type = 1{/if}
{if $account.3.sip_transport == 'tls'}account.3.sip_server.1.transport_type = 2{/if}
{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.1.transport_type = 3{/if}

account.3.sip_server.1.expires=  {$account.3.register_expires}
account.3.sip_server.1.retry_counts= 3

account.3.sip_server.2.address= {$account.3.server.2.address}
account.3.sip_server.2.port= {$account.3.sip_port}

#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.3.sip_transport == 'udp'}account.3.sip_server.2.transport_type = 0{/if}
{if $account.3.sip_transport == 'tcp'}account.3.sip_server.2.transport_type = 1{/if}
{if $account.3.sip_transport == 'tls'}account.3.sip_server.2.transport_type = 2{/if}
{if $account.3.sip_transport == 'dns srv'}account.3.sip_server.2.transport_type = 3{/if}

account.3.sip_server.2.expires= {$account.3.register_expires}
account.3.sip_server.2.retry_counts= 3

account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if}

account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary}
account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.3.outbound_proxy.1.port = {$outbound_proxy_1_port}
{else}
account.3.outbound_proxy.1.port = {$account.3.sip_port}
{/if}

account.3.outbound_proxy.2.address= {$account.3.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.3.outbound_proxy.2.port = {$outbound_proxy_2_port}
{else}
account.3.outbound_proxy.2.port = {$account.3.sip_port}
{/if}

account.3.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval}

account.3.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if}



################################################################
#                      Account Basic                          ##
################################################################
account.3.auto_answer=

################################################################
#                      Account Advanced                       ##
################################################################
account.3.nat.udp_update_enable = {if isset($account.3.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""}
account.3.nat.udp_update_time = 30
account.3.nat.rport= {$yealink_rport}

account.3.dtmf.type= {$yealink_dtmf_type}
account.3.dtmf.info_type=
account.3.dtmf.dtmf_payload=
account.3.100rel_enable=

account.3.subscribe_register=
account.3.cid_source= {$yealink_cid_source}
account.3.enable_user_equal_phone=
account.3.srtp_encryption= {$yealink_srtp_encryption}
account.3.ptime=
account.3.register_line=
account.3.register_mac=
account.3.reg_fail_retry_interval=
account.3.unregister_on_reboot=

account.3.session_timer.refresher=
account.3.session_timer.expires=
account.3.session_timer.enable= {$yealink_session_timer}

account.3.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if}
account.3.sip_server_type=

##V83 Add
account.3.srtp.unencrypted_rtcp.enable =
account.3.srtp.unencrypted_rtp.enable =
account.3.sip_server_mode =



################################################################
#                        SIP Backup Server                    ##
################################################################
account.3.outbound_proxy.1.register_on_enable=
account.3.outbound_proxy.1.failback_timeout=
account.3.outbound_proxy.1.failback_mode=
account.3.outbound_proxy.1.retry_counts=
account.3.outbound_proxy.1.only_signal_with_registered=
account.3.outbound_proxy.1.failback_subscribe.enable=
account.3.outbound_proxy.1.invite_retry_counts=

account.3.sip_server.1.register_on_enable=
account.3.sip_server.1.failback_timeout=
account.3.sip_server.1.failback_mode=
account.3.sip_server.1.failback_subscribe.enable=
account.3.sip_server.1.only_signal_with_registered=
account.3.sip_server.1.invite_retry_counts=

account.3.outbound_proxy.2.register_on_enable=
account.3.outbound_proxy.2.failback_timeout=
account.3.outbound_proxy.2.failback_mode=
account.3.outbound_proxy.2.retry_counts=
account.3.outbound_proxy.2.only_signal_with_registered=
account.3.outbound_proxy.2.failback_subscribe.enable=
account.3.outbound_proxy.2.invite_retry_counts=

account.3.sip_server.2.register_on_enable=
account.3.sip_server.2.failback_timeout=
account.3.sip_server.2.failback_mode=
account.3.sip_server.2.failback_subscribe.enable=
account.3.sip_server.2.only_signal_with_registered=
account.3.sip_server.2.invite_retry_counts=

account.3.static_cache_pri=
account.3.dns_cache_type=
account.3.naptr_build=
account.3.fallback.timeout=
account.3.fallback.redundancy_type=
account.3.reg_failed_retry_max_time=
account.3.reg_failed_retry_min_time=
account.3.redundancy_with_reg_fail.enable =

##V83 Add
account.3.sip_server.1.outbound_proxy_enable =
account.3.sip_server.2.outbound_proxy_enable =

################################################################
#                        SIP Basic config                     ##
################################################################
account.3.contact_take_line_param=
account.3.update_ack_while_dialing=
account.3.srtp_lifetime=
account.3.third_part_request_with_route.enable=
account.3.insert_outbound_in_route.enable=
account.3.path.enable=
account.3.sub_fail_retry_interval=
account.3.transfer_refer_to_contact_header.enable=
account.3.hold_use_inactive=
account.3.gruu.enable=
account.3.dial_tone=
account.3.call_id_mode=
account.3.subscribe_expires_overlap=
account.3.register_expires_overlap=
account.3.call_info=
account.3.custom_ua=
account.3.mwi_parse_terminated=
account.3.check_cseq.enable=
account.3.check_to_tag.enable=
account.3.vq_rtcpxr.collector_server_port=
account.3.vq_rtcpxr.collector_server_host=
account.3.vq_rtcpxr.collector_name=
account.3.compact_header_enable=
account.3.cp_source = {$yealink_cp_source}
account.3.cid_source_ppi= 1
account.3.cid_source_privacy= 1
account.3.reg_with_pani_header.enable =
account.3.alert_info=
account.3.picture_info_enable= 1

##V83 Add
account.3.invite_with_pani_header.enable = 

##V84 Add
account.3.invite_with_rpid_header.enable=

account.3.auto_answer_mute_enable

##V84 SP4 Add
account.3.share_line.enable_private_code =
account.3.share_line.cancel_private_code =

#######################################################################################
##                                 History                                           ##
#######################################################################################
account.3.missed_calllog = {$yealink_missed_calllog}


#######################################################################################
##                                  Forward                                          ##
#######################################################################################
account.3.timeout_fwd.off_code=
account.3.timeout_fwd.on_code=
account.3.timeout_fwd.timeout=
account.3.timeout_fwd.target=
account.3.timeout_fwd.enable=
account.3.busy_fwd.off_code=
account.3.busy_fwd.on_code=
account.3.busy_fwd.target=
account.3.busy_fwd.enable=
account.3.always_fwd.off_code=
account.3.always_fwd.on_code=
account.3.always_fwd.target=
account.3.always_fwd.enable=


#######################################################################################
##                                  DND                                              ##
#######################################################################################
account.3.dnd.enable=
account.3.dnd.off_code=
account.3.dnd.on_code=



#######################################################################################
##                               Voice Mail                                          ##
#######################################################################################
voice_mail.number.1= {$voicemail_number}
account.3.subscribe_mwi= 1
account.3.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm}
account.3.subscribe_mwi_expires= 3600
account.3.display_mwi.enable=

#######################################################################################
##                               Auto Dial                                           ##
#######################################################################################
account.3.auto_dial_enable=
account.3.auto_dial_num=


#######################################################################################
##                           Preference&Status                                       ##
#######################################################################################
account.3.ringtone.ring_type=

#######################################################################################
##                           Digitmap                                                ##
#######################################################################################
account.3.dialplan.digitmap.enable=
account.3.dialplan.digitmap.string=
account.3.dialplan.digitmap.no_match_action=
account.3.dialplan.digitmap.interdigit_short_timer=
account.3.dialplan.digitmap.interdigit_long_timer=
account.3.dialplan.digitmap.apply_to.press_send=
account.3.dialplan.digitmap.apply_to.forward=
account.3.dialplan.digitmap.apply_to.history_dial=
account.3.dialplan.digitmap.apply_to.directory_dial=
account.3.dialplan.digitmap.apply_to.on_hook_dial=
account.3.dialplan.digitmap.active.on_hook_dialing=


#######################################################################################
##                                 Rings Settings                                    ##
#######################################################################################
account.3.alert_info_url_enable=


#######################################################################################
##                                  BLF/BLF List                                     ##
#######################################################################################
account.3.blf.blf_list_uri=
account.3.blf_list_barge_in_code=
account.3.blf_list_code=
account.3.blf_list_retrieve_call_parked_code=
account.3.blf.subscribe_period=
account.3.blf.match_host.enable=
account.3.out_dialog_blf_enable=
account.3.blf.subscribe_event=

##V84 Add
account.3.blf_list_call_parked_code=
account.3.blf_list_call_parked_list=

##V84 SP4 ADD
account.3.blf_list_whisper_code=
account.3.blf_list_listen_in_code=


#######################################################################################
##                                   SCA                                             ##
#######################################################################################
account.3.shared_line=
account.3.line_seize.expires=
account.3.shared_line_one_touch_bargein.enable=
account.3.shared_line_one_touch_retrieve.enable=
account.3.sca_manage_interface_display_time=
account.3.shared_line_callpull_code=

##V83 Add
account.x.share_line.barge_in.enable

#######################################################################################
##                                   BLA                                             ##
#######################################################################################
account.3.bla_number=
account.3.bla_subscribe_period=
account.3.bla.notify_with_expire.enable=
account.3.bla.subscribe_uri_build_type=

#######################################################################################
##                                   Call Park                                       ##
#######################################################################################
account.3.callpark_enable=


#######################################################################################
##                                    Broadsoft ACD                                  ##
#######################################################################################
account.3.acd.enable= 0
account.3.acd.available= 0
account.3.acd.unavailable_reason_enable= 0
account.3.acd.initial_state= 1
account.3.subscribe_acd_expires=


#######################################################################################
##                                 Broadsoft ACD Call Center                         ##
#######################################################################################
##account.X.reason_code.Y=
##account.X.reason_code_name.Y=
##account.X.bw_disp_code.Y=
##account.X.bw_disp_code_name.Y=
##account.X.supervisor_info_code.Y=
##account.X.supervisor_info_code_name.Y=
##The value Y must be continuous.

account.3.reason_code.1=
account.3.reason_code_name.1= 0
account.3.bw_disp_code.1=
account.3.bw_disp_code_name.1=
account.3.supervisor_info_code.1=
account.3.supervisor_info_code_name.1=

#######################################################################################
##                                 Broadsoft Call Center                             ##
#######################################################################################
account.3.call_center.call_info_enable= 0
account.3.call_center.show_call_info_time= 30
account.3.call_center.disp_code_enable= 0
account.3.call_center.trace_enable= 0
account.3.call_center.emergency_enable= 0
account.3.call_center.queue_status_enable= 0
account.3.call_center.queue_status_light_enable = 0



#######################################################################################
##                         Broadsoft Hoteling                                        ##
#######################################################################################
account.3.hoteling.enable= 0
account.3.hoteling.user_id= 0
account.3.hoteling.password= 0
account.3.hoteling.expires= 0
account.3.hoteling.auto_login_enable= 0


#######################################################################################
##                              Broadsoft XSI                                        ##
#######################################################################################
account.3.xsi.user =
account.3.xsi.password =
account.3.xsi.host =
account.3.xsi.server_type =
account.3.xsi.port =


#######################################################################################
##                                Call Pickup                                        ##
#######################################################################################
account.3.direct_pickup_code =
account.3.group_pickup_code =
account.3.dialoginfo_callpickup = 0
account.3.refresh_remote_id.enable =


#######################################################################################
##                              Broadsoft Call Recording                             ##
#######################################################################################
account.3.call_recording.enable=

#######################################################################################
##                                Network Conference                                  ##
#######################################################################################
account.3.conf_uri = {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if}


#######################################################################################
##                              Broadsoft Call Decline                               ##
#######################################################################################
account.3.features.call_decline.enable =


#######################################################################################
##                       Broadsoft Security Classification                           ##
#######################################################################################
account.3.security_classification.enable =



#######################################################################################
##                        Broadsoft Flexible Seating                                 ##
#######################################################################################
account.3.flexible_seating.enable=
account.3.hoteling.pin=
account.3.hoteling.mode=

#######################################################################################
##                         Features Sync                                             ##
#######################################################################################
account.3.features.forward.feature_key_sync.local_processing.enable=
account.3.features.dnd.feature_key_sync.local_processing.enable =

##V84 Add
account.3.dnd.feature_key_sync.enable=
account.3.feature_key_sync.enable=
account.3.forward.feature_key_sync.enable=

#######################################################################################
##                                   ACD                                             ##
#######################################################################################
account.3.acd.available_url=
account.3.acd.away_url =
account.3.acd.refresh_url =
account.3.acd.call_information=



#######################################################################################
##                                  virtual_user                                     ##
#######################################################################################
##V84 Add
#bw.virtual_user.1.enable=
#bw.virtual_user.1.label=
#bw.virtual_user.1.xsi.dnd.enable=
#bw.virtual_user.1.xsi.host=
#bw.virtual_user.1.xsi.password=
#bw.virtual_user.1.xsi.port=
#bw.virtual_user.1.xsi.server_type=
#bw.virtual_user.1.xsi.user=

#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.##
##account.X.*:(T5XW/T54S/T48G/T48S/T46G/T46S/T29G/T46U/T48U: X ranges from 1 to 16. T52S/T42G/T42S/T43U: X ranges from 1 to 12. T41P/T41S/T27P/T27G/T41U: X ranges from 1 to 6. T40P/T40G/T23P/T23G: X ranges from 1 to 3. T21(P) E2: X ranges from 1 to 2.)##

#######################################################################################
##                                   Transfer                                        ##
#######################################################################################
account.4.phone_setting.call_appearance.transfer_via_new_linekey= {$yealink_transfer_via_new_linekey}


#######################################################################################
##                                   Conference                                      ##
#######################################################################################
account.4.phone_setting.call_appearance.conference_via_new_linekey=


#######################################################################################
##                                   Anonymous                                       ##
#######################################################################################
account.4.anonymous_call.server_base_only =
account.4.send_anonymous_rejection_code =
account.4.anonymous_reject_offcode =
account.4.anonymous_reject_oncode =
account.4.reject_anonymous_call=
account.4.anonymous_call_offcode =
account.4.anonymous_call_oncode =
account.4.anonymous_call = 0
account.4.send_anonymous_code =



#######################################################################################
##                          Call Configuration                                       ##
#######################################################################################
account.4.music_server_uri=
account.4.music_on_hold_type=
account.4.auto_label.rule=
account.4.auto_label.enable=
account.4.number_of_linekey=
account.4.phone_setting.call_appearance.calls_per_linekey=


#######################################################################################
##                                    Codec                                          ##
#######################################################################################
account.4.codec.ilbc_15_2kbps.priority=
account.4.codec.ilbc_15_2kbps.enable=

account.4.codec.ilbc_13_33kbps.priority= {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}

account.4.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_ilbc_enable) && $yealink_codec_ilbc_enable}1{else}0{/if}

account.4.codec.pcma.enable= {if isset($yealink_codec_pcma_enable) && $yealink_codec_pcma_enable}1{else}{0}{/if}

account.4.codec.pcma.priority= {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}

account.4.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable) && $yealink_codec_pcmu_enable}1{else}{0}{/if}

account.4.codec.pcmu.priority= {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}

account.4.codec.opus.priority= {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}

account.4.codec.opus.enable= {if isset($yealink_codec_opus_enable) && $yealink_codec_opus_enable}1{else}0{/if}

account.4.codec.opus.para= 106

account.4.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable) && $yealink_codec_g726_40_enable}1{else}0{/if}

account.4.codec.g726_40.priority= {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}

account.4.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable) && $yealink_codec_g726_32_enable}1{else}0{/if}

account.4.codec.g726_32.priority= {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}

account.4.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable) && $yealink_codec_g726_24_enable}1{else}0{/if}

account.4.codec.g726_24.priority= {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}

account.4.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable) && $yealink_codec_g726_16_enable}1{else}0{/if}

account.4.codec.g726_16.priority= {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}

account.4.codec.g723_63.priority= {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}

account.4.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable) && $yealink_codec_g723_63_enable}1{else}0{/if}

account.4.codec.g723_53.priority= {if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}

account.4.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable) && $yealink_codec_g723_53_enable}1{else}{0}{/if}

account.4.codec.g729.priority= {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}

account.4.codec.g729.enable= {if isset($yealink_codec_g729_enable) && $yealink_codec_g729_enable}1{else}0{/if}

account.4.codec.g722.priority= {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}

account.4.codec.g722.enable= {if isset($yealink_codec_g722_enable) && $yealink_codec_g722_enable}1{else}0{/if}

account.4.codec.G722_1_24kpbs.priority=
account.4.codec.G722_1_24kpbs.enable=
account.4.codec.G722_1c_24kpbs.priority=
account.4.codec.G722_1c_24kpbs.enable=
account.4.codec.G722_1c_32kpbs.priority=
account.4.codec.G722_1c_32kpbs.enable=
account.4.codec.G722_1c_48kpbs.priority=
account.4.codec.G722_1c_48kpbs.enable=

################################################################
#                      Account4 Register                       ##
################################################################
{if isset($account.4.password) }
account.4.enable = 1
{else}
account.4.enable = 0
{/if}
account.4.label = {$account.4.label}
account.4.display_name = {$account.4.display_name}
account.4.auth_name = {$account.4.auth_id}

{if isset($account.4.server.1.address)}
account.4.user_name = {$account.4.user_id}@{$account.4.server_address}
{else}
account.4.user_name = {$account.4.user_id}
{/if}

account.4.password = {$account.4.password}
account.4.sip_server.1.address= {$account.4.server_address}
account.4.sip_server_port = {$account.4.sip_port}


#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{if $account.4.sip_transport == 'udp'}account.4.sip_server.1.transport_type = 0{/if}
{if $account.4.sip_transport == 'tcp'}account.4.sip_server.1.transport_type = 1{/if}
{if $account.4.sip_transport == 'tls'}account.4.sip_server.1.transport_type = 2{/if}
{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.1.transport_type = 3{/if}

account.4.sip_server.1.expires=  {$account.4.register_expires}
account.4.sip_server.1.retry_counts= 3

account.4.sip_server.2.address= {$account.4.server.2.address}
account.4.sip_server.2.port= {$account.4.sip_port}

#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS-NAPTR;
{if $account.4.sip_transport == 'udp'}account.4.sip_server.2.transport_type = 0{/if}
{if $account.4.sip_transport == 'tcp'}account.4.sip_server.2.transport_type = 1{/if}
{if $account.4.sip_transport == 'tls'}account.4.sip_server.2.transport_type = 2{/if}
{if $account.4.sip_transport == 'dns srv'}account.4.sip_server.2.transport_type = 3{/if}

account.4.sip_server.2.expires= {$account.4.register_expires}
account.4.sip_server.2.retry_counts= 3

account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if}

account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary}
account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.4.outbound_proxy.1.port = {$outbound_proxy_1_port}
{else}
account.4.outbound_proxy.1.port = {$account.4.sip_port}
{/if}

account.4.outbound_proxy.2.address= {$account.4.outbound_proxy_secondary}

{if isset($outbound_proxy_1_port)}
account.4.outbound_proxy.2.port = {$outbound_proxy_2_port}
{else}
account.4.outbound_proxy.2.port = {$account.4.sip_port}
{/if}

account.4.outbound_proxy_fallback_interval= {$yealink_outbound_proxy_fallback_interval}

account.4.nat.nat_traversal= {if isset($stun_server)}1{else}0{/if}



################################################################
#                      Account Basic                          ##
################################################################
account.4.auto_answer=

################################################################
#                      Account Advanced                       ##
################################################################
account.4.nat.udp_update_enable = {if isset($account.4.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""}
account.4.nat.udp_update_time = 30
account.4.nat.rport= {$yealink_rport}

account.4.dtmf.type= {$yealink_dtmf_type}
account.4.dtmf.info_type=
account.4.dtmf.dtmf_payload=
account.4.100rel_enable=

account.4.subscribe_register=
account.4.cid_source= {$yealink_cid_source}
account.4.enable_user_equal_phone=
account.4.srtp_encryption= {$yealink_srtp_encryption}
account.4.ptime=
account.4.register_line=
account.4.register_mac=
account.4.reg_fail_retry_interval=
account.4.unregister_on_reboot=

account.4.session_timer.refresher=
account.4.session_timer.expires=
account.4.session_timer.enable= {$yealink_session_timer}

account.4.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if} 
account.4.sip_server_type=

##V83 Add
account.4.srtp.unencrypted_rtcp.enable =
account.4.srtp.unencrypted_rtp.enable =
account.4.sip_server_mode =



################################################################
#                        SIP Backup Server                    ##
################################################################
account.4.outbound_proxy.1.register_on_enable=
account.4.outbound_proxy.1.failback_timeout=
account.4.outbound_proxy.1.failback_mode=
account.4.outbound_proxy.1.retry_counts=
account.4.outbound_proxy.1.only_signal_with_registered=
account.4.outbound_proxy.1.failback_subscribe.enable=
account.4.outbound_proxy.1.invite_retry_counts=

account.4.sip_server.1.register_on_enable=
account.4.sip_server.1.failback_timeout=
account.4.sip_server.1.failback_mode=
account.4.sip_server.1.failback_subscribe.enable=
account.4.sip_server.1.only_signal_with_registered=
account.4.sip_server.1.invite_retry_counts=

account.4.outbound_proxy.2.register_on_enable=
account.4.outbound_proxy.2.failback_timeout=
account.4.outbound_proxy.2.failback_mode=
account.4.outbound_proxy.2.retry_counts=
account.4.outbound_proxy.2.only_signal_with_registered=
account.4.outbound_proxy.2.failback_subscribe.enable=
account.4.outbound_proxy.2.invite_retry_counts=

account.4.sip_server.2.register_on_enable=
account.4.sip_server.2.failback_timeout=
account.4.sip_server.2.failback_mode=
account.4.sip_server.2.failback_subscribe.enable=
account.4.sip_server.2.only_signal_with_registered=
account.4.sip_server.2.invite_retry_counts=

account.4.static_cache_pri=
account.4.dns_cache_type=
account.4.naptr_build=
account.4.fallback.timeout=
account.4.fallback.redundancy_type=
account.4.reg_failed_retry_max_time=
account.4.reg_failed_retry_min_time=
account.4.redundancy_with_reg_fail.enable =

##V83 Add
account.4.sip_server.1.outbound_proxy_enable =
account.4.sip_server.2.outbound_proxy_enable =

################################################################
#                        SIP Basic config                     ##
################################################################
account.4.contact_take_line_param=
account.4.update_ack_while_dialing=
account.4.srtp_lifetime=
account.4.third_part_request_with_route.enable=
account.4.insert_outbound_in_route.enable=
account.4.path.enable=
account.4.sub_fail_retry_interval=
account.4.transfer_refer_to_contact_header.enable=
account.4.hold_use_inactive=
account.4.gruu.enable=
account.4.dial_tone=
account.4.call_id_mode=
account.4.subscribe_expires_overlap=
account.4.register_expires_overlap=
account.4.call_info=
account.4.custom_ua=
account.4.mwi_parse_terminated=
account.4.check_cseq.enable=
account.4.check_to_tag.enable=
account.4.vq_rtcpxr.collector_server_port=
account.4.vq_rtcpxr.collector_server_host=
account.4.vq_rtcpxr.collector_name=
account.4.compact_header_enable=
account.4.cp_source = {$yealink_cp_source}
account.4.cid_source_ppi= 1
account.4.cid_source_privacy= 1
account.4.reg_with_pani_header.enable =
account.4.alert_info=
account.4.picture_info_enable= 1

##V83 Add
account.4.invite_with_pani_header.enable = 

##V84 Add
account.4.invite_with_rpid_header.enable=

account.4.auto_answer_mute_enable

##V84 SP4 Add
account.4.share_line.enable_private_code =
account.4.share_line.cancel_private_code =

#######################################################################################
##                                 History                                           ##
#######################################################################################
account.4.missed_calllog = {$yealink_missed_calllog}


#######################################################################################
##                                  Forward                                          ##
#######################################################################################
account.4.timeout_fwd.off_code=
account.4.timeout_fwd.on_code=
account.4.timeout_fwd.timeout=
account.4.timeout_fwd.target=
account.4.timeout_fwd.enable=
account.4.busy_fwd.off_code=
account.4.busy_fwd.on_code=
account.4.busy_fwd.target=
account.4.busy_fwd.enable=
account.4.always_fwd.off_code=
account.4.always_fwd.on_code=
account.4.always_fwd.target=
account.4.always_fwd.enable=


#######################################################################################
##                                  DND                                              ##
#######################################################################################
account.4.dnd.enable=
account.4.dnd.off_code=
account.4.dnd.on_code=



#######################################################################################
##                               Voice Mail                                          ##
#######################################################################################
voice_mail.number.1= {$voicemail_number}
account.4.subscribe_mwi= 1
account.4.subscribe_mwi_to_vm= {$yealink_subscribe_mwi_to_vm}
account.4.subscribe_mwi_expires= 3600
account.4.display_mwi.enable=

#######################################################################################
##                               Auto Dial                                           ##
#######################################################################################
account.4.auto_dial_enable=
account.4.auto_dial_num=


#######################################################################################
##                           Preference&Status                                       ##
#######################################################################################
account.4.ringtone.ring_type=

#######################################################################################
##                           Digitmap                                                ##
#######################################################################################
account.4.dialplan.digitmap.enable=
account.4.dialplan.digitmap.string=
account.4.dialplan.digitmap.no_match_action=
account.4.dialplan.digitmap.interdigit_short_timer=
account.4.dialplan.digitmap.interdigit_long_timer=
account.4.dialplan.digitmap.apply_to.press_send=
account.4.dialplan.digitmap.apply_to.forward=
account.4.dialplan.digitmap.apply_to.history_dial=
account.4.dialplan.digitmap.apply_to.directory_dial=
account.4.dialplan.digitmap.apply_to.on_hook_dial=
account.4.dialplan.digitmap.active.on_hook_dialing=


#######################################################################################
##                                 Rings Settings                                    ##
#######################################################################################
account.4.alert_info_url_enable=


#######################################################################################
##                                  BLF/BLF List                                     ##
#######################################################################################
account.4.blf.blf_list_uri=
account.4.blf_list_barge_in_code=
account.4.blf_list_code=
account.4.blf_list_retrieve_call_parked_code=
account.4.blf.subscribe_period=
account.4.blf.match_host.enable=
account.4.out_dialog_blf_enable=
account.4.blf.subscribe_event=

##V84 Add
account.4.blf_list_call_parked_code=
account.4.blf_list_call_parked_list=

##V84 SP4 ADD
account.4.blf_list_whisper_code=
account.4.blf_list_listen_in_code=


#######################################################################################
##                                   SCA                                             ##
#######################################################################################
account.4.shared_line=
account.4.line_seize.expires=
account.4.shared_line_one_touch_bargein.enable=
account.4.shared_line_one_touch_retrieve.enable=
account.4.sca_manage_interface_display_time=
account.4.shared_line_callpull_code=

##V83 Add
account.x.share_line.barge_in.enable

#######################################################################################
##                                   BLA                                             ##
#######################################################################################
account.4.bla_number=
account.4.bla_subscribe_period=
account.4.bla.notify_with_expire.enable=
account.4.bla.subscribe_uri_build_type=

#######################################################################################
##                                   Call Park                                       ##
#######################################################################################
account.4.callpark_enable=


#######################################################################################
##                                    Broadsoft ACD                                  ##
#######################################################################################
account.4.acd.enable= 0
account.4.acd.available= 0
account.4.acd.unavailable_reason_enable= 0
account.4.acd.initial_state= 1
account.4.subscribe_acd_expires=


#######################################################################################
##                                 Broadsoft ACD Call Center                         ##
#######################################################################################
##account.X.reason_code.Y=
##account.X.reason_code_name.Y=
##account.X.bw_disp_code.Y=
##account.X.bw_disp_code_name.Y=
##account.X.supervisor_info_code.Y=
##account.X.supervisor_info_code_name.Y=
##The value Y must be continuous.

account.4.reason_code.1=
account.4.reason_code_name.1= 0
account.4.bw_disp_code.1=
account.4.bw_disp_code_name.1=
account.4.supervisor_info_code.1=
account.4.supervisor_info_code_name.1=

#######################################################################################
##                                 Broadsoft Call Center                             ##
#######################################################################################
account.4.call_center.call_info_enable= 0
account.4.call_center.show_call_info_time= 30
account.4.call_center.disp_code_enable= 0
account.4.call_center.trace_enable= 0
account.4.call_center.emergency_enable= 0
account.4.call_center.queue_status_enable= 0
account.4.call_center.queue_status_light_enable = 0



#######################################################################################
##                         Broadsoft Hoteling                                        ##
#######################################################################################
account.4.hoteling.enable= 0
account.4.hoteling.user_id= 0
account.4.hoteling.password= 0
account.4.hoteling.expires= 0
account.4.hoteling.auto_login_enable= 0


#######################################################################################
##                              Broadsoft XSI                                        ##
#######################################################################################
account.4.xsi.user =
account.4.xsi.password =
account.4.xsi.host =
account.4.xsi.server_type =
account.4.xsi.port =


#######################################################################################
##                                Call Pickup                                        ##
#######################################################################################
account.4.direct_pickup_code =
account.4.group_pickup_code =
account.4.dialoginfo_callpickup = 0
account.4.refresh_remote_id.enable =


#######################################################################################
##                              Broadsoft Call Recording                             ##
#######################################################################################
account.4.call_recording.enable=

#######################################################################################
##                                Network Conference                                  ##
#######################################################################################
account.4.conf_uri = {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if}


#######################################################################################
##                              Broadsoft Call Decline                               ##
#######################################################################################
account.4.features.call_decline.enable =


#######################################################################################
##                       Broadsoft Security Classification                           ##
#######################################################################################
account.4.security_classification.enable =



#######################################################################################
##                        Broadsoft Flexible Seating                                 ##
#######################################################################################
account.4.flexible_seating.enable=
account.4.hoteling.pin=
account.4.hoteling.mode=

#######################################################################################
##                         Features Sync                                             ##
#######################################################################################
account.4.features.forward.feature_key_sync.local_processing.enable=
account.4.features.dnd.feature_key_sync.local_processing.enable =

##V84 Add
account.4.dnd.feature_key_sync.enable=
account.4.feature_key_sync.enable=
account.4.forward.feature_key_sync.enable=

#######################################################################################
##                                   ACD                                             ##
#######################################################################################
account.4.acd.available_url=
account.4.acd.away_url =
account.4.acd.refresh_url =
account.4.acd.call_information=



#######################################################################################
##                                  virtual_user                                     ##
#######################################################################################
##V84 Add
#bw.virtual_user.1.enable=
#bw.virtual_user.1.label=
#bw.virtual_user.1.xsi.dnd.enable=
#bw.virtual_user.1.xsi.host=
#bw.virtual_user.1.xsi.password=
#bw.virtual_user.1.xsi.port=
#bw.virtual_user.1.xsi.server_type=
#bw.virtual_user.1.xsi.user=
