#########################################################################################
## Configuration template for HT81x v2 firmware version 1.0.15.1                        ##
#########################################################################################

####################################################################
## Initial Version Firmware HT81x v2 1.0.1.16                     ##
####################################################################

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

# Hunting Group Registration Mode. 0 – Active Port Only, 1 – All Ports. Default is 0.
# Number: 0,1
# Mandatory
P28912=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
# Server address
P30 = pool.ntp.org

# Secondary NTP Server
# Server address
P8333 = 

# 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 Daylight Time)
# <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 Option 2 to Override Time Zone Setting. 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/Ringtone                                                 ##
##############################################################################

# Syntax: 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=

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

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

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

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

# Reorder Tone
# String
# P4003=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=f1=440@-13,c=300/10000;

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

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

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

# Special Condition Tone. 
# String
# Mandatory
P28211=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. Default is 0.
# Number: 0, 1, 2
# Mandatory
P1650 = 0

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

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

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

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

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

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

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

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

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

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

# SSH Idle Timeout. Default is 0.
# Number: 0-86400
# Mandatory
P28163=0

# 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

# Telnet Idle Timeout. Default is 0.
# Number: 0-86400
# Mandatory
P28164 = 0

# 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

# Enable Web/SSH Access. 0 - No, 1 - Yes , 2 - Auto (WAN side access will be rejected if set to No)
# Default is 2 - 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=2

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

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


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

# Minimum TLS Version. 99 - Unlimited, 10 - TLS 1.0, 11 - TLS 1.1, 12 - TLS 1.2, 13 - TLS 1.3. Default is 12.
# Number: 99, 10, 11, 12, 13
# The minimum TLS version must be less than or equal to the maximum TLS version
# Mandatory
P22293=12

# Maximum TLS Version. 99 - Unlimited, 10 - TLS 1.0, 11 - TLS 1.1, 12 - TLS 1.2, 13 - TLS 1.3. Default is 99.
# Number: 99, 10, 11, 12, 13
# The minimum TLS version must be less than or equal to the maximum TLS version
# 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
# Max Length: 8192 characters
P2386 = 

# Trusted CA Certificates B. Need to reboot the device upon change the value.
# String
# Max Length: 8192 characters
P2486 = 

# Trusted CA Certificates C. Need to reboot the device upon change the value.
# String
# Max Length: 8192 characters
P2586 = 

# Trusted CA Certificates D. Need to reboot the device upon change the value.
# String
# Max Length: 8192 characters
P2686 = 

##############################################################
##  System Settings/ Security Settings/ SCEP                ##
##############################################################

########################
##  Basic Settings    ##
########################
# Enable SCEP. 0 - No, 1-Yes. Default is 0.
# Number: 0,1
# Mandatory
P8647=0

# SCEP Server URL.
# String: Maxlength 256 characters. (Must initial with "http://")
P8648=

# CA FingerPrint Information.
# String: Password. Maxlength 256 characters
P8652=

# Challenge Password.
# String: Password. Maxlength 256 characters
P8653=

########################
##  Basic Settings    ##
########################

# Local Public and Private Key Length. 0 – 1024 bit, 1 – 2048 bit, 2 – 3072 bit, 3 – 4096 bit. Default is 2.
# Number: 0,1,2,3
# Mandatory
P8653=2

# The Name of Certificate Applicant.
# String: Maxlength 64 characters
P8655=

