diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 0294948df1..a31587931d 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -3,57 +3,62 @@ ##File header "#!version:1.0.0.1" can not be edited or deleted, and must be placed in the first line.## + +{foreach $lines as $row} + ####################################################################################### ## Account 1 Basic Settings ## ####################################################################################### + ## ranges from 1 to 6; ##account.X.enable = -{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} -account.1.password = {$account.1.password} -{if isset($account.1.server.1.address)} -account.1.user_name = {$account.1.user_id}@{$account.1.server_address} +{if isset($row.password) } +account.{$row.line_number}.enable = 1 {else} -account.1.user_name = {$account.1.user_id} +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($account.1.server.1.address)} -account.1.sip_server.1.address = {$account.1.server.1.address} +{if isset($row.server.1.address)} +account.{$row.line_number}.sip_server.1.address = {$row.server.1.address} {else} -account.1.sip_server_host = {$account.1.server_address} +account.{$row.line_number}.sip_server_host = {$row.server_address} {/if} -account.1.sip_server_port = {$account.1.sip_port} -account.1.outbound_host = {$account.1.outbound_proxy} -account.1.outbound_port = {$account.1.sip_port} -{if isset($yealink_sip_listen_port)}account.1.sip_listen_port = {$yealink_sip_listen_port}{else}account.1.sip_listen_port = 5060{/if} +account.{$row.line_number}.sip_server_port = {$row.sip_port} +account.{$row.line_number}.outbound_host = {$row.outbound_proxy} +account.{$row.line_number}.outbound_port = {$row.sip_port} +{if isset($yealink_sip_listen_port)}account.{$row.line_number}.sip_listen_port = {$yealink_sip_listen_port}{else}account.{$row.line_number}.sip_listen_port = 5060{/if} #Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.1.sip_transport == 'udp'}account.1.transport = 0{/if} -{if $account.1.sip_transport == 'tcp'}account.1.transport = 1{/if} -{if $account.1.sip_transport == 'tls'}account.1.transport = 2{/if} -{if $account.1.sip_transport == 'dns srv'}account.1.transport = 3{/if} +{if $row.sip_transport == 'udp'}account.{$row.line_number}.transport = 0{/if} +{if $row.sip_transport == 'tcp'}account.{$row.line_number}.transport = 1{/if} +{if $row.sip_transport == 'tls'}account.{$row.line_number}.transport = 2{/if} +{if $row.sip_transport == 'dns srv'}account.{$row.line_number}.transport = 3{/if} -account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary} -account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary} -account.1.outbound_proxy_enable = {if isset($account.1.outbound_proxy_primary)}1{else}0{/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.1.outbound_proxy.1.port = {$outbound_proxy_1_port} +account.{$row.line_number}.outbound_proxy.1.port = {$outbound_proxy_1_port} {else} -account.1.outbound_proxy.1.port = {$account.1.sip_port} +account.{$row.line_number}.outbound_proxy.1.port = {$row.sip_port} {/if} {if isset($outbound_proxy_1_port)} -account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} +account.{$row.line_number}.outbound_proxy.2.port = {$outbound_proxy_2_port} {else} -account.1.outbound_proxy.2.port = {$account.1.sip_port} +account.{$row.line_number}.outbound_proxy.2.port = {$row.sip_port} {/if} ####################################################################################### @@ -62,63 +67,63 @@ account.1.outbound_proxy.2.port = {$account.1.sip_port} ## ranges from 1 to 6; ##account.X.reregister_enable = 0 -account.1.reregister_enable = 0 -account.1.retry_counts = -account.1.failback_mode = 0 -account.1.failback_timeout = 3600 -account.1.naptr_build = 0 -account.1.fallback.redundancy_type = 0 -account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.1.sip_server.1.address = {$account.1.server.1.address} -account.1.sip_server.1.port = {$account.1.sip_port} +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.address = {$row.server.1.address} +account.{$row.line_number}.sip_server.1.port = {$row.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.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} +{if $row.sip_transport == 'udp'}account.{$row.line_number}.sip_server.1.transport_type = 0{/if} +{if $row.sip_transport == 'tcp'}account.{$row.line_number}.sip_server.1.transport_type = 1{/if} +{if $row.sip_transport == 'tls'}account.{$row.line_number}.sip_server.1.transport_type = 2{/if} +{if $row.sip_transport == 'dns srv'}account.{$row.line_number}.sip_server.1.transport_type = 3{/if} #Configure the register expiry time (in seconds), the default value is 3600. -account.1.sip_server.1.expires = {$account.1.register_expires} -account.1.sip_server.1.retry_counts = 3 -account.1.sip_server.1.failback_mode = 0 -account.1.sip_server.1.failback_timeout = 3600 -account.1.sip_server.1.register_on_enable = 0 -account.1.sip_server.2.address = {$account.1.server.2.address} -account.1.sip_server.2.port = {$account.1.sip_port} +account.{$row.line_number}.sip_server.1.expires = {$row.register_expires} +account.{$row.line_number}.sip_server.1.retry_counts = 3 +account.{$row.line_number}.sip_server.1.failback_mode = 0 +account.{$row.line_number}.sip_server.1.failback_timeout = 3600 +account.{$row.line_number}.sip_server.1.register_on_enable = 0 +account.{$row.line_number}.sip_server.2.address = {$row.server.2.address} +account.{$row.line_number}.sip_server.2.port = {$row.sip_port} #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} +{if $row.sip_transport == 'udp'}account.{$row.line_number}.sip_server.2.transport_type = 0{/if} +{if $row.sip_transport == 'tcp'}account.{$row.line_number}.sip_server.2.transport_type = 1{/if} +{if $row.sip_transport == 'tls'}account.{$row.line_number}.sip_server.2.transport_type = 2{/if} +{if $row.sip_transport == 'dns srv'}account.{$row.line_number}.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.sip_server.2.failback_mode = 0 -account.1.sip_server.2.failback_timeout = 3600 -account.1.sip_server.2.register_on_enable = 0 -account.1.dns_cache_type = 1 +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.1.dns_cache_a.1.name = -account.1.dns_cache_a.1.ip = -account.1.dns_cache_a.1.ttl = 300 +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.1.dns_cache_srv.1.name = -account.1.dns_cache_srv.1.port = 0 -account.1.dns_cache_srv.1.priority = 0 -account.1.dns_cache_srv.1.target = -account.1.dns_cache_srv.1.weight = 0 -account.1.dns_cache_srv.1.ttl = 300 -account.1.dns_cache_naptr.1.name = -account.1.dns_cache_naptr.1.flags = -account.1.dns_cache_naptr.1.order = 0 -account.1.dns_cache_naptr.1.preference = 0 -account.1.dns_cache_naptr.1.replace = -account.1.dns_cache_naptr.1.service = -account.1.dns_cache_naptr.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.1.static_cache_pri = 0 +account.{$row.line_number}.static_cache_pri = 0 ####################################################################################### ## Register Advanced ## @@ -127,49 +132,48 @@ account.1.static_cache_pri = 0 ##account.X.sip_server_type = #Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom; -account.1.sip_server_type = +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.1.unregister_on_reboot = +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.1.sip_trust_ctrl = 1 +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.1.dns_query_timeout= +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.1.srv_ttl_timer_enable = -account.1.proxy_require = - +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.1.register_mac = -account.1.register_line = +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.1.reg_fail_retry_interval = +account.{$row.line_number}.reg_fail_retry_interval = ######################################################################### ## NAT Settings ## ######################################################################### #Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} +account.{$row.line_number}.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} #Configure the STUN server address. -account.1.nat.stun_server = {$stun_server} +account.{$row.line_number}.nat.stun_server = {$stun_server} #Configure the STUN server port, the default value is 3478. -account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} +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.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.{$row.line_number}.nat.udp_update_enable = 3 #Specify the keep-alive interval (in seconds), the default value is 30. -account.1.nat.udp_update_time = 30 +account.{$row.line_number}.nat.udp_update_time = 30 #Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.1.nat.rport = {$yealink_rport} +account.{$row.line_number}.nat.rport = {$yealink_rport} ####################################################################################### @@ -180,9 +184,9 @@ account.1.nat.rport = {$yealink_rport} ##voice_mail.number.X = #Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5. -account.1.advanced.timer_t1 = -account.1.advanced.timer_t2 = -account.1.advanced.timer_t4 = +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} @@ -193,14 +197,13 @@ voice_mail.number.1 = {$voicemail_number} ## ranges from 1 to 6; ##account.X.subscribe_mwi = -account.1.subscribe_mwi = {$yealink_subscribe_mwi} -account.1.subscribe_mwi_expires = 3600 +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.1.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.1.subscribe_acd_expires= 3600 +account.{$row.line_number}.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} +account.{$row.line_number}.subscribe_acd_expires= 3600 ####################################################################################### ## BLF List ## @@ -209,15 +212,14 @@ account.1.subscribe_acd_expires= 3600 ##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.1.blf.blf_list_uri = +account.{$row.line_number}.blf.blf_list_uri = -account.1.blf_list_code = -account.1.blf_list_barge_in_code = -account.1.blf.subscribe_period = 1800 - -account.1.blf.subscribe_event = -account.1.out_dialog_blf_enable = 0 +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 ## @@ -226,2714 +228,315 @@ account.1.out_dialog_blf_enable = 0 ##account.X.shared_line = #Assign account1 as shared line; 0-Disabled (default), 1-Broadsoft SCA, 2-BLA; -{if isset($account.1.shared_line) } -account.1.shared_line = {$account.1.shared_line} +{if isset($row.shared_line) } +account.{$row.line_number}.shared_line = {$row.shared_line} {else} -account.1.shared_line = 0 +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.1.bla_number = -account.1.bla_subscribe_period = 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.1.codec.Y.enable = +#account.{$row.line_number}.codec.Y.enable = #The type of the specified codec. -#account.1.codec.Y.payload_type = +#account.{$row.line_number}.codec.Y.payload_type = #The priority of the specified codec. It's available when the codec is enabled. -#account.1.codec.Y.priority = +#account.{$row.line_number}.codec.Y.priority = #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.pcmu.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +#account.{$row.line_number}.codec.Y.rtpmap = -account.1.codec.pcmu.payload_type = PCMU -account.1.codec.pcmu.priority = {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if} +account.{$row.line_number}.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} -account.1.codec.pcmu.rtpmap = 0 +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.1.codec.pcma.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.{$row.line_number}.codec.1.rtpmap = 0 -account.1.codec.pcma.payload_type = PCMA -account.1.codec.pcma.priority = {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if} +account.{$row.line_number}.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} -account.1.codec.pcma.rtpmap = 8 +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.1.codec.g723_53.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.{$row.line_number}.codec.2.rtpmap = 8 -account.1.codec.g723_53.payload_type = G723_53 -account.1.codec.g723_53.priority ={if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if} +account.{$row.line_number}.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} -account.1.codec.g723_53.rtpmap = 4 +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.1.codec.g723_63.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.{$row.line_number}.codec.3.rtpmap = 4 -account.1.codec.g723_63.payload_type = G723_63 -account.1.codec.g723_63.priority = {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if} +account.{$row.line_number}.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} -account.1.codec.g723_63.rtpmap = 4 +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.1.codec.g729.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.{$row.line_number}.codec.4.rtpmap = 4 -account.1.codec.g729.payload_type = G729 -account.1.codec.g729.priority = {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if} +account.{$row.line_number}.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} -account.1.codec.g729.rtpmap = 18 +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.1.codec.g722.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} +account.{$row.line_number}.codec.5.rtpmap = 18 -account.1.codec.g722.payload_type = G722 -account.1.codec.g722.priority = {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if} +account.{$row.line_number}.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} -account.1.codec.g722.rtpmap = 9 +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.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.{$row.line_number}.codec.6.rtpmap = 9 -account.1.codec.ilbc_13_33kbps.payload_type = iLBC -account.1.codec.ilbc_13_33kbps.priority = {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if} +account.{$row.line_number}.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} -account.1.codec.ilbc_13_33kbps.rtpmap = 106 +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.1.codec.g726_16.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.{$row.line_number}.codec.7.rtpmap = 106 -account.1.codec.g726_16.payload_type = G726-16 -account.1.codec.g726_16.priority = {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if} +account.{$row.line_number}.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} -account.1.codec.g726_16.rtpmap = 103 +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.1.codec.g726_24.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.{$row.line_number}.codec.8.rtpmap = 103 -account.1.codec.g726_24.payload_type = G726-24 -account.1.codec.g726_24.priority = {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if} +account.{$row.line_number}.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} -account.1.codec.g726_24.rtpmap = 104 +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.1.codec.g726_32.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.{$row.line_number}.codec.9.rtpmap = 104 -account.1.codec.g726_32.payload_type = G726-32 -account.1.codec.g726_32.priority = {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if} +account.{$row.line_number}.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} -account.1.codec.g726_32.rtpmap = 102 +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.1.codec.g726_40.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.{$row.line_number}.codec.10.rtpmap = 102 -account.1.codec.g726_40.payload_type = G726-40 -account.1.codec.g726_40.priority = {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if} +account.{$row.line_number}.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} -account.1.codec.g726_40.rtpmap = 105 +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.1.codec.gsm.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.{$row.line_number}.codec.11.rtpmap = 105 -account.1.codec.gsm.payload_type = GSM -account.1.codec.gsm.priority = {if isset($yealink_codec_gsm_priority)}{$yealink_codec_gsm_priority}{else}0{/if} +account.{$row.line_number}.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} -account.1.codec.gsm.rtpmap = 3 +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.1.codec.opus.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.{$row.line_number}.codec.12.rtpmap = 3 -account.1.codec.opus.payload_type = opus -account.1.codec.opus.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if} - -account.1.codec.opus.rtpmap = 106 +account.{$row.line_number}.codec.13.enable = {if isset($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.1.srtp_encryption = {$yealink_srtp_encryption} +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.1.ptime = - +account.{$row.line_number}.ptime = ####################################################################################### ## Anonymous Call ## ####################################################################################### -account.1.anonymous_call = 0 -account.1.anonymous_call_oncode = -account.1.anonymous_call_offcode = +account.{$row.line_number}.anonymous_call = 0 +account.{$row.line_number}.anonymous_call_oncode = +account.{$row.line_number}.anonymous_call_offcode = -account.1.reject_anonymous_call = -account.1.anonymous_reject_oncode = -account.1.anonymous_reject_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.1.dialoginfo_callpickup = 0 +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.1.group_pickup_code = -account.1.direct_pickup_code = +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.1.dtmf.type = {$yealink_dtmf_type} +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.1.dtmf.info_type = +account.{$row.line_number}.dtmf.info_type = #Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.1.dtmf.dtmf_payload = +account.{$row.line_number}.dtmf.dtmf_payload = ####################################################################################### ## Alert info ## ####################################################################################### #Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.1.alert_info_url_enable = +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.1.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.1.ringtone.ring_type = Resource:Ring2.wav -account.1.ringtone.ring_type = +#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.1.picture_info_enable = 1 +account.{$row.line_number}.picture_info_enable = 1 ####################################################################################### ## Conference ## ####################################################################################### #Configure the conference type; 0-Local (default), 2-Network Conference; -account.1.conf_type = {if isset($nway_conference)}{$nway_conference}{/if} +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.1.conf_uri = {if $nway_conference == 'true'}nway{$account.1.auth_id}@{$account.1.server_address}{/if} +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.1.cid_source = {$yealink_cid_source} +account.{$row.line_number}.cid_source = {$yealink_cid_source} -account.1.cid_source_privacy = 1 -account.1.cid_source_ppi = 1 +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.1.cp_source = {$yealink_cp_source} +account.{$row.line_number}.cp_source = {$yealink_cp_source} ####################################################################################### ## Session Timer ## ####################################################################################### #Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.1.session_timer.enable = {$yealink_session_timer} +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.1.session_timer.expires = +account.{$row.line_number}.session_timer.expires = #Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.1.session_timer.refresher = +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.1.music_on_hold_type = +account.{$row.line_number}.music_on_hold_type = -account.1.music_server_uri = +account.{$row.line_number}.music_server_uri = ####################################################################################### ## Advanced ## ####################################################################################### #Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.1.auto_answer = +account.{$row.line_number}.auto_answer = #Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.1.missed_calllog = {$yealink_missed_calllog} +account.{$row.line_number}.missed_calllog = {$yealink_missed_calllog} #Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.1.100rel_enable = {$yealink_retransmission} +account.{$row.line_number}.100rel_enable = {$yealink_retransmission} #Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.1.enable_user_equal_phone = +account.{$row.line_number}.enable_user_equal_phone = #Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.1.compact_header_enable = +account.{$row.line_number}.compact_header_enable = ####################################################################################### ## DND ## ####################################################################################### -account.1.dnd.enable = -account.1.dnd.on_code = -account.1.dnd.off_code = +account.{$row.line_number}.dnd.enable = +account.{$row.line_number}.dnd.on_code = +account.{$row.line_number}.dnd.off_code = ####################################################################################### ## Call Forward ## ####################################################################################### -account.1.always_fwd.enable = -account.1.always_fwd.target = -account.1.always_fwd.off_code = -account.1.always_fwd.on_code = +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.1.busy_fwd.enable = -account.1.busy_fwd.target = -account.1.busy_fwd.off_code = -account.1.busy_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.1.timeout_fwd.enable = -account.1.timeout_fwd.target = -account.1.timeout_fwd.timeout = -account.1.timeout_fwd.off_code = -account.1.timeout_fwd.on_code = +account.{$row.line_number}.timeout_fwd.enable = +account.{$row.line_number}.timeout_fwd.target = +account.{$row.line_number}.timeout_fwd.timeout = +account.{$row.line_number}.timeout_fwd.off_code = +account.{$row.line_number}.timeout_fwd.on_code = ####################################################################################### ## Broadsoft Hoteling ## ####################################################################################### -account.1.hoteling.enable = 0 -account.1.hoteling.user_id = 0 -account.1.hoteling.password = 0 -account.1.hoteling.auto_login_enable = 0 +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.1.acd.enable = 0 -account.1.acd.unavailable_reason_enable = 0 -account.1.acd.available = 0 -account.1.acd.initial_state = 1 +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.1.bw_acd_reason_code.Y = 500(lunch time) -account.1.bw_acd_reason_code.1 = +#account.{$row.line_number}.bw_acd_reason_code.Y = 500(lunch time) +account.{$row.line_number}.bw_acd_reason_code.1 = -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 = +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.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 +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.1.xsi.user = -account.1.xsi.password = -account.1.xsi.host = -account.1.xsi.server_type = -account.1.xsi.port = - - -####################################################################################### -## Account 2 Basic Settings ## -####################################################################################### -## ranges from 1 to 6; -##account.X.enable = -{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} -account.2.password = {$account.2.password} -{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.sip_server_host = {$account.2.server_address} -account.2.sip_server_port = {$account.2.sip_port} -account.2.outbound_host = {$account.2.outbound_proxy} - -account.2.outbound_port = {$account.2.sip_port} -{if isset($yealink_sip_listen_port)}account.2.sip_listen_port = {$yealink_sip_listen_port}{else}account.2.sip_listen_port = 5060{/if} - -account.2.sip_listen_port = 5060 -#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.2.sip_transport == 'udp'}account.2.transport = 0{/if} -{if $account.2.sip_transport == 'tcp'}account.2.transport = 1{/if} -{if $account.2.sip_transport == 'tls'}account.2.transport = 2{/if} -{if $account.2.sip_transport == 'dns srv'}account.2.transport = 3{/if} - -account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary} -account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary} -account.2.outbound_proxy_enable = {if isset($account.2.outbound_proxy_primary)}1{else}0{/if} - -####################################################################################### -## Failback ## -####################################################################################### -## ranges from 1 to 6; -##account.X.reregister_enable = 0 - -account.2.reregister_enable = 0 -account.2.retry_counts = -account.2.failback_mode = 0 -account.2.failback_timeout = 3600 -account.2.naptr_build = 0 -account.2.fallback.redundancy_type = 0 -account.2.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.2.sip_server.1.address = {$account.2.server.1.address} -account.2.sip_server.1.port = {$account.2.sip_port} -#Configure the register expiry time (in seconds), the default value is 3600. -account.2.sip_server.1.expires = {$account.2.register_expires} -account.2.sip_server.1.retry_counts = 3 -account.2.sip_server.1.failback_mode = 0 -account.2.sip_server.1.failback_timeout = 3600 -account.2.sip_server.1.register_on_enable = 0 -account.2.sip_server.2.address = {$account.2.server.2.address} -account.2.sip_server.2.port = {$account.2.sip_port} -account.2.sip_server.2.expires = {$account.2.register_expires} -account.2.sip_server.2.retry_counts = 3 -account.2.sip_server.2.failback_mode = 0 -account.2.sip_server.2.failback_timeout = 3600 -account.2.sip_server.2.register_on_enable = 0 -account.2.dns_cache_type = 1 - -account.2.dns_cache_a.1.name = -account.2.dns_cache_a.1.ip = -account.2.dns_cache_a.1.ttl = 300 - -account.2.dns_cache_srv.0.name = -account.2.dns_cache_srv.0.port = 0 -account.2.dns_cache_srv.0.priority = 0 -account.2.dns_cache_srv.0.target = -account.2.dns_cache_srv.0.weight = 0 -account.2.dns_cache_srv.0.ttl = 300 -account.2.dns_cache_naptr.0.name = -account.2.dns_cache_naptr.0.flags = -account.2.dns_cache_naptr.0.order = 0 -account.2.dns_cache_naptr.0.preference = 0 -account.2.dns_cache_naptr.0.replace = -account.2.dns_cache_naptr.0.service = -account.2.dns_cache_naptr.0.ttl = 300 - -account.2.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.2.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.2.unregister_on_reboot = - -#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; -account.2.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.2.dns_query_timeout= - -#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; -account.2.srv_ttl_timer_enable = -account.2.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.2.register_mac = -account.2.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.2.reg_fail_retry_interval = - -######################################################################### -## NAT Settings ## -######################################################################### - -#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.2.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} - -#Configure the STUN server address. -account.2.nat.stun_server = {$stun_server} - -#Configure the STUN server port, the default value is 3478. -account.2.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.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}{""} - -#Specify the keep-alive interval (in seconds), the default value is 30. -account.2.nat.udp_update_time = 30 - -#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.2.nat.rport = {$yealink_rport} - - -####################################################################################### -## Account2 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.2.advanced.timer_t1 = 0.5 -account.2.advanced.timer_t2 = 4 -account.2.advanced.timer_t4 = 5 - -voice_mail.number.2 = {$voicemail_number} - - -####################################################################################### -## Subscribe ## -####################################################################################### -## ranges from 1 to 6; -##account.X.subscribe_mwi = - -account.2.subscribe_mwi = {$yealink_subscribe_mwi} -account.2.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.2.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.2.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.2.blf.blf_list_uri = - -account.2.blf_list_code = -account.2.blf_list_barge_in_code = -account.2.blf.subscribe_period = 1800 - -account.2.blf.subscribe_event = -account.2.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($account.2.shared_line) } -account.2.shared_line = {$account.2.shared_line} -{else} -account.2.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.2.bla_number = -account.2.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.2.codec.Y.enable = -#The type of the specified codec. -#account.2.codec.Y.payload_type = -#The priority of the specified codec. It's available when the codec is enabled. -#account.2.codec.Y.priority = -#The payload of the specified codec. -#account.2.codec.Y.rtpmap = - -account.2.codec.1.enable = 1 -account.2.codec.1.payload_type = PCMU -account.2.codec.1.priority = 3 -account.2.codec.1.rtpmap = 0 - -account.2.codec.2.enable = 1 -account.2.codec.2.payload_type = PCMA -account.2.codec.2.priority = 5 -account.2.codec.2.rtpmap = 8 - -account.2.codec.3.enable = 0 -account.2.codec.3.payload_type = G723_53 -account.2.codec.3.priority =0 -account.2.codec.3.rtpmap = 4 - -account.2.codec.4.enable = 0 -account.2.codec.4.payload_type = G723_63 -account.2.codec.4.priority = 0 -account.2.codec.4.rtpmap = 4 - -account.2.codec.5.enable = 1 -account.2.codec.5.payload_type = G729 -account.2.codec.5.priority = 4 -account.2.codec.5.rtpmap = 18 - -account.2.codec.6.enable = 1 -account.2.codec.6.payload_type = G722 -account.2.codec.6.priority = 2 -account.2.codec.6.rtpmap = 9 - -account.2.codec.7.enable = 0 -account.2.codec.7.payload_type = iLBC -account.2.codec.7.priority = 0 -account.2.codec.7.rtpmap = 106 - -account.2.codec.8.enable = 0 -account.2.codec.8.payload_type = G726-16 -account.2.codec.8.priority = 0 -account.2.codec.8.rtpmap = 103 - -account.2.codec.9.enable = 0 -account.2.codec.9.payload_type = G726-24 -account.2.codec.9.priority = 0 -account.2.codec.9.rtpmap = 104 - -account.2.codec.10.enable = 0 -account.2.codec.10.payload_type = G726-32 -account.2.codec.10.priority = 0 -account.2.codec.10.rtpmap = 102 - -account.2.codec.11.enable = 0 -account.2.codec.11.payload_type = G726-40 -account.2.codec.11.priority = 0 -account.2.codec.11.rtpmap = 105 - -account.2.codec.12.enable = 0 -account.2.codec.12.payload_type = GSM -account.2.codec.12.priority = 0 -account.2.codec.12.rtpmap = 3 - -account.2.codec.13.enable = 1 -account.2.codec.13.payload_type = opus -account.2.codec.13.priority = 1 -account.2.codec.13.rtpmap = 101 - -####################################################################################### -## Audio Advanced ## -####################################################################################### -#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; -account.2.srtp_encryption = - -#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. -account.2.ptime = - - -####################################################################################### -## Anonymous Call ## -####################################################################################### -account.2.anonymous_call = 0 -account.2.anonymous_call_oncode = -account.2.anonymous_call_offcode = - -account.2.reject_anonymous_call = -account.2.anonymous_reject_oncode = -account.2.anonymous_reject_offcode = - -####################################################################################### -## Pickup Code ## -####################################################################################### -account.2.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.2.group_pickup_code = -account.2.direct_pickup_code = - -####################################################################################### -## DTMF ## -####################################################################################### -#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; -account.2.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.2.dtmf.info_type = - -#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.2.dtmf.dtmf_payload = - -####################################################################################### -## Alert info ## -####################################################################################### -#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.2.alert_info_url_enable = - -#Assign a ringtone for account2. 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.2.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav -account.2.ringtone.ring_type = - -account.2.picture_info_enable = 1 - -####################################################################################### -## Conference ## -####################################################################################### -#Configure the conference type; 0-Local (default), 2-Network Conference; -account.2.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.2.conf_uri = {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.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.2.cid_source = {$yealink_cid_source} - -account.2.cid_source_privacy = 1 -account.2.cid_source_ppi = 1 - -#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.2.cp_source = {$yealink_cp_source} - -####################################################################################### -## Session Timer ## -####################################################################################### -#Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.2.session_timer.enable = {$yealink_session_timer} - -#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. -account.2.session_timer.expires = - -#Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.2.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.2.music_on_hold_type = - -account.2.music_server_uri = - -####################################################################################### -## Advanced ## -####################################################################################### -#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.2.auto_answer = - -#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.2.missed_calllog = {$yealink_missed_calllog} - -#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.2.100rel_enable = {$yealink_retransmission} - -#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.2.enable_user_equal_phone = - -#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.2.compact_header_enable = - -####################################################################################### -## DND ## -####################################################################################### -account.2.dnd.enable = -account.2.dnd.on_code = -account.2.dnd.off_code = - -####################################################################################### -## Call Forward ## -####################################################################################### -#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled; -account.2.always_fwd.enable = -account.2.always_fwd.target = -account.2.always_fwd.off_code = -account.2.always_fwd.on_code = - -account.2.busy_fwd.enable = -account.2.busy_fwd.target = -account.2.busy_fwd.off_code = -account.2.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.2.timeout_fwd.enable = -account.2.timeout_fwd.target = -account.2.timeout_fwd.timeout = -account.2.timeout_fwd.off_code = -account.2.timeout_fwd.on_code = - -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.2.hoteling.enable = 0 -account.2.hoteling.user_id = 0 -account.2.hoteling.password = 0 -account.2.hoteling.auto_login_enable = 0 - -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.2.acd.enable = 0 -account.2.acd.unavailable_reason_enable = 0 -account.2.acd.available = 0 -account.2.acd.initial_state = 1 - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) -#account.2.bw_acd_reason_code.Y = 500(lunch time) -account.2.bw_acd_reason_code.1 = - -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 XSI ## -####################################################################################### -account.2.xsi.user = -account.2.xsi.password = -account.2.xsi.host = -account.2.xsi.server_type = -account.2.xsi.port = - - -####################################################################################### -## Time ## -####################################################################################### -#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. -#local_time.time_zone = +8 -#local_time.time_zone_name = China(Beijing) -local_time.time_zone = {$yealink_time_zone} -local_time.time_zone_name = {$yealink_time_zone_name} - - -####################################################################################### -## NETWORK ## -####################################################################################### - -####################################################################################### -## Account 3 Basic Settings ## -####################################################################################### -## ranges from 1 to 6; -##account.X.enable = -{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} -account.3.password = {$account.3.password} -{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.sip_server_host = {$account.3.server_address} -account.3.sip_server_port = {$account.3.sip_port} -account.3.outbound_host = {$account.3.outbound_proxy} - -account.3.outbound_port = {$account.3.sip_port} -{if isset($yealink_sip_listen_port)}account.3.sip_listen_port = {$yealink_sip_listen_port}{else}account.3.sip_listen_port = 5060{/if} - -account.3.sip_listen_port = 5060 -#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.3.sip_transport == 'udp'}account.3.transport = 0{/if} -{if $account.3.sip_transport == 'tcp'}account.3.transport = 1{/if} -{if $account.3.sip_transport == 'tls'}account.3.transport = 2{/if} -{if $account.3.sip_transport == 'dns srv'}account.3.transport = 3{/if} - -account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary} -account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary} -account.3.outbound_proxy_enable = {if isset($account.3.outbound_proxy_primary)}1{else}0{/if} - -####################################################################################### -## Failback ## -####################################################################################### -## ranges from 1 to 6; -##account.X.reregister_enable = 0 - -account.3.reregister_enable = 0 -account.3.retry_counts = -account.3.failback_mode = 0 -account.3.failback_timeout = 3600 -account.3.naptr_build = 0 -account.3.fallback.redundancy_type = 0 -account.3.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.3.sip_server.1.address = {$account.3.server.1.address} -account.3.sip_server.1.port = {$account.3.sip_port} -#Configure the register expiry time (in seconds), the default value is 3600. -account.3.sip_server.1.expires = {$account.3.register_expires} -account.3.sip_server.1.retry_counts = 3 -account.3.sip_server.1.failback_mode = 0 -account.3.sip_server.1.failback_timeout = 3600 -account.3.sip_server.1.register_on_enable = 0 -account.3.sip_server.2.address = {$account.3.server.2.address} -account.3.sip_server.2.port = {$account.3.sip_port} -account.3.sip_server.2.expires = {$account.3.register_expires} -account.3.sip_server.2.retry_counts = 3 -account.3.sip_server.2.failback_mode = 0 -account.3.sip_server.2.failback_timeout = 3600 -account.3.sip_server.2.register_on_enable = 0 -account.3.dns_cache_type = 1 - -account.3.dns_cache_a.1.name = -account.3.dns_cache_a.1.ip = -account.3.dns_cache_a.1.ttl = 300 - -account.3.dns_cache_srv.0.name = -account.3.dns_cache_srv.0.port = 0 -account.3.dns_cache_srv.0.priority = 0 -account.3.dns_cache_srv.0.target = -account.3.dns_cache_srv.0.weight = 0 -account.3.dns_cache_srv.0.ttl = 300 -account.3.dns_cache_naptr.0.name = -account.3.dns_cache_naptr.0.flags = -account.3.dns_cache_naptr.0.order = 0 -account.3.dns_cache_naptr.0.preference = 0 -account.3.dns_cache_naptr.0.replace = -account.3.dns_cache_naptr.0.service = -account.3.dns_cache_naptr.0.ttl = 300 - -account.3.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.3.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.3.unregister_on_reboot = - -#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; -account.3.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.3.dns_query_timeout= - -#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; -account.3.srv_ttl_timer_enable = -account.3.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.3.register_mac = -account.3.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.3.reg_fail_retry_interval = - -######################################################################### -## NAT Settings ## -######################################################################### - -#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.3.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} - -#Configure the STUN server address. -account.3.nat.stun_server = {$stun_server} - -#Configure the STUN server port, the default value is 3478. -account.3.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.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}{""} - -#Specify the keep-alive interval (in seconds), the default value is 30. -account.3.nat.udp_update_time = 30 - -#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.3.nat.rport = {$yealink_rport} - - -####################################################################################### -## Account3 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.3.advanced.timer_t1 = 0.5 -account.3.advanced.timer_t2 = 4 -account.3.advanced.timer_t4 = 5 - -voice_mail.number.3 = {$voicemail_number} - - -####################################################################################### -## Subscribe ## -####################################################################################### -## ranges from 1 to 6; -##account.X.subscribe_mwi = - -account.3.subscribe_mwi = {$yealink_subscribe_mwi} -account.3.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.3.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.3.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.3.blf.blf_list_uri = - -account.3.blf_list_code = -account.3.blf_list_barge_in_code = -account.3.blf.subscribe_period = 1800 - -account.3.blf.subscribe_event = -account.3.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($account.3.shared_line) } -account.3.shared_line = {$account.3.shared_line} -{else} -account.3.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.3.bla_number = -account.3.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.3.codec.Y.enable = -#The type of the specified codec. -#account.3.codec.Y.payload_type = -#The priority of the specified codec. It's available when the codec is enabled. -#account.3.codec.Y.priority = -#The payload of the specified codec. -#account.3.codec.Y.rtpmap = - -account.3.codec.1.enable = 1 -account.3.codec.1.payload_type = PCMU -account.3.codec.1.priority = 3 -account.3.codec.1.rtpmap = 0 - -account.3.codec.2.enable = 1 -account.3.codec.2.payload_type = PCMA -account.3.codec.2.priority = 5 -account.3.codec.2.rtpmap = 8 - -account.3.codec.3.enable = 0 -account.3.codec.3.payload_type = G723_53 -account.3.codec.3.priority =0 -account.3.codec.3.rtpmap = 4 - -account.3.codec.4.enable = 0 -account.3.codec.4.payload_type = G723_63 -account.3.codec.4.priority = 0 -account.3.codec.4.rtpmap = 4 - -account.3.codec.5.enable = 1 -account.3.codec.5.payload_type = G729 -account.3.codec.5.priority = 4 -account.3.codec.5.rtpmap = 18 - -account.3.codec.6.enable = 1 -account.3.codec.6.payload_type = G722 -account.3.codec.6.priority = 2 -account.3.codec.6.rtpmap = 9 - -account.3.codec.7.enable = 0 -account.3.codec.7.payload_type = iLBC -account.3.codec.7.priority = 0 -account.3.codec.7.rtpmap = 106 - -account.3.codec.8.enable = 0 -account.3.codec.8.payload_type = G726-16 -account.3.codec.8.priority = 0 -account.3.codec.8.rtpmap = 103 - -account.3.codec.9.enable = 0 -account.3.codec.9.payload_type = G726-24 -account.3.codec.9.priority = 0 -account.3.codec.9.rtpmap = 104 - -account.3.codec.10.enable = 0 -account.3.codec.10.payload_type = G726-32 -account.3.codec.10.priority = 0 -account.3.codec.10.rtpmap = 102 - -account.3.codec.11.enable = 0 -account.3.codec.11.payload_type = G726-40 -account.3.codec.11.priority = 0 -account.3.codec.11.rtpmap = 105 - -account.3.codec.12.enable = 0 -account.3.codec.12.payload_type = GSM -account.3.codec.12.priority = 0 -account.3.codec.12.rtpmap = 3 - -account.3.codec.13.enable = 1 -account.3.codec.13.payload_type = opus -account.3.codec.13.priority = 1 -account.3.codec.13.rtpmap = 101 - - -####################################################################################### -## Audio Advanced ## -####################################################################################### -#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; -account.3.srtp_encryption = - -#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. -account.3.ptime = - - -####################################################################################### -## Anonymous Call ## -####################################################################################### -account.3.anonymous_call = 0 -account.3.anonymous_call_oncode = -account.3.anonymous_call_offcode = - -account.3.reject_anonymous_call = -account.3.anonymous_reject_oncode = -account.3.anonymous_reject_offcode = - -####################################################################################### -## Pickup Code ## -####################################################################################### -account.3.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.3.group_pickup_code = -account.3.direct_pickup_code = - -####################################################################################### -## DTMF ## -####################################################################################### -#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; -account.3.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.3.dtmf.info_type = - -#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.3.dtmf.dtmf_payload = - -####################################################################################### -## Alert info ## -####################################################################################### -#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.3.alert_info_url_enable = - -#Assign a ringtone for account2. 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.2.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav -account.3.ringtone.ring_type = - -account.3.picture_info_enable = 1 - -####################################################################################### -## Conference ## -####################################################################################### -#Configure the conference type; 0-Local (default), 2-Network Conference; -account.3.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.3.conf_uri = {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.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.3.cid_source = {$yealink_cid_source} - -account.3.cid_source_privacy = 1 -account.3.cid_source_ppi = 1 - -#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.3.cp_source = {$yealink_cp_source} - -####################################################################################### -## Session Timer ## -####################################################################################### -#Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.3.session_timer.enable = {$yealink_session_timer} - -#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. -account.3.session_timer.expires = - -#Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.3.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.3.music_on_hold_type = - -account.3.music_server_uri = - -####################################################################################### -## Advanced ## -####################################################################################### -#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.3.auto_answer = - -#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.3.missed_calllog = {$yealink_missed_calllog} - -#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.3.100rel_enable = {$yealink_retransmission} - -#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.3.enable_user_equal_phone = - -#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.3.compact_header_enable = - -####################################################################################### -## DND ## -####################################################################################### -account.3.dnd.enable = -account.3.dnd.on_code = -account.3.dnd.off_code = - -####################################################################################### -## Call Forward ## -####################################################################################### -#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled; -account.3.always_fwd.enable = -account.3.always_fwd.target = -account.3.always_fwd.off_code = -account.3.always_fwd.on_code = - -account.3.busy_fwd.enable = -account.3.busy_fwd.target = -account.3.busy_fwd.off_code = -account.3.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.3.timeout_fwd.enable = -account.3.timeout_fwd.target = -account.3.timeout_fwd.timeout = -account.3.timeout_fwd.off_code = -account.3.timeout_fwd.on_code = - -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.3.hoteling.enable = 0 -account.3.hoteling.user_id = 0 -account.3.hoteling.password = 0 -account.3.hoteling.auto_login_enable = 0 - -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.3.acd.enable = 0 -account.3.acd.unavailable_reason_enable = 0 -account.3.acd.available = 0 -account.3.acd.initial_state = 1 - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) -#account.3.bw_acd_reason_code.Y = 500(lunch time) -account.3.bw_acd_reason_code.1 = - -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 XSI ## -####################################################################################### -account.3.xsi.user = -account.3.xsi.password = -account.3.xsi.host = -account.3.xsi.server_type = -account.3.xsi.port = - - -####################################################################################### -## NETWORK ## -####################################################################################### - -####################################################################################### -## Account 4 Basic Settings ## -####################################################################################### -## ranges from 1 to 6; -##account.X.enable = -{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} -account.4.password = {$account.4.password} -{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.sip_server_host = {$account.4.server_address} -account.4.sip_server_port = {$account.4.sip_port} -account.4.outbound_host = {$account.4.outbound_proxy} - -account.4.outbound_port = {$account.4.sip_port} -{if isset($yealink_sip_listen_port)}account.4.sip_listen_port = {$yealink_sip_listen_port}{else}account.4.sip_listen_port = 5060{/if} - -account.4.sip_listen_port = 5060 -#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.4.sip_transport == 'udp'}account.4.transport = 0{/if} -{if $account.4.sip_transport == 'tcp'}account.4.transport = 1{/if} -{if $account.4.sip_transport == 'tls'}account.4.transport = 2{/if} -{if $account.4.sip_transport == 'dns srv'}account.4.transport = 3{/if} - -account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary} -account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary} -account.4.outbound_proxy_enable = {if isset($account.4.outbound_proxy_primary)}1{else}0{/if} - -####################################################################################### -## Failback ## -####################################################################################### -## ranges from 1 to 6; -##account.X.reregister_enable = 0 - -account.4.reregister_enable = 0 -account.4.retry_counts = -account.4.failback_mode = 0 -account.4.failback_timeout = 3600 -account.4.naptr_build = 0 -account.4.fallback.redundancy_type = 0 -account.4.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.4.sip_server.1.address = {$account.4.server.1.address} -account.4.sip_server.1.port = {$account.4.sip_port} -#Configure the register expiry time (in seconds), the default value is 3600. -account.4.sip_server.1.expires = {$account.4.register_expires} -account.4.sip_server.1.retry_counts = 3 -account.4.sip_server.1.failback_mode = 0 -account.4.sip_server.1.failback_timeout = 3600 -account.4.sip_server.1.register_on_enable = 0 -account.4.sip_server.2.address = {$account.4.server.2.address} -account.4.sip_server.2.port = {$account.4.sip_port} -account.4.sip_server.2.expires = {$account.4.register_expires} -account.4.sip_server.2.retry_counts = 3 -account.4.sip_server.2.failback_mode = 0 -account.4.sip_server.2.failback_timeout = 3600 -account.4.sip_server.2.register_on_enable = 0 -account.4.dns_cache_type = 1 - -account.4.dns_cache_a.1.name = -account.4.dns_cache_a.1.ip = -account.4.dns_cache_a.1.ttl = 300 - -account.4.dns_cache_srv.1.name = -account.4.dns_cache_srv.1.port = 0 -account.4.dns_cache_srv.1.priority = 0 -account.4.dns_cache_srv.1.target = -account.4.dns_cache_srv.1.weight = 0 -account.4.dns_cache_srv.1.ttl = 300 -account.4.dns_cache_naptr.1.name = -account.4.dns_cache_naptr.1.flags = -account.4.dns_cache_naptr.1.order = 0 -account.4.dns_cache_naptr.1.preference = 0 -account.4.dns_cache_naptr.1.replace = -account.4.dns_cache_naptr.1.service = -account.4.dns_cache_naptr.1.ttl = 300 - -account.4.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.4.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.4.unregister_on_reboot = - -#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; -account.4.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.4.dns_query_timeout= - -#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; -account.4.srv_ttl_timer_enable = -account.4.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.4.register_mac = -account.4.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.4.reg_fail_retry_interval = - -######################################################################### -## NAT Settings ## -######################################################################### - -#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.4.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} - -#Configure the STUN server address. -account.4.nat.stun_server = {$stun_server} - -#Configure the STUN server port, the default value is 3478. -account.4.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.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}{""} - -#Specify the keep-alive interval (in seconds), the default value is 30. -account.4.nat.udp_update_time = 30 - -#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.4.nat.rport = {$yealink_rport} - - -####################################################################################### -## Account4 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.4.advanced.timer_t1 = 0.5 -account.4.advanced.timer_t2 = 4 -account.4.advanced.timer_t4 = 5 - -voice_mail.number.4 = {$voicemail_number} - - -####################################################################################### -## Subscribe ## -####################################################################################### -## ranges from 1 to 6; -##account.X.subscribe_mwi = - -account.4.subscribe_mwi = {$yealink_subscribe_mwi} -account.4.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.4.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.4.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.4.blf.blf_list_uri = - -account.4.blf_list_code = -account.4.blf_list_barge_in_code = -account.4.blf.subscribe_period = 1800 - -account.4.blf.subscribe_event = -account.4.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($account.4.shared_line) } -account.4.shared_line = {$account.4.shared_line} -{else} -account.4.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.4.bla_number = -account.4.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.4.codec.Y.enable = -#The type of the specified codec. -#account.4.codec.Y.payload_type = -#The priority of the specified codec. It's available when the codec is enabled. -#account.4.codec.Y.priority = -#The payload of the specified codec. -#account.4.codec.Y.rtpmap = - -account.4.codec.1.enable = 1 -account.4.codec.1.payload_type = PCMU -account.4.codec.1.priority = 1 -account.4.codec.1.rtpmap = 0 - -account.4.codec.2.enable = 1 -account.4.codec.2.payload_type = PCMA -account.4.codec.2.priority = 2 -account.4.codec.2.rtpmap = 8 - -account.4.codec.3.enable = 0 -account.4.codec.3.payload_type = G723_53 -account.4.codec.3.priority =0 -account.4.codec.3.rtpmap = 4 - -account.4.codec.4.enable = 0 -account.4.codec.4.payload_type = G723_63 -account.4.codec.4.priority = 0 -account.4.codec.4.rtpmap = 4 - -account.4.codec.5.enable = 1 -account.4.codec.5.payload_type = G729 -account.4.codec.5.priority = 3 -account.4.codec.5.rtpmap = 18 - -account.4.codec.6.enable = 1 -account.4.codec.6.payload_type = G722 -account.4.codec.6.priority = 4 -account.4.codec.6.rtpmap = 9 - -account.4.codec.7.enable = 0 -account.4.codec.7.payload_type = iLBC -account.4.codec.7.priority = 0 -account.4.codec.7.rtpmap = 106 - -account.4.codec.8.enable = 0 -account.4.codec.8.payload_type = G726-16 -account.4.codec.8.priority = 0 -account.4.codec.8.rtpmap = 103 - -account.4.codec.9.enable = 0 -account.4.codec.9.payload_type = G726-24 -account.4.codec.9.priority = 0 -account.4.codec.9.rtpmap = 104 - -account.4.codec.10.enable = 0 -account.4.codec.10.payload_type = G726-32 -account.4.codec.10.priority = 0 -account.4.codec.10.rtpmap = 102 - -account.4.codec.11.enable = 0 -account.4.codec.11.payload_type = G726-40 -account.4.codec.11.priority = 0 -account.4.codec.11.rtpmap = 105 - -account.4.codec.12.enable = 0 -account.4.codec.12.payload_type = GSM -account.4.codec.12.priority = 0 -account.4.codec.12.rtpmap = 3 - - -####################################################################################### -## Audio Advanced ## -####################################################################################### -#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; -account.4.srtp_encryption = - -#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. -account.4.ptime = - - -####################################################################################### -## Anonymous Call ## -####################################################################################### -account.4.anonymous_call = 0 -account.4.anonymous_call_oncode = -account.4.anonymous_call_offcode = - -account.4.reject_anonymous_call = -account.4.anonymous_reject_oncode = -account.4.anonymous_reject_offcode = - -####################################################################################### -## Pickup Code ## -####################################################################################### -account.4.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.4.group_pickup_code = -account.4.direct_pickup_code = - -####################################################################################### -## DTMF ## -####################################################################################### -#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; -account.4.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.4.dtmf.info_type = - -#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.4.dtmf.dtmf_payload = - -####################################################################################### -## Alert info ## -####################################################################################### -#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.4.alert_info_url_enable = - -#Assign a ringtone for account2. 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.2.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav -account.4.ringtone.ring_type = - -account.4.picture_info_enable = 1 - -####################################################################################### -## Conference ## -####################################################################################### -#Configure the conference type; 0-Local (default), 2-Network Conference; -account.4.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.4.conf_uri = {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.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.4.cid_source = {$yealink_cid_source} - -account.4.cid_source_privacy = 1 -account.4.cid_source_ppi = 1 - -#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.4.cp_source = {$yealink_cp_source} - -####################################################################################### -## Session Timer ## -####################################################################################### -#Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.4.session_timer.enable = {$yealink_session_timer} - -#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. -account.4.session_timer.expires = - -#Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.4.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.4.music_on_hold_type = - -account.4.music_server_uri = - -####################################################################################### -## Advanced ## -####################################################################################### -#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.4.auto_answer = - -#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.4.missed_calllog = {$yealink_missed_calllog} - -#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.4.100rel_enable = {$yealink_retransmission} - -#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.4.enable_user_equal_phone = - -#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.4.compact_header_enable = - -####################################################################################### -## DND ## -####################################################################################### -account.4.dnd.enable = -account.4.dnd.on_code = -account.4.dnd.off_code = - -####################################################################################### -## Call Forward ## -####################################################################################### -#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled; -account.4.always_fwd.enable = -account.4.always_fwd.target = -account.4.always_fwd.off_code = -account.4.always_fwd.on_code = - -account.4.busy_fwd.enable = -account.4.busy_fwd.target = -account.4.busy_fwd.off_code = -account.4.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.4.timeout_fwd.enable = -account.4.timeout_fwd.target = -account.4.timeout_fwd.timeout = -account.4.timeout_fwd.off_code = -account.4.timeout_fwd.on_code = - -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.4.hoteling.enable = 0 -account.4.hoteling.user_id = 0 -account.4.hoteling.password = 0 -account.4.hoteling.auto_login_enable = 0 - -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.4.acd.enable = 0 -account.4.acd.unavailable_reason_enable = 0 -account.4.acd.available = 0 -account.4.acd.initial_state = 1 - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) -#account.4.bw_acd_reason_code.Y = 500(lunch time) -account.4.bw_acd_reason_code.1 = - -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 XSI ## -####################################################################################### -account.4.xsi.user = -account.4.xsi.password = -account.4.xsi.host = -account.4.xsi.server_type = -account.4.xsi.port = - - -####################################################################################### -## NETWORK ## -####################################################################################### - -####################################################################################### -## Account 5 Basic Settings ## -####################################################################################### -## ranges from 1 to 6; -##account.X.enable = -{if isset($account.5.password) } -account.5.enable = 1 -{else} -account.5.enable = 0 -{/if} -account.5.label = {$account.5.label} -account.5.display_name = {$account.5.display_name} -account.5.auth_name = {$account.5.auth_id} -account.5.password = {$account.5.password} -{if isset($account.5.server.1.address)} -account.5.user_name = {$account.5.user_id}@{$account.5.server_address} -{else} -account.5.user_name = {$account.5.user_id} -{/if} -account.5.sip_server_host = {$account.5.server_address} -account.5.sip_server_port = {$account.5.sip_port} -account.5.outbound_host = {$account.5.outbound_proxy} - -account.5.outbound_port = {$account.5.sip_port} -{if isset($yealink_sip_listen_port)}account.5.sip_listen_port = {$yealink_sip_listen_port}{else}account.5.sip_listen_port = 5060{/if} - -account.5.sip_listen_port = 5060 -#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.5.sip_transport == 'udp'}account.5.transport = 0{/if} -{if $account.5.sip_transport == 'tcp'}account.5.transport = 1{/if} -{if $account.5.sip_transport == 'tls'}account.5.transport = 2{/if} -{if $account.5.sip_transport == 'dns srv'}account.5.transport = 3{/if} - -account.5.outbound_proxy.1.address = {$account.5.outbound_proxy_primary} -account.5.outbound_proxy.2.address = {$account.5.outbound_proxy_secondary} -account.5.outbound_proxy_enable = {if isset($account.5.outbound_proxy_primary)}1{else}0{/if} - -####################################################################################### -## Failback ## -####################################################################################### -## ranges from 1 to 6; -##account.X.reregister_enable = 0 - -account.5.reregister_enable = 0 -account.5.retry_counts = -account.5.failback_mode = 0 -account.5.failback_timeout = 3600 -account.5.naptr_build = 0 -account.5.fallback.redundancy_type = 0 -account.5.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.5.sip_server.1.address = {$account.5.server.1.address} -account.5.sip_server.1.port = {$account.5.sip_port} -#Configure the register expiry time (in seconds), the default value is 3600. -account.5.sip_server.1.expires = {$account.5.register_expires} -account.5.sip_server.1.retry_counts = 3 -account.5.sip_server.1.failback_mode = 0 -account.5.sip_server.1.failback_timeout = 3600 -account.5.sip_server.1.register_on_enable = 0 -account.5.sip_server.2.address = {$account.5.server.2.address} -account.5.sip_server.2.port = {$account.5.sip_port} -account.5.sip_server.2.expires = {$account.5.register_expires} -account.5.sip_server.2.retry_counts = 3 -account.5.sip_server.2.failback_mode = 0 -account.5.sip_server.2.failback_timeout = 3600 -account.5.sip_server.2.register_on_enable = 0 -account.5.dns_cache_type = 1 - -account.5.dns_cache_a.1.name = -account.5.dns_cache_a.1.ip = -account.5.dns_cache_a.1.ttl = 300 - -account.5.dns_cache_srv.1.name = -account.5.dns_cache_srv.1.port = 0 -account.5.dns_cache_srv.1.priority = 0 -account.5.dns_cache_srv.1.target = -account.5.dns_cache_srv.1.weight = 0 -account.5.dns_cache_srv.1.ttl = 300 -account.5.dns_cache_naptr.1.name = -account.5.dns_cache_naptr.1.flags = -account.5.dns_cache_naptr.1.order = 0 -account.5.dns_cache_naptr.1.preference = 0 -account.5.dns_cache_naptr.1.replace = -account.5.dns_cache_naptr.1.service = -account.5.dns_cache_naptr.1.ttl = 300 - -account.5.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.5.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.5.unregister_on_reboot = - -#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; -account.5.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.5.dns_query_timeout= - -#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; -account.5.srv_ttl_timer_enable = -account.5.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.5.register_mac = -account.5.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.5.reg_fail_retry_interval = - -######################################################################### -## NAT Settings ## -######################################################################### - -#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.5.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} - -#Configure the STUN server address. -account.5.nat.stun_server = {$stun_server} - -#Configure the STUN server port, the default value is 3478. -account.5.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.5.nat.udp_update_enable = {if isset($account.5.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.5.nat.udp_update_time = 30 - -#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.5.nat.rport = {$yealink_rport} - - -####################################################################################### -## Account5 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.5.advanced.timer_t1 = 0.5 -account.5.advanced.timer_t2 = 4 -account.5.advanced.timer_t4 = 5 - -voice_mail.number.5 = {$voicemail_number} - - -####################################################################################### -## Subscribe ## -####################################################################################### -## ranges from 1 to 6; -##account.X.subscribe_mwi = - -account.5.subscribe_mwi = {$yealink_subscribe_mwi} -account.5.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.5.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.5.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.5.blf.blf_list_uri = - -account.5.blf_list_code = -account.5.blf_list_barge_in_code = -account.5.blf.subscribe_period = 1800 - -account.5.blf.subscribe_event = -account.5.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($account.5.shared_line) } -account.5.shared_line = {$account.5.shared_line} -{else} -account.5.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.5.bla_number = -account.5.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.5.codec.Y.enable = -#The type of the specified codec. -#account.5.codec.Y.payload_type = -#The priority of the specified codec. It's available when the codec is enabled. -#account.5.codec.Y.priority = -#The payload of the specified codec. -#account.5.codec.Y.rtpmap = - -account.5.codec.1.enable = 1 -account.5.codec.1.payload_type = PCMU -account.5.codec.1.priority = 1 -account.5.codec.1.rtpmap = 0 - -account.5.codec.2.enable = 1 -account.5.codec.2.payload_type = PCMA -account.5.codec.2.priority = 2 -account.5.codec.2.rtpmap = 8 - -account.5.codec.3.enable = 0 -account.5.codec.3.payload_type = G723_53 -account.5.codec.3.priority =0 -account.5.codec.3.rtpmap = 4 - -account.5.codec.4.enable = 0 -account.5.codec.4.payload_type = G723_63 -account.5.codec.4.priority = 0 -account.5.codec.4.rtpmap = 4 - -account.5.codec.5.enable = 1 -account.5.codec.5.payload_type = G729 -account.5.codec.5.priority = 3 -account.5.codec.5.rtpmap = 18 - -account.5.codec.6.enable = 1 -account.5.codec.6.payload_type = G722 -account.5.codec.6.priority = 4 -account.5.codec.6.rtpmap = 9 - -account.5.codec.7.enable = 0 -account.5.codec.7.payload_type = iLBC -account.5.codec.7.priority = 0 -account.5.codec.7.rtpmap = 106 - -account.5.codec.8.enable = 0 -account.5.codec.8.payload_type = G726-16 -account.5.codec.8.priority = 0 -account.5.codec.8.rtpmap = 103 - -account.5.codec.9.enable = 0 -account.5.codec.9.payload_type = G726-24 -account.5.codec.9.priority = 0 -account.5.codec.9.rtpmap = 104 - -account.5.codec.10.enable = 0 -account.5.codec.10.payload_type = G726-32 -account.5.codec.10.priority = 0 -account.5.codec.10.rtpmap = 102 - -account.5.codec.11.enable = 0 -account.5.codec.11.payload_type = G726-40 -account.5.codec.11.priority = 0 -account.5.codec.11.rtpmap = 105 - -account.5.codec.12.enable = 0 -account.5.codec.12.payload_type = GSM -account.5.codec.12.priority = 0 -account.5.codec.12.rtpmap = 3 - - -####################################################################################### -## Audio Advanced ## -####################################################################################### -#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; -account.5.srtp_encryption = - -#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. -account.5.ptime = - - -####################################################################################### -## Anonymous Call ## -####################################################################################### -account.5.anonymous_call = 0 -account.5.anonymous_call_oncode = -account.5.anonymous_call_offcode = - -account.5.reject_anonymous_call = -account.5.anonymous_reject_oncode = -account.5.anonymous_reject_offcode = - -####################################################################################### -## Pickup Code ## -####################################################################################### -account.5.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.5.group_pickup_code = -account.5.direct_pickup_code = - -####################################################################################### -## DTMF ## -####################################################################################### -#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; -account.5.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.5.dtmf.info_type = - -#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.5.dtmf.dtmf_payload = - -####################################################################################### -## Alert info ## -####################################################################################### -#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.5.alert_info_url_enable = - -#Assign a ringtone for account2. 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.2.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav -account.5.ringtone.ring_type = - -account.5.picture_info_enable = 1 - -####################################################################################### -## Conference ## -####################################################################################### -#Configure the conference type; 0-Local (default), 2-Network Conference; -account.5.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.5.conf_uri = {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.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.5.cid_source = {$yealink_cid_source} - -account.5.cid_source_privacy = 1 -account.5.cid_source_ppi = 1 - -#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.5.cp_source = {$yealink_cp_source} - -####################################################################################### -## Session Timer ## -####################################################################################### -#Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.5.session_timer.enable = {$yealink_session_timer} - -#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. -account.5.session_timer.expires = - -#Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.5.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.5.music_on_hold_type = - -account.5.music_server_uri = - -####################################################################################### -## Advanced ## -####################################################################################### -#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.5.auto_answer = - -#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.5.missed_calllog = {$yealink_missed_calllog} - -#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.5.100rel_enable = {$yealink_retransmission} - -#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.5.enable_user_equal_phone = - -#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.5.compact_header_enable = - -####################################################################################### -## DND ## -####################################################################################### -account.5.dnd.enable = -account.5.dnd.on_code = -account.5.dnd.off_code = - -####################################################################################### -## Call Forward ## -####################################################################################### -#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled; -account.5.always_fwd.enable = -account.5.always_fwd.target = -account.5.always_fwd.off_code = -account.5.always_fwd.on_code = - -account.5.busy_fwd.enable = -account.5.busy_fwd.target = -account.5.busy_fwd.off_code = -account.5.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.5.timeout_fwd.enable = -account.5.timeout_fwd.target = -account.5.timeout_fwd.timeout = -account.5.timeout_fwd.off_code = -account.5.timeout_fwd.on_code = - -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.5.hoteling.enable = 0 -account.5.hoteling.user_id = 0 -account.5.hoteling.password = 0 -account.5.hoteling.auto_login_enable = 0 - -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.5.acd.enable = 0 -account.5.acd.unavailable_reason_enable = 0 -account.5.acd.available = 0 -account.5.acd.initial_state = 1 - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) -#account.5.bw_acd_reason_code.Y = 500(lunch time) -account.5.bw_acd_reason_code.1 = - -account.5.reason_code.1 = -account.5.reason_code_name.1 = 0 -account.5.bw_disp_code.1 = -account.5.bw_disp_code_name.1 = -account.5.supervisor_info_code.1 = -account.5.supervisor_info_code_name.1 = - -####################################################################################### -## Broadsoft Call Center ## -####################################################################################### -account.5.call_center.call_info_enable = 0 -account.5.call_center.show_call_info_time = 30 -account.5.call_center.disp_code_enable = 0 -account.5.call_center.trace_enable = 0 -account.5.call_center.emergency_enable = 0 -account.5.call_center.queue_status_enable = 0 -account.5.call_center.queue_status_light_enable = 0 - -####################################################################################### -## Broadsoft XSI ## -####################################################################################### -account.5.xsi.user = -account.5.xsi.password = -account.5.xsi.host = -account.5.xsi.server_type = -account.5.xsi.port = - - -####################################################################################### -## NETWORK ## -####################################################################################### - -####################################################################################### -## Account 6 Basic Settings ## -####################################################################################### -## ranges from 1 to 6; -##account.X.enable = -{if isset($account.6.password) } -account.6.enable = 1 -{else} -account.6.enable = 0 -{/if} -account.6.label = {$account.6.label} -account.6.display_name = {$account.6.display_name} -account.6.auth_name = {$account.6.auth_id} -account.6.password = {$account.6.password} -{if isset($account.6.server.1.address)} -account.6.user_name = {$account.6.user_id}@{$account.6.server_address} -{else} -account.6.user_name = {$account.6.user_id} -{/if} -account.6.sip_server_host = {$account.6.server_address} -account.6.sip_server_port = {$account.6.sip_port} -account.6.outbound_host = {$account.6.outbound_proxy} - -account.6.outbound_port = {$account.6.sip_port} -{if isset($yealink_sip_listen_port)}account.6.sip_listen_port = {$yealink_sip_listen_port}{else}account.6.sip_listen_port = 5060{/if} - -account.6.sip_listen_port = 5060 -#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV; -{if $account.6.sip_transport == 'udp'}account.6.transport = 0{/if} -{if $account.6.sip_transport == 'tcp'}account.6.transport = 1{/if} -{if $account.6.sip_transport == 'tls'}account.6.transport = 2{/if} -{if $account.6.sip_transport == 'dns srv'}account.6.transport = 3{/if} - -account.6.outbound_proxy.1.address = {$account.6.outbound_proxy_primary} -account.6.outbound_proxy.2.address = {$account.6.outbound_proxy_secondary} -account.6.outbound_proxy_enable = {if isset($account.6.outbound_proxy_primary)}1{else}0{/if} - -####################################################################################### -## Failback ## -####################################################################################### -## ranges from 1 to 6; -##account.X.reregister_enable = 0 - -account.6.reregister_enable = 0 -account.6.retry_counts = -account.6.failback_mode = 0 -account.6.failback_timeout = 3600 -account.6.naptr_build = 0 -account.6.fallback.redundancy_type = 0 -account.6.fallback.timeout = {$yealink_outbound_proxy_fallback_interval} -account.6.sip_server.1.address = {$account.6.server.1.address} -account.6.sip_server.1.port = {$account.6.sip_port} -#Configure the register expiry time (in seconds), the default value is 3600. -account.6.sip_server.1.expires = {$account.6.register_expires} -account.6.sip_server.1.retry_counts = 3 -account.6.sip_server.1.failback_mode = 0 -account.6.sip_server.1.failback_timeout = 3600 -account.6.sip_server.1.register_on_enable = 0 -account.6.sip_server.2.address = {$account.6.server.2.address} -account.6.sip_server.2.port = {$account.6.sip_port} -account.6.sip_server.2.expires = {$account.6.register_expires} -account.6.sip_server.2.retry_counts = 3 -account.6.sip_server.2.failback_mode = 0 -account.6.sip_server.2.failback_timeout = 3600 -account.6.sip_server.2.register_on_enable = 0 -account.6.dns_cache_type = 1 - -account.6.dns_cache_a.1.name = -account.6.dns_cache_a.1.ip = -account.6.dns_cache_a.1.ttl = 300 - -account.6.dns_cache_srv.1.name = -account.6.dns_cache_srv.1.port = 0 -account.6.dns_cache_srv.1.priority = 0 -account.6.dns_cache_srv.1.target = -account.6.dns_cache_srv.1.weight = 0 -account.6.dns_cache_srv.1.ttl = 300 -account.6.dns_cache_naptr.1.name = -account.6.dns_cache_naptr.1.flags = -account.6.dns_cache_naptr.1.order = 0 -account.6.dns_cache_naptr.1.preference = 0 -account.6.dns_cache_naptr.1.replace = -account.6.dns_cache_naptr.1.service = -account.6.dns_cache_naptr.1.ttl = 300 - -account.6.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.6.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.6.unregister_on_reboot = - -#Enable or disable the phone to only accept the message from the server; 0-Disabled (default), 1-Enabled; -account.6.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.6.dns_query_timeout= - -#Enable or disable the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled; -account.6.srv_ttl_timer_enable = -account.6.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.6.register_mac = -account.6.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.6.reg_fail_retry_interval = - -######################################################################### -## NAT Settings ## -######################################################################### -## ranges from 1 to 6; -##account.X.nat.nat_traversal = 0 - -#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.6.nat.nat_traversal = 0 - -account.6.nat.stun_server = -account.6.nat.stun_port = 3478 - -#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; -account.6.nat.udp_update_enable = {if isset($account.6.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.6.nat.udp_update_time = 30 - -#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled; -account.6.nat.rport = {$yealink_rport} - - -####################################################################################### -## Account6 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.6.advanced.timer_t1 = 0.5 -account.6.advanced.timer_t2 = 4 -account.6.advanced.timer_t4 = 5 - -voice_mail.number.6 = {$voicemail_number} - - -####################################################################################### -## Subscribe ## -####################################################################################### -## ranges from 1 to 6; -##account.X.subscribe_mwi = - -account.6.subscribe_mwi = {$yealink_subscribe_mwi} -account.6.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.6.subscribe_mwi_to_vm = {$yealink_subscribe_mwi_to_vm} - -account.6.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.6.blf.blf_list_uri = - -account.6.blf_list_code = -account.6.blf_list_barge_in_code = -account.6.blf.subscribe_period = 1800 - -account.6.blf.subscribe_event = -account.6.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($account.6.shared_line) } -account.6.shared_line = {$account.6.shared_line} -{else} -account.6.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.6.bla_number = -account.6.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.6.codec.Y.enable = -#The type of the specified codec. -#account.6.codec.Y.payload_type = -#The priority of the specified codec. It's available when the codec is enabled. -#account.6.codec.Y.priority = -#The payload of the specified codec. -#account.6.codec.Y.rtpmap = - -account.6.codec.1.enable = 1 -account.6.codec.1.payload_type = PCMU -account.6.codec.1.priority = 1 -account.6.codec.1.rtpmap = 0 - -account.6.codec.2.enable = 1 -account.6.codec.2.payload_type = PCMA -account.6.codec.2.priority = 2 -account.6.codec.2.rtpmap = 8 - -account.6.codec.3.enable = 0 -account.6.codec.3.payload_type = G723_53 -account.6.codec.3.priority =0 -account.6.codec.3.rtpmap = 4 - -account.6.codec.4.enable = 0 -account.6.codec.4.payload_type = G723_63 -account.6.codec.4.priority = 0 -account.6.codec.4.rtpmap = 4 - -account.6.codec.5.enable = 1 -account.6.codec.5.payload_type = G729 -account.6.codec.5.priority = 3 -account.6.codec.5.rtpmap = 18 - -account.6.codec.6.enable = 1 -account.6.codec.6.payload_type = G722 -account.6.codec.6.priority = 4 -account.6.codec.6.rtpmap = 9 - -account.6.codec.7.enable = 0 -account.6.codec.7.payload_type = iLBC -account.6.codec.7.priority = 0 -account.6.codec.7.rtpmap = 106 - -account.6.codec.8.enable = 0 -account.6.codec.8.payload_type = G726-16 -account.6.codec.8.priority = 0 -account.6.codec.8.rtpmap = 103 - -account.6.codec.9.enable = 0 -account.6.codec.9.payload_type = G726-24 -account.6.codec.9.priority = 0 -account.6.codec.9.rtpmap = 104 - -account.6.codec.10.enable = 0 -account.6.codec.10.payload_type = G726-32 -account.6.codec.10.priority = 0 -account.6.codec.10.rtpmap = 102 - -account.6.codec.11.enable = 0 -account.6.codec.11.payload_type = G726-40 -account.6.codec.11.priority = 0 -account.6.codec.11.rtpmap = 105 - -account.6.codec.12.enable = 0 -account.6.codec.12.payload_type = GSM -account.6.codec.12.priority = 0 -account.6.codec.12.rtpmap = 3 - - -####################################################################################### -## Audio Advanced ## -####################################################################################### -#Specify whether to encrypt the SIP messages; 0-Disabled (default), 1-Forced, 2-Negotiated; -account.6.srtp_encryption = - -#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60. -account.6.ptime = - - -####################################################################################### -## Anonymous Call ## -####################################################################################### -account.6.anonymous_call = 0 -account.6.anonymous_call_oncode = -account.6.anonymous_call_offcode = - -account.6.reject_anonymous_call = -account.6.anonymous_reject_oncode = -account.6.anonymous_reject_offcode = - -####################################################################################### -## Pickup Code ## -####################################################################################### -account.6.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.6.group_pickup_code = -account.6.direct_pickup_code = - -####################################################################################### -## DTMF ## -####################################################################################### -#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO; -account.6.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.6.dtmf.info_type = - -#Configure the RFC2833 payload. It ranges from 96 to 255, the default value is 101. -account.6.dtmf.dtmf_payload = - -####################################################################################### -## Alert info ## -####################################################################################### -#Enable or disable to use the Distinctive Ring Tones; 0-Disabled , 1-Enabled(default); -account.6.alert_info_url_enable = - -#Assign a ringtone for account2. 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.2.ringtone.ring_type = Config:Busy.wav -#If you set the system ring tone (Ring2.wav) for the phone, the value is: account.2.ringtone.ring_type = Resource:Ring2.wav -account.6.ringtone.ring_type = - -account.6.picture_info_enable = 1 - -####################################################################################### -## Conference ## -####################################################################################### -#Configure the conference type; 0-Local (default), 2-Network Conference; -account.6.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.6.conf_uri = {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.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.6.cid_source = {$yealink_cid_source} - -account.6.cid_source_privacy = 1 -account.6.cid_source_ppi = 1 - -#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; -account.6.cp_source = {$yealink_cp_source} - -####################################################################################### -## Session Timer ## -####################################################################################### -#Enable or disable the session timer, 0-Disabled (default), 1-Enabled; -account.6.session_timer.enable = {$yealink_session_timer} - -#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999. -account.6.session_timer.expires = - -#Configure the session timer refresher; 0-Uac (default), 1-Uas; -account.6.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.6.music_on_hold_type = - -account.6.music_server_uri = - -####################################################################################### -## Advanced ## -####################################################################################### -#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled; -account.6.auto_answer = - -#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default); -account.6.missed_calllog = {$yealink_missed_calllog} - -#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled; -account.6.100rel_enable = {$yealink_retransmission} - -#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled; -account.6.enable_user_equal_phone = - -#Enable or disable the simplified header field feature; 0-Disabled, 1-Enabled (default); -account.6.compact_header_enable = - -####################################################################################### -## DND ## -####################################################################################### -account.6.dnd.enable = -account.6.dnd.on_code = -account.6.dnd.off_code = - -####################################################################################### -## Call Forward ## -####################################################################################### -#Enable or disable the busy forward feature for account; 0-Disabled (default), 1-Enabled; -account.6.always_fwd.enable = -account.6.always_fwd.target = -account.6.always_fwd.off_code = -account.6.always_fwd.on_code = - -account.6.busy_fwd.enable = -account.6.busy_fwd.target = -account.6.busy_fwd.off_code = -account.6.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.6.timeout_fwd.enable = -account.6.timeout_fwd.target = -account.6.timeout_fwd.timeout = -account.6.timeout_fwd.off_code = -account.6.timeout_fwd.on_code = - -####################################################################################### -## Broadsoft Hoteling ## -####################################################################################### -account.6.hoteling.enable = 0 -account.6.hoteling.user_id = 0 -account.6.hoteling.password = 0 -account.6.hoteling.auto_login_enable = 0 - -####################################################################################### -## Broadsoft ACD ## -####################################################################################### -account.6.acd.enable = 0 -account.6.acd.unavailable_reason_enable = 0 -account.6.acd.available = 0 -account.6.acd.initial_state = 1 - -####################################################################################### -## Broadsoft ACD Call Center ## -####################################################################################### -#Configure the ACD reason code of Broadsoft.(The valus of Y must be consecutive numbers.) -#account.6.bw_acd_reason_code.Y = 500(lunch time) -account.6.bw_acd_reason_code.1 = - -account.6.reason_code.1 = -account.6.reason_code_name.1 = 0 -account.6.bw_disp_code.1 = -account.6.bw_disp_code_name.1 = -account.6.supervisor_info_code.1 = -account.6.supervisor_info_code_name.1 = - -####################################################################################### -## Broadsoft Call Center ## -####################################################################################### -account.6.call_center.call_info_enable = 0 -account.6.call_center.show_call_info_time = 30 -account.6.call_center.disp_code_enable = 0 -account.6.call_center.trace_enable = 0 -account.6.call_center.emergency_enable = 0 -account.6.call_center.queue_status_enable = 0 -account.6.call_center.queue_status_light_enable = 0 - -####################################################################################### -## Broadsoft XSI ## -####################################################################################### -account.6.xsi.user = -account.6.xsi.password = -account.6.xsi.host = -account.6.xsi.server_type = -account.6.xsi.port = - - -####################################################################################### -## NETWORK ## -####################################################################################### +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 = ####################################################################################### ## Line Key ##