#!version:1.0.0.1

##File header "#!version:1.0.0.1" can not be edited or deleted.##

#######################################################################################
##                           Account1 Settings                                       ##
#######################################################################################

#Enable or disable the account 1; 0-Disabled (default), 1-Enabled;
{if isset($user_password_1) }
account.1.enable = 1
{else}
account.1.enable = 0
{/if}

#Configure the label displayed on the LCD screen for account 1.
account.1.label = {$display_name_1}

#Configure the display name of account 1.
account.1.display_name = {$display_name_1}

#Configure the username and password for register authentication.
account.1.auth_name = {$auth_id_1}
account.1.password = {$user_password_1}

#Configure the register user name.
account.1.user_name = {$user_id_1}

#Enable or disable the phone to receive the messages from the server only; 0-Disabled (default), 1-Enabled;
account.1.sip_trust_ctrl = 1

#Configure the SIP server address.
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 = {$sip_port_1}

#Enable or disable the use of the outbound proxy server; 0-Disabled (default), 1-Enabled;
account.1.outbound_proxy_enable = 

#Specify the IP address or domain name of the outbound proxy server.
account.1.outbound_host = {$outbound_proxy_1}

#Specify the server port, the default value is 5060.
account.1.outbound_port =

#Configure the transport type; 0-UDP (default), 1-TCP, 2-TLS, 3-DNS SRV;
{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 = 

#Specify the port of the backup outbound proxy server, the default value is 5060.
account.1.backup_outbound_port = 

#Configure the voice mail number of account 1.
voice_mail.number.1 = *97

#Configure the proxy server to account 1.
account.1.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.1.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.1.dns_srv_type =

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.1.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.1.anonymous_call_oncode = 
account.1.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.1.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.1.anonymous_reject_oncode = 
account.1.anonymous_reject_offcode = 

#Configure the SIP port for account 1, the default value is 5060.
account.1.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.1.expires = {$register_expires_1}

#Enable or disable the 100 reliable retransmission; 0-Disabled, 1-Enabled (default);
account.1.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.1.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.1.subscribe_register = 

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.1.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.1.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.1.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; 
account.1.cp_source = 

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
account.1.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.1.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.1.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.1.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.1.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.1.ptime = 

#Assign account 1 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.1.shared_line = 

#Configure BLA number for account 1 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.1.bla_number = 
account.1.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.1.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 1, the settings on a per-account basis take precedence over the settings on the phone.
account.1.group_pickup_code = 
account.1.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.1.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.1.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.1.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
account.1.register_mac = 

#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
account.1.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 1 fails to register. It ranges from 0 to 1800, the default value is 30.
account.1.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.1.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.1.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.1.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.1.blf_list_code = 

#Configure the bargein code.
account.1.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.1.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.1.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.1.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.1.idle_screen_enable = 

#Define the access URL of the customized theme.
account.1.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.1.enable_signal_encode = 

#Configure the key for encoding.
account.1.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.1.dtmf.type = 

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.1.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.1.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.1.compact_header_enable =

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.1.nat.nat_traversal =

#Configure the STUN server address.
account.1.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.1.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.1.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.1.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.1.nat.rport = 

#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
account.1.advanced.timer_t1 = 
account.1.advanced.timer_t2 = 
account.1.advanced.timer_t4 = 

#Assign a ringtone for account 1. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.1.ringtone.ring_type = 

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.1.picture_info_enable = 

#Audio codecs for account 1 (Y ranges from 1 to 13).
#account.1.codec.y.enable = 
#account.1.codec.y.payload_type = 
#account.1.codec.y.priority = 
#account.1.codec.y.rtpmap = 

account.1.codec.1.enable = 1
account.1.codec.1.payload_type = PCMU
account.1.codec.1.priority = 1
account.1.codec.1.rtpmap = 0

account.1.codec.2.enable = 1
account.1.codec.2.payload_type = PCMA
account.1.codec.2.priority = 2 
account.1.codec.2.rtpmap = 8

account.1.codec.3.enable = 0 
account.1.codec.3.payload_type = G723_53
account.1.codec.3.priority =4
account.1.codec.3.rtpmap = 4

account.1.codec.4.enable = 0
account.1.codec.4.payload_type = G723_63
account.1.codec.4.priority = 0
account.1.codec.4.rtpmap = 4

account.1.codec.5.enable = 1
account.1.codec.5.payload_type = G729
account.1.codec.5.priority = 3
account.1.codec.5.rtpmap = 18

account.1.codec.6.enable = 1
account.1.codec.6.payload_type = G722
account.1.codec.6.priority = 4
account.1.codec.6.rtpmap = 9

account.1.codec.7.enable = 
account.1.codec.7.payload_type = 
account.1.codec.7.priority =  
account.1.codec.7.rtpmap = 

account.1.codec.8.enable = 0
account.1.codec.8.payload_type = G726-16
account.1.codec.8.priority = 0
account.1.codec.8.rtpmap = 112

account.1.codec.9.enable = 0
account.1.codec.9.payload_type = G726-24
account.1.codec.9.priority = 0
account.1.codec.9.rtpmap = 102

account.1.codec.10.enable = 0
account.1.codec.10.payload_type = G726-32 
account.1.codec.10.priority = 0 
account.1.codec.10.rtpmap = 2

account.1.codec.11.enable = 0
account.1.codec.11.payload_type = G726-40
account.1.codec.11.priority = 0
account.1.codec.11.rtpmap = 104

account.1.codec.12.enable = 0
account.1.codec.12.payload_type = iLBC_13_3
account.1.codec.12.priority = 0 
account.1.codec.12.rtpmap = 97

account.1.codec.13.enable = 0
account.1.codec.13.payload_type = iLBC_15_2
account.1.codec.13.priority = 0 
account.1.codec.13.rtpmap = 97

#######################################################################################
##                        Account2 Settings                                          ##
#######################################################################################

#Enable or disable the account 2; 0-Disabled (default), 1-Enabled;
{if isset($user_password_2) }
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}

