diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 22ea946274..6e3cd7cc3e 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -36,7 +36,7 @@ account.1.sip_server_host = {$server_address_1} account.1.sip_server_port = {$sip_port_1} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.1.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.1.outbound_host = {$outbound_proxy_1} @@ -50,6 +50,21 @@ account.1.outbound_port = {if $sip_transport_1 == 'tls'}account.1.transport = 2{/if} {if $sip_transport_1 == 'dns srv'}account.1.transport = 3{/if} +account.1.outbound_proxy.1.address = {$outbound_proxy_primary_1} ++account.1.outbound_proxy.2.address = {$outbound_proxy_secondary_1} ++account.1.outbound_proxy_enable = {if isset($outbound_proxy_primary_1)}1{else}0{/if} ++ ++{if isset($outbound_proxy_1_port)} ++account.1.outbound_proxy.1.port = {$outbound_proxy_1_port} ++{else} ++account.1.outbound_proxy.1.port = 5060 ++{/if} ++{if isset($outbound_proxy_1_port)} ++account.1.outbound_proxy.2.port = {$outbound_proxy_2_port} ++{else} ++account.1.outbound_proxy.2.port = 5060 ++{/if} + #Configure the address of the backup outbound proxy server. account.1.backup_outbound_host = @@ -237,7 +252,7 @@ account.1.advanced.timer_t1 = account.1.advanced.timer_t2 = account.1.advanced.timer_t4 = -#Assign a ringtone for account 1. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 1. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.1.ringtone.ring_type = @@ -350,7 +365,7 @@ account.2.sip_server_host = {$server_address_2} account.2.sip_server_port = {$sip_port_2} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.2.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.2.outbound_host = {$outbound_proxy_2} @@ -364,6 +379,10 @@ account.2.outbound_port = {if $sip_transport_2 == 'tls'}account.2.transport = 2{/if} {if $sip_transport_2 == 'dns srv'}account.2.transport = 3{/if} +account.2.outbound_proxy.1.address = {$outbound_proxy_primary_2} +account.2.outbound_proxy.2.address = {$outbound_proxy_secondary_2} +account.2.outbound_proxy_enable = {if isset($outbound_proxy_primary_2)}1{else}0{/if} + #Configure the address of the backup outbound proxy server. account.2.backup_outbound_host = @@ -550,7 +569,7 @@ account.2.advanced.timer_t1 = account.2.advanced.timer_t2 = account.2.advanced.timer_t4 = -#Assign a ringtone for account 2. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 2. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.2.ringtone.ring_type = @@ -663,7 +682,7 @@ account.3.sip_server_host = {$server_address_3} account.3.sip_server_port = {$sip_port_3} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.3.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.3.outbound_host = {$outbound_proxy_3} @@ -677,6 +696,10 @@ account.3.outbound_port = {if $sip_transport_3 == 'tls'}account.3.transport = 2{/if} {if $sip_transport_3 == 'dns srv'}account.3.transport = 3{/if} +account.3.outbound_proxy.1.address = {$outbound_proxy_primary_3} ++account.3.outbound_proxy.2.address = {$outbound_proxy_secondary_3} ++account.3.outbound_proxy_enable = {if isset($outbound_proxy_primary_3)}1{else}0{/if} + #Configure the address of the backup outbound proxy server. account.3.backup_outbound_host = @@ -863,7 +886,7 @@ account.3.advanced.timer_t1 = account.3.advanced.timer_t2 = account.3.advanced.timer_t4 = -#Assign a ringtone for account 3. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 3. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.3.ringtone.ring_type = @@ -976,7 +999,7 @@ account.4.sip_server_host = {$server_address_4} account.4.sip_server_port = {$sip_port_4} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.4.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.4.outbound_host = {$outbound_proxy_4} @@ -990,6 +1013,10 @@ account.4.outbound_port = {if $sip_transport_4 == 'tls'}account.4.transport = 2{/if} {if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if} +account.4.outbound_proxy.1.address = {$outbound_proxy_primary_4} ++account.4.outbound_proxy.2.address = {$outbound_proxy_secondary_4} ++account.4.outbound_proxy_enable = {if isset($outbound_proxy_primary_4)}1{else}0{/if} + #Configure the address of the backup outbound proxy server. account.4.backup_outbound_host = @@ -1177,7 +1204,7 @@ account.4.advanced.timer_t1 = account.4.advanced.timer_t2 = account.4.advanced.timer_t4 = -#Assign a ringtone for account 4. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 4. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.4.ringtone.ring_type = @@ -1293,7 +1320,7 @@ account.5.sip_server_host = {$server_address_5} account.5.sip_server_port = {$sip_port_5} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.5.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.5.outbound_host = {$outbound_proxy_5} @@ -1307,6 +1334,10 @@ account.5.outbound_port = {if $sip_transport_5 == 'tls'}account.5.transport = 2{/if} {if $sip_transport_5 == 'dns srv'}account.5.transport = 3{/if} +account.5.outbound_proxy.1.address = {$outbound_proxy_primary_5} ++account.5.outbound_proxy.2.address = {$outbound_proxy_secondary_5} ++account.5.outbound_proxy_enable = {if isset($outbound_proxy_primary_5)}1{else}0{/if} + #Configure the address of the backup outbound proxy server. account.5.backup_outbound_host = @@ -1491,7 +1522,7 @@ account.5.advanced.timer_t1 = account.5.advanced.timer_t2 = account.5.advanced.timer_t4 = -#Assign a ringtone for account 5. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 5. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.5.ringtone.ring_type = @@ -1604,7 +1635,7 @@ account.6.sip_server_host = {$server_address_6} account.6.sip_server_port = {$sip_port_6} #Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled; -account.6.outbound_proxy_enable = + #Specify the IP address or domain name of the outbound proxy server. account.6.outbound_host = {$outbound_proxy_6} @@ -1618,6 +1649,10 @@ account.6.outbound_port = {if $sip_transport_6 == 'tls'}account.6.transport = 2{/if} {if $sip_transport_6 == 'dns srv'}account.6.transport = 3{/if} +account.6.outbound_proxy.1.address = {$outbound_proxy_primary_6} +account.6.outbound_proxy.2.address = {$outbound_proxy_secondary_6} +account.6.outbound_proxy_enable = {if isset($outbound_proxy_primary_6)}1{else}0{/if} + #Configure the address of the backup outbound proxy server. account.6.backup_outbound_host = @@ -1668,10 +1703,10 @@ account.6.precondition = account.6.subscribe_register = #Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled; -account.6.subscribe_mwi = +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 = +account.6.subscribe_mwi_expires = 3600 #Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM; account.6.cid_source = @@ -1718,7 +1753,7 @@ account.6.auto_answer = account.6.missed_calllog = #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 = +account.6.subscribe_mwi_to_vm = 0 #Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled; account.6.register_mac = @@ -1746,7 +1781,7 @@ account.6.blf_list_barge_in_code = account.6.blf.subscribe_period = #Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default). -account.6.subscribe_acd_expires = +account.6.subscribe_acd_expires = 3600 #Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom; account.6.sip_server_type = @@ -1802,7 +1837,7 @@ account.6.advanced.timer_t1 = account.6.advanced.timer_t2 = account.6.advanced.timer_t4 = -#Assign a ringtone for account 6. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav. +#Assign a ringtone for account 6. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,����Ring8.wav. #If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav #If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav account.6.ringtone.ring_type =