############################################################################################
## Configuration template for HT502 firmware version 1.0.16.2                             ##
############################################################################################

###########################################
##  Change Log                           ##
###########################################

###########################################
# P value changes since 1.0.15.5          #
###########################################

# Automatic Reboot. 0 - No, 1 - Yes, daily at hour, 2 - Yes, weekly on day
#Number: 0,1,2,
#Mandatory
#P21929=0

#Hour of the Day(0-23) Defines the hour of the day to reboot the device. Will valid after configured Automatic Reboot to yes.
#Number: 0-23
#Mandatory
#P21930=1

#Day of the Week (0-6) Defines the day of the week to reboot the device.
#Number: 0-6
#Mandatory
#P21931=1

# Backup Outbound Proxy
# Server address
#P2333= (FXS1)
#P2433= (FXS2)

# Prefer Primary Outbound Proxy. 0 - No, 1 - Yes. Default is 0
# Number: 0, 1
# Mandatory
#P28096 = 0 (FXS1)
#P28097 = 0 (FXS2)

###########################################
# P value changes since 1.0.14.100        #
###########################################

# !REMOVE! Layer 3 QoS (IP Diff-Serv or Precedence value for RTP)
# Number: 0 to 63
# Mandatory
# Reboot required
#P38 = 12
# !REMOVE!

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

# Phone LED Pattern. Default is 0.
# Number: 0, 1, 2
# 0 - Pattern A (Onhook: OFF; Offhook: ON; VM: Blink) 
# 1 - Pattern B (Onhook: ON; Offhook: OFF; VM: Blink if phone onhook) 
# 2 - Pattern C (Onhook and Registered: ON; Offhook: Blink; VM: Blink 1sec ON/1sec OFF)
#P4049 = 0

# DNS SRV use Registered IP. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
#P28092 = 0 (FXS1)
#P28093 = 0 (FXS2)

# SIP Registration Failure Retry Wait Time upon 403 Forbidden. 0 second means stop retry registration. Default is 1200 sec.
# Number 0 to 3600
# Mandatory
#P26002 = 1200 (FXS1)
#P26102 = 1200 (FXS2)

#Layer 3 QoS SIP Diff-Serv (default 24)
#Number
#Mandatory
#P5046 = 24 (FXS1)
#P5047 = 24 (FXS2)

#Layer 3 QoS RTP Diff-Serv (default 46)
#Number
#Mandatory
#P5050 = 46 (FXS1)
#P5051 = 46 (FXS2)

# Authenticate server certificate domain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
#P2311 = 0 (FXS1)
#P2411 = 0 (FXS2)

# Authenticate server certificate chain. 0 - No, 1 - Yes, default is 0
# Number: 0, 1
# Mandatory
#P2367 = 0 (FXS1)
#P2467 = 0 (FXS2)

# Trusted CA certificates.
# String
#P2386 = (FXS1)
#P2486 = (FXS2)

# DTMF-RELAY Tag Respect SIP INFO. 0 - No, 1 - Yes (If set to "NO", the dtmf-relay tag in Accept Header is always added in outbound INVITE. If set to "YES", it depends on if SIP INFO is chosen in Prefered DTMF Method.)
# Number: 0, 1
# Mandatory
#P28088 = 0 (FXS1)
#P28089 = 0 (FXS2)

# Disable Connected Line ID. 0 = Disabled, 1 = Enabled. (If yes, Connected Line ID will not be displayed even received.)
# Number: 0, 1
# Mandatory
#P20525 = 0 (FXS1)
#P20526 = 0 (FXS2)

###########################################
# P value changes since 1.0.14.1          #
###########################################

#No change from 1.0.14.1

###########################################
# P value changes since 1.0.13.3          #
###########################################

# Hold Target Before Refer. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
#P26003 = 0 (FXS1)
#P26103 = 0 (FXS2)

# Crypto Life Time. 0 - Disabled, 1 - Enabled
# Number: 0, 1
# Mandatory
#P2363 = 1 (FXS1)
#P2463 = 1 (FXS2)

# Play busy/reorder tone before Loop Current Disconnect.  0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
#P21925 = 0 (FXS1)
#P21926 = 0 (FXS2)

###########################################
# P value changes since 1.0.12.8          #
###########################################

#No changes

###########################################
# P value changes since 1.0.12.5          #
###########################################

# HTTP User Agent String
# String
# Max Length: 256 characters
#P1541 = 

# Play registration id Feature. 0 - Disable, 1 - Enable.
# Number: 0,1
# Mandatory
#P24087 = 0 (FXS1)
#P24287 = 0 (FXS2)

