#########################################################################################
## Configuration template for HT8x1 firmware version 1.0.9.9                          ##
#########################################################################################

####################################################################
## Initial Version Firmware HT8x1 1.0.1.2                        ##
####################################################################

##############################################################################
##  System Settings                                                         ##
##############################################################################

##############################################################################
##  System Settings/Basic Settings                                          ##
##############################################################################

# Enable voice prompt. 0 - Yes, 1 - NO. Default is 0.
# Number: 0, 1
# Mandatory
P253=0

# Enable Direct IP Call. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P277=0

# Blocklist For Incoming Calls. Allow users to block incoming calls from specific list of numbers.Max allowed SIP numbers: 10, separated by a comma (',') 
# String: 0-9, *, #, +, comma (','), a-z, A-Z
P28127 =

# Lock keypad update.  0 - No, 1 - Yes, 2( invisible on web GUI, set to 2 for Reset button - ISP Data reset allowed only).  (configuration update via keypad is disabled if set to Yes).Default is 0.
# Number: 0, 1, 2
# Mandatory
P88=0

# Play Busy Tone When Account is unregistered. 0 - No, 1 - Yes. Default is No.
# Number: 0, 1  
# Mandatory
P28181 = 0 

# Prefix to Specify FXO Port.
# Number: Max length 10 characters.
P3408 = 

# Life Line Mode. 0 - Auto, 1 - Always Disconnected, 2 - Always Connected. Default is 0.
# Number: 0, 1, 2
# Mandatory
P891 = 0 

# DHCP Option 17 Enterprise Number. Default is 3561.
# Number: 0 to 65535.
# Mandatory
P8457=3561

####################
##  ATA Settings  ##
####################

# STUN Server
# Server address
P76= 

# Keep-Alive interval (in seconds. default 20 seconds)
# Number: 10 to 160
# Mandatory
P84=20

# Use STUN to detect network connectivity. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P474=0


##############################################################################
##  System Settings/Time and Language                                       ##
##############################################################################
##################
##  Time Zone   ##
##################

# NTP Server
# String: Server address
P30 = pool.ntp.org

# Secondary NTP Server
# String: Serveraddress
P8333 = 0

# Allow DHCP Option 42 to override NTP server. 0 - No, 1 - Yes. Default is 0.
# When set to Yes(1), it will override the configured NTP server.
# Number: 0, 1
# Mandatory
P144=1

#Time Zone. Offset in minutes to GMT
# <value=TZA+12> GMT-12:00 (International Date Line West)
# <value=TZB+11> GMT-11:00 (Midway Island, Samoa)
# <value=HAW10> GMT-10:00 (US Hawaiian Time)
# <value=AKST9AKDT> GMT-09:00 (US Alaska Time)
# <value=PST8PDT> GMT-08:00 (US Pacific Time, Los Angeles)
# <value=PST8PDT,M4.1.0,M10.5.0> GMT-08:00 (Baja California)
# <value=MST7MDT> GMT-07:00 (US Mountain Time, Denver)
# <value=MST7> GMT-07:00 (Mountain Time (Arizona, no DST))
# <value=MST7MDT,M4.1.0,M10.5.0> GMT-07:00 (Chihuahua, La Paz, Mazatlan)
# <value=CST6CDT> GMT-06:00 (Central Time)
# <value=CST+6> GMT-06:00 (Central America)
# <value=CST6CDT,M4.1.0,M10.5.0> GMT-06:00 (Guadalajara, Mexico City, Monterrey)
# <value=EST5EDT> GMT-05:00 (Eastern Time)
# <value=EST5> GMT-05:00 (Eastern Time without daylight saving)
# <value=TZf+4:30> GMT-04:30 (Caracas)
# <value=AST4ADT> GMT-04:00 (Atlantic Time)
# <value=AST4ADT,M4.1.0/00:01:00,M10.5.0/00:01:00> GMT-04:00 (Atlantic Time (New Brunswick))
# <value=NST+3:30NDT+2:30,M4.1.0/00:01:00,M10.5.0/00:01:00> GMT-03:30 (Newfoundland Time)
# <value=TZK+3> GMT-03:00 (Greenland)
# <value=BRST+3BRDT+2,M10.3.0,M2.3.0> GMT-03:00 (Brazil, Sao Paulo)
# <value=UTC+3> GMT-02:00 (Argentina)
# <value=TZL+2> GMT-02:00 (Mid-Atlantic)
# <value=TZM+1> GMT-01:00 (Azores, Cape Verde Is.)
# <value=TZN+0> GMT (Edinburgh, Casablanca, Monrovia)
# <value=GMT+0BST-1,M3.5.0/01:00:00,M10.5.0/02:00:00> GMT (London, Great Britain)
# <value=WET-0WEST-1,M3.5.0/01:00:00,M10.5.0/02:00:00> GMT (Lisbon, Portugal)
# <value=GMT+0IST-1,M3.5.0/01:00:00,M10.5.0/02:00:00> GMT (Dublin, Ireland)
# <value=TZO-1> GMT+01:00 (Paris, Vienna, Warsaw, Brussels)
# <value=CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00> GMT+01:00 (Roma, Paris, Madrid, Prague, Berlin, Budapest, Amsterdam, Barcelona)
# <value=TZP-2> GMT+02:00 (Israel, Cairo, Athens, Istanbul, Bucharest)
# <value=EET-2EEST-3,M3.5.0/03:00:00,M10.5.0/04:00:00> GMT+02:00 (Helsinki, Athens, Tallinn)
# <value=EET-2EEST,M3.5.0/3,M10.5.0/4> GMT+02:00 (Kyiv, Ukraine)
# <value=IST-2IDT,M3.5.5/2,M10.5.0/2> GMT+02:00 (Israel DST)
# <value=TZQ-3> GMT+03:00 (Kuwait, Baghdad, Tehran, Nairobi)
# <value=MSK-3MSD,M3.5.0/2,M10.5.0/3> GMT+03:00 (Moscow, Russia)
# <value=MST-3MDT,M3.5.0/2,M10.5.0/3> GMT+03:00 (St.Petersburg, Russia)
# <value=TZR-4> GMT+04:00 (Abu Dhabi, Baku)
# <value=TZS-5> GMT+05:00 (Islamabad, Ekaterinburg, Karachi, Tashkent)
# <value=TZT-5:30> GMT+05:30 (Chennai, New Delhi, Mumbai)
# <value=TZU-5:45> GMT+05:45 (Kathmandu)
# <value=TZV-6> GMT+06:00 (Almaty, Astana, Dhaka, Novosibirsk)
# <value=TZW-6:30> GMT+06:30 (Rangoon)
# <value=TZX-7> GMT+07:00 (Bankok, Hanoi, Krasnoyarsk)
# <value=WIB-7> GMT+07:00 (Jakarta)
# <value=TZY-8> GMT+08:00 (Beijing, Taipei, Kuala Lumpur, Irkutsk)
# <value=SGT-8> GMT+08:00 (Singapore)
# <value=ULAT-8> GMT+08:00 (Ulaanbaatar, Mongolia)
# <value=WST-8> GMT+08:00 (Perth)
# <value=TZZ-9> GMT+09:00 (Japan, Korea, Yakutsk)
# <value=CST-9:30CDT-10:30,M10.5.0/02:00:00,M3.5.0/03:00:00> GMT+09:30 (Adelaide)
# <value=CST-9:30> GMT+09:30 (Darwin)
# <value=TZb-10> GMT+10:00 (Guam)
# <value=EST-10EDT-11,M10.1.0/02:00:00,M3.5.0/03:00:00> GMT+10:00 (Hobart)
# <value=EST-10EDT-11,M10.5.0/02:00:00,M3.5.0/03:00:00> GMT+10:00 (Sydney, Melbourne, Canberra)
# <value=EST-10> GMT+10:00 (Brisbane)
# <value=TZc-11> GMT+11:00 (Magadan, Solomon Is., New Caledonia)
# <value=NZST-12NZDT-13,M10.1.0/02:00:00,M3.3.0/03:00:00> GMT+12:00 (Auckland, Wellington)
# <value=TZd-12> GMT+12:00 (Fiji)
# <value=TZe-13> GMT+13:00 (Nuku'alofa)
# <value=customize> Using self-defined Time Zone
# Mandatory
P64=customize

# Self-Defined Time Zone
# String
P246=MTZ+6MDT+5,M3.2.0,M11.1.0

# Allow DHCP server to set Time Zone. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P143=1

################
##  Language  ##
################

# IVR Language. 0 - English, 4 - Chinese, 6 - Russian, 10 - Spanish
# Number: 0, 4, 6, 10
# Mandatory
P342=0

##############################################################################
##  System Settings/Rington                                                 ##
##############################################################################

# Syntax: fxsch1:f1=val[,f2=val[,c=on1/off1[-on2/off2[-on3/off3]]]];<br>fxoch x-y:f1=val[,f2=val[,c=on1/off1[-on2/off2[-on3/off3]]]];...
# (Frequencies are in (10, 4000) Hz and cadence on and off are in (0, 64000) ms)

# System Ring Cadence
# String
P4040=c=2000/4000;

# Prompt Tone Access Code. 
# (Key pattern to get Prompt Tone. Maximum 20 digits. No default.)
# String
P4042=

# PSTN Disconnect Tone.	 
# String
# Mandatory
# P841=fxoch1-8:f1=480@-32,f2=620@-32,c=500/500;

######################
##  CPT Settings    ##
######################

# Dial Tone
# String
# P4000=fxsch1:f1=350@-17,f2=440@-17,c=0/0;fxoch1-8:f1=350@-17,f2=440@-17,c=0/0;

# Ringback Tone
# String
# P4001=fxsch1:f1=440@-17,f2=480@-17,c=2000/4000;fxoch1-8:f1=440@-17,f2=480@-17,c=2000/4000;

# Busy Tone
# String
# P4002=fxsch1:f1=480@-21,f2=620@-21,c=500/500;fxoch1-8:f1=480@-21,f2=620@-21,c=500/500;

# Reorder Tone
# String
# P4003=fxsch1:f1=480@-21,f2=620@-21,c=250/250;fxoch1-8:f1=480@-21,f2=620@-21,c=250/250;

# Confirmation Tone
# String
# P4004=f1=350@-11,f2=440@-11,c=100/100-100/100-100/100;

# Call Waiting Tone
# String
P4005=fxsch1:f1=440@-13,c=300/10000;fxoch1-8:f1=440@-13,c=300/10000;

# Wait for Dial-Tone
# String
P4041=fxsch1:f1=350@-17,f2=440@-17,c=0/0;fxoch1-8:f1=350@-17,f2=440@-17,c=0/0;

# Conference Party Hangup Tone.
# String
P28133 = fxsch1:f1=425@-15,c=600/600;fxoch1-8:f1=425@-15,c=600/600;

# Special Proceed Indication Tone 
# Mandatory
P28196 = fxsch1:f1=350@-13,f2=440@-13,c=750/750;fxoch1-8:f1=350@-13,f2=440@-13,c=750/750;

# Special Condition Tone. 
# String
# Mandatory
P28211=fxsch1:f1=350@-13,f2=450@-13,c=750/750;fxoch1-8:f1=350@-13,f2=450@-13,c=750/750;

##############################################################################
##  System Settings/Security Settings                                       ##
##############################################################################
##############################################################################
##  System Settings/Security Settings/ Web/SSH Access                       ##
##############################################################################
####################
##  Web Access    ##
####################

# Web Access Mode. 0 - HTTPS, 1 - HTTP, 2 - Disabled.
# Number: 0, 1, 2
# Mandatory
P1650 = 1

# HTTP Web Port. Default HTTP is 80.
# Number: 1 to 65535
# Mandatory
P901=80

# HTTPS Web Port. Defaut HTTPS port is 443.
# Number: 1 to 65535
# Mandatory
P27010=443

# Web Session Timeout. In 1 to 60 minutes range. Default value is 10
# Number: 1 to 60
# Mandatory
P28116 = 10

# Web Access Attempt Limit. Default value is 5
# Number: 1 to 10
# Mandatory
P28117 = 5

# Web Lockout Duration. In 0 to 60 minutes range. Default value is 15
# Number: 0 to 60
# Mandatory
P1683 = 15

# Enable User Level Web Access. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1  
# Mandatory
P28158 = 0 

# Enable Viewer Level Web Access. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1  
# Mandatory
P28159 = 0 

#############
##  SSH    ##
#############

# Enable SSH. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P276= 0

# SSH Port. Default SSH port is 22.
# String
# Mandatory
P27006 = 22

# Enable Telnet. 0 - Yes, 1 - No. Default is 1.
# Number: 0, 1
# Mandatory
P28120 = 1

# Telnet Port. Default Telnet port is 23. This should be different from SSH port. 
# String Max Length: 5
# Mandatory
P28128 = 23

# Security Controls for SSH/Telnet Access. 0 - Only allow SSH private IP users to set system Pvalue. 1 - Allow all SSH users to set system Pvalue
# 2 - Allow all SSH users to set any Pvalue. 3 - Allow any user to set any Pvalue. 4 - Prohibit setting Pvalue. Default is 3.
# Number: 0,1,2,3,4
# Mandatory
P28210=3

# WAN Side Web/SSH Access. 0 - No, 1 - Yes , 2 - Auto (WAN side access will be rejected if set to No)
# Default is 1 - Auto. When set to Auto, if the device is using public IP address, WAN side HTTP/SSH access will be disabled; 
# if the device is using private IP address, it will be enabled.
# Number: 0,1,2 
# Mandatory 
P190 = 1

######################
## Access Control   ##
######################

# Allow List for WAN Side. Only the IP address in white list can access Web and SSH.
# String ipaddress
P20701=

# Block List for WAN Side. The IP address in black list can not access Web or SSH.
# String ipaddress
P20702=

##############################################################################
##  System Settings/Security Settings/ User Info Management                 ##
##############################################################################

######################
## Password Rules   ##
######################

# Enable strict password rules. 0 - No, 1 - Yes. Default is 1.
# Number: 0,1
# Mandatory
P28788=1

# Minimum password length. Default is 8.
# Number: 4 - 30.
# Mandatory
P28790=8

# Required number of character classes. Default 3.
# Number: 0 - 4.
# Mandatory
P28791=3

# Allowed Character classes. Default is 7.
# The number is the the sum of the checked number, e.g: 0, 1, 2, 4, 7, 3(1+2), 7(1+2+4), 15(1+2+4+8).
# Number and Checkbox: 1 - Lower case, 2 - Upper case, 4 - Numbers, 8 - Special Characters.
P28792=7

################
## Password   ##
################

# New Admin password. (Default is the random password on device sticker)
# String
# Must contain 4-30 characters, When strict password rules are enabled, the password needs to comply with the settings in the password rules; Do not display password for security reasons
# Mandatory
P2 =

# End User Password. 
# String
# Must contain 4-30 characters, When strict password rules are enabled, the password needs to comply with the settings in the password rules; Do not display password for security reasons
# P196=


# New Viewer Password. 
# String
# Must contain 4-30 characters, When strict password rules are enabled, the password needs to comply with the settings in the password rules; Do not display password for security reasons
# P28113= 

##############################################################################
##  System Settings/Security Settings/ Client Certificate                   ##
##############################################################################

################
## SIP TLS    ##
################

# Enable/Disable Weak Cipher Suites. Default is 0.
# 0 – Enable Weak TLS Ciphers Suites, 1 – Symmetric Encryption RC4/DES/3DES, 2 - Symmetric Encryption SEED, 9 - Symmetric Encryption IDEA/eNULL, 3 - All Of The Above Weak Symmetric Encryption, 4 - Symmetric Authentication MD5, 5 - All Of The Above Weak Symmetric Authentication, 6 - Protocol Version SSLv2/SSLv3, 7 - All Of The Above Weak Protocol Version, 10 - Server Authentication aNULL/aECDH, 11 - All Of The Above Weak Server Authentication, 12==Key Exchange Algorithm kRSA, 13==All Of The Above Weak Key Exchange Algorithm, 8 - All Of The Above Weak TLS Ciphers Suites
# Number: 0, 1, 2 ,3, 4, 5, 6, 7, 8, 9, 10, 11, 12
# Mandatory 
P8536=0

# SIP TLS Certificate
# String
# Maximum Length: 8192.
P280=

# SIP TLS Private Key
# String
# Maximum Length: 4069.
P279=

# SIP TLS Private Key Password
# String
# Max Length: 64 characters
P281=s1pphone


####################
## TLS Version    ##
####################

# Minimum TLS Version. 99 - Unlimited, 10 - TLS 1.0, 11 - TLS 1.1, 12 - TLS 1.2
# Number: 99, 10, 11, 12
# Mandatory
P22293=99

# Maximum TLS Version. 99 - Unlimited, 10 - TLS 1.0, 11 - TLS 1.1, 12 - TLS 1.2
# Number: 99, 10, 11, 12
# Mandatory
P22294=99

###########################
## Custom Certificate    ##
###########################

# Custom Certificate. (Private Key + Certificate)
# String
# Max Length: 8192 characters
P8472 = 

##############################################################################
##  System Settings/Security Settings/ Trusted Certificates                 ##
##############################################################################

# Load CA Certificates. 0 - Built-in trusted certificates, 1 - Custom trusted certificates, 2 - All trusted certificates
# Number: 0, 1, 2 
# Mandatory
P8502 = 0

# Trusted CA Certificates A. Need to reboot the device upon change the value.
# String
P2386 = 

# Trusted CA Certificates B. Need to reboot the device upon change the value.
# String
P2486 = 

# Trusted CA Certificates C. Need to reboot the device upon change the value.
# String
P2586 = 

# Trusted CA Certificates D. Need to reboot the device upon change the value.
# String
P2686 = 

##############################################################################
##  System Settings/Management Setting/TR069                                                   ##
##############################################################################

# Enable TR-069. 0 - No, 1 - Yes. Default is Yes.
# Number: 0, 1
# Mandatory
P1409=1

# ACS URL
#P4503= https://acs.gdms.cloud

