2106 lines
82 KiB
INI
2106 lines
82 KiB
INI
#!version:1.0.0.1
|
|
#{$microtime}
|
|
|
|
##File header "#!version:1.0.0.1" can not be edited or deleted.##
|
|
|
|
#######################################################################################
|
|
## Account 1 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.1.enable = {if isset($account.1.password)}1{else}0{/if}{""}
|
|
|
|
account.1.label = {$account.1.display_name}
|
|
account.1.display_name = {$account.1.display_name}
|
|
|
|
{if isset($account.1.server.1.address)}
|
|
account.1.user_name = {$account.1.user_id}@{$account.1.server_address}
|
|
{else}
|
|
account.1.user_name = {$account.1.user_id}
|
|
{/if}
|
|
{if isset($account.1.server.1.address)} account.1.sip_server.1.address= {$account.1.server.1.address} {else} account.1.sip_server.1.address= {$account.1.server_address} {/if}
|
|
|
|
account.1.auth_name = {$account.1.user_id}
|
|
account.1.password = {$account.1.password}
|
|
|
|
account.1.sip_server_port = {$account.1.sip_port}
|
|
account.1.transport = {if $account.1.sip_transport == 'udp'}0{/if}{if $account.1.sip_transport == 'tcp'}1{/if}{if $account.1.sip_transport == 'tls'}2{/if}{if $account.1.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.1.expires = {$account.1.register_expires}
|
|
account.1.outbound_host = {$account.1.outbound_proxy}
|
|
account.1.outbound_port = {$account.1.sip_port}
|
|
|
|
#Server Redundancy
|
|
account.1.sip_server.2.address= {$account.1.server.2.address}
|
|
account.1.sip_server.2.port= {$account.1.sip_port}
|
|
account.1.sip_server.2.transport_type = {if $account.1.sip_transport == 'udp'}0{/if}{if $account.1.sip_transport == 'tcp'}1{/if}{if $account.1.sip_transport == 'tls'}2{/if}{if $account.1.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.1.sip_server.2.expires= {$account.1.register_expires}
|
|
account.1.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.1.outbound_proxy_enable= {if isset($account.1.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.1.outbound_proxy.1.address = {$account.1.outbound_proxy_primary}
|
|
account.1.outbound_proxy.1.port = {if isset($account.1.sip_port)}{$account.1.sip_port}{else}5060{/if}{""}
|
|
|
|
account.1.outbound_proxy.2.address = {$account.1.outbound_proxy_secondary}
|
|
|
|
account.1.outbound_proxy.2.port = {if isset($account.1.sip_port)}{$account.1.sip_port}{else}5060{/if}{""}
|
|
account.1.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.1.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.1.anonymous_call_oncode =
|
|
account.1.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.1.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.1.anonymous_reject_oncode =
|
|
account.1.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.1.sip_listen_port =
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.1.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.1.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.1.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.1.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.1.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.1.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.1.cp_source = 2
|
|
|
|
#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
|
|
account.1.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 =
|
|
|
|
#Configure the session timer refresher; 0-Uac (default), 1-Uas;
|
|
account.1.session_timer.refresher =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.1.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 0-Disabled (default), 1-Forced, 2-Negotiated;
|
|
account.1.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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.1.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.1.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.1.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.1.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.1.signal_encode_key =
|
|
|
|
#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
|
|
account.1.dtmf.type = {$yealink_dtmf_type}
|
|
|
|
#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.1.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.1.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## 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}{""}
|
|
|
|
#Configure the STUN server address.
|
|
account.1.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}{""}
|
|
|
|
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify;
|
|
account.1.nat.udp_update_enable = 3
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.1.nat.udp_update_time = 30
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.1.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.1.advanced.timer_t1 =
|
|
account.1.advanced.timer_t2 =
|
|
account.1.advanced.timer_t4 =
|
|
|
|
account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.1.payload_type = PCMU
|
|
account.1.codec.1.priority = {if isset($yealink_codec_pcmu_priority)}{$yealink_codec_pcmu_priority}{else}0{/if}
|
|
|
|
account.1.codec.1.rtpmap = 0
|
|
|
|
account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.2.payload_type = PCMA
|
|
account.1.codec.2.priority = {if isset($yealink_codec_pcma_priority)}{$yealink_codec_pcma_priority}{else}0{/if}
|
|
|
|
account.1.codec.2.rtpmap = 8
|
|
|
|
account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.3.payload_type = G723_53
|
|
account.1.codec.3.priority ={if isset($yealink_codec_g723_53_priority)}{$yealink_codec_g723_53_priority}{else}0{/if}
|
|
|
|
account.1.codec.3.rtpmap = 4
|
|
|
|
account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.4.payload_type = G723_63
|
|
account.1.codec.4.priority = {if isset($yealink_codec_g723_63_priority)}{$yealink_codec_g723_63_priority}{else}0{/if}
|
|
|
|
account.1.codec.4.rtpmap = 4
|
|
|
|
account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.5.payload_type = G729
|
|
account.1.codec.5.priority = {if isset($yealink_codec_g729_priority)}{$yealink_codec_g729_priority}{else}0{/if}
|
|
|
|
account.1.codec.5.rtpmap = 18
|
|
|
|
account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.6.payload_type = G722
|
|
account.1.codec.6.priority = {if isset($yealink_codec_g722_priority)}{$yealink_codec_g722_priority}{else}0{/if}
|
|
|
|
account.1.codec.6.rtpmap = 9
|
|
|
|
account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.7.payload_type = iLBC
|
|
account.1.codec.7.priority = {if isset($yealink_codec_iLBC_priority)}{$yealink_codec_iLBC_priority}{else}0{/if}
|
|
|
|
account.1.codec.7.rtpmap = 106
|
|
|
|
account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.8.payload_type = G726-16
|
|
account.1.codec.8.priority = {if isset($yealink_codec_g726_16_priority)}{$yealink_codec_g726_16_priority}{else}0{/if}
|
|
|
|
account.1.codec.8.rtpmap = 103
|
|
|
|
account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.9.payload_type = G726-24
|
|
account.1.codec.9.priority = {if isset($yealink_codec_g726_24_priority)}{$yealink_codec_g726_24_priority}{else}0{/if}
|
|
|
|
account.1.codec.9.rtpmap = 104
|
|
|
|
account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.10.payload_type = G726-32
|
|
account.1.codec.10.priority = {if isset($yealink_codec_g726_32_priority)}{$yealink_codec_g726_32_priority}{else}0{/if}
|
|
|
|
account.1.codec.10.rtpmap = 102
|
|
|
|
account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.11.payload_type = G726-40
|
|
account.1.codec.11.priority = {if isset($yealink_codec_g726_40_priority)}{$yealink_codec_g726_40_priority}{else}0{/if}
|
|
|
|
account.1.codec.11.rtpmap = 105
|
|
|
|
account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.12.payload_type = GSM
|
|
account.1.codec.12.priority = {if isset($yealink_codec_gsm_priority)}{$yealink_codec_gsm_priority}{else}0{/if}
|
|
|
|
account.1.codec.12.rtpmap = 3
|
|
|
|
account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if}
|
|
|
|
account.1.codec.13.payload_type = opus
|
|
account.1.codec.13.priority = {if isset($yealink_codec_opus_priority)}{$yealink_codec_opus_priority}{else}0{/if}
|
|
|
|
account.1.codec.13.rtpmap = 106
|
|
|
|
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.1.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.1.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.1.busy_fwd.enable =
|
|
account.1.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.1.timeout_fwd.enable =
|
|
account.1.timeout_fwd.target =
|
|
account.1.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account1; 0-Disabled (default), 1-Enabled;
|
|
account.1.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account1.
|
|
|
|
account.1.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.1 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Account 2 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.2.enable = {if isset($account.2.password) }1{else}0{/if}{""}
|
|
|
|
account.2.label = {$account.2.display_name}
|
|
account.2.display_name = {$account.2.display_name}
|
|
|
|
{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.auth_name = {$account.2.user_id}
|
|
account.2.password = {$account.2.password}
|
|
|
|
{if isset($account.2.server.1.address)} account.2.sip_server.1.address= {$account.2.server.1.address} {else} account.2.sip_server.1.address= {$account.2.server_address} {/if}
|
|
|
|
account.2.sip_server_port = {$account.2.sip_port}
|
|
account.2.transport = {if $account.2.sip_transport == 'udp'}0{/if}{if $account.2.sip_transport == 'tcp'}1{/if}{if $account.2.sip_transport == 'tls'}2{/if}{if $account.2.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.2.expires = {$account.2.register_expires}
|
|
account.2.outbound_host = {$account.2.outbound_proxy}
|
|
account.2.outbound_port = {$account.2.sip_port}
|
|
|
|
#Server Redundancy
|
|
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.transport_type = {if $account.2.sip_transport == 'udp'}0{/if}{if $account.2.sip_transport == 'tcp'}1{/if}{if $account.2.sip_transport == 'tls'}2{/if}{if $account.2.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.2.sip_server.2.expires= {$account.2.register_expires}
|
|
account.2.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.2.outbound_proxy_enable= {if isset($account.2.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.2.outbound_proxy.1.address = {$account.2.outbound_proxy_primary}
|
|
account.2.outbound_proxy.1.port = {if isset($account.2.sip_port)}{$account.2.sip_port}{else}5060{/if}{""}
|
|
|
|
account.2.outbound_proxy.2.address = {$account.2.outbound_proxy_secondary}
|
|
account.2.outbound_proxy.2.port = {if isset($account.2.sip_port)}{$account.2.sip_port}{else}5060{/if}{""}
|
|
|
|
account.2.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.2.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.2.anonymous_call_oncode =
|
|
account.2.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.2.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.2.anonymous_reject_oncode =
|
|
account.2.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.2.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.2.expires = {$account.2.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.2.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.2.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.2.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.2.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.2.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.2.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.2.cp_source = 2
|
|
|
|
#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 =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.2.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.2.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.2.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.2.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.2.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.2.signal_encode_key =
|
|
|
|
#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 RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.2.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.2.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## 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-Enabled (default);
|
|
account.2.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.2.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.2.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.2.advanced.timer_t1 =
|
|
account.2.advanced.timer_t2 =
|
|
account.2.advanced.timer_t4 =
|
|
|
|
account.2.codec.1.enable = 1
|
|
account.2.codec.1.payload_type = PCMU
|
|
account.2.codec.1.priority = 1
|
|
account.2.codec.1.rtpmap = 0
|
|
|
|
account.2.codec.2.enable = 1
|
|
account.2.codec.2.payload_type = PCMA
|
|
account.2.codec.2.priority = 2
|
|
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 = 3
|
|
account.2.codec.5.rtpmap = 18
|
|
|
|
account.2.codec.6.enable = 1
|
|
account.2.codec.6.payload_type = G722
|
|
account.2.codec.6.priority = 4
|
|
account.2.codec.6.rtpmap = 9
|
|
|
|
account.2.codec.7.enable = 0
|
|
account.2.codec.7.payload_type = G726-32
|
|
account.2.codec.7.priority = 0
|
|
account.2.codec.7.rtpmap = 2
|
|
|
|
account.2.codec.8.enable = 0
|
|
account.2.codec.8.payload_type = iLBC_13_3
|
|
account.2.codec.8.priority = 0
|
|
account.2.codec.8.rtpmap = 97
|
|
|
|
account.2.codec.9.enable = 0
|
|
account.2.codec.9.payload_type = iLBC_15_2
|
|
account.2.codec.9.priority = 0
|
|
account.2.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.2.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.2.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.2.busy_fwd.enable =
|
|
account.2.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.2.timeout_fwd.enable =
|
|
account.2.timeout_fwd.target =
|
|
account.2.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account2; 0-Disabled (default), 1-Enabled;
|
|
account.2.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account1.
|
|
|
|
account.2.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.2 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Account 3 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.3.enable = {if isset($account.3.password) }1{else}0{/if}{""}
|
|
|
|
account.3.label = {$account.3.display_name}
|
|
account.3.display_name = {$account.3.display_name}
|
|
|
|
{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.auth_name = {$account.3.user_id}
|
|
account.3.password = {$account.3.password}
|
|
|
|
{if isset($account.3.server.1.address)} account.3.sip_server.1.address= {$account.3.server.1.address} {else} account.3.sip_server.1.address= {$account.3.server_address} {/if}
|
|
|
|
account.3.sip_server_port = {$account.3.sip_port}
|
|
account.3.transport = {if $account.3.sip_transport == 'udp'}0{/if}{if $account.3.sip_transport == 'tcp'}1{/if}{if $account.3.sip_transport == 'tls'}2{/if}{if $account.3.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.3.expires = {$register_expires}
|
|
account.3.outbound_host = {$outbound_proxy}
|
|
account.3.outbound_port = {$sip_port}
|
|
|
|
#Server Redundancy
|
|
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.transport_type = {if $account.3.sip_transport == 'udp'}0{/if}{if $account.3.sip_transport == 'tcp'}1{/if}{if $account.3.sip_transport == 'tls'}2{/if}{if $account.3.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.3.sip_server.2.expires= {$account.3.register_expires}
|
|
account.3.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.3.outbound_proxy_enable= {if isset($account.3.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.3.outbound_proxy.1.address = {$account.3.outbound_proxy_primary}
|
|
account.3.outbound_proxy.1.port = {if isset($account.3.sip_port)}{$account.3.sip_port}{else}5060{/if}{""}
|
|
|
|
account.3.outbound_proxy.2.address = {$account.3.outbound_proxy_secondary}
|
|
account.3.outbound_proxy.2.port = {if isset($account.3.sip_port)}{$account.3.sip_port}{else}5060{/if}{""}
|
|
a
|
|
ccount.3.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.3.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.3.anonymous_call_oncode =
|
|
account.3.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.3.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.3.anonymous_reject_oncode =
|
|
account.3.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.3.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.3.expires = {$account.3.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.3.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.3.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.3.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.3.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.3.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.3.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.3.cp_source = 2
|
|
|
|
#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 =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.3.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.3.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.3.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.3.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.3.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.3.signal_encode_key =
|
|
|
|
#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 RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.3.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.3.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## 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-Enabled (default);
|
|
account.3.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.3.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.3.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.3.advanced.timer_t1 =
|
|
account.3.advanced.timer_t2 =
|
|
account.3.advanced.timer_t4 =
|
|
|
|
account.3.codec.1.enable = 1
|
|
account.3.codec.1.payload_type = PCMU
|
|
account.3.codec.1.priority = 1
|
|
account.3.codec.1.rtpmap = 0
|
|
|
|
account.3.codec.2.enable = 1
|
|
account.3.codec.2.payload_type = PCMA
|
|
account.3.codec.2.priority = 2
|
|
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 = 3
|
|
account.3.codec.5.rtpmap = 18
|
|
|
|
account.3.codec.6.enable = 1
|
|
account.3.codec.6.payload_type = G722
|
|
account.3.codec.6.priority = 4
|
|
account.3.codec.6.rtpmap = 9
|
|
|
|
account.3.codec.7.enable = 0
|
|
account.3.codec.7.payload_type = G726-32
|
|
account.3.codec.7.priority = 0
|
|
account.3.codec.7.rtpmap = 2
|
|
|
|
account.3.codec.8.enable = 0
|
|
account.3.codec.8.payload_type = iLBC_13_3
|
|
account.3.codec.8.priority = 0
|
|
account.3.codec.8.rtpmap = 97
|
|
|
|
account.3.codec.9.enable = 0
|
|
account.3.codec.9.payload_type = iLBC_15_2
|
|
account.3.codec.9.priority = 0
|
|
account.3.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.3.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.3.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.3.busy_fwd.enable =
|
|
account.3.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.3.timeout_fwd.enable =
|
|
account.3.timeout_fwd.target =
|
|
account.3.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account3; 0-Disabled (default), 1-Enabled;
|
|
account.3.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account3.
|
|
|
|
account.3.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.3 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Account 4 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.4.enable = {if isset($account.4.password) }1{else}0{/if}{""}
|
|
|
|
account.4.label = {$account.4.display_name}
|
|
account.4.display_name = {$account.4.display_name}
|
|
|
|
{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.auth_name = {$account.4.user_id}
|
|
account.4.password = {$account.4.password}
|
|
|
|
{if isset($account.4.server.1.address)} account.4.sip_server.1.address= {$account.4.server.1.address} {else} account.4.sip_server.1.address= {$account.4.server_address} {/if}
|
|
|
|
account.4.sip_server_port = {$account.4.sip_port}
|
|
account.4.transport = {if $account.4.sip_transport == 'udp'}0{/if}{if $account.4.sip_transport == 'tcp'}1{/if}{if $account.4.sip_transport == 'tls'}2{/if}{if $account.4.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.4.expires = {$account.4.register_expires}
|
|
account.4.outbound_host = {$account.4.outbound_proxy}
|
|
account.4.outbound_port = {$account.4.sip_port}
|
|
|
|
#Server Redundancy
|
|
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.transport_type = {if $account.4.sip_transport == 'udp'}0{/if}{if $account.4.sip_transport == 'tcp'}1{/if}{if $account.4.sip_transport == 'tls'}2{/if}{if $account.4.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.4.sip_server.2.expires= {$account.4.register_expires}
|
|
account.4.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.4.outbound_proxy_enable= {if isset($account.4.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.4.outbound_proxy.1.address = {$account.4.outbound_proxy_primary}
|
|
account.4.outbound_proxy.1.port = {if isset($account.4.sip_port)}{$account.4.sip_port}{else}5060{/if}{""}
|
|
|
|
account.4.outbound_proxy.2.address = {$account.4.outbound_proxy_secondary}
|
|
account.4.outbound_proxy.2.port = {if isset($account.4.sip_port)}{$account.4.sip_port}{else}5060{/if}{""}
|
|
|
|
account.4.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.4.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.4.anonymous_call_oncode =
|
|
account.4.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.4.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.4.anonymous_reject_oncode =
|
|
account.4.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.4.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.4.expires = {$account.4.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.4.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.4.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.4.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.4.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.4.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.4.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.4.cp_source = 2
|
|
|
|
#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 =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.4.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.4.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.4.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.4.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.4.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.4.signal_encode_key =
|
|
|
|
#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 RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.4.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.4.dtmf.info_type =
|
|
|
|
#######################################################################################
|
|
## 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-Enabled (default);
|
|
account.4.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.4.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.4.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.4.advanced.timer_t1 =
|
|
account.4.advanced.timer_t2 =
|
|
account.4.advanced.timer_t4 =
|
|
|
|
|
|
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 = G726-32
|
|
account.4.codec.7.priority = 0
|
|
account.4.codec.7.rtpmap = 2
|
|
|
|
account.4.codec.8.enable = 0
|
|
account.4.codec.8.payload_type = iLBC_13_3
|
|
account.4.codec.8.priority = 0
|
|
account.4.codec.8.rtpmap = 97
|
|
|
|
account.4.codec.9.enable = 0
|
|
account.4.codec.9.payload_type = iLBC_15_2
|
|
account.4.codec.9.priority = 0
|
|
account.4.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.4.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.4.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.4.busy_fwd.enable =
|
|
account.4.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.4.timeout_fwd.enable =
|
|
account.4.timeout_fwd.target =
|
|
account.4.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account4; 0-Disabled (default), 1-Enabled;
|
|
account.4.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account4.
|
|
|
|
account.4.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.4 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Account 5 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.5.enable = {if isset($account.5.password) }1{else}0{/if}{""}
|
|
|
|
account.5.label = {$account.5.display_name}
|
|
account.5.display_name = {$account.5.display_name}
|
|
|
|
{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.auth_name = {$account.5.user_id}
|
|
account.5.password = {$account.5.password}
|
|
|
|
{if isset($account.5.server.1.address)} account.5.sip_server.1.address= {$account.5.server.1.address} {else} account.5.sip_server.1.address= {$account.5.server_address} {/if}
|
|
|
|
account.5.sip_server_port = {$account.5.sip_port}
|
|
account.5.transport = {if $account.5.sip_transport == 'udp'}0{/if}{if $account.5.sip_transport == 'tcp'}1{/if}{if $account.5.sip_transport == 'tls'}2{/if}{if $account.5.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.5.expires = {$account.5.register_expires}
|
|
account.5.outbound_host = {$account.5.outbound_proxy}
|
|
account.5.outbound_port = {$account.5.sip_port}
|
|
|
|
#Server Redundancy
|
|
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.transport_type = {if $account.5.sip_transport == 'udp'}0{/if}{if $account.5.sip_transport == 'tcp'}1{/if}{if $account.5.sip_transport == 'tls'}2{/if}{if $account.5.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.5.sip_server.2.expires= {$account.5.register_expires}
|
|
account.5.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.5.outbound_proxy_enable= {if isset($account.5.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.5.outbound_proxy.1.address = {$account.5.outbound_proxy_primary}
|
|
account.5.outbound_proxy.1.port = {if isset($account.5.sip_port)}{$account.5.sip_port}{else}5060{/if}{""}
|
|
|
|
account.5.outbound_proxy.2.address = {$account.5.outbound_proxy_secondary}
|
|
account.5.outbound_proxy.2.port = {if isset($account.5.sip_port)}{$account.4.sip_port}{else}5060{/if}{""}
|
|
|
|
account.5.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.5.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.5.anonymous_call_oncode =
|
|
account.5.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.5.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.5.anonymous_reject_oncode =
|
|
account.5.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.5.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.5.expires = {$account.5.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.5.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.5.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.5.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.5.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.5.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.5.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.5.cp_source = 2
|
|
|
|
#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 =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.5.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.5.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.5.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.5.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.5.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.5.signal_encode_key =
|
|
|
|
#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 RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.5.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.5.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## 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-Enabled (default);
|
|
account.5.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.5.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.5.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.5.advanced.timer_t1 =
|
|
account.5.advanced.timer_t2 =
|
|
account.5.advanced.timer_t4 =
|
|
|
|
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 = G726-32
|
|
account.5.codec.7.priority = 0
|
|
account.5.codec.7.rtpmap = 2
|
|
|
|
account.5.codec.8.enable = 0
|
|
account.5.codec.8.payload_type = iLBC_13_3
|
|
account.5.codec.8.priority = 0
|
|
account.5.codec.8.rtpmap = 97
|
|
|
|
account.5.codec.9.enable = 0
|
|
account.5.codec.9.payload_type = iLBC_15_2
|
|
account.5.codec.9.priority = 0
|
|
account.5.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.5.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.5.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.5.busy_fwd.enable =
|
|
account.5.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.5.timeout_fwd.enable =
|
|
account.5.timeout_fwd.target =
|
|
account.5.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account5; 0-Disabled (default), 1-Enabled;
|
|
account.5.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account5.
|
|
|
|
account.5.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.5 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Network ##
|
|
#######################################################################################
|
|
|
|
#Configure the WAN port type; 0-DHCP(default), 1-PPPoE, 2-Static IP Address;
|
|
#Require reboot;
|
|
network.internet_port.type =
|
|
|
|
#Configure the static IP address, submask, gateway and DNS server.
|
|
#Require reboot;
|
|
network.internet_port.ip =
|
|
network.internet_port.mask =
|
|
network.internet_port.gateway =
|
|
{if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if}{""}
|
|
|
|
{if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if}{""}
|
|
|
|
{if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""}
|
|
|
|
#######################################################################################
|
|
## Account 6 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.6.enable = {if isset($account.6.password) }1{else}0{/if}{""}
|
|
|
|
account.6.label = {$account.6.display_name}
|
|
account.6.display_name = {$account.6.display_name}
|
|
|
|
{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.auth_name = {$account.6.user_id}
|
|
account.6.password = {$account.6.password}
|
|
|
|
{if isset($account.6.server.1.address)} account.6.sip_server.1.address= {$account.6.server.1.address} {else} account.6.sip_server.1.address= {$account.6.server_address} {/if}
|
|
|
|
account.6.sip_server_port = {$account.6.sip_port}
|
|
account.6.transport = {if $account.6.sip_transport == 'udp'}0{/if}{if $account.6.sip_transport == 'tcp'}1{/if}{if $account.6.sip_transport == 'tls'}2{/if}{if $account.6.sip_transport == 'dns srv'}3{/if}{""}
|
|
a
|
|
ccount.6.expires = {$account.6.register_expires}
|
|
account.6.outbound_host = {$account.6.outbound_proxy}
|
|
account.6.outbound_port = {$account.6.sip_port}
|
|
|
|
#Server Redundancy
|
|
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.transport_type = {if $account.6.sip_transport == 'udp'}0{/if}{if $account.6.sip_transport == 'tcp'}1{/if}{if $account.6.sip_transport == 'tls'}2{/if}{if $account.6.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.6.sip_server.2.expires= {$account.6.register_expires}
|
|
account.6.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.6.outbound_proxy_enable= {if isset($account.6.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.6.outbound_proxy.1.address = {$account.6.outbound_proxy_primary}
|
|
account.6.outbound_proxy.1.port = {if isset($account.6.sip_port)}{$account.6.sip_port}{else}5060{/if}{""}
|
|
|
|
account.6.outbound_proxy.2.address = {$account.6.outbound_proxy_secondary}
|
|
account.6.outbound_proxy.2.port = {if isset($account.6.sip_port)}{$account.6.sip_port}{else}5060{/if}{""}
|
|
|
|
account.6.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.6.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.6.anonymous_call_oncode =
|
|
account.6.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.6.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.6.anonymous_reject_oncode =
|
|
account.6.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.6.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.6.expires = {$account.6.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.6.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.6.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.6.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.6.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.6.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.6.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.6.cp_source = 2
|
|
|
|
#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 =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.6.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 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 =
|
|
|
|
#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 = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.6.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.6.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.6.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.6.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.6.signal_encode_key =
|
|
|
|
#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 RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.6.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.6.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## NAT Settings ##
|
|
#######################################################################################
|
|
|
|
#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
|
|
account.6.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}{""}
|
|
|
|
#Configure the STUN server address.
|
|
account.6.nat.stun_server = {$stun_server}
|
|
|
|
#Configure the STUN server port, the default value is 3478.
|
|
account.6.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}{""}
|
|
|
|
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
|
|
account.6.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.6.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.6.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.6.advanced.timer_t1 =
|
|
account.6.advanced.timer_t2 =
|
|
account.6.advanced.timer_t4 =
|
|
|
|
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_63
|
|
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 = G726-32
|
|
account.6.codec.7.priority = 0
|
|
account.6.codec.7.rtpmap = 2
|
|
|
|
account.6.codec.8.enable = 0
|
|
account.6.codec.8.payload_type = iLBC_13_3
|
|
account.6.codec.8.priority = 0
|
|
account.6.codec.8.rtpmap = 97
|
|
|
|
account.6.codec.9.enable = 0
|
|
account.6.codec.9.payload_type = iLBC_15_2
|
|
account.6.codec.9.priority = 0
|
|
account.6.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.6.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.6.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.6.busy_fwd.enable =
|
|
account.6.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.6.timeout_fwd.enable =
|
|
account.6.timeout_fwd.target =
|
|
account.6.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account5; 0-Disabled (default), 1-Enabled;
|
|
account.6.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account5.
|
|
|
|
account.6.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.6 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Network ##
|
|
#######################################################################################
|
|
|
|
#Configure the WAN port type; 0-DHCP(default), 1-PPPoE, 2-Static IP Address;
|
|
#Require reboot;
|
|
network.internet_port.type =
|
|
|
|
#Configure the static IP address, submask, gateway and DNS server.
|
|
#Require reboot;
|
|
network.internet_port.ip =
|
|
network.internet_port.mask =
|
|
network.internet_port.gateway =
|
|
{if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if}{""}
|
|
|
|
{if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if}{""}
|
|
|
|
{if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""}
|
|
|
|
#######################################################################################
|
|
## Account 7 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.7.enable = {if isset($account.7.user_password) }1{else}0{/if}{""}
|
|
|
|
account.7.label = {$account.7.display_name}
|
|
account.7.display_name = {$account.7.display_name}
|
|
|
|
{if isset($account.7.server.1.address)}
|
|
account.7.user_name = {$account.7.user_id}@{$account.7.server_address}
|
|
{else}
|
|
account.7.user_name = {$account.7.user_id}
|
|
{/if}
|
|
|
|
account.7.auth_name = {$account.7.user_id}
|
|
account.7.password = {$account.7.user_password}
|
|
|
|
{if isset($account.7.server.1.address)} account.7.sip_server.1.address= {$account.7.server.1.address} {else} account.7.sip_server.1.address= {$account.7.server_address} {/if}
|
|
|
|
account.7.sip_server_port = {$account.7.sip_port}
|
|
account.7.transport = {if $account.7.sip_transport == 'udp'}0{/if}{if $account.7.sip_transport == 'tcp'}1{/if}{if $account.7.sip_transport == 'tls'}2{/if}{if $account.7.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.7.expires = {$account.7.register_expires}
|
|
account.7.outbound_host = {$account.7.outbound_proxy}
|
|
account.7.outbound_port = {$account.7.sip_port}
|
|
|
|
#Server Redundancy
|
|
account.7.sip_server.2.address= {$account.7.server_address}
|
|
account.7.sip_server.2.port= {$account.7.sip_port}
|
|
account.7.sip_server.2.transport_type = {if $account.7.sip_transport == 'udp'}0{/if}{if $account.7.sip_transport == 'tcp'}1{/if}{if $account.7.sip_transport == 'tls'}2{/if}{if $account.7.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.7.sip_server.2.expires= {$account.7.register_expires}
|
|
account.7.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.7.outbound_proxy_enable= {if isset($account.7.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.7.outbound_proxy.1.address = {$account.7.outbound_proxy_primary}
|
|
account.7.outbound_proxy.1.port = {if isset($account.7.sip_port)}{$account.7.outbound_sip_port}{else}5060{/if}{""}
|
|
|
|
account.7.outbound_proxy.2.address = {$account.7.outbound_proxy_secondary}
|
|
account.7.outbound_proxy.2.port = {if isset($account.7.sip_port)}{$account.7.sip_port}{else}5060{/if}{""}
|
|
|
|
account.7.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.7.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.7.anonymous_call_oncode =
|
|
account.7.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.7.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.7.anonymous_reject_oncode =
|
|
account.7.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.7.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.7.expires = {$register_expires_7}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.7.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.7.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.7.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.7.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.7.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.7.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.7.cp_source = 2
|
|
|
|
#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
|
|
account.7.session_timer.enable = {$yealink_session_timer}
|
|
|
|
#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
|
|
account.7.session_timer.expires =
|
|
|
|
#Configure the session timer refresher; 0-Uac (default), 1-Uas;
|
|
account.7.session_timer.refresher =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.7.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 0-Disabled (default), 1-Forced, 2-Negotiated;
|
|
account.7.srtp_encryption =
|
|
|
|
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
|
|
account.7.ptime =
|
|
|
|
#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.7.subscribe_mwi_to_vm = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.7.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.7.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.7.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.7.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.7.signal_encode_key =
|
|
|
|
#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
|
|
account.7.dtmf.type = {$yealink_dtmf_type}
|
|
|
|
#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.7.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.7.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## NAT Settings ##
|
|
#######################################################################################
|
|
|
|
#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
|
|
account.7.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}{""}
|
|
|
|
#Configure the STUN server address.
|
|
account.7.nat.stun_server = {$stun_server}
|
|
|
|
#Configure the STUN server port, the default value is 3478.
|
|
account.7.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}{""}
|
|
|
|
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
|
|
account.7.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.7.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.7.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.7.advanced.timer_t1 =
|
|
account.7.advanced.timer_t2 =
|
|
account.7.advanced.timer_t4 =
|
|
|
|
account.7.codec.1.enable = 1
|
|
account.7.codec.1.payload_type = PCMU
|
|
account.7.codec.1.priority = 1
|
|
account.7.codec.1.rtpmap = 0
|
|
|
|
account.7.codec.2.enable = 1
|
|
account.7.codec.2.payload_type = PCMA
|
|
account.7.codec.2.priority = 2
|
|
account.7.codec.2.rtpmap = 8
|
|
|
|
account.7.codec.3.enable = 0
|
|
account.7.codec.3.payload_type = G723_73
|
|
account.7.codec.3.priority =0
|
|
account.7.codec.3.rtpmap = 4
|
|
|
|
account.7.codec.4.enable = 0
|
|
account.7.codec.4.payload_type = G723_73
|
|
account.7.codec.4.priority = 0
|
|
account.7.codec.4.rtpmap = 4
|
|
|
|
account.7.codec.5.enable = 1
|
|
account.7.codec.5.payload_type = G729
|
|
account.7.codec.5.priority = 3
|
|
account.7.codec.5.rtpmap = 18
|
|
|
|
account.7.codec.6.enable = 1
|
|
account.7.codec.6.payload_type = G722
|
|
account.7.codec.6.priority = 4
|
|
account.7.codec.6.rtpmap = 9
|
|
|
|
account.7.codec.7.enable = 0
|
|
account.7.codec.7.payload_type = G726-32
|
|
account.7.codec.7.priority = 0
|
|
account.7.codec.7.rtpmap = 2
|
|
|
|
account.7.codec.8.enable = 0
|
|
account.7.codec.8.payload_type = iLBC_13_3
|
|
account.7.codec.8.priority = 0
|
|
account.7.codec.8.rtpmap = 97
|
|
|
|
account.7.codec.9.enable = 0
|
|
account.7.codec.9.payload_type = iLBC_15_2
|
|
account.7.codec.9.priority = 0
|
|
account.7.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.7.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.7.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.7.busy_fwd.enable =
|
|
account.7.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.7.timeout_fwd.enable =
|
|
account.7.timeout_fwd.target =
|
|
account.7.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account5; 0-Disabled (default), 1-Enabled;
|
|
account.7.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account5.
|
|
|
|
account.7.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.7= {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Network ##
|
|
#######################################################################################
|
|
|
|
#Configure the WAN port type; 0-DHCP(default), 1-PPPoE, 2-Static IP Address;
|
|
#Require reboot;
|
|
network.internet_port.type =
|
|
|
|
#Configure the static IP address, submask, gateway and DNS server.
|
|
#Require reboot;
|
|
network.internet_port.ip =
|
|
network.internet_port.mask =
|
|
network.internet_port.gateway =
|
|
{if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if}{""}
|
|
|
|
{if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if}{""}
|
|
|
|
{if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""}
|
|
|
|
#######################################################################################
|
|
## Account 8 Settings ##
|
|
#######################################################################################
|
|
|
|
#Basic Settings
|
|
account.8.enable = {if isset($account.8.user_password) }1{else}0{/if}{""}
|
|
|
|
account.8.label = {$account.8.display_name}
|
|
account.8.display_name = {$account.8.display_name}
|
|
|
|
{if isset($account.8.server.1.address)}
|
|
account.8.user_name = {$account.8.user_id}@{$account.8.server_address}
|
|
{else}
|
|
account.8.user_name = {$account.8.user_id}
|
|
{/if}
|
|
|
|
account.8.auth_name = {$account.8.user_id}
|
|
account.8.password = {$account.8.user_password}
|
|
|
|
{if isset($account.8.server.1.address)} account.8.sip_server.1.address= {$account.8.server.1.address} {else} account.8.sip_server.1.address= {$account.8.server_address} {/if}
|
|
|
|
account.8.sip_server_port = {$account.8.sip_port}
|
|
account.8.transport = {if $account.8.sip_transport == 'udp'}0{/if}{if $account.8.sip_transport == 'tcp'}1{/if}{if $account.8.sip_transport == 'tls'}2{/if}{if $account.8.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.8.expires = {$account.8.register_expires}
|
|
account.8.outbound_host = {$account.8.outbound_proxy}
|
|
account.8.outbound_port = {$account.8.sip_port}
|
|
|
|
#Server Redundancy
|
|
account.8.sip_server.2.address= {$account.8.server_address}
|
|
account.8.sip_server.2.port= {$account.8.sip_port}
|
|
account.8.sip_server.2.transport_type = {if $account.8.sip_transport == 'udp'}0{/if}{if $account.8.sip_transport == 'tcp'}1{/if}{if $account.8.sip_transport == 'tls'}2{/if}{if $account.8.sip_transport == 'dns srv'}3{/if}{""}
|
|
|
|
account.8.sip_server.2.expires= {$account.8.register_expires}
|
|
account.8.retry_counts = 3
|
|
|
|
#Basic Proxy Settings
|
|
account.8.outbound_proxy_enable= {if isset($account.8.outbound_proxy_primary)}1{else}0{/if}{""}
|
|
|
|
account.8.outbound_proxy.1.address = {$account.8.outbound_proxy_primary}
|
|
account.8.outbound_proxy.1.port = {if isset($account.8.sip_port)}{$account.8.sip_port}{else}5060{/if}{""}
|
|
|
|
account.8.outbound_proxy.2.address = {$account.8.outbound_proxy_secondary}
|
|
account.8.outbound_proxy.2.port = {if isset($account.8.sip_port)}{$account.8.sip_port}{else}5060{/if}{""}
|
|
|
|
account.8.fallback.timeout = {$yealink_outbound_proxy_fallback_interval}
|
|
|
|
#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.8.anonymous_call =
|
|
|
|
#Configure the on code and off code of the anonymous call feature.
|
|
account.8.anonymous_call_oncode =
|
|
account.8.anonymous_call_offcode =
|
|
|
|
#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
|
|
account.8.reject_anonymous_call =
|
|
|
|
#Configure the on code and off code of the reject anonymous call feature.
|
|
account.8.anonymous_reject_oncode =
|
|
account.8.anonymous_reject_offcode =
|
|
|
|
#Configure the SIP port for account 1, the default value is 5060.
|
|
account.8.sip_listen_port =
|
|
|
|
#Configure the register expiry time (in seconds), the default value is 3600.
|
|
account.8.expires = {$account.8.register_expires}
|
|
|
|
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
|
|
account.8.100rel_enable = {$yealink_retransmission}
|
|
|
|
#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
|
|
account.8.precondition =
|
|
|
|
#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
|
|
account.8.subscribe_register =
|
|
|
|
#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.8.subscribe_mwi = {$yealink_subscribe_mwi}
|
|
|
|
#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
|
|
account.8.subscribe_mwi_expires = 3600
|
|
|
|
#Configure the type of SIP header to carry the caller ID; 0-FROM (default), 1-PAI;
|
|
account.8.cid_source = {$yealink_cid_source}
|
|
|
|
#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
|
|
account.8.cp_source = 2
|
|
|
|
#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
|
|
account.8.session_timer.enable = {$yealink_session_timer}
|
|
|
|
#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
|
|
account.8.session_timer.expires =
|
|
|
|
#Configure the session timer refresher; 0-Uac (default), 1-Uas;
|
|
account.8.session_timer.refresher =
|
|
|
|
#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
|
|
account.8.enable_user_equal_phone =
|
|
|
|
#Configure the way of encrypting the message; 0-Disabled (default), 1-Forced, 2-Negotiated;
|
|
account.8.srtp_encryption =
|
|
|
|
#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
|
|
account.8.ptime =
|
|
|
|
#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
|
|
account.8.subscribe_mwi_to_vm = 0
|
|
|
|
#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
|
|
account.8.register_mac =
|
|
|
|
#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
|
|
account.8.register_line =
|
|
|
|
#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
|
|
account.8.reg_fail_retry_interval =
|
|
|
|
#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
|
|
account.8.enable_signal_encode =
|
|
|
|
#Configure the key for encoding.
|
|
account.8.signal_encode_key =
|
|
|
|
#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
|
|
account.8.dtmf.type = {$yealink_dtmf_type}
|
|
|
|
#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
|
|
account.8.dtmf.dtmf_payload =
|
|
|
|
#Configure the DTMF info type when using the SIP INFO; 0-Disabled, 1-DTMF-Relay (default), 2-DTMF, 3-Telephone-Event;
|
|
account.8.dtmf.info_type =
|
|
|
|
|
|
#######################################################################################
|
|
## NAT Settings ##
|
|
#######################################################################################
|
|
|
|
#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
|
|
account.8.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}{""}
|
|
|
|
#Configure the STUN server address.
|
|
account.8.nat.stun_server = {$stun_server}
|
|
|
|
#Configure the STUN server port, the default value is 3478.
|
|
account.8.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}{""}
|
|
|
|
#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
|
|
account.8.nat.udp_update_enable =
|
|
|
|
#Specify the keep-alive interval (in seconds), the default value is 30.
|
|
account.8.nat.udp_update_time =
|
|
|
|
#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
|
|
account.8.nat.rport = {$yealink_rport}
|
|
|
|
#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
|
|
account.8.advanced.timer_t1 =
|
|
account.8.advanced.timer_t2 =
|
|
account.8.advanced.timer_t4 =
|
|
|
|
account.8.codec.1.enable = 1
|
|
account.8.codec.1.payload_type = PCMU
|
|
account.8.codec.1.priority = 1
|
|
account.8.codec.1.rtpmap = 0
|
|
|
|
account.8.codec.2.enable = 1
|
|
account.8.codec.2.payload_type = PCMA
|
|
account.8.codec.2.priority = 2
|
|
account.8.codec.2.rtpmap = 8
|
|
|
|
account.8.codec.3.enable = 0
|
|
account.8.codec.3.payload_type = G723_83
|
|
account.8.codec.3.priority =0
|
|
account.8.codec.3.rtpmap = 4
|
|
|
|
account.8.codec.4.enable = 0
|
|
account.8.codec.4.payload_type = G723_83
|
|
account.8.codec.4.priority = 0
|
|
account.8.codec.4.rtpmap = 4
|
|
|
|
account.8.codec.5.enable = 1
|
|
account.8.codec.5.payload_type = G729
|
|
account.8.codec.5.priority = 3
|
|
account.8.codec.5.rtpmap = 18
|
|
|
|
account.8.codec.6.enable = 1
|
|
account.8.codec.6.payload_type = G722
|
|
account.8.codec.6.priority = 4
|
|
account.8.codec.6.rtpmap = 9
|
|
|
|
account.8.codec.7.enable = 0
|
|
account.8.codec.7.payload_type = G726-32
|
|
account.8.codec.7.priority = 0
|
|
account.8.codec.7.rtpmap = 2
|
|
|
|
account.8.codec.8.enable = 0
|
|
account.8.codec.8.payload_type = iLBC_13_3
|
|
account.8.codec.8.priority = 0
|
|
account.8.codec.8.rtpmap = 97
|
|
|
|
account.8.codec.9.enable = 0
|
|
account.8.codec.9.payload_type = iLBC_15_2
|
|
account.8.codec.9.priority = 0
|
|
account.8.codec.9.rtpmap = 97
|
|
|
|
#######################################################################################
|
|
## Call Forward ##
|
|
#######################################################################################
|
|
#Enable or disable the always forward, 0-Disabled(default), 1-Enabled;
|
|
account.8.always_fwd.enable =
|
|
|
|
#Configure the target phonenumber that the phone will forward the call to;
|
|
account.8.always_fwd.target =
|
|
|
|
#Configure the on/off code for always forward;
|
|
|
|
|
|
#Enable or disable the busy forward, 0-Disabled(default), 1-Enabled;
|
|
account.8.busy_fwd.enable =
|
|
account.8.busy_fwd.target =
|
|
|
|
|
|
#Enable or disable the no answer forward, 0-Disabled(default), 1-Enabled;
|
|
#Configure the waiting ring times before forwarding, ranges from 0 to 20 (by default);
|
|
account.8.timeout_fwd.enable =
|
|
account.8.timeout_fwd.target =
|
|
account.8.timeout_fwd.timeout =
|
|
|
|
|
|
#######################################################################################
|
|
## DND ##
|
|
#######################################################################################
|
|
|
|
#Configure the DND key mode; 0-Phone mode (default), 1-Custom mode.
|
|
features.dnd_mode =
|
|
|
|
#Enable or disable the DND feautre for account5; 0-Disabled (default), 1-Enabled;
|
|
account.8.dnd.enable =
|
|
|
|
#Configure the DND on code and off code for account5.
|
|
|
|
account.8.sip_trust_ctrl = 1
|
|
|
|
voice_mail.number.8 = {$voicemail_number}
|
|
|
|
#######################################################################################
|
|
## Network ##
|
|
#######################################################################################
|
|
|
|
#Configure the WAN port type; 0-DHCP(default), 1-PPPoE, 2-Static IP Address;
|
|
#Require reboot;
|
|
network.internet_port.type =
|
|
|
|
#Configure the static IP address, submask, gateway and DNS server.
|
|
#Require reboot;
|
|
network.internet_port.ip =
|
|
network.internet_port.mask =
|
|
network.internet_port.gateway =
|
|
{if isset($dns_server_primary)}network.primary_dns = {$dns_server_primary}{/if}{""}
|
|
|
|
{if isset($dns_server_secondary)}network.secondary_dns = {$dns_server_secondary}{/if}{""}
|
|
|
|
{if isset($dns_server_primary)}network.static_dns_enable = 1{else}network.static_dns_enable = 0{/if}{""}
|
|
|
|
|
|
#######################################################################################
|
|
## SCA ##
|
|
#######################################################################################
|
|
account.1.shared_line= {$shared_line_1}
|
|
account.2.shared_line= {$shared_line_2}
|
|
account.3.shared_line= {$shared_line_3}
|
|
account.4.shared_line= {$shared_line_4}
|
|
account.5.shared_line= {$shared_line_5}
|
|
account.6.shared_line= {$shared_line_6}
|
|
account.7.shared_line= {$shared_line_7}
|
|
account.8.shared_line= {$shared_line_8}
|