# The Country of Certificate Applicant Located. Default is US.
# String: AF - Afghanistan(AF), AX - Aland Islands(AX), AL - Albania(AL), DZ - Algeria(DZ), AS - American Samoa(AS),
# AD - Andorra(AD), AO - Angola(AO), AI - Anguilla(AI), AQ - Antarctica(AQ), AG - Antigua and Barbuda(AG), AR - Argentina(AR), AM - Armenia(AM),
# AW - Aruba(AW), AU - Australia(AU), AT - Austria(AT), AZ - Azerbaijan(AZ), VS - Bahamas(BS), BH - Bahrain(BH), BD - Bangladesh(BD),
# BB - Barbados(BB), BY - Belarus(BY), BE - Belgium(BE), BZ - Belize(BZ), BJ - Benin(BJ), BM - Bermuda(BM), BT - Bhutan(BT),
# BO - Bolivia (Plurinational State of)(BO), BQ - Bonaire, Sint Eustatius and Saba(BQ), BA - Bosnia and Herzegovina(BA), BW - Botswana(BW),
# BV - Bouvet Island(BV), BR - Brazil(BR), IO - British Indian Ocean Territory(IO), BN - Brunei Darussalam(BN), BG - Bulgaria(BG),
# BF - Burkina Faso(BF), BI - Burundi(BI), CV - Cabo Verde(CV), KH - Cambodia(KH), CM - Cameroon(CM), CA - Canada(CA),
# KY - Cayman Islands(KY), CF - Central African Republic(CF), TD - Chad(TD), CL - Chile(CL), CN - China(CN), CX - Christmas Island(CX),
# CC - Cocos (Keeling) Islands(CC), CO - Colombia(CO), KM - Comoros(KM), CG - Congo(CG), CD - Congo (Democratic Republic of the)(CD),
# CK - Cook Islands(CK), CR - Costa Rica(CR), CI - Côte d'Ivoire(CI), HR - Croatia(HR), CU - Cuba(CU), CW - Curaçao(CW), CY - Cyprus(CY),
# CZ - Czechia(CZ), DK - Denmark(DK), DJ - Djibouti(DJ), DM - Dominica(DM), DO - Dominican Republic(DO), EC - Ecuador(EC), EG - Egypt(EG), 
# SV - El Salvador(SV), GQ - Equatorial Guinea(GQ), ER - Eritrea(ER)  EE - Estonia(EE)  ET - Ethiopia(ET)  FK - Falkland Islands (Malvinas)(FK),
# FO - Faroe Islands(FO), FJ - Fiji(FJ), FI - Finland(FI), FR - France(FR), GF - French Guiana(GF), PF - French Polynesia(PF), 
# TF - French Southern Territories(TF), GA - Gabon(GA), GM - Gambia(GM), GE - Georgia(GE), DE - Germany(DE), GH - Ghana(GH), GI - Gibraltar(GI),
# GR - Greece(GR), GL - Greenland(GL), GD - Grenada(GD), GP - Guadeloupe(GP),GU - Guam(GU), GT - Guatemala(GT), GG - Guernsey(GG), GN - Guinea(GN),
# GW - Guinea-Bissau(GW), GY - Guyana(GY), HT - Haiti(HT), HM - Heard Island and McDonald Islands(HM), VA - Holy See(VA), HN - Honduras(HN)
# HK - Hong Kong, China(HK), HU - Hungary(HU), IS - Iceland(IS), IN - India(IN), ID - Indonesia(ID), IR - Iran (Islamic Republic of)(IR), 
# IQ - Iraq(IQ), IE - Ireland(IE), IM - Isle of Man(IM), IL - Israel(IL), IT - Italy(IT), JM - Jamaica(JM), JP - Japan(JP), JE - Jersey(JE), 
# JO - Jordan(JO), KZ - Kazakhstan(KZ), KE - Kenya(KE), KI - Kiribati(KI), KP - Korea (Democratic People's Republic of)(KP), 
# KR - Republic of Korea(KR), KW - Kuwait(KW), KG - Kyrgyzstan(KG), LA - Lao People's Democratic Republic(LA), LV - Latvia(LV), LB - Lebanon(LB), 
# LS - Lesotho(LS), LR - Liberia(LR), LY - Libya(LY), LI - Liechtenstein(LI), LT - Lithuania(LT), LU - Luxembourg(LU), MO - Macao, China(MO),
# MK - Macedonia (the former Yugoslav Republic of)(MK), MG - Madagascar(MG), MW - Malawi(MW), MY - Malaysia(MY), MV - Maldives(MV), ML - Mali(ML), 
# MT - Malta(MT), MH - Marshall Islands(MH),MQ - Martinique(MQ), MR - Mauritania(MR), MU - Mauritius(MU), YT - Mayotte(YT), MX - Mexico(MX),
# FM - Micronesia (Federated States of)(FM), MD - Moldova (Republic of)(MD),MC - Monaco(MC), MN - Mongolia(MN), ME - Montenegro(ME), 
# MS - Montserrat(MS), MA - Morocco(MA), MZ - Mozambique(MZ), MM - Myanmar(MM), NA - Namibia(NA), NR - Nauru(NR), NP - Nepal(NP), 
# NL - Netherlands(NL), NC - New Caledonia(NC), NZ - New Zealand(NZ), NI - Nicaragua(NI), NE - Niger(NE),NG - Nigeria(NG), NU - Niue(NU), 
# NF - Norfolk Island(NF), MP - Northern Mariana Islands(MP), NO - Norway(NO), OM - Oman(OM),  PK - Pakistan(PK), PW - Palau(PW),
# PS - Palestine, State of(PS), PA - Panama(PA), PG - Papua New Guinea(PG), PY - Paraguay(PY), PE - Peru(PE), PH - Philippines(PH), 
# PN - Pitcairn(PN), PL - Poland(PL), PT - Portugal(PT), PR - Puerto Rico(PR), QA - Qatar(QA), RE - Réunion(RE), RO - Romania(RO), 
# RU - Russian Federation(RU), RW - Rwanda(RW), BL - Saint Barthélemy(BL), SH - Saint Helena, Ascension and Tristan da Cunha(SH), 
# KN - Saint Kitts and Nevis(KN), LC - Saint Lucia(LC), MF - Saint Martin (French part)(MF), PM - Saint Pierre and Miquelon(PM), 
# VC - Saint Vincent and the Grenadines(VC),  WS - Samoa(WS), SM - San Marino(SM), ST - Sao Tome and Principe(ST), SA - Saudi Arabia(SA),
# SN - Senegal(SN), RS - Serbia(RS), SC - Seychelles(SC), SL - Sierra Leone(SL), SG - Singapore(SG), SX - Sint Maarten (Dutch part)(SX), 
# SK - Slovakia(SK), SI - Slovenia(SI), SB - Solomon Islands(SB), SO - Somalia(SO), ZA - South Africa(ZA), 
# GS - South Georgia and the South Sandwich Islands(GS), SS - South Sudan(SS), ES - Spain(ES),  LK - Sri Lanka(LK), SD - Sudan(SD), 
# SR - Suriname(SR),  SJ - Svalbard and Jan Mayen(SJ), SZ - Swaziland(SZ), SE - Sweden(SE), CH - Switzerland(CH), SY - Syrian Arab Republic(SY), 
# TW - Taiwan, Province of China(TW), TJ - Tajikistan(TJ), TZ - Tanzania, United Republic of(TZ), TH - Thailand(TH), TL - Timor-Leste(TL),
# TG - Togo(TG), TK - Tokelau(TK), TO - Tonga(TO), TT - Trinidad and Tobago(TT), TN - Tunisia(TN), TR - Turkey(TR), TM - Turkmenistan(TM), 
# TC - Turks and Caicos Islands(TC), TV - Tuvalu(TV), UG - Uganda(UG), UA - Ukraine(UA), AE - United Arab Emirates(AE), 
# GB - United Kingdom of Great Britain and Northern Ireland(GB), US - United States of America(US), UM - United States Minor Outlying Islands(UM), 
# UY - Uruguay(UY), UZ - Uzbekistan(UZ), VU - Vanuatu(VU), VE - Venezuela (Bolivarian Republic of)(VE), VN - Viet Nam(VN), 
# VG - Virgin Islands (British)(VG), VI - Virgin Islands (U.S.)(VI), WF - Wallis and Futuna(WF), EH - Western Sahara(EH), YE - Yemen(YE), 
# ZM - Zambia(ZM), ZW - Zimbabwe(ZW).
# Mandatory
P8656=US