# ACS Username
# String: 
# Max Length: 64 characters
P4504=

# ACS Password
# String
# Max Length: 64 characters
P4505=

# Periodic Inform Enable 0 - No, 1 - Yes. Default is No.
# Number: 0, 1
# Mandatory
P4506=0

# Periodic Inform Interval. Default is 300.
# Number: 1-99999
P4507=300

# Connection Request Username
# String
# Max Length: 64 characters. regex: [a-zA-Z0-9]*
P4511=

# Connection Request Password
# String
# Max Length: 64 characters. regex: [a-zA-Z0-9]*
P4512=

# Connection Request Port. Default is 7547
# Number: 0 - 65535
# Mandatory
P4518 = 7547

# CPE SSL Certificate
P8220=

# CPE SSL Private Key
P8221=

##############################################################################
##  System Settings/Management Setting/SNMP Settings                                           ##
##############################################################################

# Enable SNMP. 0 - No, 1 - Yes. Default value is 0.
# Number: 0, 1
# Mandatory
P21896=0

# SNMP Version. 1 - Version 1, 2 - Version 2c, 3 - Version 3. Default value is 3.
# Nmuber: 1, 2, 3
# Mandatory
P21904=3

# SNMP Port. Default is port 161
# Number: 161 or 1025 to 65535
# Mandatory
P21903=161

# SNMP Trap IP Address
# String: Max Length: 64
P21897=

# SNMP Trap Port. Default value is 162.
# Number: 162 or 1025 to 65535
P21898=162

# SNMP Trap Version. 1 - Version 1, 2 - Version 2c, default is Version 2c.
# Number: 1, 2
# Mandatory
P21899= 2

# SNMP Trap Interval. Default is 5.
# Number: 1 to 1440.
P21901=5

# SNMPv1/v2c Community
# String: Max Length: 64
P21902 =

# SNMPv1/v2c Trap Community
# String: Max Length: 64
P21900=

# SNMPv3 User Name
# String: Max Length: 64
P21905= 

# SNMPv3 Security Level. 0 - noAuthUser, 1 - authUser, 2 - privUser. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21910=0 

# SNMPv3 Authentication Protocol. 0 - None, 1- MD5, 2- SHA. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21906=0

# SNMP Privacy Protocol. 0 - None, 1 - DES, 2 - AES | AES128. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21907=0

# SNMPv3 Authentication Key. 
P21908=

# SNMPv3 Privacy Key
P21909=

# SNMPv3 Trap User Name
# String: Max Length: 64
P21911= 

# SNMPv3 Trap Security Level. 0 - noAuthUser, 1 - authUser, 2 - privUser. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21916=0 

# SNMPv3 Trap Authentication Protocol. 0 - None, 1- MD5, 2- SHA. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21912=0

# SNMP Trap Privacy Protocol. 0 - None, 1 - DES, 2 - AES | AES128. Default value is 0.
# Number: 0, 1, 2
# Mandatory
P21913=0

# SNMPv3 Trap Authentication Key. 
P21914=

# SNMPv3 Trap Privacy Key
P21915=

##############################################################################
##  System Settings/Management Setting/Management Interface                 ##
##############################################################################

# Enable Management Interface. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P28161 = 0

# Management Access. 0- Management Interface Only, 1 - Both Services and Management Interfaces
# Number： 0， 1
# Mandatory
P28162 = 0

# Enable SNMP Through Management Interface. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
P28209= 0

# Enable TR069 Through Management Interface. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P8607=0

# Enable Syslog Through Management Interface. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P8610=0

#########################################
##  Management Interface IPv4 Address  ##
#########################################

# Management Interface IPv4 Address:802.1Q/VLAN Tag
# Number: 0-4094
P22111 = 0

# Management Interface IPv4 Address: 802.1p priority value
# Number: 0-7
P22112 = 0

# IPv4 address type. 0 - Dynamically assigned via DHCP, 1 - Statically configured as
# Number: 0, 1
# Mandatory = 0
P22105 = 0

# IP Address. Default is 192.168.100.100
# ipaddress: 0 to 255
# Mandatory
# Reboot required 
P22106 = 192.168.100.100

# Subnet Mask. Default is 192.168.100.100
# ipaddress: 0 to 255
# Mandatory
# Reboot required 
P22107 = 255.255.255.0

# Default Router. Default is 192.168.100.1
# ipaddress: 0 to 255
# Mandatory
# Reboot required 
P22108 = 192.168.100.1

# DNS Server 1. Default is 0.0.0.0
# ipaddress: 0 to 255
# Mandatory
# Reboot required 
P22109 = 0.0.0.0

# DNS Server 2. Default is 0.0.0.0
# ipaddress: 0 to 255
# Mandatory
# Reboot required 
P22110 = 0.0.0.0

##############################################################################
##  System Settings/RADIUS Settings                                         ##
##############################################################################

# Enable RADIUS Web Access Control. 0 - No, 1 - Yes. Default value is 0.
# Nmuber: 0, 1
# Mandatory
P28107=0

# Action up Radius Auth Server Error. 0 - Reject Access, 1 - Authenticate Locally. Default value is 1.
# Number: 0, 1
# Mandatory
P28114=1

# RADIUS Auth Protocol.0 - PAP, 1 - CHAP, 2 - MsCHAPv1, 3 - MsCHAPv2. Default is 0.
# Number: 0, 1, 2, 3
# Mandatory
P28803=0

# RADIUS Auth Server Address
# ipaddress
P28108= 

# RADIUS Auth Server Port. Default 1812.
# Number: 0 to 65535. 
P28109= 1812

# RADIUS Shared Secret.
# String
P28110=

# RADIUS VSA Vendor ID. Default 42397.
# Number: 0 to 65535. 
P28111= 42397

# RADIUS VSA Access Level Attribute.
# Number: 0 to 255. 
P28112= 35

##############################################################################
##  System Settings/ E911/HELD                                              ##
##############################################################################

#############
## E911    ##
#############

# Enable E911. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
P8565=0

# E911 Emergency Numbers. Default is 911
# String Maximum Length: 64. 0-9, *, #, ;
P8597=911

# Geolocation-Routing Header. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
P8598=0

# Priority Header. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
P8599=0

#############
## HELD    ##
#############

# HELD Protocol. 0 - HTTP, 1 - HTTPS. Default is 0.
# Number: 0, 1  
# Mandatory
P8566=0

# HELD Synchronization Interval. Default is 0.
# Number: 0, 30 to 1440 (in minutes. 0 (Disable) or Between 30-1440)
# Mandatory
P8567=0

# HELD Location Types
# String Maximum Length: 64
P8574=geodetic,civic,locationURI

# HELD Use LLDP Information. 0 - No, 1 - Yes. Default is 0.
# Numnber: 0,1
# Mandatory
P8575=0

# HELD NAI. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
P8576=0

# HELD Identity 1 - 10
# String Maximum Length: 64
P8577=
P8579=
P8581=
P8583=
P8585=
P8587=
P8589=
P8591=
P8593=
P8595=

# HELD Identity 1 - 10 Value
# String Maximum Length: 64
P8578=
P8580=
P8582=
P8584=
P8586=
P8588=
P8590=
P8592=
P8594=
P8596=

########################
## Location Server    ##
########################

# Location Server
# String Maximum Length: 256
P8568=0

# Location Server Username
# String Maximum Length: 64
P8569=

# Location Server Password
# String Maximum Length: 64
P8570=

# Secondary Location Server
# String Maximum Length: 256
P8571=0

# Secondary Location Server Username
# String Maximum Length: 64
P8572=

# Secondary Location Server Password
# String Maximum Length: 64
P8573=

##############################################################################
##  Network Settings/Ethernet Settings                                      ##
##############################################################################
##############################################################################
##  Network Settings/Ethernet Settings/General Settings                     ##
##############################################################################
# Internet Protocol. 0 - Both, prefer IPv4, 1 - Both, prefer IPv6, 2 - IPv4 Only, 3 - IPv6 Only. Default is IPv4 Only
# Number: 0, 1, 2, 3
# Mandatory
P1415 = 2

#############
## IPv4    ##
#############

# IP Address. 0 - Dynamically assigned via DHCP, 2 - Use PPPoE, 1 - Statically configured as
# Number: 0, 1, 2
# Mandatory
P8=0

#################################################################################
# DHCP
# DHCP Hostname, DHCP option 12. Max length allowed is 32 bytes.
P146=

# DHCP domain name
# String
# Maximum Length: 32
P147=

# DHCP Vendor Class ID, DHCP option 60. Max length allowed is 32 bytes.
# String
P148=HT8X1

#################################################################################
# PPPoE
# PPPoE account ID
# String
# P82=

# PPPoE password
# String
#P83=

# PPPoE Service Name
# String
#P269=

#################################################################################
# Static IP
# IP Address. Ignore if DHCP or PPPoE is used
# Number: 0 to 255
#P9=192
#P10=168
#P11=0
#P12=160

# Subnet mask. Ignore if DHCP or PPPoE is used
# Number: 0 to 255
#P13=255
#P14=255
#P15=0
#P16=0

# Router. Ignore if DHCP or PPPoE is used
# Number: 0 to 255
#P17=0
#P18=0
#P19=0
#P20=0

# DNS 1. Ignore if DHCP or PPPoE is used
# Number: 0 to 255
#P21=0
#P22=0
#P23=0
#P24=0

# DNS 2. Ignore if DHCP or PPPoE is used
# Number: 0 to 255
#P25=0
#P26=0
#P27=0
#P28=0

# 1st Preferred DNS server
# Number: 0 to 255
#P92=0
#P93=0
#P94=0
#P95=0

# 2nd Preferred DNS server
# Number: 0 to 255
#P5026=0
#P5027=0
#P5028=0
#P5029=0

# 3rd Preferred DNS server
# Number: 0 to 255
#P5030=0
#P5031=0
#P5032=0
#P5033=0

# 4th Preferred DNS server
# Number: 0 to 255
#P5034=0
#P5035=0
#P5036=0
#P5037=0

#############
## IPv6    ##
#############

# IPv6 Address type. 0 - Dynamically assigned via DHCP, 1 - Statically Configured. Default is 0.
# Number: 0, 1
# Mandatory
P1419 = 0

# IPv6 Address type: Statically configured. 0 - Full Static, 1 - Prefix Static
# Number: 0, 1
# Mandatory
P1426 = 0

# Full Static: Static IPv6 Address
P1420 =

# Full Static: IPv6 Prefix Length
P1421 =

# Prefix Static: IPv6 Prefix(64bits)
# Max Character Number : 40
P1422 = 

# DNS Server 1 for IPv6 Address
# String: a-z, A-Z, 0-9, ".", ":", "[", "]"
P1424 =

# DNS Server 2 for IPv6 Address
# String: a-z, A-Z, 0-9, ".", ":", "[", "]"
P1425 =

# Preferred DNS Server for IPv6 Address
# String: a-z, A-Z, 0-9, ".", ":", "[", "]"
P1423 =

#############
## 802.1X  ##
#############

# 802.1x Mode. 0 - Disable, 1 - EAP_MD5, 2 - EAP_TLS, 3 - EAP-PEAPv0/MSCHAPv2.
# Number: 0, 1, 2, 3
# Mandatory
# Reboot Required
P7901=0

# 802.1X Identity. (Reboot Required)
# String Max Length: 64
# Reboot Required
P7902=

# MD5 Password. (Reboot Required)
# Password Max Length: 64
# Reboot Required
P7903=

# 802.1X CA Certificate. 
# String Max Length:4096
P8439= 

# 802.1X Client Certificate. 
# String Max Length:4096
P8440= 

##############################################################################
##  Network Settings/DDNS Settings                                          ##
##############################################################################

# Enable DDNS. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28121=0

# DDNS Server. 0 - dyndns.org, 1 - freedns.afraid.org, 2 - zoneedit.com, 3 - no-ip.com, 4 - oray.net. 
# Number: 0, 1, 2, 3, 4
# Mandatory
P28122=0

# DDNS Username
# String Max Length: 64. regex:[!"#$%&'()*+,-./0-9:;<=>?@A-Z\[\\\]^_`a-z{|}~]*
P28123=

# DDNS Password
# Password Max Length: 64. regex:[!"#$%&'()*+,-./0-9:;<=>?@A-Z\[\\\]^_`a-z{|}~]*
P28124=

# DDNS Hostname
# String Max Length: 256
P28125=

# DDNS Hash
# String Max Length: 256
P28126=

##############################################################################
##  Network Settings/LAN Settings                                           ##
##############################################################################
##############################################################################
##  Network Settings/LAN Settings/General Settings                          ##
##############################################################################
# Working Mode of Network Interface. 
# 0 - NET1 is WAN and NET2 is LAN (default), 1 - NET1 is LAN and NET2 is WAN. Default is 0.
# Number: 0, 1.
# Mandatory
P28789=0

# Device Mode. 0 -NAT Router, 1 - Bridge,  2 - WAN Only
# Number: 0,1,2
# Mandatory 
# Reboot required 
P231 = 1

# Enable UPnP support. 0 - No, 1 - Yes
# Number: 0,1 
# Mandatory 
P890 = 0

# Uplink bandwidth. 
#<value=0> Disabled
#<value=2> 128k
#<value=3> 256k
#<value=4> 512k
#<value=5> 1M
#<value=8> 2M
#<value=9> 3M
#<value=6> 4M
#<value=10> 5M
#<value=7> 10M
#<value=11> 15M
# Number: 0, 2-11 
# Mandatory 
# Reboot required 
P867 = 0

# Downlink bandwidth.
#<value=0> Disabled
#<value=2> 128k
#<value=3> 256k
#<value=4> 512k
#<value=5> 1M
#<value=8> 2M
#<value=9> 3M
#<value=6> 4M
#<value=10> 5M
#<value=7> 10M
#<value=11> 15M
# Number: 0, 2-11 
# Mandatory 
# Reboot required  
P868 = 0

#DMZ IP.
# ipaddress: 0 to 255
#P113 =

###########
##  NAT  ##
###########

# NAT maximum ports. range: 0 - 4096, default is 1024
# Number: 0 to 4096 
# Mandatory 
# Reboot required 
P896 = 1024

# NAT TCP timeout. range: 0 - 3600, default is 3600
# Number: 0 to 3600
# Mandatory 
# Reboot required 
P897 = 3600

# NAT UDP timeout. range: 0 - 3600, default is 300
# Number: 0 to 3600
# Mandatory 
# Reboot required 
P898 = 300

###########
##  WAN  ##
###########

# Reply to ICMP on WAN port. 0 - No, 1 - Yes. Unit will not respond to PING from WAN side if set to No.
# Number: 0,1 
# Mandatory 
P189 = 0

# Cloned WAN MAC Addr (in hex format)
# String Maxlength is 2.
# Reboot required 
P115=
P116=
P117=
P118=
P119=
P120=

###########
##  LAN  ##
###########

# LAN Port VLAN Feature Under Bridge Mode: VLAN Tag. Default is 0.
# Number: 0 - 4094.
# Mandatory
# Reboot required 
P229=0

# LAN Port VLAN Feature Under Bridge Mode: Priority Value. Default is 0.
# Number: 0 - 7.
# Mandatory
# Reboot required 
P230=0

# Enable LAN DHCP. 0 - No, 1 - Yes
# Number: 0,1 
# Mandatory 
# Reboot required 
P5001 = 1

# LAN DHCP Base IP. (base IP for the LAN port, default is 192.168.2.1)
# ipaddress: 0 to 255
# Mandatory 
# Reboot required 
#P111 = 192.168.2.1

# LAN DHCP Start IP. Default is 192.168.2.100.
# ipaddress: 0 to 255
# Mandatory 
P5002 = 192.168.2.100

# LAN DHCP End IP. Default is 192.168.2.199.
# ipaddress: 0 to 255
# Mandatory 
P5003 = 192.168.2.199

# LAN Subnet Mask.  Default is 255.255.255.0.
# ipaddress: 0 to 255
# Mandatory 
# Reboot required 
P110 = 255.255.255.0

# DHCP IP Lease Time, in units of hours. Default is 120 hours (5 days).
# Number：0 to 9999
# Mandatory 
P112 = 120


##############################################################################
##  Network Settings/LAN Settings/Port Forwarding                           ##
##############################################################################
#############  Choice 1 ####################################
# WAN Port
# Number: 0 to 65535
P150 =

# LAN IP
# String: ipaddress 
P158 =

# LAN Port
# Number: 1 to 65535
P166 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P174 =

#############  Choice 2 ####################################
# WAN Port
# Number: 1 to 65535
P151 =

# LAN IP
# String: ipaddress 
P159 =

# LAN Port
# Number: 1 to 65535
P167 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P175 =

#############  Choice 3 ####################################
# WAN Port
# Number: 1 to 65535
P152 =

# LAN IP
# String: ipaddress 
P160 =

# LAN Port
# Number: 1 to 65535
P168 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory  
P176 =

#############  Choice 4 ####################################
# WAN Port
# Number: 1 to 65535
P153 =

# LAN IP
# String: ipaddress 
P161 =

# LAN Port
# Number: 1 to 65535
P169 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory
P177 =

#############  Choice 5 ####################################
# WAN Port
# Number: 1 to 65535
P154 =

# LAN IP
# String: ipaddress 
P162 =

# LAN Port
# Number: 1 to 65535
P170 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P178 =

#############  Choice 6 ####################################
# WAN Port
# Number: 1 to 65535
P155 =

# LAN IP
# String: ipaddress 
P163 =

# LAN Port
# Number: 1 to 65535 
P171 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P179 =

#############  Choice 7 ####################################
# WAN Port
# Number: 1 to 65535
P156 =

# LAN IP
# String: ipaddress 
P164 =

# LAN Port
# Number: 1 to 65535
P172 =

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P180 =

#############  Choice 8 ####################################
# WAN Port
# Number: 1 to 65535
P157 = 

# LAN IP
# String: ipaddress 
P165 = 

# LAN Port
# Number: 1 to 65535
P173 = 