#Configure the display name of account 2.
account.2.display_name = {$display_name_2}

#Configure the username and password for register authentication.
account.2.auth_name = {$auth_id_2}
account.2.password = {$user_password_2}

#Configure the register user name.
account.2.user_name =  {$user_id_2}

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

#Specify the port for the SIP server. The default value is 5060.
account.2.sip_server_port = {$sip_port_2}

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

#Specify the server port, the default value is 5060.
account.2.outbound_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}

#Configure the address of the backup outbound proxy server.
account.2.backup_outbound_host = 

#Specify the port of the backup outbound proxy server, the default value is 5060.
account.2.backup_outbound_port = 

#Configure the voice mail number of account 2.
voice_mail.number.2 = *97

#Configure the proxy server to account 2.
account.2.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.2.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.2.dns_srv_type =

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.2.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.2.anonymous_call_oncode = 
account.2.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.2.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.2.anonymous_reject_oncode = 
account.2.anonymous_reject_offcode = 

#Configure the SIP port for account 2, the default value is 5060. 
account.2.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.2.expires = {$register_expires_2}

#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
account.2.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.2.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.2.subscribe_register =

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.2.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.2.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.2.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
account.2.cp_source =  

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
account.2.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.2.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.2.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.2.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.2.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.2.ptime = 

#Assign account 2 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.2.shared_line = 

#Configure BLA number for account 2 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.2.bla_number = 
account.2.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.2.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 2, the settings on a per-account basis take precedence over the settings on the phone.
account.2.group_pickup_code = 
account.2.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.2.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.2.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.2.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
account.2.register_mac = 

#Enable or disable the phone to send the line number in the Register message; 0-Disabled, 1-Enabled (default);
account.2.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 2 fails to register. It ranges from 0 to 1800, the default value is 30.
account.2.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.2.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.2.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.2.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.2.blf_list_code = 

#Configure the bargein code.
account.2.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.2.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.2.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.2.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.2.idle_screen_enable = 

#Define the access URL of the customized theme.
account.2.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.2.enable_signal_encode = 

#Configure the key for encoding.
account.2.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.2.dtmf.type =

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.2.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.2.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.2.compact_header_enable =

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.2.nat.nat_traversal =

#Configure the STUN server address.
account.2.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.2.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.2.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.2.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.2.nat.rport = 

#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
account.2.advanced.timer_t1 = 
account.2.advanced.timer_t2 = 
account.2.advanced.timer_t4 = 

#Assign a ringtone for account 2. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.2.ringtone.ring_type = 

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.2.picture_info_enable = 

#Audio codecs for account 2 (Y ranges from 1 to 13).
#account.2.codec.Y.enable = 
#account.2.codec.Y.payload_type = 
#account.2.codec.Y.priority = 
#account.2.codec.Y.rtpmap = 

account.2.codec.1.enable = 1
account.2.codec.1.payload_type = PCMU
account.2.codec.1.priority = 1
account.2.codec.1.rtpmap = 0

account.2.codec.2.enable = 1
account.2.codec.2.payload_type = PCMA
account.2.codec.2.priority = 2 
account.2.codec.2.rtpmap = 8

account.2.codec.3.enable = 0 
account.2.codec.3.payload_type = G723_53
account.2.codec.3.priority =4
account.2.codec.3.rtpmap = 4

account.2.codec.4.enable = 0
account.2.codec.4.payload_type = G723_63
account.2.codec.4.priority = 0
account.2.codec.4.rtpmap = 4

account.2.codec.5.enable = 1
account.2.codec.5.payload_type = G729
account.2.codec.5.priority = 3
account.2.codec.5.rtpmap = 18

account.2.codec.6.enable = 1
account.2.codec.6.payload_type = G722
account.2.codec.6.priority = 4
account.2.codec.6.rtpmap = 9

account.2.codec.7.enable = 
account.2.codec.7.payload_type = 
account.2.codec.7.priority =  
account.2.codec.7.rtpmap = 

account.2.codec.8.enable = 0
account.2.codec.8.payload_type = G726-16
account.2.codec.8.priority = 0
account.2.codec.8.rtpmap = 112

account.2.codec.9.enable = 0
account.2.codec.9.payload_type = G726-24
account.2.codec.9.priority = 0
account.2.codec.9.rtpmap = 102

account.2.codec.10.enable = 0
account.2.codec.10.payload_type = G726-32 
account.2.codec.10.priority = 0 
account.2.codec.10.rtpmap = 2

account.2.codec.11.enable = 0
account.2.codec.11.payload_type = G726-40
account.2.codec.11.priority = 0
account.2.codec.11.rtpmap = 104

account.2.codec.12.enable = 0
account.2.codec.12.payload_type = iLBC_13_3
account.2.codec.12.priority = 0 
account.2.codec.12.rtpmap = 97

account.2.codec.13.enable = 0
account.2.codec.13.payload_type = iLBC_15_2
account.2.codec.13.priority = 0 
account.2.codec.13.rtpmap = 97

#######################################################################################
##    Account3 Settings                                                              ##
#######################################################################################

#Enable or disable the account 3; 0-Disabled (default), 1-Enabled;
{if isset($user_password_3) }
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}

