Update {$mac}.cfg
Add outbound_proxy_1_port and outbound_proxy_2 and use outbound_proxy_1_address and outbound_proxy_2_address instead of primary and secondary.
This commit is contained in:
parent
8828ec25cd
commit
b6929e3897
|
|
@ -29,9 +29,19 @@ account.1.sip_listen_port = 5060
|
|||
{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}
|
||||
account.1.outbound_proxy.2.address = {$outbound_proxy_secondary}
|
||||
account.1.outbound_proxy.1.address = {$outbound_proxy_1_address}
|
||||
account.1.outbound_proxy.2.address = {$outbound_proxy_2_address}
|
||||
account.1.outbound_proxy_enable = {$outbound_proxy_enabled}
|
||||
{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}
|
||||
|
||||
#######################################################################################
|
||||
## Failback ##
|
||||
|
|
|
|||
Loading…
Reference in New Issue