# Protocol.  0 - UDP Only, 1 - TCP Only, 2 - TCP and UDP.
# Number: 0,1,2
# Mandatory 
P181 = 


##############################################################################
##  Network Settings/OpenVPN® Settings                                      ##
##############################################################################

# OpenVPN® Enable. 0 - No, 1 - Yes。 Default is 0.
# Number: 0, 1  
# Mandatory
P7050 = 0

# OpenVPN® Server Address.
# String
# Maximum Length: 64
P7051 = 

# OpenVPN® Port. Default is 1194.
# Number: 1 to 65535.
P7052 = 1194

# OpenVPN® Server Secondary Address.
# String: MaxLength: 253 characters
P22597=

# OpenVPN® Secondary Port. Default is 1194.
# Number: 1 - 65535
# Mandatory
P22598= 1194

# Randomly Select Server. 0 – No, 1 – Yes Default is 0.
# Number: 0,1
# Mandatory
P22599= 0

# OpenVPN® Interface type. tap - TAP, tun - TUN
# String: tap, tun  
# Mandatory
P20714 = tap

# OpenVPN® Transport. udp - UDP, tcp - TCP
# String: udp, tcp  
# Mandatory
P2912 = udp

# Enable OpenVPN® LZO Compression. 0 - No, 1 - Yes
# Number: 0, 1  
# Mandatory
P20716 = 1

# OpenVPN® Encryption.
# String: BF-CBC - BF-CBC 128 bit default key (variable) Default; DES-CBC - DES-CBC 64 bit default key (fixed); RC2-CBC - RC2-CBC 128 bit default key (variable);DES-EDE-CBC - DES-EDE-CBC 128 bit default key (fixed);
#		  DES-EDE3-CBC - DES-EDE3-CBC 192 bit default key (fixed); DESX-CBC - DESX-CBC 192 bit default key (fixed); RC2-40-CBC - RC2-40-CBC 40 bit default key (variable);CAST5-CBC - CAST5-CBC 128 bit default key (variable);
#		  RC2-64-CBC - RC2-64-CBC 64 bit default key (variable); AES-128-CBC - AES-128-CBC 128 bit default key (fixed); AES-192-CBC - AES-192-CBC 192 bit default key (fixed);AES-256-CBC - AES-256-CBC 256 bit default key (fixed)
# Mandatory
P20717 = BF-CBC

# OpenVPN® Digest. 
# String: SHA1 - SHA1 Default; MD5 - MD5; RSA-MD5 - RSA-MD5; RSA-SHA1 - RSA-SHA1; DSA-SHA1-old - DSA-SHA1-old; DSA-SHA1 - DSA-SHA1; RSA-SHA1-2 - RSA-SHA1-2;
#		  DSA – DSA; RIPEMD160 - RIPEMD160; RSA-RIPEMD160 - RSA-RIPEMD160; MD4 - MD4; RSA-MD4 - RSA-MD4; ecdsa-with-SHA1 - ecdsa-with-SHA1; RSA-SHA256 - RSA-SHA256;
#         RSA-SHA384 - RSA-SHA384; RSA-SHA512 - RSA-SHA512; RSA-SHA224 - RSA-SHA224; SHA256 - SHA256; SHA384 - SHA384; SHA512 - SHA512; SHA224 - SHA244; Whirlpool - whirlpool
# Mandatory
P20725 = SHA1 

# OpenVPN® Username
P8394 = 

# OpenVPN® Password
P8395 = 

# OpenVPN® CA
# String
# Maximum Length: 8192
P9902 =

# OpenVPN® Certificate
# String
# Maximum Length: 8192
P9903 =

# OpenVPN® Client Key
# String
# Maximum Length: 8192
P9904 =

# OpenVPN® Client Key Password
# String
# Maximum Length: 64
P20715 =

# OpenVPN® Additional Options.
# String: Max Length 2048 characters.
P8460= 


##############################################################################
##  Network Settings/Advanced Settings/Advanced Settings                    ##
##############################################################################

# Enable LLDP. 0 - No, 1 - Yes. Default is 1.
# Numnber: 0,1
# Mandatory
P1684=1

# LLDP TX Interval. Default is 60.
# Numnber: 1 - 3600
# Mandatory
P22122=60

# Enable LLDP. 0 - No, 1 - Yes. Default is 1.
# Numnber: 0,1
# Mandatory
P22119=1

# Layer 2 QoS. 
#802.1Q/VLAN Tag (VLAN classification for RTP)
# Number: 0 to 4094
# Mandatory
P51=0

# Layer 2 QoS. 
# SIP 802.1p priority value (0 - 7)
# Number: 0 to 7
# Mandatory
P5038=0

# Layer 2 QoS. 
# RTP 802.1p priority value (0 - 7)
# Number: 0 to 7
# Mandatory
P5042=0

# Use DNS to detect network connectivity
# Number: 0, 1
# 0 - No, 1 - Yes (default is No)
P1564=0

# Use ARP to detect network connectivity. 0 - NO, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P8512 = 1

##########################
## Firewall settings    ##
##########################

# Black List for WAN Side Port
# Number: 0 to 65535
P28115 = 

##############################################################
##  Network Settings/ Advanced Settings/Static DNS Cache    ##
##############################################################

### NAPTR ###
# NAPTR DNS Cache Name. 
# String: Max length 512 characters.
#P93000=
#P93020=
#P93040=
#P93060=
#P93080=
#P93100=
#P93120=
#P93140=
#P93160=
#P93180=
#P93200=
#P93220=
#P93240=
#P93260=
#P93280=
#P93300=
#P93320=
#P93340=

# NAPTR DNS Cache Time Interval(s). Default is 300.
# Number:300 to 65535
# Mandatory
#P93001=300
#P93021=300
#P93041=300
#P93061=300
#P93081=300
#P93101=300
#P93121=300
#P93141=300
#P93161=300
#P93181=300
#P93201=300
#P93221=300
#P93241=300
#P93261=300
#P93281=300
#P93301=300
#P93321=300
#P93341=300

# NAPTR DNS Cache Order. Default is 0.
# Number:0 to 65535
# Mandatory
#P93002=0
#P93022=0
#P93042=0
#P93062=0
#P93082=0
#P93102=0
#P93122=0
#P93142=0
#P93162=0
#P93182=0
#P93202=0
#P93222=0
#P93242=0
#P93262=0
#P93282=0
#P93302=0
#P93322=0
#P93342=0

# NAPTR DNS Cache Preference. Default is 0.
# Number:0 to 65535
# Mandatory
#P93003=0
#P93023=0
#P93043=0
#P93063=0
#P93083=0
#P93103=0
#P93123=0
#P93143=0
#P93163=0
#P93183=0
#P93203=0
#P93223=0
#P93243=0
#P93263=0
#P93283=0
#P93303=0
#P93323=0
#P93343=0

# NAPTR DNS Cache Replacement
# String
#P93007=
#P93027=
#P93047=
#P93067=
#P93087=
#P93107=
#P93127=
#P93147=
#P93167=
#P93187=
#P93207=
#P93227=
#P93247=
#P93267=
#P93287=
#P93307=
#P93327=
#P93347=

# NAPTR DNS Cache Service. Default is SIP+D2U.
# String:Max length 512 characters.
#P93005=SIP+D2U
#P93025=SIP+D2U
#P93045=SIP+D2U
#P93065=SIP+D2U
#P93085=SIP+D2U
#P93105=SIP+D2U
#P93125=SIP+D2U
#P93145=SIP+D2U
#P93165=SIP+D2U
#P93185=SIP+D2U
#P93205=SIP+D2U
#P93225=SIP+D2U
#P93245=SIP+D2U
#P93265=SIP+D2U
#P93285=SIP+D2U
#P93305=SIP+D2U
#P93325=SIP+D2U
#P93345=SIP+D2U



#################
# SRV Settings ##
#################
# SRV DNS Cache Order Name
# String: Max length 512 characters 
# P93008=
# P93048= 
# P93068= 
# P93088= 
# P93108= 
# P93128= 
# P93148= 
# P93168= 
# P93188= 
# P93208= 
# P93228= 
# P93248= 
# P93268= 
# P93288= 
# P93308= 
# P93328= 
# P93348= 

# SRV DNS Cache Time Interval(s). Default is 300.
# Number: 300 to 65535 
# Mandatory
# P93009= 300
# P93029= 300
# P93049= 300
# P93069= 300
# P93089= 300
# P93109= 300
# P93129= 300
# P93149= 300
# P93169= 300
# P93189= 300
# P93209= 300
# P93229= 300
# P93249= 300
# P93269= 300
# P93289= 300
# P93309= 300
# P93329= 300
# P93349= 300

# SRV DNS Cache Priority. Default is 0.
# Number:0 to 65535
# Mandatory
#P93010=0
#P93030=0
#P93050=0
#P93070=0
#P93090=0
#P93110=0
#P93130=0
#P93150=0
#P93170=0
#P93190=0
#P93210=0
#P93230=0
#P93250=0
#P93270=0
#P93290=0
#P93310=0
#P93330=0
#P93350=0

# SRV DNS Cache Weight. Default is 0.
# Number:0 to 65535
# Mandatory
#P93011=0
#P93031=0
#P93051=0
#P93071=0
#P93091=0
#P93111=0
#P93131=0
#P93151=0
#P93171=0
#P93191=0
#P93211=0
#P93231=0
#P93251=0
#P93271=0
#P93291=0
#P93311=0
#P93331=0
#P93351=0

# SRV DNS Cache Target
# String:
#P93013=0
#P93033=0
#P93053=0
#P93073=0
#P93093=0
#P93113=0
#P93133=0
#P93153=0
#P93173=0
#P93193=0
#P93213=0
#P93233=0
#P93253=0
#P93273=0
#P93293=0
#P93313=0
#P93333=0
#P93353=0

# SRV DNS Cache Port. Default is 0.
# Number:0 to 65535
# Mandatory
#P93012=0
#P93032=0
#P93052=0
#P93072=0
#P93092=0
#P93112=0
#P93132=0
#P93152=0
#P93172=0
#P93192=0
#P93212=0
#P93232=0
#P93252=0
#P93272=0
#P93292=0
#P93312=0
#P93332=0
#P93352=0

#####################
# A Record Settings #
#####################
# A DNS Cache Name。
# String: Max length is 512 characters 
# P93014= 
# P93034= 
# P93054= 
# P93074= 
# P93094= 
# P93114= 
# P93134=
# P93154=
# P93174= 
# P93194= 
# P93214= 
# P93234= 
# P93254= 
# P93274= 
# P93294= 
# P93314= 
# P93334= 
# P93354= 

# A DNS Cache Time Interval(s). Default is 300.
# Number: 300 to 65535 
# Mandatory
# P93015=300 
# P93035=300 
# P93055=300 
# P93075=300 
# P93095=300 
# P93115=300 
# P93135=300 
# P93155=300 
# P93175=300 
# P93195=300 
# P93215=300 
# P93235=300 
# P93255=300 
# P93275=300 
# P93295=300 
# P93315=300 
# P93335=300 
# P93355=300 

# A DNS Cache IP Address
# String:
# P93016= 
# P93036= 
# P93056= 
# P93076= 
# P93096= 
# P93116= 
# P93136= 
# P93156= 
# P93176= 
# P93196= 
# P93216= 
# P93236= 
# P93256= 
# P93276= 
# P93296= 
# P93316= 
# P93336= 
# P93356= 


##############################################################################
##  Maintenance/Upgrade                                                     ##
##############################################################################
##############################################################################
##  Maintenance/Upgrade/Firmware                                            ##
##############################################################################

############################
##  Upgrade via Network   ##
############################
# Firmware Upgrade via. 0 - TFTP, 1 - HTTP, 2 - HTTPS, 3 - FTP, 4 - FTPS. Default is 2.
# Number: 0, 1, 2, 3, 4
# Mandatory
P6767=2

# Firmware Server Path. Default is fm.grandstream.com/gs
# Server address
P192=fm.grandstream.com/gs

# Firmware Server Username
# String: Max length 40 characters.
P6768=

# Firmware Server Password
# String: Max length 40 characters.
P6769=

# Firmware File Prefix
# String: Max length 32 characters.
P232=

# Firmware File Postfix
# String: Max length 32 characters.
P233=

##############################################################################
##  Maintenance/Upgrade/Config File                                            ##
##############################################################################
##############################
##  Configure via Network   ##
##############################

# Config Upgrade via. 0 - TFTP, 1 - HTTP, 2 - HTTPS, 3 - FTP, 4 - FTPS. Default is 2.
# Number: 0, 1, 2, 3, 4
# Mandatory
P212=2

# Config Server Path. Default is fm.grandstream.com/gs
# Server address; 
P237=fm.grandstream.com/gs

# Config Server Username
# String: Max length 40 characters.
P1360=

# Config Server Password
# String: Max length 40 characters.
P1361=

# XML Config File Password
# String; between ascii values 33 and 126
# Mandatory
P1359= 

# Config File Prefix
# String: Max length 32 characters.
P234=

# Config File Postfix
# String: Max length 32 characters.
P235=

# Authenticate Conf File. 0 - No, 1 - Yes. Default is 0.
# If set to Yes, preconfigured files will be authenticated before acceptance
# Number: 0, 1 
# Mandatory
P240=0

# Always Authenticate before Challenge. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1 
# Mandatory
P20713=0

##############################################################################
##  Maintenance/Upgrade/Provision                                           ##
##############################################################################

# Allow DHCP Option 43 or 66 or 160 to Override Server. 0 - No, 1 - Yes. Default is 1.
# When enabled, when the DHCP option 43 and 66 values are configured in the LAN, this value will be used as the upgrade server and configuration file server path used by the phone.
# Number: 0, 1
# Mandatory
# Reboot required
P145=1

# Auto Provision. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P1414=1

# Enable using tags in URL. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P8609=0

# Additional DHCP Option. 0 – None, 1 – Option 150. Default is 0.
# Number:0,1
# Mandatory
P8337=0

######################
# Automatic Upgrade  #
######################

# Automatic Upgrade. 0 - No, 1 - Check at a Period of Time, 2 - Check Every Day, 3 - Check Every Week. Default is 0.
# Number: 0, 1, 2, 3
# Mandatory
P22296=0

# Automatic Upgrade: Every () minutes. Default is 10080 minites (7 days).
# Number: 30 to 5256000
# Mandatory
P193=10080

# Automatic Upgrade: Every day sart hour(0-23). Default is 1.
# Number: 0 to 23
# Mandatory
P285=1

# Automatic Upgrade: Every day end hour (0-23). Default is 22.
# Number: 0 to 23
# Mandatory
P8459 = 22

# Automatic Upgrade. Weekly on day (0-6). Default is 1.
# Number: 0 to 6
# Mandatory
P286=1

# Randomized Automatic Upgrade. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P8458 = 0 

# FFirmware Upgrade and Provisioning. Default is 0.
# 0 = Always Check for New Firmware at Boot up
# 1 = Check New Firmware only when F/W pre/suffix changes 
# 2 = Always Skip the Firmware Check
# Number: 0, 1, 2
# Mandatory
P238=0

######################
# Config Provision   #
######################

# Download and Process All Available Config File. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P8467=0

##############################################################################
##  Maintenance/Upgrade/Advanced Settings                                   ##
##############################################################################

# Validate Hostname in Certificate. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P22030=0

# Configuration File Types Allowed. 47 - All, 46 - XML only. Default is 47.
# Number: 46, 47  
# Mandatory
P8601= 47

# Enable SIP NOTIFY Authentication. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P4428=0

# Validate Server Certificates. 0 - No, 1 - Yes, default is Yes. Need to reboot the device upon change the value
# Number: 0, 1
# Mandatory
P8463=0

##############################################################################
##  Maintenance/System Diagnosis/Syslog                                                 ##
##############################################################################

# Syslog Server.
# String: Serveraddress
# Max length is 64 characters
P207=

# Syslog Level (Default setting is NONE)
# 0 - NONE, 1 - DEBUG, 2 - INFO, 3 - WARNING, 4 - ERROR, 5 - EXTRA DEBUG
# Number: 0, 1, 2, 3, 4, 5
# Mandatory
P208=0

# Syslog Protocol. 0 – UDP, 1 – SSL/TLS. 
# Number: 0, 1  
# Mandatory
P8402=0 

# Syslog Header Format. 0 – Default, 1 – RFC3164 Compliant. Default is 0.
# Number: 0,1
# Mandatory
P8723=

# Send SIP Log. 0 - No, 1 - Yes. (If set to yes, The unit will replicate the received and send SIP packets on the syslog)
# Number: 0, 1
# Mandatory
P1387=0

##############################################################################
##  Maintenance/System Diagnosis/Debug                                      ##
##############################################################################
# Ethernet Capture
# With Secret Key Information.0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P22419=0

#############################################################################
##  Maintenance/System Diagnosis/GR909                                     ##
##############################################################################
# Test To Run. Default is 0.
# 0 - No Test Selected
# 1 - Hazardous Potential Test
# 2 - Foreign Electromotive Forces Test
# 4 - Resistive Faults Test
# 8 - Receiver Offhook Test
# 32 - Ringer Equivalent Number Test
# Number: 0,1,2,4,8,32
# Mandatory
#P5054= 0

# FXS Line. 0 - Line 1, 1 - Line 2, 2 - Line 3, 3 - Line 4, 4 0 Line 5, 5 - Line 6, 6- Line 7, 7 - Line 8. Default is 0.
# HT812V2 only has Line 1-2, HT814V2 only has Line 1-4, HT818V2 has Line 1-8
# Number: 0,1,2,3,4,5,6,7
# Mandatory
# P5055= 0

# Run Interval. Default is 120. 
# Number: 0 to 604800. 0 indicates no execution
# Mandatory
#P5056= 120

##############################################################################
##  Maintenance/System Diagnosis/File Management                            ##
##############################################################################
##############################################################################
##  Maintenance/System Diagnosis/File Management/CRD Records                ##
##############################################################################
###################################
##      CDR File Settings        ##
###################################
# CDR File Option. 0 - Keep, 1 - Overwrite, 2 - Disabled. Default is 1.
# Number: 0, 1, 2
# Mandatory 
P8534=1