#Configure the display name of account 3.
account.3.display_name = {$display_name_3}

#Configure the username and password for register authentication.
account.3.auth_name = {$auth_id_3}
account.3.password = {$user_password_3}

#Configure the register user name.
account.3.user_name =  {$user_id_3}

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

#Specify the port for the SIP server. The default value is 5060.
account.3.sip_server_port = {$sip_port_3}

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

#Specify the server port, the default value is 5060.
account.3.outbound_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}

#Configure the address of the backup outbound proxy server.
account.3.backup_outbound_host = 

#Specify the port of the backup outbound proxy server, the default value is 5060.
account.3.backup_outbound_port = 

#Configure the voice mail number of account 3.
voice_mail.number.3 = 

#Configure the proxy server to account 3.
account.3.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.3.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.3.dns_srv_type =

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.3.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.3.anonymous_call_oncode = 
account.3.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.3.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.3.anonymous_reject_oncode = 
account.3.anonymous_reject_offcode = 

#Configure the SIP port for account 3, the default value is 5060. 
account.3.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.3.expires = {$register_expires_3}

#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
account.3.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.3.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.3.subscribe_register = 

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.3.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.3.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.3.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; 
account.3.cp_source = 

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;  
account.3.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.3.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.3.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.3.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.3.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.3.ptime = 

#Assign account 3 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.3.shared_line = 

#Configure BLA number for account 3 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.3.bla_number = 
account.3.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.3.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 3, the settings on a per-account basis take precedence over the settings on the phone.
account.3.group_pickup_code = 
account.3.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.3.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.3.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.3.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
account.3.register_mac = 

#Enable or disable the phone to send theline number in the Register message; 0-Disabled, 1-Enabled (default);
account.3.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 3 fails to register. It ranges from 0 to 1800, the default value is 30.
account.3.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.3.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.3.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.3.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.3.blf_list_code = 

#Configure the bargein code.
account.3.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.3.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.3.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.3.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.3.idle_screen_enable = 

#Define the access URL of the customized theme.
account.3.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.3.enable_signal_encode = 

#Configure the key for encoding.
account.3.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.3.dtmf.type = 

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.3.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.3.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.3.compact_header_enable = 

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.3.nat.nat_traversal = 

#Configure the STUN server address.
account.3.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.3.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.3.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.3.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.3.nat.rport = 

#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
account.3.advanced.timer_t1 = 
account.3.advanced.timer_t2 = 
account.3.advanced.timer_t4 = 

#Assign a ringtone for account 3. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.3.ringtone.ring_type =  

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.3.picture_info_enable = 

#Audio codecs for account 3 (Y ranges from 1 to 13).
#account.3.codec.Y.enable = 
#account.3.codec.Y.payload_type = 
#account.3.codec.Y.priority = 
#account.3.codec.Y.rtpmap = 

account.3.codec.1.enable = 1
account.3.codec.1.payload_type = PCMU
account.3.codec.1.priority = 1
account.3.codec.1.rtpmap = 0

account.3.codec.2.enable = 1
account.3.codec.2.payload_type = PCMA
account.3.codec.2.priority = 2 
account.3.codec.2.rtpmap = 8

account.3.codec.3.enable = 0 
account.3.codec.3.payload_type = G723_53
account.3.codec.3.priority =4
account.3.codec.3.rtpmap = 4

account.3.codec.4.enable = 0
account.3.codec.4.payload_type = G723_63
account.3.codec.4.priority = 0
account.3.codec.4.rtpmap = 4

account.3.codec.5.enable = 1
account.3.codec.5.payload_type = G729
account.3.codec.5.priority = 3
account.3.codec.5.rtpmap = 18

account.3.codec.6.enable = 1
account.3.codec.6.payload_type = G722
account.3.codec.6.priority = 4
account.3.codec.6.rtpmap = 9

account.3.codec.7.enable = 
account.3.codec.7.payload_type = 
account.3.codec.7.priority =  
account.3.codec.7.rtpmap = 

account.3.codec.8.enable = 0
account.3.codec.8.payload_type = G726-16
account.3.codec.8.priority = 0
account.3.codec.8.rtpmap = 112

account.3.codec.9.enable = 0
account.3.codec.9.payload_type = G726-24
account.3.codec.9.priority = 0
account.3.codec.9.rtpmap = 102

account.3.codec.10.enable = 0
account.3.codec.10.payload_type = G726-32
account.3.codec.10.priority = 0 
account.3.codec.10.rtpmap = 2

account.3.codec.11.enable = 0
account.3.codec.11.payload_type = G726-40
account.3.codec.11.priority = 0
account.3.codec.11.rtpmap = 104

account.3.codec.12.enable = 0
account.3.codec.12.payload_type = iLBC_13_3
account.3.codec.12.priority = 0 
account.3.codec.12.rtpmap = 97

account.3.codec.13.enable = 0
account.3.codec.13.payload_type = iLBC_15_2
account.3.codec.13.priority = 0 
account.3.codec.13.rtpmap = 97         

#######################################################################################
##              Account4 Settings (For T38G only)                                    ##
#######################################################################################

#Enable or disable the account 4; 0-Disabled (default), 1-Enabled;
{if isset($user_password_4) }
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}

#Configure the display name of account 4.
account.4.display_name = {$display_name_4}

#Configure the username and password for register authentication.
account.4.auth_name = {$auth_id_4}
account.4.password = {$user_password_4}

#Configure the register user name.
account.4.user_name =  {$user_id_4}

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

#Specify the port for the SIP server. The default value is 5060.
account.4.sip_server_port = {$sip_port_4}

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

