Add sip port, transport, and expires to the Yealink w52p.

This commit is contained in:
Mark Crane 2014-02-08 06:59:42 +00:00
parent 53c79fba0c
commit b68f35d4b6
1 changed files with 31 additions and 15 deletions

View File

@ -26,7 +26,7 @@ account.1.user_name = {$user_id_1}
account.1.sip_server_host = {$server_address_1}
#Specify the port for the SIP server. The default value is 5060.
account.1.sip_server_port = 5060
account.1.sip_server_port = {$sip_port_1}
#Enable or disable to use the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.1.outbound_proxy_enable = 1
@ -38,7 +38,10 @@ account.1.outbound_host = {$outbound_proxy_1}
account.1.outbound_port = 5060
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.1.transport =
{if $sip_transport_1 == 'udp'}account.1.transport = 0{/if}
{if $sip_transport_1 == 'tcp'}account.1.transport = 1{/if}
{if $sip_transport_1 == 'tls'}account.1.transport = 2{/if}
{if $sip_transport_1 == 'dns srv'}account.1.transport = 3{/if}
#Configure the address of the backup outbound proxy server.
account.1.backup_outbound_host =
@ -65,7 +68,7 @@ account.1.anonymous_reject_offcode =
account.1.sip_listen_port =
#Configure the register expiry time (in seconds), the default value is 3600.
account.1.expires =
account.1.expires = {$register_expires_1}
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.1.100rel_enable =
@ -264,7 +267,7 @@ account.2.user_name = {$user_id_2}
account.2.sip_server_host = {$server_address_2}
#Specify the port for the SIP server. The default value is 5060.
account.2.sip_server_port = 5060
account.2.sip_server_port = {$sip_port_2}
#Enable or disable to use the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.2.outbound_proxy_enable =
@ -276,7 +279,10 @@ account.2.outbound_host =
account.2.outbound_port =5060
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.2.transport =
{if $sip_transport_2 == 'udp'}account.2.transport = 0{/if}
{if $sip_transport_2 == 'tcp'}account.2.transport = 1{/if}
{if $sip_transport_2 == 'tls'}account.2.transport = 2{/if}
{if $sip_transport_2 == 'dns srv'}account.2.transport = 3{/if}
#Configure the address of the backup outbound proxy server.
account.2.backup_outbound_host =
@ -303,7 +309,7 @@ account.2.anonymous_reject_offcode =
account.2.sip_listen_port =
#Configure the register expiry time (in seconds), the default value is 3600.
account.2.expires =
account.2.expires = {$register_expires_2}
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.2.100rel_enable =
@ -499,7 +505,7 @@ account.3.user_name =
account.3.sip_server_host =
#Specify the port for the SIP server. The default value is 5060.
account.3.sip_server_port =
account.3.sip_server_port = {$sip_port_3}
#Enable or disable to use the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.3.outbound_proxy_enable =
@ -511,7 +517,10 @@ account.3.outbound_host =
account.3.outbound_port =
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.3.transport =
{if $sip_transport_3 == 'udp'}account.3.transport = 0{/if}
{if $sip_transport_3 == 'tcp'}account.3.transport = 1{/if}
{if $sip_transport_3 == 'tls'}account.3.transport = 2{/if}
{if $sip_transport_3 == 'dns srv'}account.3.transport = 3{/if}
#Configure the address of the backup outbound proxy server.
account.3.backup_outbound_host =
@ -538,7 +547,7 @@ account.3.anonymous_reject_offcode =
account.3.sip_listen_port =
#Configure the register expiry time (in seconds), the default value is 3600.
account.3.expires =
account.3.expires = {$register_expires_3}
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.3.100rel_enable =
@ -735,7 +744,7 @@ account.4.user_name =
account.4.sip_server_host =
#Specify the port for the SIP server. The default value is 5060.
account.4.sip_server_port =
account.4.sip_server_port = {$sip_port_4}
#Enable or disable to use the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.4.outbound_proxy_enable =
@ -747,7 +756,11 @@ account.4.outbound_host =
account.4.outbound_port =
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.4.transport =
{if $sip_transport_4 == 'udp'}account.4.transport = 0{/if}
{if $sip_transport_4 == 'tcp'}account.4.transport = 1{/if}
{if $sip_transport_4 == 'tls'}account.4.transport = 2{/if}
{if $sip_transport_4 == 'dns srv'}account.4.transport = 3{/if}
#Configure the address of the backup outbound proxy server.
account.4.backup_outbound_host =
@ -774,7 +787,7 @@ account.4.anonymous_reject_offcode =
account.4.sip_listen_port =
#Configure the register expiry time (in seconds), the default value is 3600.
account.4.expires =
account.4.expires = {$register_expires_4}
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.4.100rel_enable =
@ -975,7 +988,7 @@ account.5.user_name =
account.5.sip_server_host =
#Specify the port for the SIP server. The default value is 5060.
account.5.sip_server_port =
account.5.sip_server_port = {$sip_port_5}
#Enable or disable to use the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.5.outbound_proxy_enable =
@ -987,7 +1000,10 @@ account.5.outbound_host =
account.5.outbound_port =
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
account.5.transport =
{if $sip_transport_5 == 'udp'}account.5.transport = 0{/if}
{if $sip_transport_5 == 'tcp'}account.5.transport = 1{/if}
{if $sip_transport_5 == 'tls'}account.5.transport = 2{/if}
{if $sip_transport_5 == 'dns srv'}account.5.transport = 3{/if}
#Configure the address of the backup outbound proxy server.
account.5.backup_outbound_host =
@ -1014,7 +1030,7 @@ account.5.anonymous_reject_offcode =
account.5.sip_listen_port =
#Configure the register expiry time (in seconds), the default value is 3600.
account.5.expires =
account.5.expires = {$register_expires_5}
#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.5.100rel_enable =