##############################################################################
##  Maintenance/System Diagnosis/File Management/SIP Messages               ##
##############################################################################
###################################
## SIP Messages File Settings    ##
###################################
# SIP Messages File Option. 0 - Keep, 1 - Overwrite. Default is 1.
# Number: 0, 1
# Mandatory 
P8535=1

##############################################################################
##  Maintenance/System Diagnosis/Device Manager                             ##
##############################################################################
#Automatic Reboot. 0 - No, 1 - Reboot every day, 2 - Reboot every week, 3 - Reboot every month. Default is 0.
#Number: 0,1,2,3
#Mandatory
P21929=0

#Automatic Reboot: Reboot at (0-23) o'clock every day. Default is 1. 
#Number: 0-23
#Mandatory
P21930=1

#Automatic Reboot: Reboot on day (0-6) every week. Default is 1.
#Number: 0-6
#Mandatory
P21931=1

#Automatic Reboot: Reboot on day (1-31) every month. Default is 1.
#Number: 1-31
#Mandatory
P28118=1

##############################################################################
##  Port Settings/FXS Profile                                               ##
##############################################################################
##############################################################################
##  Port Settings/FXS Profile/General Settings                              ##
##############################################################################

#########################
# Account Registration  #
#########################

# Profile Active. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P271=1

# Primary SIP Server
# Server address
P47= 

# Failover SIP Server
# Server address
P967=

# Prefer Primary SIP Server. 0 - No, 1 - Will register to Primary Server if Failover registration expires,
# 2 - Will register to Primary Server if Primary Server responds, need to enable SIP OPTIONS/NOTIFY Keep Alive. Default is 0.
# Number: 0,1,2
# Mandatory
P4567=0

# Outbound Proxy
# Server address
P48= 

# Backup Outbound Proxy
# Server address
P2333=

# Prefer Primary Outbound Proxy. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P28096=0

# From Domain
# String
P8617=

# Allow DHCP Option 120 to Override SIP Server.  0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
# Required reboot
P1411=0

# Tel URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled
# Number: 0, 1, 2
# Mandatory
P63=0

#####################
# Network Settings  #
#####################

#Layer 3 QoS:SIP DSCP (Diff-Serv value in decimal, default 26)
P5046=26

#Layer 3 QoS:RTP DSCP (Diff-Serv value in decimal, default 46) 
P5050=46

# DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP.
# Number: 0, 1, 2, 3
# Mandatory
P103=0


# DNS SRV Failover Mode. 0 – Default, 1 – Saved one until TTL, 2 - Saved one until no response
# Number: 0, 1, 2 
# Mandatory
P26040=0

# Failback Timer
# Number: 60-64800
# Mandatory
P60056 = 60 

# Maximum Number of SIP Request Retries. Default is 2.
# Number: 1-10
# Mandatory
P60055 = 2 

# Register Before DNS SRV Failover. 0 – No, 1 – Yes
# Number: 0, 1 
# Mandatory
P29095=0

# Primary IP
# String
# Maximum Length: 15
P2308= 

# Backup IP1
# String
# Maximum Length: 15
P2309= 

# Backup IP2
# String
# Maximum Length: 15
P2310= 

# NAT Traversal. 0 - No, 1 - STUN, 2 - Keep-Alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0.
# Number: 0, 1, 2, 3, 4, 5
# Mandatory
P52=0

# Use NAT IP (used in SIP/SDP message if specified)
# IP Address
P101=

# Proxy-Require 
# IP Address
P197=

##########################################################################
##  Port Settings/FXS Profile/SIP Settings                              ##
##########################################################################

#######################
# SIP Basic Settings  #
#######################

# SIP Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P31=1

# SIP Transport 0 - UDP, 1 - TCP, 2 - TLS
# Number: 0, 1, 2
# Mandatory
P130=0

# Unregister On Reboot. 0 - No, 1 - All, 2 - Instance. Default is 0.
# Number: 0,1,2
# Mandatory
P81=0

# Outgoing call without Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P109=1

# Register Expiration (in minutes. default 1 hour, max 45 days)
# Number: 1 to 64800
# Mandatory
P32=60

# Re-Register before Expiration. Default is 0
# Number: 0 to 64800
# Mandatory
P2330=0 

# SIP Registration Failure Retry Wait Time, in seconds. Between 1-3600, default is 20
# Number: 1 to 3600
# Mandatory
P138=20

# SIP Registration Failure Retry Wait Time upon 403 Forbidden, in seconds. Between 1-3600, default is 1200, 0 means stop retry registration upon 403 response
# Number: 1 to 3600
# Mandatory
P26002=1200

# Port Voltage Off upon no SIP Registration or SIP Registration Failure. Default is 0.
# Number: 0 - 60. (0 means the port voltage is never turned off)
# Mandatory
P28756=0

# Delay Time of Port Voltage Off Timer Since Boot. Default is 0.
# Number: 0 - 60.
# Mandatory
P28784=0

# Enable SIP OPTIONS/NOTIFY Keep Alive. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2397=0

# SIP OPTIONS/NOTIFY Keep Alive Interval, in seconds. Between 1-64800, default is 30
# Number: 1 to 64800
# Mandatory
P2398=30

# SIP OPTIONS/NOTIFY Keep Alive Max Lost, Number of max lost packets for SIP OPTIONS Keep Alive before re-registration. Between 3-10, default is 3
# Number: 3 to 10
# Mandatory
P2399=3

# SUBSCRIBE for MWI. Default is 0.
# 0 - No, do not send SUBSCRIBE for Message Waiting Indication 
# 1 - Yes, Yes, send periodical SUBSCRIBE for Message Waiting Indication
# Number: 0, 1
# Mandatory
P99=0

# Subscribe Retry Wait Time upon 403 Forbidden. Default is 0.
# Number: 0-10080 (max 7 days)
# Mandatory
#P60068=0


# Local SIP port (default 5060)
# Number: 1 to 65535
# Mandatory
P40=5060

# Use Random SIP Port. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P20501=0


# Hold Target Before Refer. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P26003=1

# Refer-To Use Target Contact. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P135=0

# Remove OBP from Route Header. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4562=0

# Support SIP Instance ID. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P288=1

# Support outbound. 0 - No, 1 Yes.Default is 0.
# Number: 0,1
# Mandatory
P60081=0

# Support GRUU. 0 - No, 1 Yes.Default is 0.
# Number: 0,1
# Mandatory
P60080=0

# SIP URI Scheme When Using TLS. 0 - sip, 1 - sips.
# Number: 0, 1
# Mandatory
P2329=1

# Use Actual Ephemeral Prot in Contact with TCP/TLS. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2331=0

# Use Request Routing ID in SIP INVITE Header.0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4891=0


# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2338=0

# Use P-Preferred-Identity Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2339=0

# Use P-Access-Network-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26058 = 1

# Use P-Emergency-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26059 = 1

# Use P-Asserted-Identity Header. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P29098 = 0

# SIP REGISTER Contact Header Uses. 0 – LAN Address, 1 – WAN Address. Default is 0.
# Number: 0, 1  
# Mandatory
P4437 = 0

# Caller ID Fetch Order. 0 - Auto, 1 - Disable, 2 - From Header. Defaut is 0.
# Number: 0, 1, 2
# Mandatory
P2324=0

# SIP T1 Timeout. RFC 3261 T1 value (RTT estimate)
# 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default 50.
# Number: 50, 100, 200, 400, 800
# Mandatory
P209=50

# SIP T2 Interval. RFC 3261 T2 value. The maximum retransmit interval for non-INVITE requests and INVITE responses.
# 200 - 2 sec, 400 - 4 sec, 800 - 8 sec, 1600 - 16 sec, 3200 - 32 sec. Default 400.
# Number: 200, 400, 800, 1600, 3200
# Mandatory
P250=400

# SIP Timer D (0 - 64 seconds. Default 0) 
# Number: 0~64
# Mandatory
P2387=0


# Enable Multiple m line in SDP. 0 - Yes, 1 - No. Default is 1.
# Number: 0,1
# Mandatory
P137=1


# Enable 100rel. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P272=0

# Add Auth Header On Initial REGISTER. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2359 = 0

# Enable Call Waiting Alert-Info in 180 Ringing Response . 0 - No, 1 - Yes
# Number: 0, 1  
# Mandatory
P60064 = 0 


# SIP User-Agent.
# String
P29071= 

# Use SIP User-Agent Postfix
P4834=

# MAC in User-Agent. 0 - No, 1 - Yes except REGISTER, 2.- Yes to all SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
# P26061 = 0

# Use MAC Header. 0 - No, 1 - REGISTER Only, 2.- Yes to all request SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
# P29090 = 0

#######################
##  Session Timer    ##
#######################

# Enable Session Timer. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2395=1

# Session Expiration (in seconds. default 180 seconds. Allowed value: 90-64800)
# Number: 90-64800
# Mandatory
P260=180

# Minimum SE (in seconds. default 90 seconds, must be lower than or equal to P260)
# Number: 90-64800
# Mandatory
P261=90

# Caller Request Timer (Request for timer when calling) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P262=0

# Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P263=0

# Force Timer (Still use timer when remote party does not support timer) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P264=0

# UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS
# Number: 0, 1, 2
# Mandatory
P266=0

# UAS Specify Refresher. 1 - UAC, 2 - UAS
# Number: 1, 2
# Mandatory
P267=1

# Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P265=0

# When To Restart Session After Re-INVITE received. 0 - Immediately, 1 - After replying 200OK. Default is 0.
# Number: 0,1
# Mandatory
P28744=0

##########################################################################
##  Port Settings/FXS Profile/Codec Settings                            ##
##########################################################################

#######################
##  DTMF Settings    ##
#######################

# Preferred DTMF method. 
# 100 - In-audio, 101 - RFC2833, 102 - SIP INFO
# choice 1
# Number: 100, 101, 102
# Mandatory
P850=101

# choice 2
# Number: 100, 101, 102
# Mandatory
P851=102

# choice 3
# Number: 100, 101, 102
# Mandatory
P852=100

# Force DTMF to be sent via SIP INFO simultaneously
# Support GRUU. 0 - No, 1 Yes.Default is 0.
# Number: 0,1
# Mandatory
P28794=0

# Inband DTMF Duration - Duration. Default is 100.
# Number: 40 to 200 milliseconds
# Mandatory
P28134=100

# Inband DTMF Duration - Inter Duration. Default is 50.
# Number: 40 to 200 milliseconds
# Mandatory
P28138=50

# DTMF Payload Type
# Number: 96 to 127
P79=101

# Inband DTMF Tx Gain. Default is 6.
# Number: -12 - 12.
# Mandatory
P28772=6

# DSP DTMF Detector Duration Threshold - Duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28201=30

# DSP DTMF Detector Duration Threshold - Inter Duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28205=30

# DSP DTMF Detector Min Level. Default is -25.
# Number: -45 – 0
# Mandatory
P28804=-25

# DSP DTMF Detector Snr. Default is 1.
# Number: 0 - 12
# Mandatory
P28808=1

# DSP DTMF Detector Deviation. Default is 25.
# Number: 0 – 25
# Mandatory
P28812=25

# DSP DTMF Detector Twist. Default is 5.
# Number: 0 – 12
# Mandatory
P28816=5

# Enable DTMF Negotiation. 0 - Yes, 1 - No. Default is 0. 
# Number: 0, 1
# Mandatory
P4825=0

# RFC2833 Events Count. Default is 8.
# Number: 0, 2 - 10 (0 means continuous RFC2833 events)
# Mandatory
P28173 = 8

# RFC2833 End Events Count.Default is 3.
# Number: 2 - 10
# Mandatory
P28177 = 3

###########################
##  Preferred Vocoder    ##
###########################

# Preferred Vocoder (in listed order)
# 0 - PCMU, 8 - PCMA, 4 - G.723, 18 - G.729, 2 - G.726-32, 97 - iLBC, 123 - OPUS, 9 - G722.
# Choice 1.
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory 
P57=0

# Choice 2.
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory
P58=8

# Choice 3. 
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory
P59=4

# Choice 4. 
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory
P60=18

# Choice 5. 
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory
P61=2

# Choice 6. 
# Number: 0, 2, 4, 8, 18, 97, 123, 9
# Mandatory
P62=97

# Choice 7. 
# Number: 0, 2, 4, 8, 9， 18, 97, 123
# Mandatory
P46=123

# Choice 8. 
# Number: 0, 2, 4, 8, 9， 18, 97, 123
# Mandatory
P98=9

# Voice Frames per TX
# Number: 1-9
# Mandatory
P37=2

# G723 rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate
# Number: 0, 1
# Mandatory
P49=0

# iLBC Frame Size. 0 - 20ms, 1 - 30ms.
# Number: 0, 1
# Mandatory
P97=0

# Enable OPUS Stereo in SDP. 0 - Yes, 1 - No.Default is 0.
# Number: 0, 1
# Mandatory
P20529=0

# ILBC Payload Type. (between 96 and 127, default is 97).
# Number: 96-127
# Mandatory
P96=97

# OPUS Payload Type. (between 96 and 127, default is 123).
# Number: 96-127
# Mandatory
P2385=123

# Enable Audio RED with FEC. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26073=0

# Audio FEC Payload Type. Default is 121.
# Number: 96-127
# Mandatory
P26074=121

# Audio RED Payload Type. Default is 124.
# Number: 96-127
# Mandatory
P26075=124

# Silence Suppression. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P50=0

# Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4363=0

# FAX Mode. 0 - T.38 (Auto Detect), 1 - Pass Through
# Number: 0, 1
# Mandatory
P228=0

# T.38 Max Bit Rate. 1 -  4800bps, 2 - 9600bps, 3 - 14400bps. Default is 2.
# Number: 1, 2, 3
# Mandatory
P28913=2

# Re-INVITE After Fax Tone Detected. 0 - Disabled, 1 - Enabled.
# Number: 0, 1
# Mandatory
P4416=1

# Re-INVITE Upon CNG Count. Default is 0.
# Numnber: 0 - 6 (0: This feature is disabled)
# Mandatory
P28923=0

# Jitter Buffer Type.  0 - Fixed, 1 - Adaptive
# Number: 0, 1
# Mandatory
P133=1

# Jitter Buffer Length. 0 - Low, 1 - Medium, 2 - High
# Number: 0, 1, 2
# Mandatory
P132=1

# Crypto Life Time
# 0 = Disabled
# 1 = Enabled
# Number: 0, 1
# Mandatory
P2363=1

###########################
##  RTP Setting          ##
###########################
# Local RTP Port. Default is 5004.
# Number: 1024 to 65535 (only the Even numbers between 1024 and 65535)
# Mandatory
P39=5004

# Use Random RTP Port. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P20505=0

# Random RTP Port Range: Min
# Number: 1024 - 65535
P60084=

# Random RTP Port Range: Max
# Number: 1024 - 65535
P60085=

# Symmetric RTP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P291=0

# Enable RTCP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2392=1

# RTP/RTCP Keep Alive On Hold. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28839=0 

# SRTP Mode
# 0 = Disabled
# 1 = Enabled but not forced
# 2 = Enabled and forced
# Number: 0, 1, 2
# Mandatory
P183=0

# SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0.
# Number:0,1,2
# Mandatory
P2383=0

##########################################################################
##  Port Settings/FXS Profile /Analog Signal Line Configuration        ##
##########################################################################

######################################
## Analog signal line configuration ##
######################################

# SLIC Setting.   
# 0 - USA (BELLCORE 600 ohms), 3 - USA 2(BELCORE 600 ohms + 2.16uF), 11 - AUSTRAILA, 5 - CHINA CO, 6 - CHINA PBX, 4 - EUROPEAN CTR21
# 9 - GERMANY, 8 -INDIA/NEW ZEALAND, 2 - JAPAN CO, 7 - JAPAN PBX, 1 - STANDARD 900 omhs, 10 - UK
# Number: 0-11
# Mandatory
P854=0

# Caller ID Scheme.  
# <value=0>  Bellcore/Telcordia (default)
# <value=1>  ETSI-FSK during ringing	
# <value=2>  ETSI-FSK prior to ringing with DTAS
# <value=3>  ETSI-FSK prior to ringing with LR+DTAS
# <value=4>  ETSI-FSK prior to ringing with RP
# <value=5>  ETSI-DTMF during ringing
# <value=6>  ETSI-DTMF prior to ringing with DTAS
# <value=7>  ETSI-DTMF prior to ringing with LR+DTAS
# <value=8>  ETSI-DTMF prior to ringing with RP
# <value=9>  SIN 227 - BT
# <value=10> NTT Japan
# <value=11> DTMF Denmark prior to ringing no DTAS no LR
# <value=12> DTMF Denmark prior to ringing with LR
# <value=13> DTMF Sweden/Finalnd prior to ringing with LR
# <value=14> DTMF Brazil
# Number: 0-14
# Mandatory
P853=0


# Polarity Reversal.  0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P205=0

# Loop Current Disconnect. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P892=0

# Play busy/reorder tone before Loop Current Disconnect. 0 - No, 1 - Yes. Default is 0. 
# Number: 0, 1
# Mandatory
P21925 = 0

# Loop Current Disconnect Duration. In 100 - 10000 milliseconds range, default is 200.
# Number: 100-10000
# Mandatory
P856=200

# Enable Pulse Dialing. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P20521 = 0

# Pulse Dialing Standard. 0 - General Standard, 1 - Swedish Standard
# Number: 0, 1
# Mandatory 
P28165=0

# Enable Hook Flash
# Number: 0, 1
# 0 - No, 1 - Yes, default is Yes
# Mandatory
P4424 = 1

# Hook Flash Timing. In 100-1500 milliseconds range
# minimum
# Number: 100-1500
# Mandatory
P251=300

# maximum
# Number: 100-1500
# Mandatory
P252=1100

# On Hook Timing. (In 40-2000 milliseconds range, default is 400)
# Number: 40-2000
# Mandatory
P833=400

