Improve the method to determine a default sip port number.
This commit is contained in:
parent
1f600dc1a0
commit
57291e733d
|
|
@ -41,6 +41,8 @@ account.1.outbound_host = {$outbound_proxy_1}
|
|||
account.1.outbound_port =
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{if $sip_transport_1 == ''}account.1.transport = 1{/if}
|
||||
{if $sip_transport_1 == 'udp'}account.1.transport = 0{/if}
|
||||
{if $sip_transport_1 == 'udp'}account.1.transport = 0{/if}
|
||||
{if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if}
|
||||
{if $sip_transport_1 == 'tcp'}account.1.transport = 2{/if}
|
||||
|
|
|
|||
Loading…
Reference in New Issue