diff --git a/resources/templates/provision/yealink/w60b/directory.xml b/resources/templates/provision/yealink/w60b/directory.xml new file mode 100644 index 0000000000..5959cc4b54 --- /dev/null +++ b/resources/templates/provision/yealink/w60b/directory.xml @@ -0,0 +1,74 @@ + +{foreach $contacts as $row} +{if $smarty.get.contacts == "users" && $row.category == "users"} + + {if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} + {else} + {$row.effective_caller_id_name} + {/if} + + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {$number.phone_number} + {else} + {$number.phone_extension} + {/if} + {/foreach} + +{elseif $smarty.get.contacts == "groups" && $row.category == "groups"} + + {if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} + {else} + {$row.effective_caller_id_name} + {/if} + + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {$number.phone_number} + {else} + {$number.phone_extension} + {/if} + {/foreach} + +{elseif $smarty.get.contacts == "extensions" && $row.category == "extensions"} + + {if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} + {else} + {$row.effective_caller_id_name} + {/if} + {if $row.phone_number != ""} + {$row.phone_number} + {else} + {$row.phone_extension} + {/if} + +{elseif $smarty.get.contacts == "all"} + + {if $row.contact_name_given != ""} + {$row.contact_name_given} {$row.contact_name_family} + {else} + {$row.effective_caller_id_name} + {/if} + + {if $row.category == "extensions"} + {if $row.phone_number != ""} + {$row.phone_number} + {else} + {$row.phone_extension} + {/if} + {else} + {foreach $row.numbers as $number} + {if $number.phone_number != ""} + {$number.phone_number} + {else} + {$number.phone_extension} + {/if} + {/foreach} + {/if} + +{/if} +{/foreach} + diff --git a/resources/templates/provision/yealink/w60b/favorite_setting.xml b/resources/templates/provision/yealink/w60b/favorite_setting.xml new file mode 100644 index 0000000000..ba7275358e --- /dev/null +++ b/resources/templates/provision/yealink/w60b/favorite_setting.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/resources/templates/provision/yealink/w60b/y000000000000.boot b/resources/templates/provision/yealink/w60b/y000000000000.boot new file mode 100644 index 0000000000..0b0187f249 --- /dev/null +++ b/resources/templates/provision/yealink/w60b/y000000000000.boot @@ -0,0 +1,7 @@ +#!version:1.0.0.1 +## The header above must appear as-is in the first line + +include:config "y000000000077.cfg" +include:config "{$mac}.cfg" + +overwrite_mode = {$yealink_overwrite_mode} diff --git a/resources/templates/provision/yealink/w60b/y000000000077.cfg b/resources/templates/provision/yealink/w60b/y000000000077.cfg new file mode 100644 index 0000000000..c50b768a8b --- /dev/null +++ b/resources/templates/provision/yealink/w60b/y000000000077.cfg @@ -0,0 +1,599 @@ +#!version:1.0.0.1 + +##File header "#!version:1.0.0.1" can not be edited or deleted.## + +####################################################################################### +## 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 = +network.primary_dns = {$dns_server_primary} +network.secondary_dns = {$dns_server_secondary} + +#Configure the username and password for PPPOE connection. +#Require reboot; +network.pppoe.user = +network.pppoe.password = + +#Enable or disable the VLAN of WAN port; 0-Disabled(default), 1-Enabled; +#Require reboot; +network.vlan.internet_port_enable = 0 + +#Configure the VLAN ID, it ranges from 1 to 4094, the default value is 1. +#Require reboot; +network.vlan.internet_port_vid = + +#Configure the VLAN priority, it ranges from 0 (default) to 7. +#Require reboot; +network.vlan.internet_port_priority = + +#Enable or disable the DHCP to obtain the information of the VLAN; 0-Disabled; 1-Enabled (default); +#Require reboot; +network.vlan.dhcp_enable = + +#Configure the DHCP option to obtain the information of the VLAN. It ranges from 0 to 255. +#Multiple options separated by a comma. It supports up to 5 options in all. +#Require reboot; +network.vlan.dhcp_option = + +#Configure the HTTP port (80 by default) and the HTTPS port (443 by default) of the web server. Both range from 1 to 65535. +#Require reboot; +network.port.http = +network.port.https = + +#Configure the maximum local RTP port. It ranges from 0 to 65535, the default value is 12780. +#Require reboot; +network.port.max_rtpport = + +#Configure the minimum local RTP port. It ranges from 0 to 65535, the default value is 11780. +#Require reboot; +network.port.min_rtpport = + +#Configure the voice QOS. It ranges from 0 to 63, the default value is 40. +#Require reboot; +network.qos.rtptos = + +#Configure the SIP QOS. It ranges from 0 to 63, the default value is 26. +#Require reboot; +network.qos.signaltos = + +#Configure the 802.1x mode; 0-Disabled (default), 1-Enabled (EAP-MD5); +#Require reboot; +network.802_1x.mode = + +#Configure the username and password for 802.1x authentication. +#Require reboot; +network.802_1x.identity = +network.802_1x.md5_password = + +#Enable or disable the VPN feature; 0-Disabled (default), 1-Enabled; +#Require reboot; +network.vpn_enable = + +#Enable or disable the LLDP feature; 0-Disabled, 1-Enabled (default); +#Require reboot; +network.lldp.enable = + +#Configure the interval (in seconds) the phone broadcasts the LLDP request. It ranges from 1 to 3600, the default value is 60. +#Require reboot; +network.lldp.packet_interval = + +####################################################################################### +## Syslog Server ## +####################################################################################### + +#Configure the syslog mode; 0-Local, 1-Server,the default value is 0; +#Require reboot; +syslog.mode = + +#Configure the IP address of the syslog server; +#Require reboot; +syslog.server = + +#Configure the syslog level. It ranges from 0 to 6, the default value is 3. +#Require reboot; +syslog.log_level = + +####################################################################################### +## Auto Provisioning ## +####################################################################################### + +#Enable or disable the Plug and Play feature; 0-Disabled, 1-Enabled(default); +auto_provision.pnp_enable = 1 + +#Enable or disable the phone to check new configuration when powered on; 0-Disabled, 1-Enabled (default); +auto_provision.mode = 1 + +#Enable or disable the phone to check the new configuration repeatedly; 0-Disabled (default), 1-Enabled; +auto_provision.repeat.enable = 1 + +#Configure the interval (in minutes) the phone repeatedly checks the new configuration. The default is 1440. +auto_provision.repeat.minutes = + +#Enable or disable the phone to check the new configuration weekly; 0-Disabled (default), 1-Enabled; +auto_provision.weekly.enalbe = + +#Configure the week time the phone checks the new configuration. Applicable when the auto provisioning mode is configured as weekly or power on + weekly. +auto_provision.weekly.mask = +auto_provision.weekly.begin_time = +auto_provision.weekly.end_time = + +#Configure the URL of the auto provisioning server. +auto_provision.server.url = {$yealink_provision_url} + +#Configure the username and password for downloading. +auto_provision.server.username = {$http_auth_username} +auto_provision.server.password = {$http_auth_password} + +#Configure the domain name of the PNP server. +auto_provision.pnp_domain_name = + +#Configure the PNP vendor information. +auto_provision.pnp_event_vendor = + +#Configure the name of the Common configuration file. +auto_provision.common_file_name = + +#Enable or disable the DHCP option mode; 0-Disabled, 1-Enabled (default); +auto_provision.dhcp_enable = + +#Configure the value (manufacturer of the device) of DHCP option 60. +auto_provision.dhcp_option.option60_value = + +#Configure the custom DHCP option number. It ranges from 128 to 254. +auto_provision.dhcp_option.list_user_options = + +#Configure AES key (16 characters) for decrypting the common CFG file. +auto_provision.aes_key_16.com = + +#Configure AES key (16 characters) for decrypting the MAC-Oriented CFG file. +auto_provision.aes_key_16.mac = + +####################################################################################### +## Phone Features ## +####################################################################################### + +#Enable or disable the phone to keep sending the SIP messages to the outbound server; 0-Disabled, 1-Enabled (default); +sip.use_out_bound_in_dialog = + +#Configure the registration random time (in seconds). It ranges from 0 (default) to 60. +sip.reg_surge_prevention = + +#Enable or disable the transferee to display the missed call prompt when receiving a semi_attended transfer call; +#0-Disabled, 1-Enabled (default); +transfer.semi_attend_tran_enable = + +#Enable or disable the phone to complete the blind or attended transfer through on-hook; +#0-Disabled (default), 1-Enabled; +transfer.blind_tran_on_hook_enable = +transfer.on_hook_trans_enable = + +#Enable or disable to access the web user interface of phone using the http/https protocol; +#0-Disabled,1-Enabled (default); +#Require Reboot; +wui.https_enable = +wui.http_enable = + +#Enable or disable the feature key synchronization, 0-Disabled (default), 1-Enabled; +bw.feature_key_sync = {$yealink_feature_key_sync} + +####################################################################################### +## Security Settings ## +####################################################################################### + +#Enable or disable the phone to only accept the certificates in the Trusted Certificates list; +#0-Disabled, 1-Enabled (default); +security.trust_certificates = {if $trusted_cert_only == "false"}0{elseif $trusted_cert_only == "true"}1{/if} + +#Set the password of the user or the administrator, the value format is: user:password or admin:password; +{if isset($user_name) } +security.user_name.user = {$user_name} +security.user_password = {$user_name}:{$user_password} +{/if} +{if isset($admin_name) } +security.user_name.admin = {$admin_name} +security.user_password = {$admin_name}:{$admin_password} +{/if} +{if isset($var_name) } +security.user_name.var = {$var_name} +security.user_password = {$var_name}:{$var_password} +{/if} + +base.pin_code = + +####################################################################################### +## Language Settings ## +####################################################################################### + +#Specify the web language, the valid values are: English, Chinese_S, German, Italian and Turkish; +lang.wui = + +####################################################################################### +## Time Settings ## +####################################################################################### + +#Configure the time zone and time zone name. The time zone ranges from -11 to +12, the default value is +8. +#The default time zone name is China(Beijing). +#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} + +#Configure the domain name or the IP address of the NTP server. The default value is cn.pool.ntp.org. +local_time.ntp_server1 = {$ntp_server_primary} +local_time.ntp_server2 = {$ntp_server_secondary} + +#Configure the update interval (in seconds) when using the NTP server. The default value is 1000. +local_time.interval = + +#Configure the daylight saving time feature; 0-Disabled, 1-Enabled, 2-Automatic (default); +local_time.summer_time = + +#Configure the DST type when the DST feature is enabled; 0-By Date (default), 1-By Week; +local_time.dst_time_type = + +#Configure the start time of DST. The default value is 1/1/0. +#If the DST type is configured as By Date, the value format is Month/Day/Hour. For example, the value 5/20/10 means the start time is at 10:00 on May 20. +#If the DST type is configured as By Week, the value format is Month/Day of Week/Day of Week Last in Month/Hour of Day. +#For example, the value 1/4/2/5 means the start time is at 5 o'clock on Tuesday of the 4th week in January. +local_time.start_time = {$yealink_time_zone_start_time} + +#Configure the end time of DST. The default value is 12/31/23. The value format is the same to the start time. +local_time.end_time = {$yealink_time_zone_end_time} + +#Configure the offset time (in seconds). It ranges from -300 to 300, the default value is blank. +local_time.offset_time = {$yealink_offset_time} + +#Configure the time format; 0-12 Hour, 1-24 Hour (default); +local_time.time_format = {$yealink_time_format} + +#Configure the date format; 0-WWW MMM DD (default), 1-DD-MMM-YY, 2-YYYY-MM-DD, 3-DD/MM/YYYY, 4-MM/DD/YY, 5-DD MMM YYYY, 6-WWW DD MMM; +local_time.date_format = {$yealink_date_format} + +#Enable or disable the DHCP Time; 0-Disabled (default), 1-Enabled; +local_time.dhcp_time = {$yealink_dhcp_time} + +#Enable or disable the manual time; 0-NTP time, 1-manual time. The default value is 0. +local_time.manual_time_enable = + +####################################################################################### +## Dial Plan ## +####################################################################################### + +#Configure the area code. +dialplan.area_code.code = +dialplan.area_code.min_len = 1 +dialplan.area_code.max_len = 15 + +#When applying the rule to multiple lines, each line ID separated by comma. +#e.g. dialplan.area_code.line_id = 1, 2, 3 +dialplan.area_code.line_id = + +#Configure the block out number. X ranges from 1 to 10. +#dialplan.block_out.number.x = +dialplan.block_out.number.1 = + +#When applying the rule to multiple lines, each line ID separated by comma, e.g. 1,2,3. +#dialplan.block_out.line_id.x = +dialplan.block_out.line_id.1 = + +#Configure the replace rule. X ranges from 1 to 10; +#dialplan.replace.prefix.x = +#dialplan.replace.replace.x = +#dialplan.replace.line_id.x = + +dialplan.replace.prefix.1 = +dialplan.replace.replace.1 = +dialplan.replace.line_id.1 = + +####################################################################################### +## Phone Settings ## +####################################################################################### + +#Configure the return code when activating DND; 404-No Found, 480-Temporarily not available (default), 486-Busy here; +#features.dnd_refuse_code = 480 + +#Configure the return code when refusing a call. The valid values are 404, 480, 486 (default). +features.normal_refuse_code = 486 + +account.X.dnd.on_code = +account.X.dnd.off_code = + +#Enable or disable the call waiting feature; 0-Disabled, 1-Enabled (default); +call_waiting.enable = {$yealink_call_waiting} + +#Enable or disable the playing of call waiting tone; 0-Disabled, 1-Enabled (default); +call_waiting.tone = + +#Enable or disable the phone to dial the IP address directly; 0-Disabled, 1-Enabled (default); +features.direct_ip_call_enable = 0 +sip.trust_ctrl=1 + +#Enable or disable the phone to save the call history; 0-Disabled, 1-Enabled (default); +features.save_call_history = + +#Configure the overtime (in minutes) of logging web user interface. It ranges from 1 to 1000, the default value is 5. +features.relog_offtime = 5 + +#Enable or disable the phone to deal the 180 SIP message after the 183 SIP message; 0-Disabled, 1-Enabled (default); +phone_setting.is_deal180 = 1 + +#Enable or disable the phone to automatically dial out the dialed digits in the pre-dial interface; 0-Disabled (default), 1-Enabled; +phone_setting.predial_autodial = 1 + +####################################################################################### +## Base_Upgrade ## +####################################################################################### +firmware.url = {$yealink_firmware_url}/{$yealink_firmware_w60b} + +####################################################################################### +## Handset_upgrade ## +####################################################################################### + +over_the_air.url = {$yealink_firmware_url}/{$yealink_w56h_handset_firmware_url} +over_the_air.base_trigger = 1 +over_the_air.handset_tip = 1 + +####################################################################################### +## Certificates ## +####################################################################################### +trusted_certificates.url = + +#trusted_certificates.delete = http://localhost/all,delete all the trusted certificates; +trusted_certificates.delete = + +server_certificates.url = + +#server_certificates.delete = http://localhost/all, delete the server certificate; +server_certificates.delete = + +####################################################################################### +## Local Contact/DST Time/Replace Rule ## +####################################################################################### +auto_dst.url = +dialplan_replace_rule.url = +blacklist.url = +handset.X.contact_list.url = + +####################################################################################### +## Customized Factory Configurations ## +####################################################################################### +#Configure the access URL for downloading the customized factory configurations; +custom_factory_configuration.url = + +####################################################################################### +## OpenVPN ## +####################################################################################### +#Configure the access URL for downloading the open VPN tar; +openvpn.url = + + +####################################################################################### +## Remote Phonebook ## +####################################################################################### + +#Configure the access URL and dispaly name of the remote phonebook. X ranges from 1 to 5. +remote_phonebook.display_name = + +{if isset($yealink_remote_phonebook_1_name) } +remote_phonebook.data.1.name = {$yealink_remote_phonebook_1_name} +{else} +remote_phonebook.data.1.name = Users +{/if} +{if isset($yealink_remote_phonebook_1_url) } +remote_phonebook.data.1.url = {$yealink_remote_phonebook_1_url} +{else} +remote_phonebook.data.1.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +{/if} + +{if isset($yealink_remote_phonebook_2_name) } +remote_phonebook.data.2.name = {$yealink_remote_phonebook_2_name} +{else} +remote_phonebook.data.2.name = Groups +{/if} +{if isset($yealink_remote_phonebook_2_url) } +remote_phonebook.data.2.url = {$yealink_remote_phonebook_2_url} +{else} +remote_phonebook.data.2.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +{/if} + +{if isset($yealink_remote_phonebook_3_name) } +remote_phonebook.data.3.name = {$yealink_remote_phonebook_3_name} +{else} +remote_phonebook.data.3.name = Extensions +{/if} +{if isset($yealink_remote_phonebook_3_url) } +remote_phonebook.data.3.url = {$yealink_remote_phonebook_3_url} +{else} +remote_phonebook.data.3.url = http://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +{/if} + +remote_phonebook.data.4.name = {$yealink_remote_phonebook_4_name} +remote_phonebook.data.4.url = {$yealink_remote_phonebook_4_url} + +remote_phonebook.data.5.name = {$yealink_remote_phonebook_5_name} +remote_phonebook.data.5.url = {$yealink_remote_phonebook_5_url} + +####################################################################################### +## Network Directory ## +####################################################################################### + +#Configure the interval(in minutes) for the phone to update phonebook,(1440 by default); +directory.update_time_interval = + +#Enable or disable the phone to match the incoming call with the contact in the remote phonebook; 0-Disabled, 1-Enabled(default); +directory.incoming_call_match_enable = + +#Enable or disable the broadsoft directory; 0-Disabled (default), 1-Enabled; +bw.directory_enable = + +#Network Phonebook +xsi.host = +xsi.user = +xsi.password = +bw_phonebook.group_enable = 1 +bw_phonebook.group_common_enable = 0 +bw_phonebook.enterprise_enable = 0 +bw_phonebook.enterprise_common_enable = 0 +bw_phonebook.personal_enable = 0 +bw_phonebook.update_interval = 1440 + +#Network Call Log +bw_phonebook.call_log_enable = 0 + +####################################################################################### +## Echo Cancellation ## +####################################################################################### +voice.cng = {$yealink_cng} +voice.vad = {$yealink_vad} + +####################################################################################### +## Jitter Buffer ## +####################################################################################### +voice.jib.adaptive = {$yealink_jib_adaptive} +voice.jib.min = {$yealink_jib_min} +voice.jib.max = {$yealink_jib_max} +voice.jib.normal= {$yealink_jib_normal} + +####################################################################################### +## Tone ## +####################################################################################### +voice.tone.country = Custom +voice.tone.dial = +voice.tone.ring = +voice.tone.busy = +voice.tone.callwaiting = + + +####################################################################################### +## Number Assignment ## +####################################################################################### +#The line accept to incoming(1,2,3,4,5);X ranges from 1 to 5 +#handset.X.incoming_lines = 1,2,3,4 + +handset.1.incoming_lines = {$yealink_handset_1_incoming_lines} +handset.2.incoming_lines = {$yealink_handset_2_incoming_lines} +handset.3.incoming_lines = {$yealink_handset_3_incoming_lines} +handset.4.incoming_lines = {$yealink_handset_4_incoming_lines} +handset.5.incoming_lines = {$yealink_handset_5_incoming_lines} +handset.6.incoming_lines = {$yealink_handset_6_incoming_lines} +handset.7.incoming_lines = {$yealink_handset_7_incoming_lines} +handset.8.incoming_lines = {$yealink_handset_8_incoming_lines} + +#The line accept to call out(1,2,3,4,5) +#handset.X.dial_out_lines = 1,2,5 +#handset.X.dial_out_default_line = 1 + +handset.1.dial_out_lines = {$yealink_handset_1_dial_out_lines} +handset.1.dial_out_default_line = {$yealink_handset_1_out_default_line} + +handset.2.dial_out_lines = {$yealink_handset_2_dial_out_lines} +handset.2.dial_out_default_line = {$yealink_handset_2_out_default_line} + +handset.3.dial_out_lines = {$yealink_handset_3_dial_out_lines} +handset.3.dial_out_default_line = {$yealink_handset_3_out_default_line} + +handset.4.dial_out_lines = {$yealink_handset_4_dial_out_lines} +handset.4.dial_out_default_line = {$yealink_handset_4_out_default_line} + +handset.5.dial_out_lines = {$yealink_handset_5_dial_out_lines} +handset.5.dial_out_default_line = {$yealink_handset_5_out_default_line} + +handset.6.dial_out_lines = {$yealink_handset_6_dial_out_lines} +handset.6.dial_out_default_line = {$yealink_handset_6_out_default_line} + +handset.7.dial_out_lines = {$yealink_handset_7_dial_out_lines} +handset.7.dial_out_default_line = {$yealink_handset_7_out_default_line} + +handset.8.dial_out_lines = {$yealink_handset_8_dial_out_lines} +handset.8.dial_out_default_line = {$yealink_handset_8_out_default_line} + +handset.1.name = {$display_name_1} +handset.2.name = {$display_name_2} +handset.3.name = {$display_name_3} +handset.4.name = {$display_name_4} +handset.5.name = {$display_name_5} +handset.6.name = {$display_name_6} +handset.7.name = {$display_name_7} +handset.8.name = {$display_name_8} + +####################################################################################### +## Language Settings ## +####################################################################################### +{if isset({$yealink_language_gui})}static.lang.gui = {$yealink_language_gui}{else}static.lang.gui = English{/if} + + +####################################################################################### +## Auto Provisioning Code ## +####################################################################################### + +#This feature allows user to trigger the auto provisioning by pressing a predefined string on the phone. +#Require reboot; +#"X" ranges from 1 to 50 + +#Configure the auto provisioning name. +#The valid value is a string, the maximum length is 100. +#autoprovision.X.name = + +#Configure the auto provisioning code; +#The valid value is a string, the maximum length is 100. +#autoprovision.X.code = + +#Configure the URL of the auto provisioning server. +#The valid value is a string, the maximum length is 256. +#autoprovision.X.url = + +#Configure the username and password for downloading. +#The valid value is a string, the maximum length is 100. +#autoprovision.X.user = +#autoprovision.X.password = + +#Configure AES key (16 characters) for decrypting the common CFG file and MAC-Oriented CFG file. +#autoprovision.X.com_aes = +#autoprovision.X.mac_aes = + +autoprovision.1.name = +autoprovision.1.code = +autoprovision.1.url = +autoprovision.1.user = +autoprovision.1.password = +autoprovision.1.com_aes = +autoprovision.1.mac_aes = + + +####################################################################################### +## TR069 ## +####################################################################################### +#The TR069 feature is only applicable to some designated firmware version. +#All settings of TR069 require reboot. +#Enable or disable the TR069 feature; 0-Disabled (default), 1-Enabled; + +managementserver.enable = +managementserver.username = +managementserver.password = +managementserver.url = +managementserver.periodic_inform_enable = +managementserver.periodic_inform_interval = +managementserver.connection_request_username = +managementserver.connection_request_password = + + +####################################################################################### +## SNMP ## +####################################################################################### +#Enable or disable the SNMP feature; 0-Disabled (default), 1-Enabled; +#Require reboot; +network.snmp.enable = +network.snmp.port = + +#Configure the IP address(es) of the trusted SNMP server,multiple IP addresses must be separated by a space. +#Require reboot; +network.snmp.trust_ip = + diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg new file mode 100644 index 0000000000..c190563e79 --- /dev/null +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -0,0 +1,1917 @@ +#!version:1.0.0.1 +#{$microtime} + +##File header "#!version:1.0.0.1" can not be edited or deleted.## + +####################################################################################### +## Account1 Settings ## +####################################################################################### + +#Basic Settings +account.1.enable = {if isset($user_password_1)}1{else}0{/if}{""} +account.1.label = {$display_name_1} +account.1.display_name = {$display_name_1} +account.1.user_name = {$user_id_1} +account.1.auth_name = {$user_id_1} +account.1.password = {$user_password_1} +account.1.sip_server_host = {$server_address_1} +account.1.sip_server_port = {$sip_port_1} +account.1.transport = {if $sip_transport_1 == 'udp'}0{/if}{if $sip_transport_1 == 'tcp'}1{/if}{if $sip_transport_1 == 'tls'}2{/if}{if $sip_transport_1 == 'dns srv'}3{/if}{""} +account.1.expires = {$register_expires_1} +account.1.outbound_host = {$outbound_proxy_1} +account.1.outbound_port = {$sip_port_1} + +#Server Redundancy +account.1.sip_server.2.address= {$server_address_2} +account.1.sip_server.2.port= {$sip_port_2} +account.1.sip_server.2.transport_type = {if $sip_transport_1 == 'udp'}0{/if}{if $sip_transport_1 == 'tcp'}1{/if}{if $sip_transport_1 == 'tls'}2{/if}{if $sip_transport_1 == 'dns srv'}3{/if}{""} +account.1.sip_server.2.expires= {$register_expires_2} +account.1.retry_counts = 3 + +#Basic Proxy Settings +account.1.outbound_proxy_enable= {if isset($outbound_proxy_primary_1)}1{else}0{/if}{""} +account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1} +account.1.outbound_proxy.1.port = {if isset($outbound_proxy_1_port)}{$outbound_proxy_1_port}{else}5060{/if}{""} +account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} +account.1.outbound_proxy.2.port = {if isset($outbound_proxy_1_port)}{$outbound_proxy_1_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 = 0 + +#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 = + +#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 = 1 +account.1.codec.1.payload_type = PCMU +account.1.codec.1.priority = 1 +account.1.codec.1.rtpmap = 0 + +account.1.codec.2.enable = 1 +account.1.codec.2.payload_type = PCMA +account.1.codec.2.priority = 2 +account.1.codec.2.rtpmap = 8 + +account.1.codec.3.enable = 0 +account.1.codec.3.payload_type = G723_53 +account.1.codec.3.priority =0 +account.1.codec.3.rtpmap = 4 + +account.1.codec.4.enable = 0 +account.1.codec.4.payload_type = G723_63 +account.1.codec.4.priority = 0 +account.1.codec.4.rtpmap = 4 + +account.1.codec.5.enable = 1 +account.1.codec.5.payload_type = G729 +account.1.codec.5.priority = 3 +account.1.codec.5.rtpmap = 18 + +account.1.codec.6.enable = 1 +account.1.codec.6.payload_type = G722 +account.1.codec.6.priority = 4 +account.1.codec.6.rtpmap = 9 + +account.1.codec.7.enable = 0 +account.1.codec.7.payload_type = G726-32 +account.1.codec.7.priority = 0 +account.1.codec.7.rtpmap = 2 + +account.1.codec.8.enable = 0 +account.1.codec.8.payload_type = iLBC_13_3 +account.1.codec.8.priority = 0 +account.1.codec.8.rtpmap = 97 + +account.1.codec.9.enable = 0 +account.1.codec.9.payload_type = iLBC_15_2 +account.1.codec.9.priority = 0 +account.1.codec.9.rtpmap = 97 + +####################################################################################### +## 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 + +####################################################################################### +## Account2 Settings ## +####################################################################################### + +#Basic Settings +account.2.enable = {if isset($user_password_2) }1{else}0{/if}{""} +account.2.label = {$display_name_2} +account.2.display_name = {$display_name_2} +account.2.user_name = {$user_id_2} +account.2.auth_name = {$user_id_2} +account.2.password = {$user_password_2} +account.2.sip_server_host = {$server_address_2} +account.2.sip_server_port = {$sip_port_2} +account.2.transport = {if $sip_transport_2 == 'udp'}0{/if}{if $sip_transport_2 == 'tcp'}1{/if}{if $sip_transport_2 == 'tls'}2{/if}{if $sip_transport_2 == 'dns srv'}3{/if}{""} +account.2.expires = {$register_expires_2} +account.2.outbound_host = {$outbound_proxy_2} +account.2.outbound_port = {$sip_port_2} + +#Server Redundancy +account.2.sip_server.2.address= {$server_address_2} +account.2.sip_server.2.port= {$sip_port_2} +account.2.sip_server.2.transport_type = {if $sip_transport_2 == 'udp'}0{/if}{if $sip_transport_2 == 'tcp'}1{/if}{if $sip_transport_2 == 'tls'}2{/if}{if $sip_transport_2 == 'dns srv'}3{/if}{""} +account.2.sip_server.2.expires= {$register_expires_2} +account.2.retry_counts = 3 + +#Basic Proxy Settings +account.2.outbound_proxy_enable= {if isset($outbound_proxy_primary_2)}1{else}0{/if}{""} +account.2.outbound_proxy.1.address = {$outbound_proxy_primary_2} +account.2.outbound_proxy.1.port = {if isset($outbound_proxy_2_port)}{$outbound_proxy_2_port}{else}5060{/if}{""} +account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2} +account.2.outbound_proxy.2.port = {if isset($outbound_proxy_2_port)}{$outbound_proxy_2_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 = {$register_expires_2} + +#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 = 0 + +#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 = + +#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 + +####################################################################################### +## Account3 Settings ## +####################################################################################### + +#Basic Settings +account.3.enable = {if isset($user_password_3) }1{else}0{/if}{""} +account.3.label = {$display_name_3} +account.3.display_name = {$display_name_3} +account.3.user_name = {$user_id_3} +account.3.auth_name = {$user_id_3} +account.3.password = {$user_password_3} +account.3.sip_server_host = {$server_address_3} +account.3.sip_server_port = {$sip_port_3} +account.3.transport = {if $sip_transport_3 == 'udp'}0{/if}{if $sip_transport_3 == 'tcp'}1{/if}{if $sip_transport_3 == 'tls'}2{/if}{if $sip_transport_3 == 'dns srv'}3{/if}{""} +account.3.expires = {$register_expires_3} +account.3.outbound_host = {$outbound_proxy_3} +account.3.outbound_port = {$sip_port_3} + +#Server Redundancy +account.3.sip_server.2.address= {$server_address_3} +account.3.sip_server.2.port= {$sip_port_3} +account.3.sip_server.2.transport_type = {if $sip_transport_3 == 'udp'}0{/if}{if $sip_transport_3 == 'tcp'}1{/if}{if $sip_transport_3 == 'tls'}2{/if}{if $sip_transport_3 == 'dns srv'}3{/if}{""} +account.3.sip_server.2.expires= {$register_expires_3} +account.3.retry_counts = 3 + +#Basic Proxy Settings +account.3.outbound_proxy_enable= {if isset($outbound_proxy_primary_3)}1{else}0{/if}{""} +account.3.outbound_proxy.1.address = {$outbound_proxy_primary_3} +account.3.outbound_proxy.1.port = {if isset($outbound_proxy_3_port)}{$outbound_proxy_3_port}{else}5060{/if}{""} +account.3.outbound_proxy.2.address = {$outbound_proxy_secondary_3} +account.3.outbound_proxy.2.port = {if isset($outbound_proxy_3_port)}{$outbound_proxy_3_port}{else}5060{/if}{""} +account.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 = {$register_expires_3} + +#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 = 0 + +#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 = + +#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 + +####################################################################################### +## Account4 Settings ## +####################################################################################### + +#Basic Settings +account.4.enable = {if isset($user_password_4) }1{else}0{/if}{""} +account.4.label = {$display_name_4} +account.4.display_name = {$display_name_4} +account.4.user_name = {$user_id_4} +account.4.auth_name = {$user_id_4} +account.4.password = {$user_password_4} +account.4.sip_server_host = {$server_address_4} +account.4.sip_server_port = {$sip_port_4} +account.4.transport = {if $sip_transport_4 == 'udp'}0{/if}{if $sip_transport_4 == 'tcp'}1{/if}{if $sip_transport_4 == 'tls'}2{/if}{if $sip_transport_4 == 'dns srv'}3{/if}{""} +account.4.expires = {$register_expires_4} +account.4.outbound_host = {$outbound_proxy_4} +account.4.outbound_port = {$sip_port_4} + +#Server Redundancy +account.4.sip_server.2.address= {$server_address_4} +account.4.sip_server.2.port= {$sip_port_4} +account.4.sip_server.2.transport_type = {if $sip_transport_4 == 'udp'}0{/if}{if $sip_transport_4 == 'tcp'}1{/if}{if $sip_transport_4 == 'tls'}2{/if}{if $sip_transport_4 == 'dns srv'}3{/if}{""} +account.4.sip_server.2.expires= {$register_expires_4} +account.4.retry_counts = 3 + +#Basic Proxy Settings +account.4.outbound_proxy_enable= {if isset($outbound_proxy_primary_4)}1{else}0{/if}{""} +account.4.outbound_proxy.1.address = {$outbound_proxy_primary_4} +account.4.outbound_proxy.1.port = {if isset($outbound_proxy_4_port)}{$outbound_proxy_4_port}{else}5060{/if}{""} +account.4.outbound_proxy.2.address = {$outbound_proxy_secondary_4} +account.4.outbound_proxy.2.port = {if isset($outbound_proxy_4_port)}{$outbound_proxy_4_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 = {$register_expires_4} + +#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 = 0 + +#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 = + +#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 + +####################################################################################### +## Account5 Settings ## +####################################################################################### + +#Basic Settings +account.5.enable = {if isset($user_password_5) }1{else}0{/if}{""} +account.5.label = {$display_name_5} +account.5.display_name = {$display_name_5} +account.5.user_name = {$user_id_5} +account.5.auth_name = {$user_id_5} +account.5.password = {$user_password_5} +account.5.sip_server_host = {$server_address_5} +account.5.sip_server_port = {$sip_port_5} +account.5.transport = {if $sip_transport_5 == 'udp'}0{/if}{if $sip_transport_5 == 'tcp'}1{/if}{if $sip_transport_5 == 'tls'}2{/if}{if $sip_transport_5 == 'dns srv'}3{/if}{""} +account.5.expires = {$register_expires_5} +account.5.outbound_host = {$outbound_proxy_5} +account.5.outbound_port = {$sip_port_5} + +#Server Redundancy +account.5.sip_server.2.address= {$server_address_5} +account.5.sip_server.2.port= {$sip_port_5} +account.5.sip_server.2.transport_type = {if $sip_transport_5 == 'udp'}0{/if}{if $sip_transport_5 == 'tcp'}1{/if}{if $sip_transport_5 == 'tls'}2{/if}{if $sip_transport_5 == 'dns srv'}3{/if}{""} +account.5.sip_server.2.expires= {$register_expires_5} +account.5.retry_counts = 3 + +#Basic Proxy Settings +account.5.outbound_proxy_enable= {if isset($outbound_proxy_primary_5)}1{else}0{/if}{""} +account.5.outbound_proxy.1.address = {$outbound_proxy_primary_5} +account.5.outbound_proxy.1.port = {if isset($outbound_proxy_5_port)}{$outbound_proxy_5_port}{else}5060{/if}{""} +account.5.outbound_proxy.2.address = {$outbound_proxy_secondary_5} +account.5.outbound_proxy.2.port = {if isset($outbound_proxy_5_port)}{$outbound_proxy_5_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 = {$register_expires_5} + +#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 = 0 + +#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 = + +#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.1 = {$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}{""} + +####################################################################################### +## Account6 Settings ## +####################################################################################### + +#Basic Settings +account.6.enable = {if isset($user_password_6) }1{else}0{/if}{""} +account.6.label = {$display_name_6} +account.6.display_name = {$display_name_6} +account.6.user_name = {$user_id_6} +account.6.auth_name = {$user_id_6} +account.6.password = {$user_password_6} +account.6.sip_server_host = {$server_address_6} +account.6.sip_server_port = {$sip_port_6} +account.6.transport = {if $sip_transport_6 == 'udp'}0{/if}{if $sip_transport_6 == 'tcp'}1{/if}{if $sip_transport_6 == 'tls'}2{/if}{if $sip_transport_6 == 'dns srv'}3{/if}{""} +account.6.expires = {$register_expires_6} +account.6.outbound_host = {$outbound_proxy_6} +account.6.outbound_port = {$sip_port_6} + +#Server Redundancy +account.6.sip_server.2.address= {$server_address_6} +account.6.sip_server.2.port= {$sip_port_6} +account.6.sip_server.2.transport_type = {if $sip_transport_6 == 'udp'}0{/if}{if $sip_transport_6 == 'tcp'}1{/if}{if $sip_transport_6 == 'tls'}2{/if}{if $sip_transport_6 == 'dns srv'}3{/if}{""} +account.6.sip_server.2.expires= {$register_expires_6} +account.6.retry_counts = 3 + +#Basic Proxy Settings +account.6.outbound_proxy_enable= {if isset($outbound_proxy_primary_6)}1{else}0{/if}{""} +account.6.outbound_proxy.1.address = {$outbound_proxy_primary_6} +account.6.outbound_proxy.1.port = {if isset($outbound_proxy_6_port)}{$outbound_proxy_6_port}{else}5060{/if}{""} +account.6.outbound_proxy.2.address = {$outbound_proxy_secondary_6} +account.6.outbound_proxy.2.port = {if isset($outbound_proxy_6_port)}{$outbound_proxy_6_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 = {$register_expires_6} + +#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 = 0 + +#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 = + +#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.1 = {$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}{""} + +####################################################################################### +## Account7 Settings ## +####################################################################################### + +#Basic Settings +account.7.enable = {if isset($user_password_7) }1{else}0{/if}{""} +account.7.label = {$display_name_7} +account.7.display_name = {$display_name_7} +account.7.user_name = {$user_id_7} +account.7.auth_name = {$user_id_7} +account.7.password = {$user_password_7} +account.7.sip_server_host = {$server_address_7} +account.7.sip_server_port = {$sip_port_7} +account.7.transport = {if $sip_transport_7 == 'udp'}0{/if}{if $sip_transport_7 == 'tcp'}1{/if}{if $sip_transport_7 == 'tls'}2{/if}{if $sip_transport_7 == 'dns srv'}3{/if}{""} +account.7.expires = {$register_expires_7} +account.7.outbound_host = {$outbound_proxy_7} +account.7.outbound_port = {$sip_port_7} + +#Server Redundancy +account.7.sip_server.2.address= {$server_address_7} +account.7.sip_server.2.port= {$sip_port_7} +account.7.sip_server.2.transport_type = {if $sip_transport_7 == 'udp'}0{/if}{if $sip_transport_7 == 'tcp'}1{/if}{if $sip_transport_7 == 'tls'}2{/if}{if $sip_transport_7 == 'dns srv'}3{/if}{""} +account.7.sip_server.2.expires= {$register_expires_7} +account.7.retry_counts = 3 + +#Basic Proxy Settings +account.7.outbound_proxy_enable= {if isset($outbound_proxy_primary_7)}1{else}0{/if}{""} +account.7.outbound_proxy.1.address = {$outbound_proxy_primary_7} +account.7.outbound_proxy.1.port = {if isset($outbound_proxy_7_port)}{$outbound_proxy_7_port}{else}5060{/if}{""} +account.7.outbound_proxy.2.address = {$outbound_proxy_secondary_7} +account.7.outbound_proxy.2.port = {if isset($outbound_proxy_7_port)}{$outbound_proxy_7_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 = 0 + +#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 = + +#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.1 = {$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}{""} + +####################################################################################### +## Account8 Settings ## +####################################################################################### + +#Basic Settings +account.8.enable = {if isset($user_password_8) }1{else}0{/if}{""} +account.8.label = {$display_name_8} +account.8.display_name = {$display_name_8} +account.8.user_name = {$user_id_8} +account.8.auth_name = {$user_id_8} +account.8.password = {$user_password_8} +account.8.sip_server_host = {$server_address_8} +account.8.sip_server_port = {$sip_port_8} +account.8.transport = {if $sip_transport_8 == 'udp'}0{/if}{if $sip_transport_8 == 'tcp'}1{/if}{if $sip_transport_8 == 'tls'}2{/if}{if $sip_transport_8 == 'dns srv'}3{/if}{""} +account.8.expires = {$register_expires_8} +account.8.outbound_host = {$outbound_proxy_8} +account.8.outbound_port = {$sip_port_8} + +#Server Redundancy +account.8.sip_server.2.address= {$server_address_8} +account.8.sip_server.2.port= {$sip_port_8} +account.8.sip_server.2.transport_type = {if $sip_transport_8 == 'udp'}0{/if}{if $sip_transport_8 == 'tcp'}1{/if}{if $sip_transport_8 == 'tls'}2{/if}{if $sip_transport_8 == 'dns srv'}3{/if}{""} +account.8.sip_server.2.expires= {$register_expires_8} +account.8.retry_counts = 3 + +#Basic Proxy Settings +account.8.outbound_proxy_enable= {if isset($outbound_proxy_primary_8)}1{else}0{/if}{""} +account.8.outbound_proxy.1.address = {$outbound_proxy_primary_8} +account.8.outbound_proxy.1.port = {if isset($outbound_proxy_8_port)}{$outbound_proxy_8_port}{else}5060{/if}{""} +account.8.outbound_proxy.2.address = {$outbound_proxy_secondary_8} +account.8.outbound_proxy.2.port = {if isset($outbound_proxy_8_port)}{$outbound_proxy_8_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 = {$register_expires_8} + +#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 = 0 + +#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 = + +#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.1 = {$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}{""}