#Specify the server port, the default value is 5060.
account.4.outbound_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}

#Configure the address of the backup outbound proxy server.
account.4.backup_outbound_host = 

#Specify the port of the backup outbound proxy server, the default value is 5060.
account.4.backup_outbound_port = 

#Configure the voice mail number of account 4.
voice_mail.number.4 = 

#Configure the proxy server to account 4.
account.4.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.4.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.4.dns_srv_type =

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.4.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.4.anonymous_call_oncode = 
account.4.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.4.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.4.anonymous_reject_oncode = 
account.4.anonymous_reject_offcode = 

#Configure the SIP port for account 4, the default value is 5060.
account.4.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.4.expires = {$register_expires_4}

#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
account.4.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.4.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.4.subscribe_register = 

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.4.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.4.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.4.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; 
account.4.cp_source =  

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
account.4.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.4.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.4.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.4.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.4.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.4.ptime = 

#Assign account 4 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.4.shared_line = 

#Configure BLA number for account 4 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.4.bla_number = 
account.4.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.4.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 4, the settings on a per-account basis take precedence over the settings on the phone.
account.4.group_pickup_code = 
account.4.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.4.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.4.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.4.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address in the Register message; 0-Disabled (default), 1-Enabled;
account.4.register_mac = 

#Enable or disable the phone to send theline number in the Register message; 0-Disabled, 1-Enabled (default);  
account.4.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 4 fails to register. It ranges from 0 to 1800, the default value is 30.
account.4.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.4.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.4.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.4.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.4.blf_list_code = 

#Configure the bargein code.
account.4.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.4.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.4.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.4.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.4.idle_screen_enable = 

#Define the access URL of the customized theme.
account.4.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.4.enable_signal_encode = 

#Configure the key for encoding.
account.4.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.4.dtmf.type = 

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.4.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.4.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.4.compact_header_enable =

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.4.nat.nat_traversal = 

#Configure the STUN server address.
account.4.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.4.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.4.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.4.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.4.nat.rport = 

#Configure the session timer (in seconds), the default values of T1, T2, T3 are 0.5, 4, 5.
account.4.advanced.timer_t1 = 
account.4.advanced.timer_t2 = 
account.4.advanced.timer_t4 = 

#Assign a ringtone for account 4. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.4.ringtone.ring_type = 

#Enable or disable the phone to download the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.4.picture_info_enable = 

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.4.picture_info_enable = 

#Audio codecs for account 4 (Y ranges from 1 to 13).
#account.4.codec.Y.enable = 
#account.4.codec.Y.payload_type = 
#account.4.codec.Y.priority = 
#account.4.codec.Y.rtpmap = 

account.4.codec.1.enable = 1
account.4.codec.1.payload_type = PCMU
account.4.codec.1.priority = 1
account.4.codec.1.rtpmap = 0

account.4.codec.2.enable = 1
account.4.codec.2.payload_type = PCMA
account.4.codec.2.priority = 2 
account.4.codec.2.rtpmap = 8

account.4.codec.3.enable = 0 
account.4.codec.3.payload_type = G723_53
account.4.codec.3.priority =4
account.4.codec.3.rtpmap = 4

account.4.codec.4.enable = 0
account.4.codec.4.payload_type = G723_63
account.4.codec.4.priority = 0
account.4.codec.4.rtpmap = 4

account.4.codec.5.enable = 1
account.4.codec.5.payload_type = G729
account.4.codec.5.priority = 3
account.4.codec.5.rtpmap = 18

account.4.codec.6.enable = 1
account.4.codec.6.payload_type = G722
account.4.codec.6.priority = 4
account.4.codec.6.rtpmap = 9

account.4.codec.7.enable = 
account.4.codec.7.payload_type = 
account.4.codec.7.priority =  
account.4.codec.7.rtpmap = 

account.4.codec.8.enable = 0
account.4.codec.8.payload_type = G726-16
account.4.codec.8.priority = 0
account.4.codec.8.rtpmap = 112

account.4.codec.9.enable = 0
account.4.codec.9.payload_type = G726-24
account.4.codec.9.priority = 0
account.4.codec.9.rtpmap = 102

account.4.codec.10.enable = 0
account.4.codec.10.payload_type = G726-32 
account.4.codec.10.priority = 0 
account.4.codec.10.rtpmap = 2

account.4.codec.11.enable = 0
account.4.codec.11.payload_type = G726-40
account.4.codec.11.priority = 0
account.4.codec.11.rtpmap = 104

account.4.codec.12.enable = 0
account.4.codec.12.payload_type = iLBC_13_3
account.4.codec.12.priority = 0 
account.4.codec.12.rtpmap = 97

account.4.codec.13.enable = 0
account.4.codec.13.payload_type = iLBC_15_2
account.4.codec.13.priority = 0 
account.4.codec.13.rtpmap = 97          

#######################################################################################
##               Account5 Settings (For T38G only)                                   ##
#######################################################################################

#Enable or disable the account 5; 0-Disabled (default), 1-Enabled;
{if isset($user_password_5) }
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}

#Configure the display name of account 5.
account.5.display_name = {$display_name_5}

#Configure the username and password for register authentication.
account.5.auth_name = {$auth_id_5}
account.5.password = {$user_password_5}

#Configure the register user name.
account.5.user_name = {$user_id_5}

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

#Specify the port for the SIP server. The default value is 5060.
account.5.sip_server_port = {$sip_port_5}

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

#Specify the server port, the default value is 5060.
account.5.outbound_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}

#Configure the address of the backup outbound proxy server.
account.5.backup_outbound_host = 