###########################################
# P value changes since 1.0.12.4          #
###########################################

# SIP Timer D 
# Number: 0 - 64 seconds
# Mandatory
#P2387 = 0 (FXS1)
#P2487 = 0 (FXS2)

###########################################
# P value changes since 1.0.12.1          #
###########################################

# Always send HTTP Basic Authentication Information. 0 - No, 1- Yes.
# Number: 0,1
# Mandatory
#P20713 = 0

# Disable Multiple m Line in SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
#P137 = 0 (FXS1)
#P487 = 0 (FXS2)

###########################################
# P value changes since 1.0.11.3          #
###########################################

# White list for WAN side:
# IP addresses
#P20701 =

# Black list for WAN side:
# IP addresses
#P20702 =

# Do Not Escape '#' as %23 in SIP URI. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
#P1406 = 0 (FXS1)
#P4895 = 0 (FXS2)

###########################################
# P value changes since 1.0.10.9          #
###########################################

# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes 
# (Default will not add Privacy header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
#P2338 = 0 (FXS1)
#P2438 = 0 (FXS2)

# Use P-Prefer-Identity Header. 0 - Default, 1 - No, 2 - Yes 
# (Default will not add Privacy header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
#P2339 = 0 (FXS1)
#P2439 = 0 (FXS2)

# Add Auth Header On Initial REGISTER. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
#P2359 = 0 (FXS1)
#P2459 = 0 (FXS2)

###########################################
# P value changes since 1.0.9.1           #
###########################################

# Phone LED Pattern.  0 - Onhook:OFF; Offhook:ON; VM:Blink, 1 - Onhook:ON; Offhook:OFF; VM:Blink if phone onhook.
# Number: 0, 1
# Mandatory
#P4049 = 0

# Blackllist For Incoming Calls
# Number
#P4774 = 
#P4775 = 
#P4776 = 
#P4777 = 
#P4778 = 
#P4779 = 
#P4780 = 
#P4781 = 

# Blackllist For Incoming Calls
# Number
#P4782 = 
#P4783 = 
#P4784 = 
#P4785 = 
#P4786 = 
#P4787 = 
#P4788 = 
#P4789 = 

# Default value change from 60 to 1440
# NTP Update Interval in minutes(5-1440)(Default is set to 60 minutes)
# Number: 5 to 1440
# Mandatory
#P5005 = 1440

# !REMOVE! Cloned WAN MAC Addr (in hex format)
# String: 00 to ff
# Reboot required
#P115~120 
# !REMOVE!

###########################################
# P value changes since 1.0.7.6           #
###########################################

# Primary IP
# IP address
#P2308 =

# Backup IP1
# IP address
#P2309 =

# Backup IP2
# IP address
#P2310 =

# Primary IP
# IP address
#P2408 =

# Backup IP1
# IP address
#P2409 =

# Backup IP2
# IP address
#P2410 =

# Disable SIP NOTIFY Authentication
# Number: 0 No, 1 Yes  (Device will not challenge NOTIFY with 401 when set to Yes) 
# Mandatory
#P4428 = 0

# Authenticate Conf File
# Number: 0 No, 1 Yes  (cfg file would be authenticated before acceptance if set to Yes) 
# Mandatory
#P240 = 0

# Reregister before Expiration
# Number
# Mandatory
#P2330 = 0

# Reregister before Expiration
# Number
# Mandatory
#P2430 = 0

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

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

###########################################
# P value changes since 1.0.7.5           #
###########################################

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

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

####################################################################
##  Change Log End                                                ##
####################################################################

##############################################################################
##  Advanced Settings.                                                      ##
##############################################################################

# Admin password for web interface 
# Max Length: 30 characters; between ascii values 33 and 126
# Mandatory
P2 = admin

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

# Layer 2 QoS. 802.1p priority value (0 - 7)
# Number: 0 to 7
# Mandatory
# Reboot required
P87 = 0

# 802.1p priority value (NATed traffic)
# Number: 0 to 7
# Mandatory
# Reboot required
P230 = 0

# STUN server
# Server address
P76 = stun.mycompany.com

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

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

# Total STUN response misses to restart DHCP (mininum=3 default=5)
# Number: 3 to 15
# Mandatory
P475 = 5

################################################################################
# Firmware Upgrade                                                             #
################################################################################
# Firmware Upgrade and Privisioning. 0 - TFTP Upgrade, 1 - HTTP Upgrade, 2 - HTTPS Upgrade.
# Number: 0, 1, 2
# Mandatory
P212 = 1

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

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

