Update {$mac}.cfg (#1839)

This commit is contained in:
Len 2016-08-24 15:04:07 -04:00 committed by FusionPBX
parent 7e1a6707c4
commit ee4ab1e8b3
1 changed files with 51 additions and 14 deletions

View File

@ -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,20 @@ 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 +251,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 +364,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 +378,12 @@ 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 +570,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 +683,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 +697,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 +887,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 +1000,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 +1014,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 =
@ -1176,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 =
@ -1292,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}
@ -1306,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 =
@ -1490,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 =
@ -1603,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}
@ -1617,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 =
@ -1667,7 +1703,7 @@ 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 =
@ -1717,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 =
@ -1801,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,<EFBFBD><EFBFBD><EFBFBD><EFBFBD>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 =
@ -1919,6 +1955,7 @@ forward.international.enable =
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
#linekey.x.lable--Define the label for each line key.
{foreach $keys as $row}
{if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id}