#Specify the port, the default value is 5060.
account.5.backup_outbound_port = 

#Configure the voice mail number of account 5.
voice_mail.number.5 = 

#Configure the proxy server to account 5.
account.5.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.5.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.5.dns_srv_type =

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.5.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.5.anonymous_call_oncode = 
account.5.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.5.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.5.anonymous_reject_oncode = 
account.5.anonymous_reject_offcode = 

#Configure the SIP port for account 5, the default value is 5060. 
account.5.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.5.expires = {$register_expires_5}

#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
account.5.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.5.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.5.subscribe_register = 

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.5.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.5.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.5.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916;
account.5.cp_source = 

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
account.5.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.5.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.5.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.5.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.5.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.5.ptime = 

#Assign account 5 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.5.shared_line = 

#Configure BLA number for account 5 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.5.bla_number = 
account.5.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.5.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 5, the settings on a per-account basis take precedence over the settings on the phone.
account.5.group_pickup_code = 
account.5.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.5.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.5.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.5.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;
account.5.register_mac = 
account.5.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 5 fails to register. It ranges from 0 to 1800, the default value is 30.
account.5.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.5.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.5.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.5.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.5.blf_list_code = 

#Configure the bargein code.
account.5.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.5.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.5.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.5.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.5.idle_screen_enable = 

#Define the access URL of the customized theme.
account.5.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.5.enable_signal_encode = 

#Configure the key for encoding.
account.5.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.5.dtmf.type = 

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.5.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.5.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.5.compact_header_enable =

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.5.nat.nat_traversal = 

#Configure the STUN server address.
account.5.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.5.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.5.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.5.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.5.nat.rport = 

#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
account.5.advanced.timer_t1 = 
account.5.advanced.timer_t2 = 
account.5.advanced.timer_t4 = 

#Assign a ringtone for account 5. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.5.ringtone.ring_type = 

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.5.picture_info_enable = 

#Audio codecs for account5 (Y ranges from 1 to 13).
#account.5.codec.Y.enable = 
#account.5.codec.Y.payload_type = 
#account.5.codec.Y.priority = 
#account.5.codec.Y.rtpmap = 

account.5.codec.1.enable = 1
account.5.codec.1.payload_type = PCMU
account.5.codec.1.priority = 1
account.5.codec.1.rtpmap = 0

account.5.codec.2.enable = 1
account.5.codec.2.payload_type = PCMA
account.5.codec.2.priority = 2 
account.5.codec.2.rtpmap = 8

account.5.codec.3.enable = 0 
account.5.codec.3.payload_type = G723_53
account.5.codec.3.priority =4
account.5.codec.3.rtpmap = 4

account.5.codec.4.enable = 0
account.5.codec.4.payload_type = G723_63
account.5.codec.4.priority = 0
account.5.codec.4.rtpmap = 4

account.5.codec.5.enable = 1
account.5.codec.5.payload_type = G729
account.5.codec.5.priority = 3
account.5.codec.5.rtpmap = 18

account.5.codec.6.enable = 1
account.5.codec.6.payload_type = G722
account.5.codec.6.priority = 4
account.5.codec.6.rtpmap = 9

account.5.codec.7.enable = 
account.5.codec.7.payload_type = 
account.5.codec.7.priority =  
account.5.codec.7.rtpmap = 

account.5.codec.8.enable = 0
account.5.codec.8.payload_type = G726-16
account.5.codec.8.priority = 0
account.5.codec.8.rtpmap = 112

account.5.codec.9.enable = 0
account.5.codec.9.payload_type = G726-24
account.5.codec.9.priority = 0
account.5.codec.9.rtpmap = 102

account.5.codec.10.enable = 0
account.5.codec.10.payload_type = G726-32 
account.5.codec.10.priority = 0 
account.5.codec.10.rtpmap = 2

account.5.codec.11.enable = 0
account.5.codec.11.payload_type = G726-40
account.5.codec.11.priority = 0
account.5.codec.11.rtpmap = 104

account.5.codec.12.enable = 0
account.5.codec.12.payload_type = iLBC_13_3
account.5.codec.12.priority = 0 
account.5.codec.12.rtpmap = 97

account.5.codec.13.enable = 0
account.5.codec.13.payload_type = iLBC_15_2
account.5.codec.13.priority = 0
account.5.codec.13.rtpmap = 97

#######################################################################################
##                 Account6 Settings (For T38G only)                                 ##
#######################################################################################

#Enable or disable the account 6; 0-Disabled (default), 1-Enabled;
{if isset($user_password_6) }
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}

#Configure the display name of account 6.
account.6.display_name = {$display_name_6}

#Configure the username and password for register authentication.
account.6.auth_name = {$auth_id_6}
account.6.password = {$user_id_6}

#Configure the register user name.
account.6.user_name = {$user_id_6}

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

#Specify the port for the SIP server. The default value is 5060.
account.6.sip_server_port = {$sip_port_6}

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

#Specify the server port, the default value is 5060.
account.6.outbound_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} 

#Configure the address of the backup outbound proxy server.
account.6.backup_outbound_host = 

#Specify the port, the default value is 5060.
account.6.backup_outbound_port = 

#Configure the voice mail number of account 6.
voice_mail.number.6 = 

#Configure the proxy server to account 6.
account.6.proxy_require = 

#Enable or disable the use of the timer to periodically refresh the DNS-SRV query result; 0-Disabled (default), 1-Enabled;
#Require reboot;
account.6.srv_ttl_timer_enable =

#Configure the type of DNS-SRV query; 0-UDP, TCP and TLS (default), 1-UDP, 2-TCP, 3-TLS;
#Require reboot;
account.6.dns_srv_type = 