# XML Config File Password
# Max Length: 40 characters; between ascii values 33 and 126
# Mandatory
P1359 = 

# HTTP/HTTPS User Name
# Max Length: 40 characters; between ascii values 33 and 126
P1360 =

# HTTP/HTTPS Password
# Max Length: 40 characters; between ascii values 33 and 126
# Mandatory
P1361 =

# Always send HTTP Basic Authentication Information. 0 - No, 1- Yes.
# Number: 0,1
# Mandatory
P20713=0

# Firmware File Prefix
# String; between ascii values 33 and 126
P232 =

# Firmware File Postfix
# String; between ascii values 33 and 126
P233 =

# Config File Prefix
# String; between ascii values 33 and 126
P234 =

# Config File Postfix
# String; between ascii values 33 and 126
P235 =

# Allow DHCP Option 66 to override server. 0 - No, 1 - Yes. Default is Yes.
# When set to Yes(1), it will override the configured provision path and method.
# Number: 0, 1
# Mandatory
# Reboot required
P145 = 1

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

# Automatic Upgrade. 0 - No, 1 - Check daily, 2 - Check weekly, 3 - Check every () minutes. Default is No.
# Number: 0, 1, 2, 3
# Mandatory
P194 = 0

# Check for new firmware/config file every () minutes, unit is in minute, minimum 60 minutes, default is 7 days.
# Number: 60 to 5256000
# Mandatory
P193 = 10080

# Automatic Upgrade. Daily at hour(0-23)
# Number: 0 to 23
# Mandatory
P285 = 1

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

# Use firmware pre/postfix to determine if f/w is required
# 0 = Always Check for New Firmware 
# 1 = Check New Firmware only when F/W pre/suffix changes 
# 2 = Always Skip the Firmware Check
# For Firmware only.
# Number: 0, 1, 2
# Mandatory
P238 = 0

# Automatic Reboot. 0 - No, 1 - Yes, daily at hour, 2 - Yes, weekly on day
#Number: 0,1,2,
#Mandatory
P21929 = 0

#Hour of the Day(0-23) Defines the hour of the day to reboot the device. Will valid after configured Automatic Reboot to yes.
#Number: 0-23
#Mandatory
P21930 = 1

#Day of the Week (0-6) Defines the day of the week to reboot the device.
#Number: 0-6
#Mandatory
P21931 = 1

# Disable SIP NOTIFY Authentication
# Number: 0 No, 1 Yes  (Device will not challenge NOTIFY with 401 when set to Yes) 
# Mandatory
P4428 = 0

# Authenticate Conf File
# Number: 0 No, 1 Yes  (cfg file would be authenticated before acceptance if set to Yes) 
# Mandatory
P240 = 0

# Firmware Key (AES 128, in Hexadecimal Representation)
# String: 0-9, a-z, A-Z
P242 =

# SIP TLS Certificate
# String
#P280 =

# SIP TLS Private Key
# String
#P279 =

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

# ACS URL
#P4503 =

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

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

# Periodic Inform Enable 0 - No, 1 - Yes (default is No)
# Number: 0, 1
# Mandatory
P4506 = 0

# Periodic Inform Interval (default is 300)
# Max Length: 5 characters
P4507 = 300

# Conncetion Request Username
# String
# Max Length: 64 characters
P4511 =

# Connection Request Password
# String
# Max Length: 64 characters
P4512 =

# Connection Request Port (default is 7547)
# String
# Max Length: 5 characters
P4518 = 7547

# CPE SSL Certificate
# String
P8220 =

# CPE SSL Private Key
# String
P8221 = 

# System Ring Cadence
# String
# Max Length: 256 characters
P4040 = c=2000/4000;

##############################################
# Call Progress Tones                        #
##############################################
# Dial Tone
# String
# Max Length: 256 characters
P4000 = f1=350@-13,f2=440@-13,c=0/0;

# Ringback Tone
# String
# Max Length: 256 characters
P4001 = f1=440@-19,f2=480@-19,c=2000/4000;

# Busy Tone
# String
# Max Length: 256 characters
P4002 = f1=480@-24,f2=680@-24,c=500/500;

# Reorder Tone
# String
# Max Length: 256 characters
P4003 = f1=480@-24,f2=620@-24,c=250/250;

# Confirmation Tone
# String
# Max Length: 256 characters
P4004 = f1=350@-11,f2=440@-11,c=100/100-100/100-100/100;

# Call Waiting tone
# String
# Max Length: 256 characters
P4005 = f1=440@-13,c=300/10000-300/10000-0/0;