# Gain:
# TX 
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB default,
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P247=0

# RX 
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB,
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB default
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P249=6

# Enable Line Echo Canceller (LEC).  0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P824=0

# Ring Frequency. 20 - 20Hz default, 25 - 25Hz. Default is 20.
# Number: 20, 25
# Mandatory
P4429=0

# Ring Power. 0 - 45Vrms default, 3 - 50Vrms, 4 - 55Vrms. Default is 0.
# Number: 0, 3, 4
# Mandatory
P4234=0

# OnHook DC Feed Current. 0 - 20mA, 2 - 30mA default. Defualt is 30mA.
# Number: 0, 2
# Mandatory
P28192 = 2

##########################################################################
##  Port Settings/FXS Profile/Call Settings                             ##
##########################################################################

# Offhook Auto-Dial Delay (0-60 seconds, default is 0)
# Number: 0 to 60
P4045=0

# No Key Entry Timeout. Default - 4 seconds.
# Number: 1-15
# Mandatory
P85=4

# Early Dial. 0 - No, 1 - Yes (use "Yes" only if proxy supports 484 response)
# Number: 0, 1
# Mandatory
P29=0

# Dial Plan Prefix.(this prefix string is added to each dialed number)
# String; between ascii values 33 and 126
P66=

# Dial Plan
# String: Max length 1024. regex: {[ ]*[#$*:+-.0-9a-zA-Z<=>\[\]^|\\ ]+};
# Mandatory
P4200={ x+ | \+x+ | *x+ | *xx*x+ }

# Use # as Dial Key. 0 - No, 1 - Yes (if set to Yes, "#" will function as the "(Re-)Dial" key)
# Number: 0, 1
# Mandatory
P72=1

# Enable # as Redial Key. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P28147 = 1

################
##  General   ##
################

# RFC2543 Hold. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26062 = 1

# Enable Call-Waiting. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P91=0

# Enable Call-Waiting Caller ID. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P714=0

# Enable Call-Waiting Tone. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P186=0


# Send Anonymous. 0 - No, 1 - Yes  (caller ID will be blocked if set to Yes)
# Number: 0, 1
# Mandatory
P65=0

# Anonymous Call Rejection. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P129=0

# Outgoing Call Duration Limit.  (0-180 minutes, default is 0 (No Limit))
# Number: 0~180
# Mandatory
P4420=0

# Incoming Call Duration Limit. (0-180 minutes, default is 0 (No Limit))
# Number: 0 - 180. (0 is No Limit)
# Mandatory
P28760=0

######################
##  Reminder Tone   ##
######################

# Enable Receiver Offhook Tone. 0 - Yes, 1 - No. Default is 0
# Number: 0, 1
# Mandatory
P4793=1

# Enable Reminder Ring for On-Hold Call. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P4360=0

# Enbale Reminder Ring for DND. 0 - Yes, 1 - No. Default is 1
# Number: 0, 1
# Mandatory 
P29072=1

# Enable Visual MWI. 0 - Yes 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P855=0

# Visual MWI Type. 1 - FSK, 2 - NEON. Default is 1.
# Number: 1, 2
# Mandatory
P4371 = 1

# MWI Tone. 0 - Default, 1 - Special Proceed Indication Tone
# Number: 0, 1  
# Mandatory
P28197 = 0 

######################
##  Reminder Tone   ##
######################
# Transfer on Conference Hangup. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4560=0

# Ringing Transfer. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4820=0

# No Answer Timeout. Allowed range 1-120, in seconds. Default 20 seconds.
# Number: 1-120
# Mandatory
P139=20

######################
##  Hook Flash      ##
######################


# Send Hook Flash Event. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P74=0

# Flash Digit Control. 0 - No, 1 - Yes(Hook Flash will be sent as a DTMF event if set to Yes) 
# Number: 0, 1
# Mandatory
P28080=0

# Callee Flash to 3WC. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P28169 = 0

######################
##  Ring           ##
######################
# Ring Timeout. (0-300, default is 60 seconds)
# Number: 0-300
# Mandatory
P185=60

# Hunting Group Ring Timeout. Default is 20.
# Number: 5-300
# Mandatory
P4330=20

# Hunting Group Type. 0 - Circular, 1- Linear. Default is 0.
# Number: 0,1
# Mandatory
P4395=0

######################
##  Call Display    ##
######################

# Caller ID Display. 0 - Auto, 1 - Disabled, 2 - From Header. Default is 0.
# Number: 0, 1, 2
# Mandatory
P2324=0

# Enable Unknown Caller ID. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28153 = 0

# Replace Beginning '+' with 00 in Caller ID. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P29073 = 0

# Number of Beginning Digits to Strip from Caller ID. Default is 0.
# Number: 0 - 10.
# Mandatory
P29096=0

# Escape '#' as %23 in SIP URI. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P1406 = 0

# Enable Connected Line ID. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P20525=0

# PSTN Access Code. Default is "*00"
# (Key pattern to use PSTN line. Maximum 5 digits. Default is "*00")
# String: Max lengh 5. regex:[0-9*#]*
# Mandatory
P92812 = *00

##########################################################################
##  Port Settings/FXS Profile /Advanced Settings                        ##
##########################################################################
#########################
##  Advanced Settings  ##
#########################
# Conference URI
# String
P2318=

# Special Feature 
# STANDARD = 100, BROADSOFT = 102, CBCOM =108, RNK = 109, HUAWEI = 111, China_Mobile = 113
# ZTE_IMS = 114, PHONEPOWER = 119, TELKOM_SA = 120, VONAGE = 121, Metaswitch = 122, CenturyLink = 124, MTS = 126, Oi_BR = 132
# ROSTELECOM = 133, IZZI = 135, ZOOM = 137, GIBTELECOM = 138.
# Number: 100, 102, 108, 109, 111, 113, 114, 119, 120, 121, 122, 124, 126, 132, 133, 135, 137, 138
# Mandatory
P198=100


#########################
##  Security Settings  ##
#########################

# Allow SIP Factory Reset. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26015 = 0

# Validate Incoming SIP Message . 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4340=0

# Check SIP UserID for incoming INVITE. 0 - No, 1 - Yes (no direct IP calling if Yes)
# Number: 0, 1
# Mandatory
P258=0

# Authenticate incoming INVITE
# Number: 0, 1
# Mandatory
P2346 = 0

# Allow Incoming SIP Messages from SIP Proxy Only. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P243=0

# Authenticate server certificate domain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2311 = 0

# Trusted domain name list.
# Support setting specific domain names and wildcard domain names, wildcard domain names such as # "*.grandstream.com", use "," to separate domain names.
# String
P60082 = 0

# Authenticate server certificate chain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2367 = 0

##########################################################################
##  Port Settings/FXS Profile/Call Features Settings                    ##
##########################################################################

# Enable Call Features. 0 - No, 1 - Yes, 2 - Enable All
# Number: 0, 1, 2
# Mandatory
P191=1

# Reset Call Features. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24199=0

#############
##  SRTP   ##
#############

# SRTP Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24060=1

# Enable SRTP. 
# Number
# Mandatory
P24001=16

# Disable SRTP.
# Number
# Mandatory
P24002=17 

# SRTP per call Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24061=1

# Enable SRTP per call. 
# Number
# Mandatory
P24003=18

# Disable SRTP per call.
# Number
# Mandatory
P24004=19

###########
##  CID  ##
###########

# CID Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24062=1

# Enable CID. 
# Number
# Mandatory
P24006=31

# Disable CID.
# Number
# Mandatory
P24005=30

# CID per call Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24065=1

# Enable CID per call. 
# Number
# Mandatory
P24019=82

# Disable CID per call.
# Number
# Mandatory
P24010=67

######################
##  Calling Feature ##
######################

# Direct IP Calling Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24063=1

# Direct IP Calling. 
# Number
# Mandatory
P24007=47

# CW Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24064=1

# Enable CW. 
# Number
# Mandatory
P24009=51

# Disable CW.
# Number
# Mandatory
P24008=50

# CW per call Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24067=1

# Enable CW per call. 
# Number
# Mandatory
P24013=71

# Disable CW per call.
# Number
# Mandatory
P24012=70

###########################
##  Call Return Settings ##
###########################

# Call Return Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24066=1

# Call Return. 
# Number
# Mandatory
P24011=69

##############
##  Forward ##
##############

# Unconditional Forward Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24068=1

# Enable Unconditional Forward. 
# Number
# Mandatory
P24014=72 

# Disable Unconditional Forward.
# Number
# Mandatory
P24015=73 

# Busy Forward Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24072=1

# Enable Busy Forward. 
# Number
# Mandatory
P24021=90 

# Disable Busy Forward.
# Number
# Mandatory
P24022=91 

# Delayed Forward Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24073=1 

# Enable Delayed Forward. 
# Number
# Mandatory
P24023=92 

# Disable Delayed Forward.
# Number
# Mandatory
P24024=93 


######################
##  Paging Settings ##
######################

# Paging Feature. 0 - No, 1 - Yes
# Number
# Mandatory
P24069=1 

# Paging
# Number
# Mandatory
P24016=74

##########
##  DND ##
##########

# DND Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24070=1 

# Enable DND. 
# Number
# Mandatory
P24017=78

# Disable DND.
# Number
# Mandatory
P24018=79 

#############################
##  Blind Transfer Feature ##
#############################

# Blind Transfer Feature. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P24071=1

# Enable Blind Transfer. 
# Number
# Mandatory
P24020=87

##########
##  LEC ##
##########

# Disable LEC per call Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24074=1

# Disable LEC per call.
# Number
# Mandatory
P24025=03

######################
# Off-hook Auto Dial #
######################
# Set Offhook Auto-Dial Feature. 0 - No, 1 Yes. Default is 1.
# Number: 0,1
# Mandatory
P24089=1

# Enable set Offhook Auto-Dial. Default is 77.
# String: Number. Max length 2 characters
# Mandatory
P24040=77

######################
##  Registration Id ##
######################

# Play registration id Feature.0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24087=23

# Enable playing registration id
# Number
# Mandatory
P24038=98

#############################
##  Style 3-Way Conference ##
#############################
# Enable Bellcore Style 3-Way Conference. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P24075=0 

# Star Code 3WC Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24075=1 

# Star Code 3WC.
# Number
# Mandatory
P24026=23

############
##  Codec ##
############

# Forced Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24059=1 

# Forced Codec.
# Number
# Mandatory
P24000=02

# PCMU Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24076=1

# PCMU Codec.
# Number
# Mandatory
P24027=7110

# PCMA Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24077=1

# PCMA Codec.
# Number
# Mandatory
P24028=7111 

# G723 Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24078 = 1 

# G723 Codec.
# Number
# Mandatory
P24029 = 723

# G729 Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24079 = 1

# G729 Codec.
# Number
# Mandatory
P24030 = 729

# iLBC Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24084 = 1

# iLBC Codec.
# Number
# Mandatory
P24035 = 7201

# G722 Codec Feature. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P24085=1 

# G722 Codec.
# Number
# Mandatory
P24036 = 722


##########################################################################
##  Port Settings/FXS Profile/Ringtone                                  ##
##########################################################################

######################
## Custom Ring Tone ##
######################

# Custom Ring Tone 1
# 0 - Ring Tone 1, 1 - Ring Tone 2, 2 - Ring Tone 3, 3 - Ring Tone 4, 4 - Ring Tone 5, 
# 5 - Ring Tone 6, 6 - Ring Tone 7, 7 - Ring Tone 8, 8 - Ring Tone 9, 9 - Ring Tone 10
# Number: 0-9
# Mandatory
P870=0

# Custom Ring Tone 1 will be used when the caller is
# String
P871=

# Custom Ring Tone 2
# 0 - Ring Tone 1, 1 - Ring Tone 2, 2 - Ring Tone 3, 3 - Ring Tone 4, 4 - Ring Tone 5, 
# 5 - Ring Tone 6, 6 - Ring Tone 7, 7 - Ring Tone 8, 8 - Ring Tone 9, 9 - Ring Tone 10
# Number: 0-9
# Mandatory
P872=0

# Custom Ring Tone 2 will be used when the caller is
# String
P873=

# # Custom Ring Tone 3
# 0 - Ring Tone 1, 1 - Ring Tone 2, 2 - Ring Tone 3, 3 - Ring Tone 4, 4 - Ring Tone 5, 
# 5 - Ring Tone 6, 6 - Ring Tone 7, 7 - Ring Tone 8, 8 - Ring Tone 9, 9 - Ring Tone 10
# Number: 0-9
# Mandatory
P874=0

# Custom Ring Tone 3 will be used when the caller is
# String
P875=

######################
##  Ring Tone       ##
######################

# Ring Tone 1
# String
P4010=c=2000/4000;

# Ring Tone 2
# String
P4011=c=2000/4000;

# Ring Tone 3
# String
P4012=c=2000/4000;

# Ring Tone 4
# String
P4013=c=2000/4000;

# Ring Tone 5
# String
P4014=c=2000/4000;

# Ring Tone 6
# String
P4015=c=2000/4000;

# Ring Tone 7
# String
P4016=c=2000/4000;

# Ring Tone 8
# String
P4017=c=2000/4000;

# Ring Tone 9
# String
P4018=c=2000/4000;

# Ring Tone 10
# String
P4019=c=2000/4000;

###################################
## Distinctive Call Waiting Tone ##
###################################


# Call Waiting Tone 1 - 3
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
# 0 - Call Waiting Tone 1, 1- Call Waiting Tone 2, 2 - Call Waiting Tone 3, 3 - Call Waiting Tone 4, 4  - Call Waiting Tone 5, 5  - Call Waiting Tone 6, 6  - Call Waiting Tone 7, 8  - Call Waiting Tone 9, 9  - Call Waiting Tone 10     
# Mandatory
P29074 = 0 
P29075 = 0 
P29076 = 0 

# Call Waiting Tone 1 - 3 used if incoming caller ID is
# String Max Length: 64
P29077 = 
P29078 = 
P29079 =

###################################
## Call Waiting Tone             ##
###################################
# Call Waiting Tone. Call Waiting Tone 1-10
# String Max Length: 64
# Mandatory
P29080 = f1=440@-13,c=300/10000; 
P29081 = f1=440@-13,c=300/10000; 
P29082 = f1=440@-13,c=300/10000; 
P29083 = f1=440@-13,c=300/10000; 
P29084 = f1=440@-13,c=300/10000; 
P29085 = f1=440@-13,c=300/10000; 
P29086 = f1=440@-13,c=300/10000; 
P29087 = f1=440@-13,c=300/10000; 
P29088 = f1=440@-13,c=300/10000; 
P29089 = f1=440@-13,c=300/10000;




##############################################################################
##  Port Settings/FXO Profile 1                                             ##
##############################################################################
##############################################################################
##  Port Settings/FXO PROFILE 1/General Settings                            ##
##############################################################################
#########################
# Account Registration  #
#########################
# Profile Active. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P401 = 1

# Primary SIP Server
# Server address
P747 =

# Failover SIP Server
# Server address
P987 = 

# Prefer Primary SIP Server. 0 - No, 1 - Will register to Primary Server if Failover registration expires,
# 2 - Will register to Primary Server if Primary Server responds, need to enable SIP OPTIONS/NOTIFY Keep Alive. Default is 0.
# Number: 0,1,2
# Mandatory
P4568 = 0

# Outbound Proxy
# Server address
P748 =

# Backup Outbound Proxy
# Server address
P2433 = 

#Prefer Primary Outbound Proxy.  0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P28097 = 0

# From Domain
# String
P8618=

# Tel URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled
# Number: 0, 1, 2
# Mandatory
P763 = 0

####################
# Network Settings #
####################
#Layer 3 QoS:SIP DSCP (Diff-Serv value in decimal, default 26)
P5047=26

#Layer 3 QoS:RTP DSCP (Diff-Serv value in decimal, default 46) 
P5051=46

# DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP.
# Number: 0, 1, 2
# Mandatory
P702 = 0

# DNS SRV Failover Mode. 0 – Default, 1 – Saved one until TTL, 2 - Saved one until no response
# Number: 0, 1, 2 
# Mandatory
P26140=0 

# Failback Timer
# Number: 60-64800
# Mandatory
P60156 = 60

# Maximum Number of SIP Request Retries. Default is 2.
# Number: 1-10
# Mandatory
P60155 = 2 

# Register Before DNS SRV Failover. 0 – No, 1 – Yes
# Number: 0, 1 
# Mandatory
P29195=0

# Primary IP
# String
# Maximum Length: 15
P2408= 

# Backup IP1
# String
# Maximum Length: 15
P2409= 

# Backup IP2
# String
# Maximum Length: 15
P2410= 

# NAT Traversal. 0 - No, 1 - STUN, 2 - Keep-Alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0.
# Number: 0, 1, 2, 3, 4, 5
# Mandatory
P730 = 0

# Use NAT IP (used in SIP/SDP message if specified)
# IP Address
P866 = 

# Proxy-Require 
# IP Address
P792 =

##############################################################################
##  Port Settings/FXO PROFILE 1/SIP Settings                                ##
##############################################################################

######################
# SIP Basic Settings #
######################

# SIP Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P731 = 1

# SIP Transport 0 - UDP, 1 - TCP, 2 - TLS
# Number: 0, 1, 2
# Mandatory
P830 = 0

# Unregister On Reboot. 0 - No, 1 - All, 2 - Instance. Default is 0.
# Number: 0,1,2
# Mandatory
P752 = 0

# Outgoing call without Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P813 = 1

# Register Expiration (in minutes. default 1 hour, max 45 days)
# Number: 1 to 64800
# Mandatory
P732 = 60

# Re-Register before Expiration (in seconds. Default 0 second)
# Number: 0 to 64800
# Mandatory
P2430 = 0

# SIP Registration Failure Retry Wait Time, in seconds. Between 1-3600, default is 20
# Number: 1 to 3600
# Mandatory
P471 = 20 

# Use Random SIP Registration Failure Retry Wait Time. 0 - No, 1 - Yes. Default is 0.
# Numnber: 0,1
# Mandatory
P60196=0