# The State of Certificate Applicant Located.
# String: Maxlength 128 characters
P8657=

# The Locality of Certificate Applicant Located.
# String: Maxlength 128 characters
P8658=

# The Organization of Certificate Applicant Located.
# String: Maxlength 64 characters
P8659=

# The organization unit of Certificate Applicant.
# String: Maxlength 64 characters
P8660=

############################
##  HTTP Authentication   ##
############################
# CID.
# String: Maxlength 256 characters
P8649=

# Password.
# String: Password. Maxlength 256 characters
P8650=

#################################
##  Certificates and Updates   ##
#################################
# Client Certificate Alternative Name. Default is $MAC.local
# String: Maxlength 1024 characters.
P8661=$MAC.local

# Update Interval before Certificate Expiration. Default is 20.
# Number: 1 - 30. 
# Mandatory
P8662=20

# Scope of Use. Default is CustomCertificate.
# String: Checkbox. 
# CustomCertificate-Custom Certificate, 
# 802.1X-802.1X, 
# OpenVPN-OpenVPN, 
# TR069-TR069. 
P8663=CustomCertificate

##############################################################################
##  Management Settings/TR069                                               ##
##############################################################################

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

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

# TR-069 Username
# String: 
# Max Length: 64 characters
P4504=

# TR-069 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. Default value is the MAC address of device
# 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=

##############################################################################
##  Management Settings/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 is 3.
# Number: 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 is 162.
# Number: 162 or 1025 to 65535
P21898=162

# SNMP Trap Version. 1 - Version 1, 2 - Version 2c, 3 - Version 3. Default is 2.
# Number: 1, 2, 3
# 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 is 0.
# Number: 0, 1, 2
# Mandatory
P21910=0 

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

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

# SNMPv3 Authentication Key. 
# textarea: Max Length is 2048.
P21908=

# SNMPv3 Privacy Key
# textarea: Max Length is 2048.
P21909=

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

# SNMPv3 Trap Security Level. 0 - NoAuthUser, 1 - AuthUser, 2 - PrivUser. Default is 0.
# Number: 0, 1, 2
# Mandatory
P21916=0 

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

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

# SNMPv3 Trap Authentication Key. 
# textarea: Max Length is 2048.
P21914=

# SNMPv3 Trap Privacy Key
# textarea: Max Length is 2048.
P21915=

##############################################################################
##  Management Settings/Enable Management Interface                         ##
##############################################################################

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

# Management Access. 0 - Management Interface Only, 1 - Both Services and Management Interfaces. Default is 0.
# Number: 0, 1
# Mandatory
P28162 = 0

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

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

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

# Enable Radius Through Management Interface. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
# Reboot required 
P28793=0

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

# Management Interface IPv4 Address:802.1Q/VLAN Tag. Default is 0.
# Number: 0-4094
# Mandatory
# Reboot required 
P22111 = 0

# Management Interface IPv4 Address: 802.1p priority value. Default is 0.
# Number: 0-7
# Mandatory
# Reboot required 
P22112 = 0

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

## Static IP Settings ##

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

# Subnet Mask. Default is 255.255.255.0
# 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.
# Number: 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

# Enable Bypass Locked State. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28930=0

# 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

# Geolocation Header Format. 0 – Legacy, 1 – RFC6442. Default is 0.
# Number: 0, 1
# Mandatory
P8725=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 2.
# Number: 0, 1, 2, 3
# Mandatory
P1415 = 2

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

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

#################################################################################
# DHCP
# Host Name (Option 12)
# String: Maximum Length is 63 characters
P146=

# DHCP domain name
# String: Maximum Length is 63 characters
P147=

# Vendor Class ID (Option 60). Max length allowed is 32 bytes.
# String: Maximum Length is 32 characters
P148=HT8XXV2

#################################################################################
# PPPoE
# PPPoE Account ID
# String
# P82=

# PPPoE Password
# String
#P83=

# PPPoE Service Name
# String
#P269=

#################################################################################
# Static IP
# IP Address.
# Number: 0 to 255
#P9=192
#P10=168
#P11=0
#P12=160

# Subnet Mask.
# Number: 0 to 255
#P13=255
#P14=255
#P15=0
#P16=0

# Default Router.
# Number: 0 to 255
#P17=0
#P18=0
#P19=0
#P20=0

# DNS Server 1.
# Number: 0 to 255
#P21=0
#P22=0
#P23=0
#P24=0

# DNS Server 2.
# 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: Static address type. 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. Default is 0.
# 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: textarea
# Max Length:4096
P8439= 

# 802.1X Client Certificate. 
# String: textarea 
# 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, 5 - cloudflare.com. Default is 0.
# Number: 0, 1, 2, 3, 4, 5
# 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
# Serveraddress Max Length is 253
P28125=

# DDNS Hash
# String Max Length is 256
P28126=

##############################################################################
##  Network Settings/LAN Settings                                           ##
##############################################################################
##############################################################################
##  Network Settings/LAN Settings/General Settings                          ##
##############################################################################