# Prompt Tone
# String
# Max Length: 256 characters
P4041 = f1=350@-13,f2=440@-13,c=0/0;

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

# Phone LED Pattern.  0 - Onhook:OFF; Offhook:ON; VM:Blink, 1 - Onhook:ON; Offhook:OFF; VM:Blink if phone onhook.
# Number: 0, 1
# Mandatory
P4049 = 0

# Phone LED Pattern. Default is 0.
# Number: 0, 1, 2.
# 0 - Pattern A (Onhook: OFF; Offhook: ON; VM: Blink) 
# 1 - Pattern B (Onhook: ON; Offhook: OFF; VM: Blink if phone onhook) 
# 2 - Pattern C (Onhook and Registered: ON; Offhook: Blink; VM: Blink 1sec ON/1sec OFF)
P4049 = 0

# Lock keypad update.  0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P88 = 0

# Disable voice prompt. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P253 =0

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

# NTP Server
# Server address
P30 = us.pool.ntp.org

# NTP Update Interval in minutes(5-1440)(Default is set to 60 minutes)
# Number: 5 to 1440
# Mandatory
P5005 = 1440

# Syslog Server (name of the server, max length is 64 charactors)
# Server address
# Reboot required
P207 = 

# Syslog Level (Default setting is NONE)
# Number: 0, 1, 2, 3, 4
# Mandatory
# Reboot required
P208 = 0

# Send SIP Log (0 - No, 1 - Yes, Default set to No)
# Number: 0, 1
# Mandatory
# Reboot required
P1387 = 0

##############################################################################
##  FXS PORT 1 Settings.                                                    ##
##############################################################################
# Account Active. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P271 = 1

# Primary SIP Server
# Server address
P47 = sip.mycompany.com

# Failover SIP Server
# Server address
P967 = 

# Prefer Primary SIP Server. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4567 = 0

# Outbound Proxy
# Server address
P48 = proxy.mycompany.com

# Backup Outbound Proxy
# Server address
P2333 = 

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

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

# NAT Traversal (STUN) 0 - No, 2 - No but send keep-alive, 1 - Yes
# Number: 0, 1, 2
# Mandatory
P52 = 0

# SIP User ID
# String
# Max Length: 64 characters
P35 = 

# Authentication ID
# String
# Max Length: 96 characters
P36 = 

# Authentication password
# String
# Max Length: 64 characters
# Mandatory
P34 = 

# Name (John Doe)
# String
# Max Length: 60 characters
P3 = 

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

# DNS SRV use Registered IP. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
#P28092 = 0

# Primary IP
# IP address
P2308 =

# Backup IP1
# IP address
P2309 =

# Backup IP2
# IP address
P2310 =

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

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

# Unregister On Reboot. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P81 = 0

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

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

# Reregister before Expiration
# Number
# Mandatory
P2330 = 0

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

# SIP Registration Failure Retry Wait Time upon 403 Forbidden. 0 second means stop retry registration. Default is 1200 sec.
# Number 0 to 3600
# Mandatory
P26002=1200

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

# Local RTP port (1024-65535, default 5004)
# Number: 1024-65535
# Mandatory
P39 = 5004 

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

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

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

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

# Disable Bellcore Style 3-Way Conference. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4830 = 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

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

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

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

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

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

# Trusted CA certificates.
# String
P2386=

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

# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes 
# (Default will not add Privacy header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
P2338 = 0

# Use P-Preferred-Identity Header. 0 - Default, 1 - No, 2 - Yes 
# (Default will not add PPI header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
P2339 = 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 100.
# Number: 50, 100, 200, 400, 800
# Mandatory
P209 = 100

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

# SIP Timer D 
# Number: 0 - 64 seconds
# Mandatory
P2387 = 0

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

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

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

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

# DTMF-RELAY Tag Respect SIP INFO. 0 - No, 1 - Yes (If set to "NO", the dtmf-relay tag in Accept Header is always added in outbound INVITE. If set to "YES", it depends on if SIP INFO is chosen in Prefered DTMF Method.)
# Number: 0, 1
# Mandatory
P28088=0

# Disable DTMF Negotiation. 0 - No, 1 - Yes 
# Number: 0, 1
# Mandatory
P4825 = 0

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

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

# Offhook Auto-Dial (User ID/extension to dial automatically when offhook)
# String: 0-9, *, #
# Max Length: 64 characters
P71 =

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

# Proxy-Require 
# IP Address
P197 =

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

# Use SIP User-Agent Header for Profile 1
# String
P4834 = 

# Distinctive Ring Tone 
# 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, 1, 2, 3, 4, 5, 6, 7, 8, 9
# Mandatory
P870 = 0