#Enable or disable the anonymous call feature; 0-Disabled (default), 1-Enabled;
account.6.anonymous_call = 

#Configure the on code and off code of the anonymous call feature.
account.6.anonymous_call_oncode = 
account.6.anonymous_call_offcode = 

#Enable or disable the reject anonymous call feature; 0-Disabled (default), 1-Enabled;
account.6.reject_anonymous_call = 

#Configure the on code and off code of the reject anonymous call feature.
account.6.anonymous_reject_oncode = 
account.6.anonymous_reject_offcode = 

#Configure the SIP port for account 6, the default value is 5060. 
account.6.sip_listen_port = 

#Configure the register expiry time (in seconds), the default value is 3600.
account.6.expires = {$register_expires_6}

#Enable or disable the 100 reliable retransmission; 0-Disabled (default), 1-Enabled;
account.6.100rel_enable = 

#Enable or disable the resource reservation; 0-Disabled (default), 1-Enabled;
account.6.precondition = 

#Enable or disable the phone to subscribe the register status; 0-Disabled (default), 1-Enabled;
account.6.subscribe_register = 

#Enable or disable the phone to subscribe the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.6.subscribe_mwi = 

#Configure MWI subscribe expiry time (in seconds). It ranges from 0 to 84600, the default value is 3600.
account.6.subscribe_mwi_expires = 

#Configure the type of SIP header(s) to carry the caller ID; 0-FROM (default), 1-PAI 2-PAI-FROM, 3-PRID-PAI-FROM, 4-PAI-RPID-FROM, 5-RPID-FROM;
account.6.cid_source = 

#Configure the presentation of the callee ID; 0-PAI-PRID, 1-DIALED DIGITS (default), 2-RFC4916; 
account.6.cp_source = 

#Enable or disable the session timer; 0-Disabled (default), 1-Enabled;
account.6.session_timer.enable = 

#Configure the refresh session timer interval (in seconds). It ranges from 1 to 9999.
account.6.session_timer.expires = 

#Configure the session timer refresher; 0-Uac (default), 1-Uas;
account.6.session_timer.refresher = 

#Enable or disable the "user=phone"; 0-Disabled (default), 1-Enabled;
account.6.enable_user_equal_phone = 

#Specify whether to encrypt the SIP messages; 0-Disabled, 1-Forced, 2-Negotiated;
account.6.srtp_encryption = 

#Configure the RTP packet time. The valid values are 0 (Disabled), 10, 20 (default), 30, 40, 50, 60.
account.6.ptime = 

#Assign account 6 as shared line; 0-Disabled (default), 1-BSFT shared line, 2-Draft bridge line appearance;
account.6.shared_line = 

#Configure BLA number for account 6 and the subscribe period (in seconds). It ranges from 60 to 7200, the default value is 300.
account.6.bla_number = 
account.6.bla_subscribe_period = 

#Enable or disable call pickup using dialog-info SIP header; 0-Disabled (default), 1-Enabled;
account.6.dialoginfo_callpickup = 

#Configure the directed and group pickup codes for account 6, the settings on a per-account basis take precedence over the settings on the phone.
account.6.group_pickup_code = 
account.6.direct_pickup_code = 

#Enable or disable the auto answer feature; 0-Disabled (default), 1-Enabled;
account.6.auto_answer = 

#Enable or disable the phone to record the missed call; 0-Disabled, 1-Enabled (default);
account.6.missed_calllog = 

#Enable or disable the phone to subscribe to the voicemail through the message waiting indicator; 0-Disabled (default), 1-Enabled;
account.6.subscribe_mwi_to_vm = 

#Enable or disable the phone to send the MAC address and line number in the Register message; 0-Disabled (default), 1-Enabled;    
account.6.register_mac = 
account.6.register_line = 

#Configure the interval (in seconds) the phone retries to register when account 6 fails to register. It ranges from 0 to 1800, the default value is 30.
account.6.reg_fail_retry_interval = 

#Configure the conference type; 0-Local (default), 2-Network Conference;
account.6.conf_type = 

#Configure the conference URI (a SIP URI, or use part of the SIP URI). For example, "conference@domain.com" or "conference".
account.6.conf_uri = 

#Configure the BLF list URI (a SIP URI, or use part of the SIP URI). For example, "2300_blflist@domain.com" or "2300_blflist".
account.6.blf.blf_list_uri = 

#Configure the pickup code of BLF List.
account.6.blf_list_code = 

#Configure the bargein code.
account.6.blf_list_barge_in_code = 

#Configure the BLF subscribe period (in seconds), the default value is 1800.
account.6.blf.subscribe_period = 

#Configure the ACD subscribe period (in seconds). It ranges from 120 to 3600 (default).
account.6.subscribe_acd_expires = 

#Configure the SIP server type; 0-Default (default), 2-BroadSoft, 4-Cosmocom;
account.6.sip_server_type = 

#Enable or disable the phone to use the customized theme; 0-Disabled (default), 1-Enabled;
account.6.idle_screen_enable = 

#Define the access URL of the customized theme.
account.6.idle_screen_url = 

#Enable or disable the SIP signal encode; 0-Disabled (default), 1-Enabled (RC 4);
account.6.enable_signal_encode = 

#Configure the key for encoding.
account.6.signal_encode_key = 

#Configure the DTMF type; 0-INBAND, 1-RFC2833 (default), 2-SIP INFO, 3-AUTO+SIP INFO;
account.6.dtmf.type = 

#Configure the RFC2833 payload. It ranges from 96 to 225, the default value is 101.
account.6.dtmf.dtmf_payload = 