# Device Mode. 0 -NAT Router, 1 - Bridge,  2 - WAN Only. Default is 0.
# 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.  Default is 1024
# Number: 0 to 4096 
# Mandatory 
# Reboot required 
P896 = 1024

# NAT TCP timeout. Default is 3600
# Number: 0 to 3600
# Mandatory 
# Reboot required 
P897 = 3600

# NAT UDP timeout. 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. Default is 1.
# Number: 0,1 
# Mandatory 
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-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/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/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/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/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/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/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/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/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. Default is tun.
# String: tap, tun  
# Mandatory
P20714 = tun

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

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

# OpenVPN® Encryption. Default is BF-CBC.
# 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);
#  AES-128-GCM - AES-128-GCM 128 bit default key (fixed);
# AES-256-GCM - AES-128-GCM 128 bit default key (fixed);
# CHACHA20-POLY1305 - CHACHA20-POLY1305 256 bit default key (fixed).
# Mandatory
P20717 = BF-CBC

# OpenVPN® Digest.  Default is SHA1.
# 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
# String:
# Maximum Length: 32
P8394 = 

# OpenVPN® Password
# String: password
# Maximum Length: 32
P8395 = 

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

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

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

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

# OpenVPN® TLS Key 
# String: Max Length: 8192 characters
P22371=

# OpenVPN® TLS Key Type. 0 – none, 1 – TLS-Auth, 2 – TLS-Crypt. Default is 0.
# Number: 0, 1, 2
# Mandatory
P22457=0

# OpenVPN® Additional Options
# String: textarea
# Maximum Length: 2048
P8460 =

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

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

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

# Enable CDP. 0 - No, 1 - Yes. Default is 1.
# Number: 0,1
# Mandatory
P22119=1

# Enable Manual VLAN Configuration.0 - No, 1 - Yes. Default is 1.
# Number: 0,1
# Mandatory
P22174=1

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

# Layer 2 QoS SIP 802.1p. Default is 0.
# Number: 0 to 7
# Mandatory
P5038=0

# Layer 2 QoS RTP 802.1p. Default is 0.
# Number: 0 to 7
# Mandatory
P5042=0

# Use DNS to detect network connectivity. Default is 0.
# Number: 0, 1
# 0 - No, 1 - Yes 
P1564=0

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

# Maximum Transmission Unit (MTU). Default is 1500.
# Number: 576 – 1500 
# Mandatory
P244=1500

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

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

##########################
## Proxy                ##
##########################
# HTTP Proxy.
# String: Maxlength 256 characters.
# P1552=

# HTTPS Proxy.
# String: Maxlength 256 characters.
# P1553=

# Bypass Proxy for.
# String: Maxlength 256 characters.
# P22011=

############################################################
##  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: regex: [^\s]
# Max length 40 characters.
# 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 minutes (7 days).
# Number: 30 to 5256000
# Mandatory
P193=10080

# Automatic Upgrade: Every day start 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 

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

# Config Provision Order. Default is cfg$mac.xml;cfg$mac;cfg$product.xml;cfg.xml.
# string: Checkbox 
# cfg$mac.xml; 
# cfg$product.xml; 
# cfg.xml; 
# cfg$mac; 
# cfg$mac_override.xml; 
# cfghcpopt67.xml;
P8501=cfg$mac.xml;cfg$mac;cfg$product.xml;cfg.xml

##############################################################################
##  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 is 0.
# 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. Default is 0.
# Number: 0, 1  
# Mandatory
P8402=0 

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

# Send SIP Log. 0 - No, 1 - Yes. Default is 0.
# Set whether to include SIP logs in the system log
# 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 1                                             ##
##############################################################################
##############################################################################
##  Port Settings/FXS Profile 1/General Settings                            ##
##############################################################################

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

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

# Primary SIP Server
# Server address
P47= 

# Failover SIP Server
# Server address
P967=

# Prefer Primary SIP Server. Default is 0.
# 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. 
# 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. Default is 0.
# 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 is 26)
# Number: 0 to 63
# Mandatory
P5046=26

#Layer 3 QoS RTP DSCP (Diff-Serv value in decimal, default is 46)
# Number: 0 to 63
# Mandatory 
P5050=46

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


# DNS SRV Failover Mode. 0 – Default, 1 – Use current Server Until DNS TTL, 2 - Use current Server Until no response, 3 - Use current server until failback timer expires. Default is 0.
# Number: 0, 1, 2, 3
# Mandatory
P26040=0

# Failback Timer. Default is 60.
# 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. Default is 0.
# Number: 0, 1 
# Mandatory
P29095=0

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

# Backup IP 1
# String
# Maximum Length: 15
P2309= 

# Backup IP 2
# 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 1/SIP Settings                              ##
##########################################################################
#######################
# SIP Basic Settings  #
#######################

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

# SIP Transport 0 - UDP, 1 - TCP, 2 - TLS. Default is 0.
# 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. Default is 1.
# Number: 0, 1
# Mandatory
P109=1

# Register Expiration. Default is 60.
# Number: 1 to 64800
# Mandatory
P32=60

# Re-Register before Expiration. Default is 0
# Number: 1 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

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

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

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

# 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 - 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 - OPTIONS, 2 - NOTIFY. 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 - 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 - 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 is 5060. 
# Number: 1 - 65535
# Mandatory
P40=5060

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

# Hold Target Before Refer. 0 - No, 1 - Yes. Default is 1.
# 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
# Number: 0, 1
# Mandatory
P60081=1

# Support GRUU
# Number: 0, 1
# Mandatory
P60080=1


# 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. Default is 0.
# Number: 0, 1  
# Mandatory
P29098 = 0

# Use P-Early-Media Header. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P60072=0

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

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