# Choice 1 incoming caller ID
# String
P871 = 

# Distinctive Ring Tone Choice 2
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
# Mandatory
P872 = 0

# Choice 2 incoming caller ID
# String
P873 = 

# Distinctive Ring Tone Choice 3
# Number: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
# Mandatory
P874 = 0

# Choice 3 incoming caller ID
# String
P875 = 

# Disable Call-Waiting. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory 
P91 = 0

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

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

# Disable Connected Line ID. 0 = Disabled, 1 = Enabled. (If yes, Connected Line ID will not be displayed even received.)
# Number: 0, 1
# Mandatory
P20525=0

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

# Disable Reminder Ring for On-Hold Call:
# Number: 0, 1
# Mandatory
P4360 = 0

# Disable Visual MWI. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P855 = 0

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

# Disable Multiple m Line in SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P137=0 (FXS1)

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

# Delayed Call Forward Wait Time. Allowed range 1-120, in seconds. Default 20 seconds.
# Number: 1-120
# Mandatory
P139 = 20

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

# 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

# Dial Plan 
# String
P4200 = { x+ | *x+ }

# SUBSCRIBE for MWI. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P99 = 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

# Special Feature 
# 100 - Standard, 102 - BroadSoft, 108 - CBCOM, 109 - RNK, 111 - Huawei, 114 - ZTE IMS, 119 - Phone Power, 120 - TELKOM SA.
# Number: 100, 102, 108, 109, 111, 114, 119, 120
# Mandatory
P198 = 100

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

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

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

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

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

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

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

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

# Send Re-INVITE After Fax. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4367 = 0

# Enable Silence Detection for Fax Disconnect. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4406 = 1

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

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

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

# Preferred Vocoder
# 0 - PCMU, 8 - PCMA, 4 - G.723, 18 - G.729, 2 - G.726-32, 100 - AAL2-G.726-16,
# 102 - AAL2-G.726-24, 104 - AAL2-G726-32, 103 - AAL2-G.726-40, 98 - iLBC, 99 - G.729E
# Choice 1.
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P57 = 0

# Choice 2. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P58 = 8

# Choice 3. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P59 = 4

# Choice 4. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P60 = 18

# Choice 5. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P61 = 2

# Choice 6. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P62 = 98

# Choice 7. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P46 = 103

# Choice 8. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P98 = 99

# Voice Frame per TX. (Default 2, from 1 to 4 for G711/G726/G729)
# Number: 1, 2, 3, 4
P37 = 2

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

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

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

# AAL2-G726-16 payload type. (between 96 and 127, default is 100)
# Number: 96-127
# Mandatory
P125 = 100

# AAL2-G726-24 payload type. (between 96 and 127, default is 99)
# Number: 96-127
# Mandatory
P126 = 99

# AAL2-G726-32 payload type. (between 96 and 127, default is 104)
# Number: 96-127
# Mandatory
P127 = 104

# AAL2-G726-40 payload type. (between 96 and 127, default is 103)
# Number: 96-127
# Mandatory
P128 = 103

# G729E payload type. (between 96 and 127, default is 102)
# Number: 96-127
# Mandatory
P124 = 102

# VAD. 0 - No, 1 - Yes 
# Number: 0, 1
# Mandatory
P50 = 0

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

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

# Fax Tone Detection Mode. 1 - Caller, 0 - Callee, 2 - Caller or Callee
# Number: 0, 1, 2
# Mandatory
P894 = 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

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

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

################################################################################
# SLIC Setting.   
# 0 - USA, 1 - AUSTRIA, 2 - BELGIUM, 3 - FINLAND, 4 - FRANCE, 5 - GERMANY
# 6 - GREECE, 7 -ITALY, 8 - JAPAN, 9 - NORWAY, 10 - SPAIN, 11 - SWEDEN,
# 12 - UK, 13 - AUSTRALIA/NEW ZEALAND, 14 - CHINA
# Number: 0-14
# Mandatory
P854 = 0

# Caller ID Scheme.  
# <value=0> Bellcore/Telcordia (default)
# <value=1> ETSI-FSK during ringing	
# <value=2> ETSI-FSK prior to ringing with DTAS
# <value=3> ETSI-FSK prior to ringing with LR
# <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 
# Number: 0-10
# Mandatory
P853 = 0

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

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

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

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

# Enable Hook Flash
# Number: 0, 1
# Mandatory
P4424 = 1

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

