Update {$mac}.cfg (#3581)
This commit is contained in:
parent
897a07e9ce
commit
0697efcf13
|
|
@ -322,48 +322,48 @@ account.1.codec.13.rtpmap = 97
|
|||
#######################################################################################
|
||||
|
||||
#Enable or disable the account 2; 0-Disabled (default), 1-Enabled;
|
||||
{if isset($user_password_2) }
|
||||
{if isset($account.2.password) }
|
||||
account.2.enable = 1
|
||||
{else}
|
||||
account.2.enable = 0
|
||||
{/if}
|
||||
|
||||
#Configure the label displayed on the LCD screen for account 2.
|
||||
account.2.label = {$display_name_2}
|
||||
account.2.label = {$account.2.display_name}
|
||||
|
||||
#Configure the display name of account 2.
|
||||
account.2.display_name = {$display_name_2}
|
||||
account.2.display_name = {$account.2.display_name}
|
||||
|
||||
#Configure the username and password for register authentication.
|
||||
account.2.auth_name = {$auth_id_2}
|
||||
account.2.password = {$user_password_2}
|
||||
account.2.auth_name = {$account.2.auth_id}
|
||||
account.2.password = {$account.2.password}
|
||||
|
||||
#Configure the register user name.
|
||||
account.2.user_name = {$user_id_2}
|
||||
account.2.user_name = {$account.2.user_id}
|
||||
|
||||
#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
|
||||
account.2.sip_trust_ctrl = 1
|
||||
|
||||
#Configure the SIP server address.
|
||||
account.2.sip_server_host = {$server_address_2}
|
||||
account.2.sip_server_host = {$account.2.server_address}
|
||||
|
||||
#Specify the port for the SIP server. The default value is 5060.
|
||||
account.2.sip_server_port = {$sip_port_2}
|
||||
account.2.sip_server_port = {$account.2.sip_port}
|
||||
|
||||
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
|
||||
account.2.outbound_proxy_enable =
|
||||
|
||||
#Specify the IP address or domain name of the outbound proxy server.
|
||||
account.2.outbound_host = {$outbound_proxy_2}
|
||||
account.2.outbound_host = {$account.2.outbound_proxy}
|
||||
|
||||
#Specify the server port, the default value is 5060.
|
||||
account.2.outbound_port =
|
||||
account.2.outbound_port = {$account.2.sip_port}
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{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}
|
||||
{if $account.2.sip_transport == 'udp'}account.2.transport = 0{/if}
|
||||
{if $account.2.sip_transport == 'tcp'}account.2.transport = 1{/if}
|
||||
{if $account.2.sip_transport == 'tls'}account.2.transport = 2{/if}
|
||||
{if $account.2.sip_transport == 'dns srv'}account.2.transport = 3{/if}
|
||||
|
||||
#Configure the address of the backup outbound proxy server.
|
||||
account.2.backup_outbound_host =
|
||||
|
|
@ -403,7 +403,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 = {$register_expires_2}
|
||||
account.2.expires = {$account.2.register_expires}
|
||||
|
||||
#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
|
||||
account.2.100rel_enable = {$yealink_retransmission}
|
||||
|
|
@ -635,48 +635,48 @@ account.2.codec.13.rtpmap = 97
|
|||
#######################################################################################
|
||||
|
||||
#Enable or disable the account 3; 0-Disabled (default), 1-Enabled;
|
||||
{if isset($user_password_3) }
|
||||
{if isset($account.3.password) }
|
||||
account.3.enable = 1
|
||||
{else}
|
||||
account.3.enable = 0
|
||||
{/if}
|
||||
|
||||
#Configure the label displayed on the LCD screen for account 3.
|
||||
account.3.label = {$display_name_3}
|
||||
account.3.label = {$display_name}
|
||||
|
||||
#Configure the display name of account 3.
|
||||
account.3.display_name = {$display_name_3}
|
||||
account.3.display_name = {$account.3.display_name}
|
||||
|
||||
#Configure the username and password for register authentication.
|
||||
account.3.auth_name = {$auth_id_3}
|
||||
account.3.password = {$user_password_3}
|
||||
account.3.auth_name = {$account.3.auth_id}
|
||||
account.3.password = {$account.3.password}
|
||||
|
||||
#Configure the register user name.
|
||||
account.3.user_name = {$user_id_3}
|
||||
account.3.user_name = {$account.3.user_id}
|
||||
|
||||
#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
|
||||
account.3.sip_trust_ctrl = 1
|
||||
|
||||
#Configure the SIP server address.
|
||||
account.3.sip_server_host = {$server_address_3}
|
||||
account.3.sip_server_host = {$account.3.server_address}
|
||||
|
||||
#Specify the port for the SIP server. The default value is 5060.
|
||||
account.3.sip_server_port = {$sip_port_3}
|
||||
account.3.sip_server_port = {$account.3.sip_port}
|
||||
|
||||
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
|
||||
account.3.outbound_proxy_enable =
|
||||
|
||||
#Specify the IP address or domain name of the outbound proxy server.
|
||||
account.3.outbound_host = {$outbound_proxy_3}
|
||||
account.3.outbound_host = {$account.3.outbound_proxy}
|
||||
|
||||
#Specify the server port, the default value is 5060.
|
||||
account.3.outbound_port =
|
||||
account.3.outbound_port = {$account.3.sip_port}
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{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}
|
||||
{if $account.3.sip_transport == 'udp'}account.3.transport = 0{/if}
|
||||
{if $account.3.sip_transport == 'tcp'}account.3.transport = 1{/if}
|
||||
{if $account.3.sip_transport == 'tls'}account.3.transport = 2{/if}
|
||||
{if $account.3.sip_transport == 'dns srv'}account.3.transport = 3{/if}
|
||||
|
||||
#Configure the address of the backup outbound proxy server.
|
||||
account.3.backup_outbound_host =
|
||||
|
|
@ -716,7 +716,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 = {$register_expires_3}
|
||||
account.3.expires = {$account.3.register_expires}
|
||||
|
||||
#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
|
||||
account.3.100rel_enable = {$yealink_retransmission}
|
||||
|
|
@ -948,48 +948,48 @@ account.3.codec.13.rtpmap = 97
|
|||
#######################################################################################
|
||||
|
||||
#Enable or disable the account 4; 0-Disabled (default), 1-Enabled;
|
||||
{if isset($user_password_4) }
|
||||
{if isset($account.4.password) }
|
||||
account.4.enable = 1
|
||||
{else}
|
||||
account.4.enable = 0
|
||||
{/if}
|
||||
|
||||
#Configure the label displayed on the LCD screen for account 4.
|
||||
account.4.label = {$display_name_4}
|
||||
account.4.label = {$account.4.display_name}
|
||||
|
||||
#Configure the display name of account 4.
|
||||
account.4.display_name = {$display_name_4}
|
||||
account.4.display_name = {$account.4.display_name}
|
||||
|
||||
#Configure the username and password for register authentication.
|
||||
account.4.auth_name = {$auth_id_4}
|
||||
account.4.password = {$user_password_4}
|
||||
account.4.auth_name = {$account.4.auth_id}
|
||||
account.4.password = {$account.4.password}
|
||||
|
||||
#Configure the register user name.
|
||||
account.4.user_name = {$user_id_4}
|
||||
account.4.user_name = {$account.4.user_id}
|
||||
|
||||
#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
|
||||
account.4.sip_trust_ctrl = 1
|
||||
|
||||
#Configure the SIP server address.
|
||||
account.4.sip_server_host = {$server_address_4}
|
||||
account.4.sip_server_host = {$account.4.server_address}
|
||||
|
||||
#Specify the port for the SIP server. The default value is 5060.
|
||||
account.4.sip_server_port = {$sip_port_4}
|
||||
account.4.sip_server_port = {$account.4.sip_port}
|
||||
|
||||
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
|
||||
account.4.outbound_proxy_enable =
|
||||
|
||||
#Specify the IP address or domain name of the outbound proxy server.
|
||||
account.4.outbound_host = {$outbound_proxy_4}
|
||||
account.4.outbound_host = {$account.4.outbound_proxy}
|
||||
|
||||
#Specify the server port, the default value is 5060.
|
||||
account.4.outbound_port =
|
||||
account.4.outbound_port = {$account.4.sip_port}
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{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}
|
||||
{if $account.4.sip_transport == 'udp'}account.4.transport = 0{/if}
|
||||
{if $account.4.sip_transport == 'tcp'}account.4.transport = 1{/if}
|
||||
{if $account.4.sip_transport == 'tls'}account.4.transport = 2{/if}
|
||||
{if $account.4.sip_transport == 'dns srv'}account.4.transport = 3{/if}
|
||||
|
||||
#Configure the address of the backup outbound proxy server.
|
||||
account.4.backup_outbound_host =
|
||||
|
|
@ -1029,7 +1029,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 = {$register_expires_4}
|
||||
account.4.expires = {$account.4.register_expires}
|
||||
|
||||
#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
|
||||
account.4.100rel_enable = {$yealink_retransmission}
|
||||
|
|
@ -1264,48 +1264,48 @@ account.4.codec.13.rtpmap = 97
|
|||
#######################################################################################
|
||||
|
||||
#Enable or disable the account 5; 0-Disabled (default), 1-Enabled;
|
||||
{if isset($user_password_5) }
|
||||
{if isset($account.5.password) }
|
||||
account.5.enable = 1
|
||||
{else}
|
||||
account.5.enable = 0
|
||||
{/if}
|
||||
|
||||
#Configure the label displayed on the LCD screen for account 5.
|
||||
account.5.label = {$display_name_5}
|
||||
account.5.label = {$account.5.display_name}
|
||||
|
||||
#Configure the display name of account 5.
|
||||
account.5.display_name = {$display_name_5}
|
||||
account.5.display_name = {$account.5.display_name}
|
||||
|
||||
#Configure the username and password for register authentication.
|
||||
account.5.auth_name = {$auth_id_5}
|
||||
account.5.password = {$user_password_5}
|
||||
account.5.auth_name = {$account.5.auth_id}
|
||||
account.5.password = {$account.5.password}
|
||||
|
||||
#Configure the register user name.
|
||||
account.5.user_name = {$user_id_5}
|
||||
account.5.user_name = {$account.5.user_id}
|
||||
|
||||
#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
|
||||
account.5.sip_trust_ctrl = 1
|
||||
|
||||
#Configure the SIP server address.
|
||||
account.5.sip_server_host = {$server_address_5}
|
||||
account.5.sip_server_host = {$account.5.server_address}
|
||||
|
||||
#Specify the port for the SIP server. The default value is 5060.
|
||||
account.5.sip_server_port = {$sip_port_5}
|
||||
account.5.sip_server_port = {$account.5.sip_port}
|
||||
|
||||
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
|
||||
account.5.outbound_proxy_enable =
|
||||
|
||||
#Specify the IP address or domain name of the outbound proxy server.
|
||||
account.5.outbound_host = {$outbound_proxy_5}
|
||||
account.5.outbound_host = {$account.5.outbound_proxy}
|
||||
|
||||
#Specify the server port, the default value is 5060.
|
||||
account.5.outbound_port =
|
||||
account.5.outbound_port = {$account.5.sip_port}
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{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}
|
||||
{if $account.5.sip_transport == 'udp'}account.5.transport = 0{/if}
|
||||
{if $account.5.sip_transport == 'tcp'}account.5.transport = 1{/if}
|
||||
{if $account.5.sip_transport == 'tls'}account.5.transport = 2{/if}
|
||||
{if $account.5.sip_transport == 'dns srv'}account.5.transport = 3{/if}
|
||||
|
||||
#Configure the address of the backup outbound proxy server.
|
||||
account.5.backup_outbound_host =
|
||||
|
|
@ -1345,7 +1345,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 = {$register_expires_5}
|
||||
account.5.expires = {$account.5.register_expires}
|
||||
|
||||
#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
|
||||
account.5.100rel_enable = {$yealink_retransmission}
|
||||
|
|
@ -1575,48 +1575,48 @@ account.5.codec.13.rtpmap = 97
|
|||
#######################################################################################
|
||||
|
||||
#Enable or disable the account 6; 0-Disabled (default), 1-Enabled;
|
||||
{if isset($user_password_6) }
|
||||
{if isset($account.6.password) }
|
||||
account.6.enable = 1
|
||||
{else}
|
||||
account.6.enable = 0
|
||||
{/if}
|
||||
|
||||
#Configure the label displayed on the LCD screen for account 6.
|
||||
account.6.label = {$display_name_6}
|
||||
account.6.label = {$account.6.display_name}
|
||||
|
||||
#Configure the display name of account 6.
|
||||
account.6.display_name = {$display_name_6}
|
||||
account.6.display_name = {$account.6.display_name}
|
||||
|
||||
#Configure the username and password for register authentication.
|
||||
account.6.auth_name = {$auth_id_6}
|
||||
account.6.password = {$user_id_6}
|
||||
account.6.auth_name = {$account.6.auth_id}
|
||||
account.6.password = {$account.6.user_id}
|
||||
|
||||
#Configure the register user name.
|
||||
account.6.user_name = {$user_id_6}
|
||||
account.6.user_name = {$account.6.user_id}
|
||||
|
||||
#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
|
||||
account.6.sip_trust_ctrl = 1
|
||||
|
||||
#Configure the SIP server address.
|
||||
account.6.sip_server_host = {$server_address_6}
|
||||
account.6.sip_server_host = {$account.6.server_address}
|
||||
|
||||
#Specify the port for the SIP server. The default value is 5060.
|
||||
account.6.sip_server_port = {$sip_port_6}
|
||||
account.6.sip_server_port = {$account.6.sip_port}
|
||||
|
||||
#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
|
||||
account.6.outbound_proxy_enable =
|
||||
|
||||
#Specify the IP address or domain name of the outbound proxy server.
|
||||
account.6.outbound_host = {$outbound_proxy_6}
|
||||
account.6.outbound_host = {$account.6.outbound_proxy}
|
||||
|
||||
#Specify the server port, the default value is 5060.
|
||||
account.6.outbound_port =
|
||||
account.6.outbound_port = {$account.6.sip_port}
|
||||
|
||||
#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
|
||||
{if $sip_transport_6 == 'udp'}account.6.transport = 0{/if}
|
||||
{if $sip_transport_6 == 'tcp'}account.6.transport = 1{/if}
|
||||
{if $sip_transport_6 == 'tls'}account.6.transport = 2{/if}
|
||||
{if $sip_transport_6 == 'dns srv'}account.6.transport = 3{/if}
|
||||
{if $account.6.sip_transport == 'udp'}account.6.transport = 0{/if}
|
||||
{if $account.6.sip_transport == 'tcp'}account.6.transport = 1{/if}
|
||||
{if $account.6.sip_transport == 'tls'}account.6.transport = 2{/if}
|
||||
{if $account.6.sip_transport == 'dns srv'}account.6.transport = 3{/if}
|
||||
|
||||
#Configure the address of the backup outbound proxy server.
|
||||
account.6.backup_outbound_host =
|
||||
|
|
@ -1656,7 +1656,7 @@ account.6.anonymous_reject_offcode =
|
|||
account.6.sip_listen_port =
|
||||
|
||||
#Configure the register expiry time (in seconds), the default value is 3600.
|
||||
account.6.expires = {$register_expires_6}
|
||||
account.6.expires = {$account.6.register_expires}
|
||||
|
||||
#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
|
||||
account.6.100rel_enable = {$yealink_retransmission}
|
||||
|
|
|
|||
Loading…
Reference in New Issue