# SIP T2 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non-INVITE requests and INVITE responses.
# 50 - 0.5s, 100 - 1s, 200 - 2s, 400 - 4s, 800 - 8s. Default 400.
# Number: 50, 100, 200, 400, 800
# Mandatory
P250=400

# SIP Timer B. Default is 0.
# Number: 0 - 128
# Mandatory
P60074=0

# SIP Timer D. Default is 0. 
# Number: 0 - 64
# Mandatory
P2387=0

# SIP Timer F. Default is 0.
# Number: 0 - 128
# Mandatory
P60075=0

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

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

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

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

# SIP User-Agent.
# String
P29071= 

# Use SIP User-Agent Postfix
# String
P4834=

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

# CSeq Tracking Mode. 0 - per-call, 1 - per-dialog. Default is 0.
# Number: 0, 1
# Mandatory
P95023=0

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

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

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

# Min-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 making outbound calls) 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P262=0

# Callee Request Timer (When caller supports timer but did not request one) 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P263=0

# Force Timer (Use timer even when remote party does not support) 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P264=0

# UAC Specify Refresher. 0 - Omit (Recommended), 1 - UAC, 2 - UAS. Default is 0.
# Number: 0, 1, 2
# Mandatory
P266=0

# UAS Specify Refresher. 1 - UAC, 2 - UAS. Default is 1.
# 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. Default is 0.
# 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 1/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. 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

# Enable Multiple Sampling Rates in SDP telephone-event. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P95007=0

# 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

###########################
##  Vocoder Settings     ##
###########################

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

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

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

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

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

# Choice 6. 
# Number: 0, 2, 4, 8, 9, 18, 97, 123
# 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

# G.723 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
# 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, 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

# Enabled T.38 TEP. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P22667=0

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

# Re-INVITE Upon CNG Count. Default is 0.
# Number: 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 1.
# Number: 0, 1
# Mandatory
P20505=1

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

# Random RTP Port Range: Maximum
# 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. Default is 0.
# 0 = Disabled
# 1 = Enabled but not forced
# 2 = Enabled and forced
# 4 - Follow SIP Transport
# Number: 0, 1, 2,4
# 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 1/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 ohms, 10 - UK
# Number: 0-11
# Mandatory
P854=0

# Caller ID Scheme. Default is 0.
# <value=0>  Bellcore/Telcordia
# <value=16> Bellcore/Telcordia no CAS
# <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/Finland prior to ringing with LR
# <value=14> DTMF Brazil
# <value=15> DTMF-FSK Brazil
# Number: 0-16
# Mandatory
P853=0

# DTMF Caller ID: Start Tone.0 - Default, 1 - A, 2 - B, 3 - C, 4 - D, 5 - #.Default is 0.
# Number: 0-5
# Mandatory
P4661=0

# DTMF Caller ID: Stop Tone.0 - Default, 1 - A, 2 - B, 3 - C, 4 - D, 5 - #.Default is 0.
# Number: 0-5
# Mandatory
P4662=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

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

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

# Busy/reorder tone delay timer after loop current disconnect. Default is 25.
# Number: 0 - 30
# Mandatory
P28956=25

# 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, 2 - New Zealand Standard. Default is 0.
# Number: 0, 1, 2
# Mandatory 
P28165=0

# Enable Hook Flash. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# 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=20

# 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. Default is 2.
# Number: 0, 2
# Mandatory
P28192=2

##########################################################################
##  Port Settings/FXS Profile 1/Call Settings                             ##
##########################################################################
################
##Dial Setting##
################

# 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<=>\[\]^|\\ ]+};
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 = 0

################
##  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=0

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

# Enable 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. Default is 0.
# Number: 0, 1  
# Mandatory
P28197 = 0 

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

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

# Ringing Transfer. 0 - No, 1 - Yes. Default is 0.
# 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. Default is 0.
# 0 - No, 1 - Yes, (Hook Flash will be sent as a DTMF event if set to Yes),
# 2 - Yes with Attended Transfer Upon Onhook" for "Flash Digit Control".
# Number: 0, 1, 2
# Mandatory
P28080=0

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

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

# Ringback Tone at No Early Media. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P60073=0

# 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, 2 – Parallel. Default is 0.
# Number: 0,1,2
# Mandatory
P4395=0

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

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

# Caller ID Transmission Mode. 0 – Multiple Data Message Format, 1 – Single Data Message Format. Default is 0.
# Number: 0,1
# Mandatory
P60095=0


# Enable Unknown Caller ID. 0 - Yes, 1 - No. 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 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P1406 = 1

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

##########################################################################
##  Port Settings/FXS Profile 1 /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 Reset. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P26015 = 0

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

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

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

# Allow Incoming SIP Messages from SIP Proxy Only. 0 - No, 1 - Yes. Default is 0.
# 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 =

# Authenticate server certificate chain. 0 - No, 1 - Yes. Default is 0
# Number: 0, 1
# Mandatory
P2367 = 0
##########################################################################
##  Port Settings/FXS Profile 1 /Call Features Settings                 ##
##########################################################################

# Enable Local 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 call
# Number
# Mandatory
P24001=16

# Disable SRTP call
# 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
# Number: 0, 1
# Mandatory
P24089=1

# Enable set Offhook Auto-Dial
# Number
# Mandatory
P24040=03

######################
##  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
P4830=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 1/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/FXS Profile 2                                             ##
##############################################################################
##############################################################################
##  Port Settings/FXS PROFILE 2/General Settings                            ##
##############################################################################
#########################
# Account Registration  #
#########################
# Profile Active. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P401 = 0

# 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 – Use Current Server until DNS TTL, 2 - Use Current Server until no response, 3 - Use Current Server until failback timer expires. Default is 0.
# Number: 0, 1, 2, 3 
# 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 IP 1
# String
# Maximum Length: 15
P2409= 