# maximum
# Number: 40-2000
# 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=2> +4dB
# <value=3> +2dB
# <value=0> 0dB
# <value=4> -2dB
# <value=5> -4dB
# <value=6> -6dB
# Number: 0, 1, 2, 3, 4, 5, 6
# Mandatory
P247 = 0 

# RX 
# <value=1> +6dB
# <value=2> +4dB
# <value=3> +2dB
# <value=0> 0dB
# <value=4> -2dB
# <value=5> -4dB
# <value=6> -6dB
# Number: 0, 1, 2, 3, 4, 5, 6
# Mandatory
P249 = 0

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

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

# Blackllist For Incoming Calls
# Number
P4774 = 
P4775 = 
P4776 = 
P4777 = 
P4778 = 
P4779 = 
P4780 = 
P4781 = 

##############################################################################
##  FXS PORT 2 Settings.                                                    ##
##############################################################################
# Account Active. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P401 = 1

# Primary SIP Server
# Server address
P747 = sip.mycompany.com

# Failover SIP Server
# Server address
P987 = 

# Prefer Primary SIP Server. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4568 = 0

# Outbound Proxy
# Server address
P748 = proxy.mycompany.com

# Backup Outbound Proxy
# Server address
P2433 = 

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

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

# NAT Traversal (STUN). 0 - No, 2 - No but send keep-alive, 1 - Yes
# Number: 0, 1, 2
# Mandatory
P730 = 0

# SIP User ID
# String
# Max Length: 64 characters
P735 = 

# Authentication ID
# String
# Max Length: 96 characters
P736 = 

# Authentication password
# String
# Max Length: 64 characters
P734 = 

# Name (John Doe)
# String
P703 = 

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

# DNS SRV use Registered IP. 0 - No, 1 - Yes. Default is 0.
# Number: 0, 1
# Mandatory
P28093 = 0

# Primary IP
# IP address
P2408 =

# Backup IP1
# IP address
P2409 =

# Backup IP2
# IP address
P2410 =

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

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

# Unregister On Reboot. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P752 = 0

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

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

# Reregister before Expiration
# Number
# Mandatory
P2430 = 0

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

# SIP Registration Failure Retry Wait Time upon 403 Forbidden. 0 second means stop retry registration. Default is 1200 sec.
# Number 0 to 3600
# Mandatory
P26102=1200

# Local SIP port (default 5062)
# Number: 1 to 65535
# Mandatory
P740 = 5062

# Local RTP port (1024-65535, default 5012)
# Number: 1024 to 65535
# Mandatory
P739 = 5012

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

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

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

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

# Disable Bellcore Style 3-Way Conference. 0 - No, 1 - Yes.
# Number: 0, 1
# Mandatory
P4831 = 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

# 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 
#Number: 0,1
P2446 = 0

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

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

# Trusted CA certificates.
# String
P2486 =

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

# Use Privacy Header. 0 - Default, 1 - No, 2 - Yes
#(Default will not add Privacy header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
P2438 = 0

# Use P-Preferred-Identity Header. 0 - Default, 1 - No, 2 - Yes
#(Default will not add PPI header when special feature is Telkom SA or CBCOM)
# Number: 0, 1
# Mandatory
P2439 = 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 100.
# Number: 50, 100, 200, 400, 800
# Mandatory
P440 = 100

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

# SIP Timer D 
# Number: 0 - 64 seconds
# Mandatory
P2487 = 0

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

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

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

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

# DTMF-RELAY Tag Respect SIP INFO. 0 - No, 1 - Yes (If set to "NO", the dtmf-relay tag in Accept Header is always added in outbound INVITE. If set to "YES", it depends on if SIP INFO is chosen in Prefered DTMF Method.)
# Number: 0, 1
# Mandatory
P28089=0

# Disable DTMF Negotiation. 0 - No, 1 - Yes 
# Number: 0, 1
# Mandatory
P4826 = 0

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

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

# Offhook Auto-Dial (User ID/extension to dial automatically when offhook)
# String: 0 to 9, *, #
P771 =

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

# Proxy-Require 
# IP Address
P792 =

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

# Use SIP User-Agent Header for Profile 2
# String
P4835 = 

# Distinctive Ring Tone 
# 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

# Choice 1 incoming caller ID
# String
P881 = 

# Distinctive Ring Tone Choice 2
# Number: 0 - 9
# Mandatory
P882 = 0

# Choice 2 incoming caller ID
# String
P883 = 

# Distinctive Ring Tone Choice 3
# Number: 0 - 9
# Mandatory
P884 = 0

# Choice 3 incoming caller ID
# String
P885 = 

# Disable Call-Waiting. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P791 = 0

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

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