# Random SIP Registration Failure Retry Wait Time Range: Minimum. Default is 60.
# Numnber: 60-600 (seconds)
# Mandatory
P60197=60

# Random SIP Registration Failure Retry Wait Time Range: Maximum. Default is 600.
# Numnber: 60-600 (seconds)
# Mandatory
P60198=60

# SIP Registration Failure Retry Wait Time upon 403 Forbidden, in seconds. Between 1-3600, default is 1200, 0 means stop retry registration upon 403 response
# Number: 0 to 3600
# Mandatory
P26102=1200

# Enable SIP OPTIONS/NOTIFY Keep Alive. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2497=0

# SIP OPTIONS/NOTIFY Keep Alive Interval, in seconds. Between 1-64800, default is 30
# Number: 1 to 64800
# Mandatory
P2498=30

# SIP OPTIONS/NOTIFY Keep Alive Max Lost, Number of max lost packets for SIP OPTIONS Keep Alive before re-registration. Between 3-10, default is 3
# Number: 3 to 10
# Mandatory
P2499=3

# Local SIP port. Default is 6060.
# (default is 6060 for UDP; 6061 for TLS)
# Number: 1 to 65535
# Mandatory
P740 = 6060

# Use Random SIP Port. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P20502 = 0


# Remove OBP from Route Header. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4563 =0

# Support SIP Instance ID. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P489 = 1

# SIP URI Scheme When Using TLS. 0 - sip, 1 - sips.
# Number: 0, 1
# Mandatory
P2429=1

# Use Actual Ephemeral Prot in Contact with TCP/TLS. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2431=0


# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2438=0

# Use P-Preferred-Identity Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2439=0

# Use P-Access-Network-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26158 = 1

# Use P-Emergency-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26159 = 1

# Use P-Asserted-Identity Header. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P29198 = 0

# SIP T1 Timeout. RFC 3261 T1 value (RTT estimate)
# 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default 50.
# Number: 50, 100, 200, 400, 800
# Mandatory
P440 = 50

# SIP T2 Interval. RFC 3261 T2 value. The maximum retransmit interval for non-INVITE requests and INVITE responses.
# 200 - 2 sec, 400 - 4 sec, 800 - 8 sec, 1600 - 16 sec, 3200 - 32 sec. Default 400.
# Number: 200, 400, 800, 1600, 3200
# Mandatory
P441 = 400

# SIP Timer D (0 - 64 seconds. Default 0) 
# Number: 0~64
# Mandatory
P2487 = 0

Enable Multiple m line in SDP. 0 - Yes, 1 - No. Default is 1.
# Number: 0, 1
# Mandatory
P487 = 0

# Enable 100rel. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P435 = 0

# Add Auth Header On Initial REGISTER. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2459 = 0


# SIP User-Agent.
# String
P29171= 

# Use SIP User-Agent Postfix
P4835=

# MAC in User-Agent. 0 - No, 1 - Yes except REGISTER, 2.- Yes to all SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
P26161 = 0

# Use MAC Header. 0 - No, 1 - REGISTER Only, 2.- Yes to all request SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
# P29190 = 0

###################
## Session Timer ##
###################

# Enable Session Timer. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2495=1

# Session Expiration (in seconds. default 180 seconds. Allowed value: 90-64800)
# Number: 90-64800
# Mandatory
P434 = 180

# Minimum SE (in seconds. default 90 seconds, must be lower than or equal to P260)
# Number: 90-64800
# Mandatory
P427 = 90

# Caller Request Timer (Request for timer when calling) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P428 = 0

# Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P429 = 0

# Force Timer (Still use timer when remote party does not support timer) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P430 = 0

# UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS
# Number: 0, 1, 2
# Mandatory
P432 = 0

# UAS Specify Refresher. 1 - UAC, 2 - UAS
# Number: 1, 2
# Mandatory
P433 = 1

# Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P431 = 0

# When To Restart Session After Re-INVITE received. 0 - Immediately, 1 - After replying 200OK. Default is 0.
# Number: 0,1
# Mandatory
P28745=0

# INVITE Ring-No-Answer Timeout (sec). (5-300 seconds. Default 40 seconds)
# Number: 5 - 300.
# Mandatory
P848 = 40


##############################################################################
##  Port Settings/FXO PROFILE 1/Codec Settings                              ##
##############################################################################

#######################
## DTMF Settings     ##
#######################
# Preferred DTMF method. 
# 100 - In-audio, 101 - RFC2833, 102 - SIP INFO
# choice 1 
# Number: 100, 101, 102
# Mandatory
P860 = 101

# choice 2
# Number: 100, 101, 102
# Mandatory
P861 = 102

# choice 3
# Number: 100, 101, 102
# Mandatory
P862 = 100

# Inband DTMF Duration - Duration. Default is 100.
# Number: 40 to 200 milliseconds
# Mandatory
P28135=100

# Inband DTMF Duration - Inter-Duration. Default is 50.
# Number: 40 to 200 milliseconds
# Mandatory
P28139=50

# DTMF Payload Type
# Number: 96 to 127
P779 = 101

# Inband DTMF Tx Gain. Default is 6.
# Number: -12 - 12.
# Mandatory
P28773=6

# DSP DTMF Detector Duration Threshold - Duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28202=30

# DSP DTMF Detector Duration Threshold - Inter-Duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28206=30

# DSP DTMF Detector Min Level. Default is -25.
# Number: -45 – 0
# Mandatory
P28805=-25

# DSP DTMF Detector Snr. Default is 1.
# Number: 0 - 12
# Mandatory
P28809=1

# DSP DTMF Detector Deviation. Default is 25.
# Number: 0 – 25
# Mandatory
P28813=25

# DSP DTMF Detector Twist. Default is 5.
# Number: 0 – 12
# Mandatory
P28817=5

# Enable DTMF Negotiation. 0 - Yes, 1 - No. Default is 0. 
# Number: 0, 1
# Mandatory
P4826 = 0

# RFC2833 Events Count. (between 2 and 10, default is 8, 0 means continuous RFC2833 events)
# Number: 0, 2 to 10.
# Mandatory
P28174=8

# RFC2833 End Events Count. (between 2 and 10, default is 3)
# Number: 2 to 10.
# Mandatory
P28178=3

##########################
## Preferred Vocoder    ##
##########################

# Preferred Vocoder(in listed order)
# 0 - PCMU, 8 - PCMA, 4 - G.723, 18 - G.729, 2 - G.726-32, 97 - iLBC, 123 - OPUS
# Choice 1. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P757 = 0

# Choice 2. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P758 = 8

# Choice 3. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P759 = 4

# Choice 4. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P760 = 18

# Choice 5. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P761 = 2

# Choice 6. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P762 = 97

# Choice 7. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P814=123

# Choice 8. 
# Number: 0, 2, 4, 8, 9， 18, 97, 123
# Mandatory
P815=9

# Voice Frames per TX
# Number: 1-9
# Mandatory
P737=2

# G723 rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate
# Number: 0, 1
# Mandatory
P749 = 0

# iLBC Frame Size. 0 - 20ms(default), 1 - 30ms.
# Number: 0, 1
# Mandatory
P705 = 0

# Disable OPUS Stereo in SDP. 0 - No, 1 - Yes(remove "/2" from offer)
# Number: 0, 1
# Mandatory
P20530=0

# iLBC payload type. (between 96 and 127, default is 97).
# Number: 96 to 127
# Mandatory
P704 = 97

# OPUS Payload Type. (between 96 and 127, default is 120).
# Number: 96-127
# Mandatory
P2485=120

# Enable Audio RED with FEC. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26173=0

# Audio FEC Payload Type. Default is 121.
# Number: 96-127
# Mandatory
P26174=121

# Audio RED Payload Type. Default is 124.
# Number: 96-127
# Mandatory
P26175=124

# Silence Suppression. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P750 = 0

# Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4364 = 0

# FAX Mode. 0 - T.38 (Auto Detect), 1 - Pass Through
# Number: 0, 1
# Mandatory
P710 = 0

# T.38 Max Bit Rate. 1 -  4800bps, 2 - 9600bps, 3 - 14400bps. Default is 2.
# Number: 1, 2, 3
# Mandatory
P28914=2

# Re-INVITE After Fax Tone Detected. 0 - Disabled, 1 - Enabled.
# Number: 0, 1
# Mandatory
P4417=1

# Re-INVITE Upon CNG Count. Default is 0.
# Numnber: 0 - 6 (0: This feature is disabled)
# Mandatory
P28924=0

# Jitter buffer type.  0 - Fixed, 1 - Adaptive
# Number: 0, 1
# Mandatory
P831 = 1

# Jitter buffer length. 0 - Low, 1 - Medium, 2 - High
# Number: 0, 1, 2
# Mandatory
P832 = 1

# SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0.
# Number:0,1,2
# Mandatory
P2483=0

# Crypto Life Time
# 0 = Disabled
# 1 = Enabled
# Number: 0, 1
# Mandatory
P2463=1


###########################
##  RTP Setting          ##
###########################

# Local RTP Port. Default is 6004.
# (even number between 1024-65535, default 6004)
# Number: 1024 to 65535
# Mandatory
P739 = 6004

# Use Random RTP Port. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P20506 = 0

# Random RTP Port Range: Minimum
# Number: 1024 - 65535
P60184=

# Random RTP Port Range: Maximum
# Number: 1024 - 65535
P60185=

# Symmetric RTP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P460 = 0

# Enable RTCP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2492=1

# RTP/RTCP Keep Alive On Hold. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28840=0

# SRTP Mode
# 0 = Disabled
# 1 = Enabled but not forced
# 2 = Enabled and forced
# Number: 0, 1, 2
# Mandatory
P443 = 0

# SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0.
# Number:0,1,2
# Mandatory
P2483=0

##########################################################################
##  Port Settings/FXO Profile 1/Analog Signal Line Configuration        ##
##########################################################################

#################################################################################
# SLIC Setting.   
# 0 - USA (BELLCORE 600 ohms), 3 - USA 2(BELCORE 600 ohms + 2.16uF), 11 - AUSTRAILA, 5 - CHINA CO, 6 - CHINA PBX, 4 - EUROPEAN CTR21
# 9 - GERMANY, 8 -INDIA/NEW ZEALAND, 2 - JAPAN CO, 7 - JAPAN PBX, 1 - STANDARD 900 omhs, 10 - UK
# Number: 0-11
# Mandatory
P864=0

# Caller ID Scheme.  
# <value=0> Bellcore/Telcordia (default)
# <value=1> ETSI-FSK during ringing	
# <value=2> ETSI-FSK prior to ringing with DTAS
# <value=3> ETSI-FSK prior to ringing with LR
# <value=4> ETSI-FSK prior to ringing with RP
# <value=5> ETSI-DTMF during ringing
# <value=6> ETSI-DTMF prior to ringing with DTAS
# <value=7> ETSI-DTMF prior to ringing with LR
# <value=8> ETSI-DTMF prior to ringing with RP
# <value=9> SIN 227 - BT
# <value=10> NTT Japan 
# <value=11> DTMF Denmark prior to ringing no DTAS no LR
# <value=12> DTMF Denmark prior to ringing with LR
# <value=13> DTMF Sweden/Finalnd prior to ringing with LR
# <value=14> DTMF Brazil
# <value=15 >DTMF-FSK Brazil
# Number: 0 to 15
# Mandatory
P863 = 0

# Gain:
# TX 
# <value=24> +12dB
# <value=23> +11dB
# <value=22> +10dB
# <value=21> +9dB
# <value=20> +8dB
# <value=19> +7dB
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB default,
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P248=0

# RX 
# <value=24> +12dB
# <value=23> +11dB
# <value=22> +10dB
# <value=21> +9dB
# <value=20> +8dB
# <value=19> +7dB
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB default
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P283=14

# Enable Line Echo Canceller (LEC).  0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P825 = 0

# FSK Caller ID Minimum RX Level(dB). (-96 - 0dB. Default -40dB)
# Range: -96 to 0
# Mandatory
P845 = -40

# FSK Caller ID Seizure Bits. 0 - 800 bits. Default 70.
# Number: 0 to 800
# Mandatory
P846 = 70

# FSK Caller ID Mark Bits. 1 - 800 bits. Default 40.
# Number: 1 to 800
# Mandatory
P847 = 40

# Caller ID Transport Type. 0 = Relay via SIP From, 1 = Relay via SIP P-Asserted-Identity,2 = Send Anonymous, 3 = Disabled, 4 = Relay via SIP P-Preferred-Identity. Default is 0.
# Number: 0, 1, 2, 3, 4
# Mandatory
P839 = 0

# Send Hook Flash To PSTN (If Yes, hook flash will be sent to PSTN upon receiving flash event from RFC2833 or SIP INFO). 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P837 = 1 

# Hook Flash Duration (ms). In 300-1500 milliseconds range.minimum = 300, maximum = 1500, default = 600
# Number: 300 to 1500
# Mandatory
P838 = 600

##############################################################################
##  Port Settings/FXO PROFILE 1/Call Settings                               ##
##############################################################################
######################
##   Dial Setting   ##
######################

# Auto Send DTMF Upon Call Start.
# String: Number: Max Length 64 Characters.
# P28845=0

# Early Dial. 0 - No, 1 - Yes (use "Yes" only if proxy supports 484 response)
# Number: 0, 1
# Mandatory
P729 = 0

# Dial Plan Prefix.(this prefix string is added to each dialed number)
# String
P766 = 

# Dial Plan 
# String: Max lengh 1024. regex: {[ ]*[#$*:+-.0-9a-zA-Z<=>\[\]^|\\ ]+};
P4201 = { x+ | \+x+ | *x+ | *xx*x+ }

# Use # as Dial Key. 0 - No, 1 - Yes (if set to Yes, "#" will function as the "(Re-)Dial" key)
# Number: 0, 1
# Mandatory
P772 = 1

# Enable # as Redial Key. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P28148 = 0

######################
##     General      ##
######################

# Anonymous Call Rejection. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P446 = 0

# Outgoing Call Duration Limit.  (0-180 minutes, default is 0 (No Limit))
# Number: 0~180
# Mandatory
P4421=0

# Incoming Call Duration Limit. (0-180 minutes, default is 0 (No Limit))
# Number: 0~180
# Mandatory
P28761=0

######################
##   Call Transfer  ##
######################

# Flash Digit Control. 0 - No, 1 - Yes(Hook Flash will be sent as a DTMF event if set to Yes) 
# Number: 0, 1
# Mandatory
P28081=0

# Callee Flash to 3WC. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28170 = 0

######################
##       Ring       ##
######################

# Hunting Group Type. 0 - Circular, 1 - Linear
# Number: 0, 1
# Mandatory
P4396=0

##########################
##    Call Display      ##
##########################
# Enable Unknown Caller ID. 0 - Yes, 1 - No. Default is 0.
# Number: 0,1
# Mandatory
P28154 = 0

# Replace Beginning '+' with 00 in Caller ID.0 - No, 1 - Yes
# Number: 0,1
# Mandatory
P29173 = 0

# Escape '#' as %23 in SIP URI. 0 - No, 1 - Yes. Default is 0
# Number: 0, 1
# Mandatory
P4895 = 0

##############################################################################
##  Port Settings/FXO PROFILE 1/Advanced Settings                           ##
##############################################################################

# Special Feature 
# STANDARD = 100, BROADSOFT = 102, CBCOM =108, RNK = 109, HUAWEI = 111, China_Mobile = 113, ZTE_IMS = 114 
# PHONEPOWER = 119, TELKOM_SA = 120, VONAGE = 121, Metaswitch = 122, CenturyLink = 124, MTS = 126, Oi_BR = 132
# ROSTELECOM - 133, IZZI - 135, ZOOM = 137, GIBTELECOM - 138.
# Number: 100, 102, 108, 109, 111, 113, 114, 119, 120, 121, 122, 124, 126, 132, 133, 135, 137, 138
P767 = 100

#########################
##  Security Settings ##
#########################
# Allow SIP Reset. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26115 = 0

# Validate Incoming SIP Message. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4341 = 0

# Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P449 = 0 

# Authenticate incoming INVITE. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P2446 = 0

# Allow Incoming SIP Messages from SIP Proxy Only. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P743 = 0

# Authenticate server certificate domain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2411 = 0

# Trusted domain name list.
# Support setting specific domain names and wildcard domain names, wildcard domain names such as  "*.grandstream.com", use "," to separate domain names.
# String
P60182 =

# Authenticate server certificate chain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2467 = 0

##############################################################################
##  Port Settings/FXO PROFILE 1/FXO Termination                             ##
##############################################################################

# Enable Current Disconnect 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P893 = 1

# Current Disconnect Threshold(ms) (50 - 800 milliseconds. Default 100 milliseconds)
# Number: 50 to 800
# Mandatory
P857 = 100

# Enable PSTN Disconnect Tone Detection. 0 - No, 1 - Yes (If set to yes, the following Tone is used as the disconnect signal)
# Number: 0, 1
# Mandatory
P712 = 0

# Enable Polarity Reversal. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28101 = 0


# Polarity On Answer Delay. Default is 1000.
# Number: 200 to 30000
# Mandatory
P28825=1000

# AC Termination Model. 0 - Country Based, 1 - Impedance Based, 2 - Auto- Detected
# Number: 0, 1
# Mandatory
P899 = 0

# Country Based
#0 - USA, 15 - ARGENTINA, 1 - AUSTRIA, 13 - AUSTRALIA/NEW ZEALAND, 2 - BELGIUM, 16 - BRAZIL, 17 - CANADA, 14 - CHINA, 18 - DENMARK, 3 - FINLAND, 4 - FRANCE, 5 - GERMANY, 6 - GREECE, 19 - INDIA, 20 - INDONESIA, 7 - ITALY
#8 - JAPAN, 21 - MALAYSIA, 22 - MEXICO, 23 - MOROCCO, 24 - NETHERLANDS, 9 - NORWAY, 25 - PERU, 26 - PORTUGAL, 27 - Russia, 28 - Singapore, 10 - SPAIN, 11 - SWEDEN, 29 - SWITZELAND, 12 - UK
# Number: 0 to 28
# Mandatory
P864 = 0

