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