#Configure the DTMF info type when using the SIP INFO; 0-Disabled (default), 1-DTMF-Relay, 2-DTMF, 3-Telephone-Event;
account.6.dtmf.info_type = 

#Enable or disable the phone to support the simplified SIP header; 0-Disabled (default), 1-Enabled;
account.6.compact_header_enable =

#########################################################################
##                     NAT Settings                                    ##
#########################################################################

#Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN;
account.6.nat.nat_traversal = 

#Configure the STUN server address.
account.6.nat.stun_server = 

#Configure the STUN server port, the default value is 3478.
account.6.nat.stun_port = 

#Enable or disable the NAT keep-alive; 0-Disabled, 1-Enabled (default);
account.6.nat.udp_update_enable = 

#Specify the keep-alive interval (in seconds), the default value is 30.
account.6.nat.udp_update_time = 

#Enable or disable the NAT Rport; 0-Disabled (default), 1-Enabled;
account.6.nat.rport = 

#Configure the session timer (in seconds), the default value of T1, T2, T3 is 0.5, 4, 5.
account.6.advanced.timer_t1 = 
account.6.advanced.timer_t2 = 
account.6.advanced.timer_t4 = 

#Assign a ringtone for account 6. The system ring tones are: common.wav (default), Ring1.wav, Ring2.wav,¡­¡­Ring8.wav.
#If you configure the custom ring tone (Family.wav) for the account, the value format is: Family.wav
#If you configure the system ring tone (Ring2.wav) for the account, the value format is: Ring2.wav
account.6.ringtone.ring_type = 

#Enable or disable the phone to display the picture when receiving the specified SIP message; 0-Disabled, 1-Enabled (default);
account.6.picture_info_enable = 

#Audio codecs for account6 (Y ranges from 1 to 13).
#account.6.codec.Y.enable = 
#account.6.codec.Y.payload_type = 
#account.6.codec.Y.priority = 
#account.6.codec.Y.rtpmap = 

account.6.codec.1.enable = 1
account.6.codec.1.payload_type = PCMU
account.6.codec.1.priority = 1
account.6.codec.1.rtpmap = 0

account.6.codec.2.enable = 1
account.6.codec.2.payload_type = PCMA
account.6.codec.2.priority = 2 
account.6.codec.2.rtpmap = 8

account.6.codec.3.enable = 0 
account.6.codec.3.payload_type = G723_53
account.6.codec.3.priority =4
account.6.codec.3.rtpmap = 4

account.6.codec.4.enable = 0
account.6.codec.4.payload_type = G723_63
account.6.codec.4.priority = 0
account.6.codec.4.rtpmap = 4

account.6.codec.5.enable = 1
account.6.codec.5.payload_type = G729
account.6.codec.5.priority = 3
account.6.codec.5.rtpmap = 18

account.6.codec.6.enable = 1
account.6.codec.6.payload_type = G722
account.6.codec.6.priority = 4
account.6.codec.6.rtpmap = 9

account.6.codec.7.enable = 
account.6.codec.7.payload_type = 
account.6.codec.7.priority =  
account.6.codec.7.rtpmap = 

account.6.codec.8.enable = 0
account.6.codec.8.payload_type = G726-16
account.6.codec.8.priority = 0
account.6.codec.8.rtpmap = 112

account.6.codec.9.enable = 0
account.6.codec.9.payload_type = G726-24
account.6.codec.9.priority = 0
account.6.codec.9.rtpmap = 102

account.6.codec.10.enable = 0
account.6.codec.10.payload_type = G726-32 
account.6.codec.10.priority = 0 
account.6.codec.10.rtpmap = 2

account.6.codec.11.enable = 0
account.6.codec.11.payload_type = G726-40
account.6.codec.11.priority = 0
account.6.codec.11.rtpmap = 104

account.6.codec.12.enable = 0
account.6.codec.12.payload_type = iLBC_13_3
account.6.codec.12.priority = 0 
account.6.codec.12.rtpmap = 97

account.6.codec.13.enable = 0
account.6.codec.13.payload_type = iLBC_15_2
account.6.codec.13.priority = 0 
account.6.codec.13.rtpmap = 97 

#######################################################################################
##                             Call Forward                                          ##
#######################################################################################

#Enable or disable the always forward; 0-Disabled (default), 1-Enabled;
forward.always.enable = 

#Configure the target number that the phone will forward the call to.
forward.always.target = 

#Configure the on code and off code to always forward.
forward.always.on_code = 
forward.always.off_code = 

#Enable or disable the busy forward; 0-Disabled (default), 1-Enabled;
forward.busy.enable = 
forward.busy.target = 
forward.busy.on_code = 
forward.busy.off_code = 

#Enable or disable the no answer forward; 0-Disabled (default), 1-Enabled;
#Configure the waiting ring times before forwarding. It ranges from 0 to 20, the default value is 10.
forward.no_answer.enable = 
forward.no_answer.target = 
forward.no_answer.timeout = 
forward.no_answer.on_code = 
forward.no_answer.off_code = 

#Enable or disable the phone to forward the call to the international number (the prefix is 00); 0-Disabled (default), 1-Enabled;
forward.international.enable = 

#######################################################################################
##                             Line Key                                              ##
#######################################################################################

#The x of the parameter "linekey.x.line" ranges from 1 to 6.
#The default value equals to the value of x. For example, the default value of the parameter "linekey.1.line" is 1.
#linekey.x.lable--Define the label for each line key.

