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 1f600dc1a0
commit 57291e733d
1 changed files with 2 additions and 0 deletions

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}