# Impedance Based
#30 - 600R - 600 ohms
#31 - 600C - 600 ohms + 2.16uF
#32 - 900R - 900 ohms
#33 - 900C - 900 ohms + 2.16uF
#34 - COMPLEX1 - 220 ohms + (820 ohms || 115nF)
#35 - COMPLEX2 - 270 ohms + (750 ohms || 150nF)
#36 - COMPLEX3 - 370 ohms + (620 ohms || 310nF)
#37 - COMPLEX4 - 600R, 270 ohms + (750 ohms || 150nF)
#38 - COMPLEX5 - 320 ohms + (1050 ohms || 230nF)
#39 - COMPLEX6 - 350 ohms + (1000 ohms || 210nF)
#40 - COMPLEX7 - 200 ohms + (680 ohms || 100nF)
#41 - COMPLEX8 - 370 ohms + (820 ohms || 110nF)
#42 - COMPLEX9 - 275 ohms + (780 ohms || 115nF)
#43 - COMPLEX10 - 120 ohms + (820 ohms || 110nF)
# Number: 30 to 43
# Mandatory
P849 = 30

# Number of Rings. (1-50, Default 4),(Number of rings for a PSTN incoming call before FXO port answers to accept VoIP number)
# Number: 1 to 50
# Mandatory
P798 = 4

# PSTN Ring Thru FXS. 0-No, 1 - Yes
# Number: 0, 1
# Mandatory
P842 = 1

# PSTN Ring Thru Delay (sec) (1-10sec, Default 4)
# Number: 1 to 10
# Mandatory
P843 = 4

# PSTN Ring Timeout(sec)(2-10 seconds. Default 6 seconds)
# Used to detect PSTN hangup when FXO port is not answered
# Number: 2 to 10
# Mandatory
P3630 = 6

# PSTN Idle Wait Timeout between Outgoing Calls. (0-10 seconds. Default 4 seconds)
# Number: 0-10
# Mandatory
P4356 = 4

# PIN for VoIP-to-PSTN Calls.
# Maximum 8 digits to authorize calling PSTN numbers from VoIP. No default
# String: number 0 - 9. Max Length 8.
P794 = 

# PIN for PSTN-to-VoIP Calls.
# Maximum 8 digits to authorize calling PSTN numbers from VoIP. No default
# String: number 0 - 9. Max Length 8.
P795 = 

# Enable Early Media for VoIP-to-PSTN Calls. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28830=0
##############################################################################
##  Port Settings/FXO PROFILE 1/Channel Dialing                             ##
##############################################################################

# DTMF Digit Length(ms) (40-127 milliseconds, Default 100 milliseconds)
# Number: 40 to 127
# Mandatory
P3300 = 100

# DTMF Dial Pause(ms) (40-127 milliseconds, Default 100 milliseconds)
# Number: 40 to 127
# Mandatory
P3302 = 100

# First Digit Timeout(sec) (1-20 sec., Default 10 seconds)
# Number: 1 to 20
# Mandatory
P840 = 10

# Inter-Digit Timeout(sec) (1-15 sec., Default 4 seconds)
# Number: 1 to 15
# Mandatory
P292 = 4

# Wait for Dial-Tone. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P3303 = 1

# Stage Method(1/2). 1 - One stage dialing, 2 - Two stage dialing
# Number: 1, 2
# Mandatory
P3304 = 2

# Min Delay Before Dial PSTN Number.
# Number: 50 - 65000
# Mandatory
P3206 = 500


##############################################################################
##  Port Settings\FXO Profile 2                                             ##
##############################################################################
##############################################################################
##  Port Settings\FXO Profile 2\General Settings                            ##
##############################################################################
##########################
## Account Registration ##
##########################

# Profile Active. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P501 = 1

# Primary SIP Server
# Server address
P547 =

# Failover SIP Server
# Server address
P997 = 

# Prefer Primary SIP Server. 0 - No, 1 - Will register to Primary Server if Failover registration expires,
# 2 - Will register to Primary Server if Primary Server responds, need to enable SIP OPTIONS/NOTIFY Keep Alive. Default is 0.
# Number: 0,1,2
# Mandatory
P4569 = 0

# Outbound Proxy
# Server address
P548 =

# Backup Outbound Proxy
# Server address
P2533 = 

#Prefer Primary Outbound Proxy.  0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P28098 = 0

# From Domain
# String
P8619=

# Tel URI. 0 - Disabled, 1 - User=Phone, 2 - Enabled
# Number: 0, 1, 2
# Mandatory
P563 = 0

##########################
## Network Settings     ##
##########################

#Layer 3 QoS:SIP DSCP (Diff-Serv value in decimal, default 26)
P5048=26

#Layer 3 QoS:RTP DSCP (Diff-Serv value in decimal, default 46) 
P5052=46 

# DNS Mode. 0 - A Record, 1 - SRV, 2 - NAPTR/SRV, 3 - Use Configured IP.
# Number: 0, 1, 2
# Mandatory
P502 = 0

# DNS SRV Failover Mode. 0 – Default, 1 – Saved one until TTL, 2 - Saved one until no response
# Number: 0, 1, 2 
# Mandatory
P26240=0 

# Failback Timer
# Number: 60-64800
# Mandatory
P60256 = 60

# Maximum Number of SIP Request Retries. Default is 2.
# Number: 1-10
# Mandatory
P60255 = 2 

# Register Before DNS SRV Failover. 0 – No, 1 – Yes
# Number: 0, 1 
# Mandatory
P29295=0

# Primary IP
# String
# Maximum Length: 15
P2508= 

# Backup IP1
# String
# Maximum Length: 15
P2509= 

# Backup IP2
# String
# Maximum Length: 15
P2510= 

# NAT Traversal. 0 - No, 1 - STUN, 2 - Keep-Alive, 3 - UPnP, 4 - Auto, 5 - VPN. Default is 0.
# Number: 0, 1, 2, 3, 4, 5
# Mandatory
P630 = 0

# Use NAT IP (used in SIP/SDP message if specified)
# IP Address
P566 =

# Proxy-Require 
# IP Address
P592 =

##############################################################################
##  Port Settings/FXO PROFILE 2/SIP Settings                                ##
##############################################################################

######################
# SIP Basic Settings #
######################

# SIP Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P531 = 1

# SIP Transport 0 - UDP, 1 - TCP, 2 - TLS
# Number: 0, 1, 2
# Mandatory
P530 = 0

# Unregister On Reboot. 0 - No, 1 - All, 2 - Instance. Default is 0.
# Number: 0,1,2
# Mandatory
P552 = 0

# Outgoing call without Registration. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P513 = 1

# Register Expiration (in minutes. default 1 hour, max 45 days)
# Number: 1 to 64800
# Mandatory
P532 = 60

# Re-Register before Expiration (in seconds. Default 0 second)
# Number: 0 to 64800
# Mandatory
P2530 = 0

# SIP Registration Failure Retry Wait Time, in seconds. Between 1-3600, default is 20
# Number: 1 to 3600
# Mandatory
P571 = 20 

# Use Random SIP Registration Failure Retry Wait Time. 0 - No, 1 - Yes. Default is 0.
# Numnber: 0,1
# Mandatory
P60296=0

# Random SIP Registration Failure Retry Wait Time Range: Minimum. Default is 60.
# Numnber: 60-600 (seconds)
# Mandatory
P60297=60

# Random SIP Registration Failure Retry Wait Time Range: Maximum. Default is 600.
# Numnber: 60-600 (seconds)
# Mandatory
P60298=60

# SIP Registration Failure Retry Wait Time upon 403 Forbidden, in seconds. Between 1-3600, default is 1200, 0 means stop retry registration upon 403 response
# Number: 0 to 3600
# Mandatory
P26202=1200

Enable SIP OPTIONS/NOTIFY  Keep Alive. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2597=0

# SIP OPTIONS/NOTIFY  Keep Alive Interval, in seconds. Between 1-64800, default is 30
# Number: 1 to 64800
# Mandatory
P2598=30

# SIP OPTIONS/NOTIFY  Keep Alive Max Lost, Number of max lost packets for SIP OPTIONS Keep Alive before re-registration. Between 3-10, default is 3
# Number: 3 to 10
# Mandatory
P2599=3

# Local SIP port. Default is 7060.
# (default is 7060 for UDP; 7061 for TLS)
# Number: 1 to 65535
# Mandatory
P640 = 7060

# Use Random SIP Port. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P20503 = 0


# Remove OBP from Route Header. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4564 =0

# Support SIP Instance ID. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P589 = 1

# SIP URI Scheme When Using TLS. 0 - sip, 1 - sips.
# Number: 0, 1
# Mandatory
P2529=1

# Use Actual Ephemeral Prot in Contact with TCP/TLS. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2531=0


# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2538=0

# Use P-Preferred-Identity Header. 0 - Default, 1 - No, 2 - Yes
# Number: 0, 1, 2
# Mandatory
P2539=0

# Use P-Access-Network-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26258 = 1

# Use P-Emergency-Info Header. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P26259 = 1

# Use P-Asserted-Identity Header. 0 – No, 1 – Yes. 
# Number: 0, 1  
# Mandatory
P29298 = 0

# SIP T1 Timeout. RFC 3261 T1 value (RTT estimate)
# 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default 50.
# Number: 50, 100, 200, 400, 800
# Mandatory
P540 = 50

# SIP T2 Interval. RFC 3261 T2 value. The maximum retransmit interval for non-INVITE requests and INVITE responses.
# 200 - 2 sec, 400 - 4 sec, 800 - 8 sec, 1600 - 16 sec, 3200 - 32 sec. Default 400.
# Number: 200, 400, 800, 1600, 3200
# Mandatory
P541 = 400

# SIP Timer D (0 - 64 seconds. Default 0) 
# Number: 0~64
# Mandatory
P2587 = 0


# Enable Multiple m line in SDP.  0 - Yes, 1 - No.
# Number: 0, 1
# Mandatory
P587 = 0

# Enable 100rel. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P535 = 0

# Add Auth Header On Initial REGISTER. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2559 = 0


# SIP User-Agent.
# String
P29271= 

# Use SIP User-Agent Postfix
P4836=

# MAC in User-Agent. 0 - No, 1 - Yes except REGISTER, 2.- Yes to all SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
P26261 = 0

# Use MAC Header. 0 - No, 1 - REGISTER Only, 2.- Yes to all request SIP. Default is 0.
# Number: 0, 1, 2
# Mandatory
P29290 = 0

###################
## Session Timer ##
###################

# Enable Session Timer. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P2595=1

# Session Expiration (in seconds. default 180 seconds. Allowed value: 90-64800)
# Number: 90-64800
# Mandatory
P534 = 180

# Minimum SE (in seconds. default 90 seconds, must be lower than or equal to P260)
# Number: 90-64800
# Mandatory
P527 = 90

# Caller Request Timer (Request for timer when calling) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P528 = 0

# Callee Request Timer (Request for timer when called. i.e. if remote party supports timer but did not request for one) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P629 = 0

# Force Timer (Still use timer when remote party does not support timer) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P664 = 0

# UAC Specify Refresher. 0 - omit, 1 - UAC, 2 - UAS
# Number: 0, 1, 2
# Mandatory
P632 = 0

# UAS Specify Refresher. 1 - UAC, 2 - UAS
# Number: 1, 2
# Mandatory
P533 = 1

# Force INVITE (Always refresh with INVITE instead of UPDATE even when remote party supports UPDATE) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P365 = 0

# When To Restart Session After Re-INVITE received. 0 - Immediately, 1 - After replying 200OK. Default is 0.
# Number: 0,1
# Mandatory
P28746=0

# INVITE Ring-No-Answer Timeout (sec). (5-300 seconds. Default 40 seconds)
# Number: 5 - 300.
# Mandatory
P92961 = 40

##############################################################################
##  Port Settings/FXO PROFILE 2/Codec Settings                              ##
##############################################################################

#######################
## DTMF Settings     ##
#######################


# Preferred DTMF method. 
# 100 - In-audio, 101 - RFC2833, 102 - SIP INFO
# choice 1
# Number: 100, 101, 102
# Mandatory
P560 = 101

# choice 2
# Number: 100, 101, 102
# Mandatory
P561 = 102

# choice 3
# Number: 100, 101, 102
# Mandatory
P562 = 100

# Inband DTMF Duration - Duration. Default is 100.
# Number: 40 to 200 milliseconds
# Mandatory
P28136=100

# Inband DTMF Duration - Inter-Duration. Default is 50.
# Number: 40 to 200 milliseconds
# Mandatory
P28140=50

# DTMF Payload Type
# Number: 96 to 127
P579 = 101

# Inband DTMF Tx Gain. Default is 0.
# Number: -12 - 12.
# Mandatory
P28774=0

# DSP DTMF Detector Duration Threshold - duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28203=30

# DSP DTMF Detector Duration Threshold - inter-duration. Default is 30.
# Number: 20 to 200 milliseconds
# Mandatory
P28207=30

# DSP DTMF Detector Min Level. Default is -25.
# Number: -45 – 0
# Mandatory
P28806=-25

# DSP DTMF Detector Snr. Default is 1.
# Number: 0 - 12
# Mandatory
P28810=1

# DSP DTMF Detector Deviation. Default is 25.
# Number: 0 – 25
# Mandatory
P28814=25

# DSP DTMF Detector Twist. Default is 5.
# Number: 0 – 12
# Mandatory
P28818=5

# Enable DTMF Negotiation. 0 - Yes, 1 - No. Default is 0. 
# Number: 0, 1
# Mandatory
P4827 = 0

#RFC2833 Events Count. (between 2 and 10, default is 8, 0 means continuous RFC2833 events)
# Number: 0, 2 to 10.
# Mandatory
P28175=8

RFC2833 End Events Count. (between 2 and 10, default is 3)
# Number: 2 to 10.
# Mandatory
P28179=3

##########################
## Preferred Vocoder    ##
##########################

# Preferred Vocoder (in listed order)
# 0 - PCMU, 8 - PCMA, 4 - G.723, 18 - G.729, 2 - G.726-32, 97 - iLBC, 123 - OPUS
# Choice 1. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P557 = 0

# Choice 2. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P558 = 8

# Choice 3. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P559 = 4

# Choice 4. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P660 = 18

# Choice 5. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P661 = 2

# Choice 6. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P662 = 97

# Choice 7. 
# Number: 0, 2, 4, 8, 18, 97, 123
# Mandatory
P514=123

# Choice 8. 
# Number: 0, 2, 4, 8, 9， 18, 97, 123
# Mandatory
P515=9

# Voice Frames per TX
# Number: 1-9
# Mandatory
P4593=2

# G723 rate. 0 - 6.3kbps encoding rate, 1 - 5.3kbps encoding rate
# Number: 0, 1
# Mandatory
P4350 = 0

# iLBC Frame Size. 0 - 20ms(default), 1 - 30ms.
# Number: 0, 1
# Mandatory
P505 = 0

# Enable OPUS Stereo in SDP. 0 - Yes 1 - No(remove "/2" from offer)
# Number: 0, 1
# Mandatory
P20531 = 0

# iLBC payload type. (between 96 and 127, default is 97).
# Number: 96 to 127
# Mandatory
P504 = 97

# OPUS Payload Type. (between 96 and 127, default is 120).
# Number: 96-127
# Mandatory
P2585=120

# Enable Audio RED with FEC. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26273=0

# Audio FEC Payload Type. Default is 121.
# Number: 96-127
# Mandatory
P26274=121

# Audio RED Payload Type. Default is 124.
# Number: 96-127
# Mandatory
P26275=124

# Silence Suppression. 0 - No, 1 - Yes.Default is 0. 
# Number: 0, 1
# Mandatory
P550 = 0

# Use First Matching Vocoder in 200OK SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4365 = 0


# FAX Mode. 0 - T.38 (Auto Detect), 1 - Pass Through
# Number: 0, 1
# Mandatory
P510 = 0

# T.38 Max Bit Rate. 1 -  4800bps, 2 - 9600bps, 3 - 14400bps. Default is 2.
# Number: 1, 2, 3
# Mandatory
P28915=2

# Re-INVITE After Fax Tone Detected. 0 - Disabled, 1 - Enabled.
# Number: 0, 1
# Mandatory
P4418=1

# Re-INVITE Upon CNG Count. Default is 0.
# Numnber: 0 - 6 (0: This feature is disabled)
# Mandatory
P28925=0

# Jitter buffer type.  0 - Fixed, 1 - Adaptive
# Number: 0, 1
# Mandatory
P631 = 1

# Jitter buffer length. 0 - Low, 1 - Medium, 2 - High
# Number: 0, 1, 2
# Mandatory
P835 = 1

# Crypto Life Time
# 0 = Disabled
# 1 = Enabled
# Number: 0, 1
# Mandatory
P2563=1

###########################
##  RTP Setting          ##
###########################

# Local RTP port. Default is 7004.
# (even number between 1024-65535, default 7004)
# Number: 1024 to 65535
# Mandatory
P539 = 7004

# Use Random RTP Port. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P20507 = 0

# Symmetric RTP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4691 = 0

# Enable RTCP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P2592=1

# RTP/RTCP Keep Alive On Hold. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28841=0

# SRTP Mode
# 0 = Disabled
# 1 = Enabled but not forced
# 2 = Enabled and forced
# Number: 0, 1, 2
# Mandatory
P543 = 0

# SRTP Key Length. 0 - AES 128&256 bit, 1 - AES 128 bit, 2 - AES 256 bit. Default is 0.
# Number:0,1,2
# Mandatory
P2583=0

##############################################################################
##  Port Settings/FXO PROFILE 2/Analog signal line configuration            ##
##############################################################################
#######################################
## Analog signal line configuration  ##
#######################################