# Disable Connected Line ID. 0 = Disabled, 1 = Enabled. (If yes, Connected Line ID will not be displayed even received.)
# Number: 0, 1
# Mandatory
P20526=0 (FXS2)

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

# Disable Reminder Ring for On-Hold Call:
# Number: 0, 1
# Mandatory
P4361 = 0

# Disable Visual MWI. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P869 = 0

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

# Disable Multiple m Line in SDP. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P487=0

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

# Delayed Call Forward Wait Time. Allowed range 1-120, in seconds. Default 20 seconds.
# Number: 1 to 120
# Mandatory
P470 = 20

# No Key Entry Timeout. Default - 4 seconds.
# Number: 1 to 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 = 

# 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

# Dial Plan 
# String
P4201 = { x+ | *x+ }

# SUBSCRIBE for MWI. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P709 = 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

# Special Feature 
# 100 - Standard, 102 - BroadSoft, 108 - CBCOM, 109 - RNK, 111 - Huawei, 114 - ZTE IMS, 119 - Phone Power, 120 - TELKOM SA.
# Number: 100, 102, 108, 109, 111, 114, 119, 120
# Mandatory
P767 = 100

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

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

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

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

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

# 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

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

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

# Send Re-INVITE After Fax. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4368 = 0

# Enable Silence Detection for Fax Disconnect. 0 - No, 1 - Yes
# Number: 0, 1
# Mandatory
P4407 = 1

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

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

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

# Preferred Vocoder
# 0 - PCMU, 8 - PCMA, 4 - G.723, 18 - G.729, 2 - G.726-32, 100 - AAL2-G.726-16,
# 102 - AAL2-G.726-24, 104 - AAL2-G726-32, 103 - AAL2-G.726-40, 98 - iLBC, 99 - G.729E
# Choice 1.
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P757 = 0

# Choice 2. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P758 = 8

# Choice 3. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P759 = 4

# Choice 4. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P760 = 18

# Choice 5. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P761 = 2

# Choice 6. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P762 = 98

# Choice 7. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P814 = 103

# Choice 8. 
# Number: 0, 2, 4, 8, 18, 98, 99, 100, 102, 103, 104
# Mandatory
P815 = 99

# Voice Frame per TX. (Default 2, from 1 to 4 for G711/G726/G729)
# Number: 1, 2, 3, 4
# Mandatory
P737 = 2

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

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

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

# AAL2-G726-16 payload type. (between 96 and 127, default is 100)
# Number: 96 to 127
# Mandatory
P819 = 100

# AAL2-G726-24 payload type. (between 96 and 127, default is 99)
# Number: 96 to 127
# Mandatory
P820 = 99

# AAL2-G726-32 payload type. (between 96 and 127, default is 104)
# Number: 96 to 127
# Mandatory
P821 = 104

# AAL2-G726-40 payload type. (between 96 and 127, default is 103)
# Number: 96 to 127
# Mandatory
P822 = 103

# G729E payload type. (between 96 and 127, default is 102)
# Number: 96 to 127
# Mandatory
P818 = 102

# VAD. 0 - No, 1 - Yes 
# Number: 0, 1
# Mandatory
P750 = 0

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

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

# Fax Tone Detection Mode. 1 - Caller, 0 - Callee, 2 - Caller or Callee
# Number: 0, 1, 2
# Mandatory
P895 =0

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

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

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

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

################################################################################
# SLIC Setting.   
# 0 - USA, 1 - AUSTRIA, 2 - BELGIUM, 3 - FINLAND, 4 - FRANCE, 5 - GERMANY
# 6 - GREECE, 7 -ITALY, 8 - JAPAN, 9 - NORWAY, 10 - SPAIN, 11 - SWEDEN
# 12 - UK, 13 - AUSTRALIA/NEW ZEALAND
# Number: 0 to 13
# Mandatory
P864 = 0

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

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

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

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

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

# Enable Hook Flash
# Number: 0, 1
# Mandatory
P4425 = 1

# Hook Flash Timing. In 40-2000 milliseconds range.
# minimum
# Number: 40 to 2000
# Mandatory
P811 = 300

# maximum
# Number: 40 to 2000
# Mandatory
P812 = 1100

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

# Gain:
# TX 
# <value=1> +6dB
# <value=2> +4dB
# <value=3> +2dB
# <value=0> 0dB
# <value=4> -2dB
# <value=5> -4dB
# <value=6> -6dB
# Number: 0 to 6
# Mandatory
P248 = 0 

# RX 
# <value=1> +6dB
# <value=2> +4dB
# <value=3> +2dB
# <value=0> 0dB
# <value=4> -2dB
# <value=5> -4dB
# <value=6> -6dB
# Number: 0 to 6
# Mandatory
P283 = 0

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

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

