#!version:1.0.0.1 #{$microtime} ##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## {foreach $lines as $row} ####################################################################################### ## Account {$row.line_number} Basic Settings ## ####################################################################################### ## ranges from 1 to 6; ##account.X.enable = {if isset($row.password) } account.{$row.line_number}.enable = 1 {else} account.{$row.line_number}.enable = 0 {/if} account.{$row.line_number}.label = {$row.label} account.{$row.line_number}.display_name = {$row.display_name} account.{$row.line_number}.auth_name = {$row.auth_id} account.{$row.line_number}.password = {$row.password} {if isset($row.server.1.address)} account.{$row.line_number}.user_name = {$row.user_id}@{$row.server_address} {else} account.{$row.line_number}.user_name = {$row.user_id} {/if} {if isset($row.server.1.address)} account.{$row.line_number}.sip_server.1.address = {$row.server.1.address} {else} account.{$row.line_number}.sip_server.1.address = {$row.server_address} {/if} account.{$row.line_number}.sip_server.1.port = {$row.sip_port} account.{$row.line_number}.outbound_host = {$row.outbound_proxy} #account.{$row.line_number}.outbound_port = {$row.sip_port} #account.{$row.line_number}.sip_listen_port = {$row.sip_port} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; {if $account.{$row.line_number}.sip_transport == 'udp'}account.{$row.line_number}.sip_server.1.transport_type = 0{/if} {if $account.{$row.line_number}.sip_transport == 'tcp'}account.{$row.line_number}.sip_server.1.transport_type = 1{/if} {if $account.{$row.line_number}.sip_transport == 'tls'}account.{$row.line_number}.sip_server.1.transport_type = 2{/if} {if $account.{$row.line_number}.sip_transport == 'dns srv'}account.{$row.line_number}.sip_server.1.transport_type = 3{/if} account.{$row.line_number}.outbound_proxy.1.address = {$row.outbound_proxy_primary} account.{$row.line_number}.outbound_proxy.2.address = {$row.outbound_proxy_secondary} account.{$row.line_number}.outbound_proxy_enable = {if isset($row.outbound_proxy_primary)}1{else}0{/if} {if isset($outbound_proxy_1_port)} account.{$row.line_number}.outbound_proxy.1.port = {$outbound_proxy_1_port} {else} account.{$row.line_number}.outbound_proxy.1.port = {$row.sip_port} {/if} {if isset($outbound_proxy_1_port)} account.{$row.line_number}.outbound_proxy.2.port = {$outbound_proxy_2_port} {else} account.{$row.line_number}.outbound_proxy.2.port = {$row.sip_port} {/if} ####################################################################################### ## Failback ## ####################################################################################### ## ranges from 1 to 6; ##account.X.reregister_enable = 0 account.{$row.line_number}.reregister_enable = 0 account.{$row.line_number}.retry_counts = account.{$row.line_number}.failback_mode = 0 account.{$row.line_number}.failback_timeout = 3600 account.{$row.line_number}.naptr_build = 0 account.{$row.line_number}.fallback.redundancy_type = 0 account.{$row.line_number}.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} account.{$row.line_number}.sip_server.1.port = {$row.sip_port} #Configure the register expiry time (in seconds), the default value is 3600. account.{$row.line_number}.sip_server.1.expires = {$row.register_expires} account.{$row.line_number}.sip_server.1.retry_counts = 3 account.{$row.line_number}.sip_server.1.failback_mode = 0 account.{$row.line_number}.sip_server.1.failback_timeout = 3600 account.{$row.line_number}.sip_server.1.register_on_enable = 0 account.{$row.line_number}.sip_server.2.address = {$row.server.2.address} account.{$row.line_number}.sip_server.2.port = {$row.sip_port} account.{$row.line_number}.sip_server.2.expires = {$row.register_expires} account.{$row.line_number}.sip_server.2.retry_counts = 3 account.{$row.line_number}.sip_server.2.failback_mode = 0 account.{$row.line_number}.sip_server.2.failback_timeout = 3600 account.{$row.line_number}.sip_server.2.register_on_enable = 0 account.{$row.line_number}.dns_cache_type = 1 account.{$row.line_number}.dns_cache_a.1.name = account.{$row.line_number}.dns_cache_a.1.ip = account.{$row.line_number}.dns_cache_a.1.ttl = 300 account.{$row.line_number}.dns_cache_srv.1.name = account.{$row.line_number}.dns_cache_srv.1.port = 0 account.{$row.line_number}.dns_cache_srv.1.priority = 0 account.{$row.line_number}.dns_cache_srv.1.target = account.{$row.line_number}.dns_cache_srv.1.weight = 0 account.{$row.line_number}.dns_cache_srv.1.ttl = 300 account.{$row.line_number}.dns_cache_naptr.1.name = account.{$row.line_number}.dns_cache_naptr.1.flags = account.{$row.line_number}.dns_cache_naptr.1.order = 0 account.{$row.line_number}.dns_cache_naptr.1.preference = 0 account.{$row.line_number}.dns_cache_naptr.1.replace = account.{$row.line_number}.dns_cache_naptr.1.service = account.{$row.line_number}.dns_cache_naptr.1.ttl = 300 account.{$row.line_number}.static_cache_pri = 0 ####################################################################################### ## Register Advanced ## ####################################################################################### ## ranges from 1 to 6; ##account.X.sip_server_type = #Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom; account.{$row.line_number}.sip_server_type = #Enable or disable the phone to send the account log-off message first and then send account register message when rebooting the phone; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.unregister_on_reboot = #Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.sip_trust_ctrl = 1 #Configure the timeout (in seconds) for DNS query, the value ranges from 1 to 9, the default value is 8. account.{$row.line_number}.dns_query_timeout= #Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.srv_ttl_timer_enable = account.{$row.line_number}.proxy_require = #Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.register_mac = account.{$row.line_number}.register_line = #Configure the interval (in seconds) the phone retries to register when account1 fails to register. It ranges from 0 to 1800, the default value is 30. account.{$row.line_number}.reg_fail_retry_interval = ######################################################################### ## NAT Settings ## ######################################################################### #Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; account.{$row.line_number}.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} #Configure the STUN server address. account.{$row.line_number}.nat.stun_server = {$stun_server} #Configure the STUN server port, the default value is 3478. account.{$row.line_number}.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; account.{$row.line_number}.nat.udp_update_enable = {if isset($row.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""} #Specify the keep-alive interval (in seconds), the default value is 30. account.{$row.line_number}.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.nat.rport = {$yealink_rport} ####################################################################################### ## AccountX Advance Settings ## ####################################################################################### ## ranges from 1 to 6; ##account.X.advanced.timer_t1 = 0.5 ##voice_mail.number.X = #Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5. account.{$row.line_number}.advanced.timer_t1 = account.{$row.line_number}.advanced.timer_t2 = account.{$row.line_number}.advanced.timer_t4 = voice_mail.number.1 = {$voicemail_number} ####################################################################################### ## Subscribe ## ####################################################################################### ## ranges from 1 to 6; ##account.X.subscribe_mwi = account.{$row.line_number}.subscribe_mwi = {$yealink_subscribe_mwi} account.{$row.line_number}.subscribe_mwi_expires = 3600 #Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.subscribe_mwi_to_vm = 1 account.{$row.line_number}.subscribe_acd_expires= 3600 ####################################################################################### ## BLF List ## ####################################################################################### ## ranges from 1 to 6; ##account.X.blf.blf_list_uri = #Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist". account.{$row.line_number}.blf.blf_list_uri = account.{$row.line_number}.blf_list_code = account.{$row.line_number}.blf_list_barge_in_code = account.{$row.line_number}.blf.subscribe_period = 1800 account.{$row.line_number}.blf.subscribe_event = account.{$row.line_number}.out_dialog_blf_enable = 0 ####################################################################################### ## BLA/SCA ## ####################################################################################### ## ranges from 1 to 6; ##account.X.shared_line = #Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA; {if isset($row.shared_line) } account.{$row.line_number}.shared_line = {$row.shared_line} {else} account.{$row.line_number}.shared_line = 0 {/if} #Configure BLA number for account1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300. account.{$row.line_number}.bla_number = account.{$row.line_number}.bla_subscribe_period = 300 ####################################################################################### ## Audio Codec ## ####################################################################################### #Audio codecs for account1 (Y ranges from 1 to 11). #Enable or disable the specified codec; 0-Disabled, 1-Enabled; #account.{$row.line_number}.codec.Y.enable = #The type of the specified codec. #account.{$row.line_number}.codec.Y.payload_type = #The priority of the specified codec. It's available when the codec is enabled. #account.{$row.line_number}.codec.Y.priority = #The payload of the specified codec. #account.{$row.line_number}.codec.Y.rtpmap = account.{$row.line_number}.codec.1.enable = {if isset($yealink_codec_pcmu_enable) && $yealink_codec_pcmu_enable}1{else}{0}{/if} account.{$row.line_number}.codec.1.payload_type = PCMU account.{$row.line_number}.codec.1.priority = {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} account.{$row.line_number}.codec.1.rtpmap = 0 account.{$row.line_number}.codec.2.enable = {if isset($yealink_codec_pcma_enable) && $yealink_codec_pcma_enable}1{else}{0}{/if} account.{$row.line_number}.codec.2.payload_type = PCMA account.{$row.line_number}.codec.2.priority = {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} account.{$row.line_number}.codec.2.rtpmap = 8 account.{$row.line_number}.codec.3.enable = {if isset($yealink_codec_g723_53_enable) && $yealink_codec_g723_53_enable}1{else}{0}{/if} account.{$row.line_number}.codec.3.payload_type = G723_53 account.{$row.line_number}.codec.3.priority ={if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} account.{$row.line_number}.codec.3.rtpmap = 4 account.{$row.line_number}.codec.4.enable = {if isset($yealink_codec_g723_63_enable) && $yealink_codec_g723_63_enable}1{else}0{/if} account.{$row.line_number}.codec.4.payload_type = G723_63 account.{$row.line_number}.codec.4.priority = {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} account.{$row.line_number}.codec.4.rtpmap = 4 account.{$row.line_number}.codec.5.enable = {if isset($yealink_codec_g729_enable) && $yealink_codec_g729_enable}1{else}0{/if} account.{$row.line_number}.codec.5.payload_type = G729 account.{$row.line_number}.codec.5.priority = {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} account.{$row.line_number}.codec.5.rtpmap = 18 account.{$row.line_number}.codec.6.enable = {if isset($yealink_codec_g722_enable) && $yealink_codec_g722_enable}1{else}0{/if} account.{$row.line_number}.codec.6.payload_type = G722 account.{$row.line_number}.codec.6.priority = {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} account.{$row.line_number}.codec.6.rtpmap = 9 account.{$row.line_number}.codec.7.enable = {if isset($yealink_codec_ilbc_enable) && $yealink_codec_ilbc_enable}1{else}0{/if} account.{$row.line_number}.codec.7.payload_type = iLBC account.{$row.line_number}.codec.7.priority = {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} account.{$row.line_number}.codec.7.rtpmap = 106 account.{$row.line_number}.codec.8.enable = {if isset($yealink_codec_g726_16_enable) && $yealink_codec_g726_16_enable}1{else}0{/if} account.{$row.line_number}.codec.8.payload_type = G726-16 account.{$row.line_number}.codec.8.priority = {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} account.{$row.line_number}.codec.8.rtpmap = 103 account.{$row.line_number}.codec.9.enable = {if isset($yealink_codec_g726_24_enable) && $yealink_codec_g726_24_enable}1{else}0{/if} account.{$row.line_number}.codec.9.payload_type = G726-24 account.{$row.line_number}.codec.9.priority = {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} account.{$row.line_number}.codec.9.rtpmap = 104 account.{$row.line_number}.codec.10.enable = {if isset($yealink_codec_g726_32_enable) && $yealink_codec_g726_32_enable}1{else}0{/if} account.{$row.line_number}.codec.10.payload_type = G726-32 account.{$row.line_number}.codec.10.priority = {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} account.{$row.line_number}.codec.10.rtpmap = 102 account.{$row.line_number}.codec.11.enable = {if isset($yealink_codec_g726_40_enable) && $yealink_codec_g726_40_enable}1{else}0{/if} account.{$row.line_number}.codec.11.payload_type = G726-40 account.{$row.line_number}.codec.11.priority = {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} account.{$row.line_number}.codec.11.rtpmap = 105 account.{$row.line_number}.codec.12.enable = {if isset($yealink_codec_gsm_enable) && $yealink_codec_gsm_enable}1{else}0{/if} account.{$row.line_number}.codec.12.payload_type = GSM account.{$row.line_number}.codec.12.priority = {if isset($yealink_codec_gsm_priority)}{$yealink_codec_gsm_priority}{else}0{/if} account.{$row.line_number}.codec.12.rtpmap = 3 account.{$row.line_number}.codec.13.enable = {if isset($yealink_codec_opus_enable) && $yealink_codec_opus_enable}1{else}0{/if} account.{$row.line_number}.codec.13.payload_type = opus account.{$row.line_number}.codec.13.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} account.{$row.line_number}.codec.13.rtpmap = 106 ####################################################################################### ## Audio Advanced ## ####################################################################################### #Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; account.{$row.line_number}.srtp_encryption = {$yealink_srtp_encryption} #Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. account.{$row.line_number}.ptime = ####################################################################################### ## Anonymous Call ## ####################################################################################### account.{$row.line_number}.anonymous_call = 0 account.{$row.line_number}.anonymous_call_oncode = account.{$row.line_number}.anonymous_call_offcode = account.{$row.line_number}.reject_anonymous_call = account.{$row.line_number}.anonymous_reject_oncode = account.{$row.line_number}.anonymous_reject_offcode = ####################################################################################### ## Pickup Code ## ####################################################################################### account.{$row.line_number}.dialoginfo_callpickup = 0 #Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone. account.{$row.line_number}.group_pickup_code = account.{$row.line_number}.direct_pickup_code = ####################################################################################### ## DTMF ## ####################################################################################### #Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; account.{$row.line_number}.dtmf.type = {$yealink_dtmf_type} #Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event; account.{$row.line_number}.dtmf.info_type = #Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. account.{$row.line_number}.dtmf.dtmf_payload = ####################################################################################### ## Alert info ## ####################################################################################### #Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); account.{$row.line_number}.alert_info_url_enable = #Assign a ringtone for account1. The system ring tones are: common (default), Ring1.wav - Ring8.wav. #If you set the custom ring tone (Busy.wav) for the phone, the value is: account.{$row.line_number}.ringtone.ring_type = Config:Busy.wav #If you set the system ring tone (Ring2.wav) for the phone, the value is: account.{$row.line_number}.ringtone.ring_type = Resource:Ring2.wav account.{$row.line_number}.ringtone.ring_type = account.{$row.line_number}.picture_info_enable = 1 ####################################################################################### ## Conference ## ####################################################################################### #Configure the conference type; 0-Local (default), 2-Network Conference; account.{$row.line_number}.conf_type = {if $nway_conference == 'true'}2{elseif $nway_conference == 'false'}0{/if} #Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference". account.{$row.line_number}.conf_uri = {if $nway_conference == 'true'}nway{$row.auth_id}@{$row.server_address}{/if} ####################################################################################### ## cid_source ## ####################################################################################### #Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM; account.{$row.line_number}.cid_source = {$yealink_cid_source} account.{$row.line_number}.cid_source_privacy = 1 account.{$row.line_number}.cid_source_ppi = 1 #Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## ####################################################################################### #Enable or disable the session timer, 0-Disabled (default), 1-Enabled; account.{$row.line_number}.session_timer.enable = {$yealink_session_timer} #Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. account.{$row.line_number}.session_timer.expires = #Configure the session timer refresher; 0-Uac (default), 1-Uas; account.{$row.line_number}.session_timer.refresher = ####################################################################################### ## Music on Hold ## ####################################################################################### #Configure the type of Music on Hold; 0-Send the INVITE request to Music on Hold Server then hold the call; 1-Hold the call then send the INVITE request to Music on Hold Server; #Require reboot; account.{$row.line_number}.music_on_hold_type = account.{$row.line_number}.music_server_uri = ####################################################################################### ## Advanced ## ####################################################################################### #Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.auto_answer = #Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); account.{$row.line_number}.missed_calllog = {$yealink_missed_calllog} #Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.100rel_enable = {$yealink_retransmission} #Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; account.{$row.line_number}.enable_user_equal_phone = #Enbale or diable the simplified header field feature; 0-Disabled, 1-Enabled (default); account.{$row.line_number}.compact_header_enable = ####################################################################################### ## DND ## ####################################################################################### account.{$row.line_number}.dnd.enable = account.{$row.line_number}.dnd.on_code = account.{$row.line_number}.dnd.off_code = ####################################################################################### ## Call Forward ## ####################################################################################### account.{$row.line_number}.always_fwd.enable = account.{$row.line_number}.always_fwd.target = account.{$row.line_number}.always_fwd.off_code = account.{$row.line_number}.always_fwd.on_code = account.{$row.line_number}.busy_fwd.enable = account.{$row.line_number}.busy_fwd.target = account.{$row.line_number}.busy_fwd.off_code = account.{$row.line_number}.busy_fwd.on_code = #Enable or disable the no answer forward feature for account1; 0-Disabled (default), 1-Enabled; #Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 2. account.{$row.line_number}.timeout_fwd.enable = account.{$row.line_number}.timeout_fwd.target = account.{$row.line_number}.timeout_fwd.timeout = account.{$row.line_number}.timeout_fwd.off_code = account.{$row.line_number}.timeout_fwd.on_code = ####################################################################################### ## Broadsoft Hoteling ## ####################################################################################### account.{$row.line_number}.hoteling.enable = 0 account.{$row.line_number}.hoteling.user_id = 0 account.{$row.line_number}.hoteling.password = 0 account.{$row.line_number}.hoteling.auto_login_enable = 0 ####################################################################################### ## Broadsoft ACD ## ####################################################################################### account.{$row.line_number}.acd.enable = 0 account.{$row.line_number}.acd.unavailable_reason_enable = 0 account.{$row.line_number}.acd.available = 0 account.{$row.line_number}.acd.initial_state = 1 ####################################################################################### ## Broadsoft ACD Call Center ## ####################################################################################### #Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) #account.{$row.line_number}.bw_acd_reason_code.Y = 500(lunch time) account.{$row.line_number}.bw_acd_reason_code.1 = account.{$row.line_number}.reason_code.1 = account.{$row.line_number}.reason_code_name.1 = 0 account.{$row.line_number}.bw_disp_code.1 = account.{$row.line_number}.bw_disp_code_name.1 = account.{$row.line_number}.supervisor_info_code.1 = account.{$row.line_number}.supervisor_info_code_name.1 = ####################################################################################### ## Broadsoft Call Center ## ####################################################################################### account.{$row.line_number}.call_center.call_info_enable = 0 account.{$row.line_number}.call_center.show_call_info_time = 30 account.{$row.line_number}.call_center.disp_code_enable = 0 account.{$row.line_number}.call_center.trace_enable = 0 account.{$row.line_number}.call_center.emergency_enable = 0 account.{$row.line_number}.call_center.queue_status_enable = 0 account.{$row.line_number}.call_center.queue_status_light_enable = 0 ####################################################################################### ## Broadsoft XSI ## ####################################################################################### account.{$row.line_number}.xsi.user = account.{$row.line_number}.xsi.password = account.{$row.line_number}.xsi.host = account.{$row.line_number}.xsi.server_type = account.{$row.line_number}.xsi.port = {/foreach} ####################################################################################### ## NETWORK ## ####################################################################################### ##0-ipv4, 1-ipv6, 2-ipv4&ipv6 network.ip_address_mode = 2 network.ipv6_prefix = 64 network.ipv6_internet_port.type = network.ipv6_internet_port.ip = network.ipv6_internet_port.gateway = network.ipv6_primary_dns = network.ipv6_secondary_dns = network.ipv6_icmp_v6.enable = #Configure the WAN port type; 0-DHCP (default), 1-PPPoE, 2-Static IP Address; #Require reboot; network.internet_port.type = #Configure the static IP address, subnet mask, gateway and DNS server; #Require Reboot; network.internet_port.ip = network.internet_port.mask = network.internet_port.gateway = {if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if} {if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if} {if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if} ####################################################################################### ## Line Key ## ####################################################################################### #The x of the parameter "linekey.x.line" ranges from 1 to 6. #The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1. #linekey.x.lable--Define the label for each line key. Meet-Me Conference "1" or BLF "16" require pick_value. {foreach $keys['line'] as $row} #Configure Line Key {$row.device_key_id} linekey.{$row.device_key_id}.line = {$row.device_key_line} linekey.{$row.device_key_id}.value = {$row.device_key_value} {if $row.device_key_type == "1" || $row.device_key_type == "16"} linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension} {else} linekey.{$row.device_key_id}.extension = {$row.device_key_extension} {/if} linekey.{$row.device_key_id}.type = {$row.device_key_type} linekey.{$row.device_key_id}.xml_phonebook = linekey.{$row.device_key_id}.label = {$row.device_key_label} {/foreach}