{foreach $keys as $row}
{if $row.device_key_category == "line"}
#Configure Line Key {$row.device_key_id}
linekey.{$row.device_key_id}.line = {$row.device_key_line}
linekey.{$row.device_key_id}.value = {$row.device_key_value}
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
linekey.{$row.device_key_id}.type = {$row.device_key_type}
linekey.{$row.device_key_id}.xml_phonebook = 
linekey.{$row.device_key_id}.label = {$row.device_key_label}

{/if}
{/foreach}


#######################################################################################
##                             Memory Key (For T38G only)                            ##              
#######################################################################################
#X ranges from 1 to 10;
#memorykey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "memorykey.x.line" stands for Auto, it means the first available line. 
#But, when the DSS key is configured as BLF, BLF List, Shared Line, Call Park, Pick Up, ACD or Voice Mail feature, the value 0 stands for line 1.
#memorykey.x.value--Enter the value of some features. E.g. When configuring the DSS key to be BLF, enter the number of the monitored user.
#memorykey.x.pickup_value--Enter the pickup code, this parameter is only appilicable to BLF.
#memorykey.x.type--Assign the desired feature to the memory key.
#Valid types are:  0-N/A(default for memory key)  1-Conference     2-Forward    3-Transfer      4-Hold        5-DND             6-Redial                        7-Call Return     8-SMS    
#                  9-Call Pickup                  10-Call Park     11-DTMF      12-Voicemail    13-SpeedDial  14-Intercom       15-Line(default for line key)   16-BLF            17-URL    
#                  18-Group Listening             19-Public Hold   20-Private   21-Shared Line  22-XML Group  23-Group Pickup   24-Paging                       25-Record         27-XML Browser    
#                  34-Hot Desking                 35-URL Record    38-LDAP      39-BLF List     40-Prefix     41-Zero-Sp-Touch  42-ACD                          45-Local Group    46-Broadsoft Group 
#memorykey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the DSS key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.  
#memorykey.x.sub_type =

{foreach $keys as $row}
{if $row.device_key_category == "memory"}
#Expansion Memory Key {$row.device_key_id}
memorykey.{$row.device_key_id}.type = {$row.device_key_type}
memorykey.{$row.device_key_id}.line = {$row.device_key_line}
memorykey.{$row.device_key_id}.value = {$row.device_key_value}
memorykey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
memorykey.{$row.device_key_id}.label = {$row.device_key_label}
memorykey.{$row.device_key_id}.xml_phonebook = 
memorykey.{$row.device_key_id}.sub_type = 

{/if}
{/foreach}


##########################################################################################
##                         Programmable Key (For T38G only)                             ##
##########################################################################################
#X ranges from 1 to 15.
#programablekey.x.type--Customize the programmable key type.
#The valid types are: 
#0-N/A         2-Forward        5-DND           6-Redial     7-Call Return    8-SMS      9-Call Pickup  13-Spead Dial  14-Intercom
#22-XML Group  23-Group Pickup  27-XML Browser  28-History   29-Directory     30-Menu    32-New SMS     33-Status      43-Local Phonebook
#44-Broadsoft Phonebook    45-Local Group    46-Broadsoft Group   47-XML Phonebook   48-Switch Account Up   49-Switch Account Down    50-Keypad Lock
#programablekey.x.line--Configure the desired line to apply the key feature. It ranges from 0 to 6.
#The value 0 of the "proramablekey.x.line" stands for Auto, it means the first available line. 
#But, when the programmable key is configured as Pick Up, the value 0 stands for line 1.

#programablekey.x.value =
#programablekey.x.xml_phonebook--Specify the desired remote phonebook/local group/BSFT phonebook for the programmable key. This parameter is only appilicable to the feature XML Group/Local Group/Broadsoft Group.
#programablekey.x.history_type =

#programablekey.x.label--This parameter is only available to the key 1 to key 4. 

programablekey.1.type = 
programablekey.1.line = 
programablekey.1.value = 
programablekey.1.xml_phonebook = 
programablekey.1.history_type = 
programablekey.1.label = 


##########################################################################################
##                                  Expansion Module 1                                  ##
##########################################################################################
#X ranges from 1 to 16, Y ranges from 1 to 40.
#expansion_module.x.key.y.type = 37 (Switch by default)
#expansion_module.x.key.y.line = 0 
#expansion_module.x.key.y.value = 
#expansion_module.x.key.y.pickup_value = 
#expansion_module.x.key.y.label = 
#expansion_module.X.key.Y.xml_phonebook =

{foreach $keys as $row}
{if $row.device_key_category == "expansion"}
#Expansion module 1 key {$row.device_key_id}
expansion_module.1.key.{$row.device_key_id}.type = {$row.device_key_type}
expansion_module.1.key.{$row.device_key_id}.line = {$row.device_key_line}
expansion_module.1.key.{$row.device_key_id}.value = {$row.device_key_value}
expansion_module.1.key.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
expansion_module.1.key.{$row.device_key_id}.label = {$row.device_key_label}
expansion_module.1.key.{$row.device_key_id}.xml_phonebook = 

{/if}
{/foreach}

##########################################################################################
##                                  Expansion Module 2                                  ##
##########################################################################################

#Expansion module 2 key 1
#expansion_module.2.key.1.type = {$key_type_1}
#expansion_module.2.key.1.line = {$key_id_1}
#expansion_module.2.key.1.value = {$key_value_1}
#expansion_module.2.key.1.pickup_value = 
#expansion_module.2.key.1.label = {$key_label_1}
#expansion_module.2.key.1.xml_phonebook = 
#expansion_module.2.key.1.type = 37
#expansion_module.2.key.1.label = {$key_label_1}