# Backup IP 2
# 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/FXS PROFILE 2/SIP Settings                                ##
##############################################################################

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

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

# SIP Transport. 0 - UDP, 1 - TCP, 2 - TLS. Default is 0.
# 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. Default is 1.
# Number: 0, 1
# Mandatory
P813 = 1

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

# Re-Register before Expiration (in seconds. Default 0 second). Default is 0.
# Number: 1 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.
# Number: 0,1
# Mandatory
P60196=0

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

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

# 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 - 3600
# Mandatory
P26102=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
P28757=0

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


Enable SIP OPTIONS/NOTIFY Keep Alive. 0 - No, 1 - OPTIONS, 2 - NOTIFY, 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 - 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 - 10
# Mandatory
P2499=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
P709=0

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

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

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

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

# Refer-To Use Target Contact. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P469=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

# Support outbound
# Number: 0, 1
# Mandatory
P60181=1

# Support GRUU
# Number: 0, 1
# Mandatory
P60180=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 Request Routing ID in SIP INVITE Header. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4892=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

# Use P-Early-Media Header. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P60172=0

# SIP REGISTER Contact Header Uses. 0 – LAN Address, 1 – WAN Address. Default is 0.
# Number: 0, 1  
# Mandatory
P4438 = 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 Timeout. RFC 3261 T2 value. The maximum retransmit interval for non-INVITE requests and INVITE responses.
# 50 - 0.5 sec, 100 - 1 sec, 200 - 2 sec, 400 - 4 sec, 800 - 8 sec. Default 400.
# Number: 50, 100, 200, 400, 800
# Mandatory
P441 = 400

# SIP Timer B. Default is 0.
# Number: 0 - 128
# Mandatory
P60174=0

# SIP Timer D. Default is 0. 
# Number: 0 - 64
# Mandatory
P2487=0

# SIP Timer F. Default is 0.
# Number: 0 - 128
# Mandatory
P60175=0

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

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

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

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

# SIP User-Agent.
# String
P29171= 

# Use SIP User-Agent Postfix
P4835=

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

# CSeq Tracking Mode. 0 - per-call, 1 - per-dialog. Default is 0.
# Number: 0, 1
# Mandatory
P95123=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

# Min-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 making outbound calls) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P428 = 0

# Callee Request Timer (When caller supports timer but did not request one) 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P429 = 0

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

# UAC Specify Refresher. 0 - Omit (Recommended), 1 - UAC, 2 - UAS. Default is 0.
# 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

##############################################################################
##  Port Settings/FXS PROFILE 2/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

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

# 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

# Enable Multiple Sampling Rates in SDP telephone-event. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P95107=0

# 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

##########################
## Vocoder Settings     ##
##########################

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

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

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

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

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

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

# Choice 7. 
# Number: 0, 2, 4, 8, 9, 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

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

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

# Enable OPUS Stereo in SDP. 0 - Yes, 1 - No.Default is 0.
# 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 123).
# Number: 96-127
# Mandatory
P2485=123

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

# Enabled T.38 TEP. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P22668=0

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

# Re-INVITE Upon CNG Count. Default is 0.
# Number: 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

# 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. Default is 1.
# Number: 0, 1
# Mandatory
P20506 = 1

# 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. Default is 0.
# 0 = Disabled
# 1 = Enabled but not forced
# 2 = Enabled and forced
# 4 - Follow SIP Transport
# Number: 0, 1, 2，4
# 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/FXS 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 ohms, 10 - UK
# Number: 0-11
# Mandatory
P864=0

# Caller ID Scheme. Default is 0. 
# <value=0> Bellcore/Telcordia
# <value=16> Bellcore/Telcordia no CAS
# <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/Finland prior to ringing with LR
# <value=14> DTMF Brazil
# <value=15> DTMF-FSK Brazil
# Number: 0-16
# Mandatory
P863=0

# DTMF Caller ID: Start Tone.0 - Default, 1 - A, 2 - B, 3 - C, 4 - D, 5 - #.Default is 0.
# Number: 0-5
# Mandatory
P4663=0

# DTMF Caller ID: Stop Tone.0 - Default, 1 - A, 2 - B, 3 - C, 4 - D, 5 - #.Default is 0.
# Number: 0-5
# Mandatory
P4664=0

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

# Loop Current Disconnect. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P893=0

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

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

# Busy/reorder tone delay timer after loop current disconnect. Default is 25.
# Number: 0 - 30
# Mandatory
P28957=25

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


# Pulse Dialing Standard. 0 - General Standard, 1 - Swedish Standard, 2 - New Zealand Standard. Default is 0.
# Number: 0, 1, 2
# Mandatory 
P28166=0

# Enable Hook Flash. 0 - No, 1 - Yes. Default is 1.
# Number: 0, 1
# Mandatory
P4425 = 1

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

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

# On Hook Timing. Default is 400.
# Number: 40-2000
# Mandatory
P834=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
P248=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
P283=6

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

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

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

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

##############################################################################
##  Port Settings/FXS PROFILE 2/Call Settings                               ##
##############################################################################

################
##Dial Setting##
################

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

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

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

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

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

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

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

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

# 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


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

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

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

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

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

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

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

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

# Transfer on Conference Hangup. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P4561=0

# Ringing Transfer. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P4821=0

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

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

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

# Flash Digit Control. Default is 0.
# 0 - No, 1 - Yes, (Hook Flash will be sent as a DTMF event if set to Yes),
# 2 - Yes with Attended Transfer Upon Onhook" for "Flash Digit Control".
# Number: 0, 1, 2
# Mandatory
P28081=0

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


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

