Improve the method to determine a default sip port number.

This commit is contained in:
Mark Crane
2014-01-09 01:07:57 +00:00
parent 9709c9f1c4
commit 19c30f3614

View File

@@ -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}