# Blackllist For Incoming Calls
# Number
P4782 = 
P4783 = 
P4784 = 
P4785 = 
P4786 = 
P4787 = 
P4788 = 
P4789 = 

##############################################################################
##  Basic Settings.                                                         ##
##############################################################################
# End User Password
# Max Length: 30 characters
# P196 = 123

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

# Telnet Server. 1 - No, 0 - Yes
# Number: 0, 1
# Mandatory
P276 = 0

# IP Address. 0 - DHCP, 2 - PPPoE, 1 - Static IP 
# Number: 0, 1, 2
# Mandatory
# Reboot required
P8 = 0

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

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

#################################################
# PPPoE
# PPPoE account ID
# String
# Reboot required
#P82 =

# PPPoE password
# String
# Reboot required
#P83 =

# PPPoE Service Name
# String
# Reboot required
#P269 = 

# Preferred DNS server
# Number: 0 to 255
# Reboot required
#P92 = 0
#P93 = 0
#P94 = 0
#P95 = 0

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

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

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

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

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

#################################################
#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)
# <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=TZO-1> GMT+01:00 (Brussels, Belgium)
# <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=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
# String: a-z, A-Z, :, +
# Mandatory
# Reboot required
P64 = customize

# Self-Defined Time Zone
# String: a-z, A-Z, :, +
# Reboot required
P246 = MTZ+6MDT+5,M3.2.0,M11.1.0

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

#################################################
# NAT/DHCP Server Information & Configuration   #
#################################################
# Device Mode. 0 -NAT Router, 1 - Bridge
# Number: 0, 1
# Mandatory
# Reboot required
P231 = 0

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

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

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

# 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 to 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 to 11
# Mandatory
# Reboot required
P868 = 0

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

# 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

# WAN side HTTP/Telnet access. 0 - No, 1 - Yes (WAN side access will be rejected if set to No)
# Number: 0, 1
# Mandatory
P190 = 0

# White list for WAN side:
# IP addresses
P20701 =

# Black list for WAN side:
# IP addresses
P20702 =

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

# LAN DHCP Base IP. (base IP for the LAN port, default is 192.168.2.1)
# IP Address
# Reboot required
#P111 = 192.168.2.1

# LAN DHCP Start IP. (default is 100) 
# Number: 0 to 255
# Mandatory
P5002 = 100

# LAN DHCP End IP. (default is 199)
# Number: 0 to 255
# Mandatory
P5003 = 199

# LAN Subnet Mask (default is 255.255.255.0)
# Mandatory
# Reboot required
P110 = 255.255.255.0

# DHCP IP Lease Time. (in units of hours, default is 120 hours or 5 days)
# Mandatory
P112 = 120

# DMZ IP
# IP Address
P113 = 

#################################################
# Port Forwarding Settings.                     #
#################################################
#############  Choice 1 ####################################
# WAN Port
# Number: 1 to 65535
P150 =

# LAN IP
# IP Address
P158 =

# LAN Port
# Number: 1 to 65535
P166 =

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

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

# LAN IP
# IP Address
P159 =

# LAN Port
# Number: 1 to 65535
P167 =

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

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

# LAN IP
# IP Address
P160 =

# LAN Port
# Number: 1 to 65535
P168 =

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

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

# LAN IP
# IP Address
P161 =

# LAN Port
# Number: 1 to 65535
P169 =

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

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

# LAN IP
# IP Address
P162 =

# LAN Port
# Number: 1 to 65535
P170 =

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

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

# LAN IP
# IP Address
P163 =

# LAN Port
# Number: 1 to 65535
P171 =

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

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

# LAN IP
# IP Address
P164 =

# LAN Port
# Number: 1 to 65535
P172 =

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

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

# LAN IP
# IP Address
P165 = 

# LAN Port
# Number: 1 to 65535
P173 = 

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

#################################################
# Hidden values                                 #
#################################################
# TTL values for keep alive messages 
# P20517 = (FXS1)
# P20518 = (FXS2)

# Preferred DNS Server
# P92 = (FXS1)
# P93 = (FXS2)

# 2nd Preferred DNS Server
# P5026 = (FXS1)
# P5027 = (FXS2)

# HTTP User Agent String
# String
# Max Length: 256 characters
# P1541 = 

# Play registration id Feature. 0 - Disable, 1 - Enable.
# Number: 0,1
# Mandatory
# P24087 = 0 (FXS1)
# P24287 = 0 (FXS2)