# Ringback Tone at No Early Media. 0 - No, 1 - Yes. Default is 0.
# Number: 0,1
# Mandatory
P60173=0

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

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

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

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

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

# Caller ID Transmission Mode. 0 – Multiple Data Message Format, 1 – Single Data Message Format. Default is 0.
# Number: 0,1
# Mandatory
P60195=0

# 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

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

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

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

##########################################################################
##  Port Settings/FXS Profile 2 /Advanced Settings                      ##
##########################################################################
#########################
##  Advanced Settings  ##
#########################

# Conference URI
# String
P2418=

# 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/FXS PROFILE 2/Call Features Settings                       ##
##############################################################################

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

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

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

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

# Enable SRTP call
# Number
# Mandatory
P24201 = 16

# Disable SRTP call
# Number
# Mandatory
P24202 = 17

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

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

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

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

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

# Enable CID. 
# Number
# Mandatory
P24206 = 31

# Disable CID.
# Number
# Mandatory
P24205 = 30

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

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

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

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

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

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

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

# Enable CW. 
# Number
# Mandatory
P24209 = 51

# Disable CW.
# Number
# Mandatory
P24208 = 50

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

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

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


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

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

# Call Return. 
# Number
# Mandatory
P24211 = 69

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

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

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

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

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

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

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

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

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

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

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

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

# Paging
# Number
# Mandatory
P24216 = 74

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

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

# Enable DND. 
# Number
# Mandatory
P24217 = 78

# Disable DND.
# Number
# Mandatory
P24218 = 79

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

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

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

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

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

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

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

# Enable set Offhook Auto-Dial
# Number
# Mandatory
P24240=03

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

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

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

##############################
##  Style 3-Way Conference  ##
##############################

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

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

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

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

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

# Forced Codec.
# Number
# Mandatory
P24200 = 02 

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

# PCMU Codec.
# Number
# Mandatory
P24227 = 7110 

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

# PCMA Codec.
# Number
# Mandatory
P24228 = 7111

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

# G723 Codec.
# Number
# Mandatory
P24229 = 723

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

# G729 Codec.
# Number
# Mandatory
P24230 = 729

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

# iLBC Codec.
# Number
# Mandatory
P24235 = 7201

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

# G722 Codec.
# Number
# Mandatory
P24236 = 722

################################################################
##  Port Settings/FXS PROFILE 2/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
# Distinctive Ring Tone Choice 1
# Number: 0-9
# Mandatory
P880=0

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

# 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
# Distinctive Ring Tone Choice 2
# Number: 0-9
# Mandatory
P882=0

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

# 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
# Distinctive Ring Tone Choice 3
# Number: 0-9
# Mandatory
P884=0

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

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

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

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

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

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

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

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

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

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

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

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

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

# 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
P29174 = 0 
P29175 = 0 
P29176 = 0 

# Call Waiting Tone 1 - 3 used if incoming caller ID is 
# String Max Length: 64
P29177 =  
P29178 = 
P29179 =  


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

# Call Waiting Tone. Call Waiting Tone 1-10
# String Max Length: 64
# Mandatory
P29180 = f1=440@-13,c=300/10000; 
P29181 = f1=440@-13,c=300/10000; 
P29182 = f1=440@-13,c=300/10000; 
P29183 = f1=440@-13,c=300/10000; 
P29184 = f1=440@-13,c=300/10000; 
P29185 = f1=440@-13,c=300/10000; 
P29186 = f1=440@-13,c=300/10000; 
P29187 = f1=440@-13,c=300/10000; 
P29188 = f1=440@-13,c=300/10000; 
P29189 = f1=440@-13,c=300/10000; 

##############################################################################
##  Ports                                                                   ##
##############################################################################
########################
# FXS Port Settings ####
########################

# FXS Port (Port 1 - 2 For HT812V2, Port 1 - 4 For HT814V2, Port 1 - 8 For HT818V2)
# SIP User ID, SIP Authenticate ID, SIP Authenticate ID Password, Name, Profile ID (0 - PROFILE 1,1 - PROFILE 2 )
# Enable Port(0 - No, 1 - Yes, Default is 0 - No)
# Off-hook Auto Dial(Set the destination for auto-dial after offhook)

# SIP USER ID (Port 1 - 8)
# String Max Length: 64
P4060 =
P4061 =
P4062 =
P4063 =
P4064 =
P4065 =
P4066 =
P4067 =

# SIP Authenticate ID (Port 1 - 8)
# String Max Length: 64  
P4090 =
P4091 =
P4092 =
P4093 =
P4094 =
P4095 =
P4096 =
P4097 =

# SIP Authenticate Password (Port 1 - 8)
# String Max Length: 64 
# Mandatory 
P4120 = 
P4121 = 
P4122 =
P4123 =
P4124 =
P4125 =
P4126 =
P4127 =

# Name (Port 1 - 8)
# String Max Length: 64  
P4180 =
P4181 =
P4182 =
P4183 =
P4184 =
P4185 =
P4186 =
P4187 =

# Profile ID (Port 1 - 8)
# Number: 0
# Mandatory 
P4150 = 0
P4151 = 0
P4152 = 0
P4153 = 0
P4154 = 0
P4155 = 0
P4156 = 0
P4157 = 0

# Enable Port (Port 1 - 8)
# Number: 0,1
P4595 = 0
P4596 = 0
P4597 = 0
P4598 = 0
P4599 = 0
P4600 = 0
P4601 = 0
P4602 = 0

# Off-hook Auto Dial (Port 1 - 8)
# String Max Length: 64 
P4210 =
P4211 =
P4212 =
P4213 =
P4214 =
P4215 =
P4216 =
P4217 =