#################################################################################
# SLIC Setting.   
# 0 - USA (BELLCORE 600 ohms), 3 - USA 2(BELCORE 600 ohms + 2.16uF), 11 - AUSTRAILA, 5 - CHINA CO, 6 - CHINA PBX, 4 - EUROPEAN CTR21
# 9 - GERMANY, 8 -INDIA/NEW ZEALAND, 2 - JAPAN CO, 7 - JAPAN PBX, 1 - STANDARD 900 omhs, 10 - UK
# Number: 0-11
# Mandatory
P92845=0

# Caller ID Scheme.  
# <value=0> Bellcore/Telcordia (default)
# <value=1> ETSI-FSK during ringing	
# <value=2> ETSI-FSK prior to ringing with DTAS
# <value=3> ETSI-FSK prior to ringing with LR
# <value=4> ETSI-FSK prior to ringing with RP
# <value=5> ETSI-DTMF during ringing
# <value=6> ETSI-DTMF prior to ringing with DTAS
# <value=7> ETSI-DTMF prior to ringing with LR
# <value=8> ETSI-DTMF prior to ringing with RP
# <value=9> SIN 227 - BT
# <value=10> NTT Japan 
# <value=11> DTMF Denmark prior to ringing no DTAS no LR
# <value=12> DTMF Denmark prior to ringing with LR
# <value=13> DTMF Sweden/Finalnd prior to ringing with LR
# <value=14> DTMF Brazil
# <value=15 >DTMF-FSK Brazil
# Number: 0 to 15
# Mandatory
P663 = 0


# Gain:
# TX
# <value=24> +12dB
# <value=23> +11dB
# <value=22> +10dB
# <value=21> +9dB
# <value=20> +8dB
# <value=19> +7dB 
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB default
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P648=0

# RX
# <value=24> +12dB
# <value=23> +11dB
# <value=22> +10dB
# <value=21> +9dB
# <value=20> +8dB
# <value=19> +7dB
# <value=1> +6dB
# <value=10> +5dB
# <value=2> +4dB
# <value=11> +3dB
# <value=3> +2dB
# <value=12> +1dB
# <value=0> 0dB
# <value=13> -1dB
# <value=4> -2dB
# <value=14> -3dB default
# <value=5> -4dB
# <value=15> -5dB
# <value=6> -6dB
# <value=16> -7dB
# <value=7> -8dB
# <value=17> -9dB
# <value=8> -10dB
# <value=18> -11dB
# <value=9> -12dB
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
# Mandatory
P683=14

# Enable Line Echo Canceller (LEC).  0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P4366 = 0


# FSK Caller ID Minimum RX Level. (-96 - 0dB. Default -40dB)
# Range: -96 to 0
# Mandatory
P92949 = -40

# FSK Caller ID Seizure Bits. 0 - 800 bits. Default 70.
# Number: 0 to 800
# Mandatory
P92953 = 70

# FSK Caller ID Mark Bits. 1 - 800 bits. Default 40.
# Number: 1 to 800
# Mandatory
P92957 = 40

# Caller ID Transport Type. 0 = Relay via SIP From, 1 = Relay via SIP P-Asserted-Identity, 2 = Send Anonymous, 3 = Disable, 4 = Relay via SIP P-Preferred-Identity
# Number: 0, 1, 2, 3, 4
# Mandatory
P92965 = 0

# Send Hook Flash To PSTN (If Yes, hook flash will be sent to PSTN upon receiving flash event from RFC2833 or SIP INFO). 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P92069 = 1 

# Hook Flash Duration (ms). In 300-1500 milliseconds range.minimum = 300, maximum = 1500, default = 600
# Number: 300 to 1500
# Mandatory
P92973 = 600

##############################################################################
##  Port Settings/FXO PROFILE 2/Call Settings                               ##
##############################################################################
##################
## Dial Setting ##
##################

# Auto Send DTMF Upon Call Start.
# Number: Max Length 64 Characters.
# P28846=0

# Early Dial. 0 - No, 1 - Yes (use "Yes" only if proxy supports 484 response)
# Number: 0, 1
# Mandatory
P529 = 0

# Dial Plan Prefix.(this prefix string is added to each dialed number)
# String
P666 = 

# Dial Plan 
# String: Max lengh 1024. regex: {[ ]*[#$*:+-.0-9a-zA-Z<=>\[\]^|\\ ]+}
P4202 = { x+ | \+x+ | *x+ | *xx*x+ }

# Use # as Dial Key. 0 - No, 1 - Yes (if set to Yes, "#" will function as the "(Re-)Dial" key)
# Number: 0, 1
# Mandatory
P572 = 1

# Enable # as Redial Key. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P28149 = 0

##################
##   General    ##
##################
# Anonymous Call Rejection. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P546 = 0

# Outgoing Call Duration Limit.  (0-180 minutes, default is 0 (No Limit))
# Number: 0~180
# Mandatory
P4422=0

# Incoming Call Duration Limit. (0-180 minutes, default is 0 (No Limit))
# Number: 0~180
# Mandatory
P28762=0
#####################
### Call Transfer ###
#####################

# Flash Digit Control. 0 - No, 1 - Yes(Hook Flash will be sent as a DTMF event if set to Yes) 
# Number: 0, 1
# Mandatory
P28082=0

# Callee Flash to 3WC. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28171 = 0

############
## Ring   ##
############

# Hunting Group Type. 0 - Circular, 1 - Linear
# Number: 0, 1
# Mandatory
P4397=0

##################
## Call Display ##
##################

# Enable Unknown Caller ID. 0 - Yes, 1 - No.Default is 0.
# Number: 0,1
# Mandatory
P28155 = 0

# Replace Beginning '+' with 00 in Caller ID.0 - No, 1 - Yes
# Number: 0,1
# Mandatory
P29273 = 0


# Escape '#' as %23 in SIP URI. 0 - Yes, 1 - No. Default is 0.
# Number: 0, 1
# Mandatory
P4896 = 0


##############################################################################
##  Port Settings/FXO PROFILE 2/Advanced  Settings                          ##
##############################################################################

# Special Feature 
# STANDARD = 100, BROADSOFT = 102, CBCOM =108, RNK = 109, HUAWEI = 111, China_Mobile = 113, ZTE_IMS = 114 
# PHONEPOWER = 119, TELKOM_SA = 120, VONAGE = 121, Metaswitch = 122, CenturyLink = 124, MTS = 126, Oi_BR = 132
# ROSTELECOM = 133, IZZI = 135, ZOOM = 137, GIBTELECOM = 138.
# Number: 100, 102, 108, 109, 111, 113, 114, 119, 120, 121, 122, 124, 126, 132, 133, 135, 137, 138
P567 = 100

#######################
## Security Settings ##
#######################

# Allow SIP Factory Reset. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26215 = 0

# Validate Incoming SIP Message. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4342 = 0

# Check SIP User ID for incoming INVITE. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P549 = 0 

# Authenticate incoming INVITE
# Number: 0, 1
# Mandatory
P2546 = 0

# Allow Incoming SIP Messages from SIP Proxy Only. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4043 = 0

# Authenticate server certificate domain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2511 = 0

# Trusted domain name list.
# Support setting specific domain names and wildcard domain names, wildcard domain names such as # "*.grandstream.com", use "," to separate domain names.
# String
P60282 = 0

# Authenticate server certificate chain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
P2567 = 0


##############################################################################
##  Port Settings/FXO PROFILE 2/FXO Termination                             ##
##############################################################################

# Enable Current Disconnect 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P593 = 1

# Current Disconnect Threshold(ms)  (50 - 800 milliseconds. Default 100 milliseconds)
# Number: 50 to 800
# Mandatory
P657 = 100

# Enable PSTN Disconnect Tone Detection 0 - No, 1 - Yes (If set to yes, the following Tone is used as the disconnect signal)
# Number: 0, 1
# Mandatory
P92861 = 0

# Enable Polarity Reversal. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P92805 = 0


# Polarity On Answer Delay. Default is 1000.
# Number: 200 to 30000
# Mandatory
P28825=1000

# AC Termination Model. 0 - Country Based, 1 - Impedance Based, 2 - Auto- Detected
# Number: 0, 1
# Mandatory
P92841 = 0

# Country Based
#0 - USA, 15 - ARGENTINA, 1 - AUSTRIA, 13 - AUSTRALIA/NEW ZEALAND, 2 - BELGIUM, 16 - BRAZIL, 17 - CANADA, 14 - CHINA, 18 - DENMARK, 3 - FINLAND, 4 - FRANCE, 5 - GERMANY, 6 - GREECE, 19 - INDIA, 20 - INDONESIA, 7 - ITALY
#8 - JAPAN, 21 - MALAYSIA, 22 - MEXICO, 23 - MOROCCO, 24 - NETHERLANDS, 9 - NORWAY, 25 - PERU, 26 - PORTUGAL, 27 - Russia, 28 - Singapore, 10 - SPAIN, 11 - SWEDEN, 29 - SWITZELAND, 12 - UK
# Number: 0 to 28
# Mandatory
P92845 = 0

# Impedance Based
#30 - 600R - 600 ohms
#31 - 600C - 600 ohms + 2.16uF
#32 - 900R - 900 ohms
#33 - 900C - 900 ohms + 2.16uF
#34 - COMPLEX1 - 220 ohms + (820 ohms || 115nF)
#35 - COMPLEX2 - 270 ohms + (750 ohms || 150nF)
#36 - COMPLEX3 - 370 ohms + (620 ohms || 310nF)
#37 - COMPLEX4 - 600R, 270 ohms + (750 ohms || 150nF)
#38 - COMPLEX5 - 320 ohms + (1050 ohms || 230nF)
#39 - COMPLEX6 - 350 ohms + (1000 ohms || 210nF)
#40 - COMPLEX7 - 200 ohms + (680 ohms || 100nF)
#41 - COMPLEX8 - 370 ohms + (820 ohms || 110nF)
#42 - COMPLEX9 - 275 ohms + (780 ohms || 115nF)
#43 - COMPLEX10 - 120 ohms + (820 ohms || 110nF)
# Number: 30 to 43
# Mandatory
P92849 = 30

# Number of Rings. (1-50, Default 4),(Number of rings for a PSTN incoming call before FXO port answers to accept VoIP number)
# Number: 1 to 50
# Mandatory
P92925 = 4

# PSTN Ring Thru FXS. 0-No, 1 - Yes
# Number: 0, 1
# Mandatory
P842 = 1

# PSTN Ring Thru Delay   (1-10sec, Default 4)
# Number: 1 to 10
# Mandatory
P92937 = 4

# PSTN Ring Timeout (2-10 seconds. Default 6 seconds)
# Used to detect PSTN hangup when FXO port is not answered
# Number: 2 to 10
# Mandatory
P92977 = 6

# PSTN Idle Wait Timeout between Outgoing Calls. (0-10 seconds. Default 4 seconds)
# Number: 0-10
# Mandatory
P92981 = 4

# PIN for VoIP-to-PSTN Calls.
# Maximum 8 digits to authorize calling PSTN numbers from VoIP. No default
# String: number 0 - 9. Max Length 8.
P92817 = 

# PIN for PSTN-to-VoIP Calls.
# Maximum 8 digits to authorize calling PSTN numbers from VoIP. No default
# String: number 0 - 9. Max Length 8.
P92821 = 

# Enable Early Media for VoIP-to-PSTN Calls. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
# P28831=0

##############################################################################
##  Port Settings/FXO PROFILE 1/Channel Dialing                             ##
##############################################################################

# DTMF Digit Length (40-127 milliseconds, Default 100 milliseconds)
# Number: 40 to 127
# Mandatory
P92905 = 100

# DTMF Dial Pause (40-127 milliseconds, Default 100 milliseconds)
# Number: 40 to 127
# Mandatory
P92909 = 100

# First Digit Timeout (1-20 sec., Default 10 seconds)
# Number: 1 to 20
# Mandatory
P92913 = 10

# Inter-Digit Timeout (1-15 sec., Default 4 seconds)
# Number: 1 to 15
# Mandatory
P492 = 4

# Wait for Dial-Tone. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P92917 = 1

# Stage Method. 1 - One stage dialing, 2 - Two stage dialing
# Number: 1, 2
# Mandatory
P92921 = 2

# Min Delay Before Dial PSTN Number.
# Number: 50 - 65000
# Mandatory
P92901 = 500

##############################################################################
##  Ports                                                                   ##
##############################################################################
########################
# FXS Port Settings ####
########################

# FXS Port 1
# SIP USER ID, Authenticate ID, Authenticate Password, Name, Profile ID (0 - FXS Profile 1)
# Enable Port(0 - No, 1 - Yes, default is Yes)
# Offhook Auto-dial(Set the destination for auto-dial after offhook)

# SIP USER ID
# String Max Length: 64
P4060 =

# Authenticate ID
# String Max Length: 64  
P4090 =

# Authenticate Password
# String Max Length: 64 
# Mandatory 
P4120 = 

# Name
# String Max Length: 64  
P4180 =

# Profile ID
# Number: 0
# Mandatory 
P4150 =

# Request URI Routing ID
# String:
P4669 =


# Enable Port
# Number: 0,1
P4595 = 1

# Off-hook Auto Dial
# String Max Length: 64 
P4210 =

#######################
## FXO Port Settings ##
#######################

# FXO Port 1 - 4 For HT841, FXO Port 1 - 8 For HT881
# SIP USER ID, Authenticate ID, Authenticate Password, Name, Profile ID (1 - FXO Profile 1, 2 - FXO Profile 2), Hunting Group, Request URI Routing ID
# Enable Port(0 - No, 1 - Yes, default is Yes)

# SIP USER ID (Port 1 - 8)
# String Max Length: 64  
P4061 =
P4062 =
P4063 =
P4064 =

P4065 =
P4066 =
P4067 =
P4068 =

# Authenticate ID (Port 1 - 8)
# String Max Length: 64  
P4091 =
P4092 =
P4093 =
P4094 =

P4095 =
P4096 =
P4097 =
P4098 =     

# Authenticate Password (Port 1 - 8)
# String Max Length: 64  
P4121 = 
P4122 =
P4123 =
P4124 =

P4125 =
P4126 =
P4127 =
P4128 =  

# Name (Port 1 - 8)
# String Max Length: 64  
P4181 =
P4182 =
P4183 =
P4184 =

P4185 =
P4186 =
P4187 =
P4188 = 

# Profile ID (Port 1 - 8). 1 - FXO Profile 1, 2 - FXO Profile 2. Default is 1.
# Number: 1,2
# Mandatory
P4151 = 1
P4152 = 1
P4153 = 1
P4154 = 1

P4155 = 1
P4156 = 1
P4157 = 1
P4158 = 1

# Hunting Group. 
# FXO 1: 0 - None, 2 - Active, 3 - 2, 4 - 3, 5 - 4, 6 - 5, 7 - 6, 8 - 7, 9 - 8. Default is 0.
# FXO 2: 0 - None, 1 - 1, 2 - 1, 3 - Active, 4 - 3, 5 - 4, 6 - 5, 7 - 6, 8 - 7, 9 - 8. Default is 0.
# FXO 3: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - Active, 5 - 4, 6 - 5, 7 - 6, 8 - 7, 9 - 8. Default is 0.
# FXO 4: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - 3, 5 - Active, 6 - 5, 7 - 6, 8 - 7, 9 - 8. Default is 0.
# FXO 5: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - 3, 5 - 4, 6 - Active, 7 - 6, 8 - 7, 9 - 8. Default is 0.
# FXO 6: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - 3, 5 - 4, 6 - 5, 7 - Active, 8 - 7, 9 - 8. Default is 0.
# FXO 7: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - 3, 5 - 4, 6 - 5, 7 - 6, 8 - Active, 9 - 8. Default is 0.
# FXO 8: 0 - None, 1 - 1, 2 - 1, 3 - 2, 4 - 3, 5 - 4, 6 - 5, 7 - 6, 8 - 7, 9 - Active. Default is 0.
# Number: 0-9
# Mandatory
P4301 = 0
P4302 = 0
P4303 = 0
P4304 = 0

P4305 = 0
P4306 = 0
P4307 = 0
P4308 = 0

# Request URI Routing ID(Port 1 - 8).
# Number: Max Length 64 Characters.
# P4670=
# P4671=
# P4672=
# P4673=

# P4674=
# P4675=
# P4676=
# P4677=

# Enable Port (Port 1 - 8). 0 - No, 1 - Yes. Default is Yes.
# Number: 0,1
# Mandatory
P4596 = 1
P4597 = 1
P4598 = 1
P4599 = 1

P4600 = 1
P4601 = 1
P4602 = 1
P4603 = 1


# Unconditional Call Forward to PSTN (Port 1 - 8) (FXO Port 1 - 4 For HT841, FXO Port 1 - 8 For HT881)
# String: 0 - 9, * , #. Max Length: 20.
P769=
P92825=
P92826=
P92827=

P92984=
P92985=
P92986=
P92987=

########################################
## Unconditional Call Forward to VOIP ##
########################################

#Unconditional Call Forward to VOIP (Port 1 - 8) (FXO Port 1 - 4 For HT841, FXO Port 1 - 8 For HT881)
# CID
# String Max Length: 64
P3305=
P92829=
P92830=
P92831=

P92988=
P92989=
P92990=
P92991=

# Sip Server
# String
P3306=
P92833=
P92834=
P92835=

P92982=
P92993=
P92994=
P92995=

# Sip Port. Default is 5060.
# Number: 0 - 64.
P3307=5060
P92837=5060
P92838=5060
P92839=5060

P92996=5060
P92997=5060
P92998=5060
P92999=5060

##############################################################################
##  P-value not on WebUI                                                    ##
##############################################################################

# Initial Line Polarity. 0 - Forward, 1 – Reverse. Default is 1.
# Number: 0, 1
# Mandatory
# P28834=0 (FXS)
# P28835=0 (FXO 1)
# P28836=0 (FXO 2)

# Syslog Setting and Internal Logs Protection. 0- No, 1- Yes. The default is 0.
# If set to '1- Yes', syslog settings and internal logs will be saved across a factory reset.
# These pvalues with be protected from factory reset when enabled: 
# P207 Syslog Server
# P208 Syslog Level
# P8402 Syslog Protocol
# P1387 Send SIP Log
# P82307=0





