##############################################################################
##  P values not on WEB                                                     ##
##############################################################################
# TTL values for keep alive messages
# Number: 1 - 255
#P20517=64(Profile1)
#P20518=64(Profile2)

# ARP interval for network monitor
#P20711=20

# Number of gateway ARP response failures allowed for network monitor
#P20712=1

# Idle Call Setup Action 1. 0 - Continue, 1 - Busy Tone, 2 - Howler Tone, 3 - CPC (disconnect), 4 - Reorder Tone, 5 - Silence, 6 - Stop Sequence.
# Number: 0, 1, 2, 3, 4, 5, 6
# Mandatory
# P28000 = 0 (Profile1)
# P28001 = 0 (Profile2)

# Duration of Idle Call Setup Action 1. Default is 60 seconds.
# Number:  1 - 3600. In seconds.
# Mandatory
# P28004 = 60 (Profile1)
# P28005 = 60 (Profile2)

# Idle Call Setup Action 2. 0 - Continue, 1 - Busy Tone, 2 - Howler Tone, 3 - CPC (disconnect), 4 - Reorder Tone, 5 - Silence, 6 - Stop Sequence.
# Number: 0, 1, 2, 3, 4, 5, 6
# Mandatory
# P28016 = 2 (Profile1)
# P28017 = 2 (Profile2)

# Duration of Idle Call Setup Action 2. Default is 30 seconds.
# Number:  1 - 3600. In seconds.
# Mandatory
# P28020 = 30 (Profile1)
# P28021 = 30 (Profile2)

# Idle Call Setup Action 3. 0 - Continue, 1 - Busy Tone, 2 - Howler Tone, 3 - CPC (disconnect), 4 - Reorder Tone, 5 - Silence, 6 - Stop Sequence.
# Number: 0, 1, 2, 3, 4, 5, 6
# Mandatory
# P28032 = 6 (Profile1)
# P28033 = 6 (Profile2)

# Duration of Idle Call Setup Action 3. Default is 1 second.
# Number:  1 - 3600. In seconds.
# Mandatory
# P28036 = 1 (Profile1)
# P28037 = 1 (Profile2)

# Packet Stats
#P28157 = 

# Provider Lock Authentication
#P9997=

# Provider Lock Password
#P9998=0

# Provider Lock Enabled. 0 - No, 1- Yes
# Could be provisioned via config file, need to reboot after provision.
# Number: 0, 1
#P9999=0

# DNS Cache Refresh Time. 1 - 1440 minutes, default is 30 minutes. Configurable from cfg file only, need to reboot to take effect. 
# Number: 1 - 1440
# Mandatory
#P4208=30

# DNS Cache Duration. 1 - 1440 minutes, default is 0 - Disabled. Configurable from cfg file only, need to reboot to take effect. 
# Number: 0 - 1440
# Mandatory
#P28160=0

# Web Access Privilege Pattern. 1 - Telefonica Spain, 0 - Default. Default is 0. Configurable from cfg file or SSH. If set to 1, User Level can only see the Status page. Under the Status page, CDR/SIP log and GR909 page will not shown. 
# Number: 0, 1
# Mandatory
#P28152=0

# TR-069 firewall rules.
# Number: 1 to 65535
# Mandatory
# P61701=  (FXS1)
# P61702=  (FXS2)

# Root CA Version. 0 - Current Root; 1 - New Root. Default is 1.
# Number: 0,1
# Mandatory
# P8603=1

# Provision and upgrade to new Gen-2 certificate. 1- upgrade, 0 - no upgrade. Default is 0.
# Number: 0,1
# Mandatory
# P8604=0

# Contents (text string) of Gen-2 certificate to upgrade.
# String: Maxlength 8192
# P8605=

# Contents (text string) of Gen-2 EC private key to upgrade.
# String: Maxlength 8192
# P8606=

# Disable filename in URL for config provision. 1 -Yes, 0 – No. Default is 0
# Number: 0,1
# Mandatory
# P8615=0

# Disable filename in URL for firmware upgrade. 1 -Yes, 0 – No. Default is 0
# Number: 0,1
# Mandatory
# P8616=0

# AC Ring Trip Threshold. Default is 0.
# 0 - default threshold, 1 - 20mA, 2 - 24mA, 3 - 28mA, 4 - 32mA, 5 - 36mA, 6 - 40mA, 7 - 44mA, 8 - 48mA.
# Number: 0 - 8.
# Mandatory
# P28764=0 (Profile 1)
# P28765=0 (Profile 2)

# Debounce Interval of Loop Closure Detection. Default is 0.
# Number: 0 - 20.
# (0 - Default Threshold, Start from 1, 1 indicates a 2.5 ms debounce interval.
# 1 - 2.5ms, 2 - 5.0ms, 3 - 7.5ms, 4 - 10.0ms ..... 18 - 45.0ms, 19 - 47.5ms, 20 - 50.0ms)
# Mandatory
# P28768=0 (Profile 1)
# P28769=0 (Profile 2)

# Initial line polarity. 0 - Forward, 1 – Reverse. The default is 1.
# Number: 0, 1  
# Mandatory
#P28834 = 1 (Profile 1)
#P28835 = 1 (Profile 2) 

# Syslog Setting and Internal Logs Protection. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1  
# Mandatory
#P82307 = 0

# Display User and Viewer Password Settings. Default is 1.
# Number: 0, 1  
# Mandatory
# P22663 = 1

# Display TR069 Settings. Default is 1.
# Number: 0, 1  
# Mandatory
# P22664 = 1

# Force Default Password Change on Login. Default is 1.
# Number: 0, 1  
# Mandatory
# P22665 = 1














