#txt
# default values for virgin boxes
# note: declaration order is not important other than the 1st 2 or 3 lines


# ============================= UI Parameters ============================
# UIPassword: alphanumeric string (9 characters max) -- control access to
#       web page or IVR interface. If set to non-zero, then every access
#       to the web page and IVR will require the value of UIPassword
#       being entered.
#   IVR Access Code <7387277>
UIPassword:0
#
MAC:0.1.2.3.4.5
#


# ------------------------------------------------------------------------
# Dhcp: boolean value -- where 1 means do DHCP at reset to obtain
#       IP/route/netmask/DNS/NNTP/TFTP etc, and 0 means don't use
#       DHCP, instead use hard coded parameter values.
#   IVR Access Code <20>
dhcp:1

# ------------------------------------------------------------------------
# staticIp, staticSubNetMask, staticRoute: IP value -- statically assigned
#       ip, subnetmask, and route. This is used if dhcp parameter
#       is not set to 1.
#   IVR Access Code <1> for StaticIp
#   IVR Access Code <2> for StaticRoute
#   IVR Access Code <10> for StaticNetMask
StaticIp:192.168.2.253
StaticRoute:192.168.2.9
StaticNetMask:255.255.255.0
#

# ------------------------------------------------------------------------
# GkId: alphanumeric string (31 characters max) -- gatekeeper zone id
#       (default is '.').
#   IVR Access Code <91>
GkId:.

# ------------------------------------------------------------------------
# Gk: alphanumeric string (31?joel characters max) -- gatekeeper ip
#   IVR Access Code <5>
#   Format: Null-terminated alpha-numeric string with up to 31 characters.
Gk:0

# ------------------------------------------------------------------------
# AltGk: alphanumeric string (31 characters max) -- Alternate gatekeeper
#   NOTE: ConnectMode bit 3 (mask 0x8) control whether alternate
#       gatekeeper need to register or not.
#   IVR Access Code <6>
AltGk:0

# ------------------------------------------------------------------------
# AltGkTimeOut: integer value -- Alternate gatekeeper timeout value in
#       seconds.
#   IVR Access Code <251>
AltGkTimeOut:0

# ------------------------------------------------------------------------
# GkTimeToLive: integer value -- Gatekeeper Time To Live value.
#   IVR Access Code <250>
GkTimeToLive:300

# ------------------------------------------------------------------------
# GateWay: alphanumeric string (31 characters max) -- gateway ip (if
#       gatekeeper is not used for routing call)
#   IVR Access Code <11>
Gateway:0

# ------------------------------------------------------------------------
# UID: alphanumeric string (31 characters max?joel) -- user id for line
#      (max 31 characters or digits)
#   IVR Access Code <3>?joel for UID
#
#
UID:123

# ------------------------------------------------------------------------
# PWD: alphanumeric string (31 characters max) -- password for line
#       (max 31?joel characters or digits)
#   IVR Access Code <4>?joel for PWD
#
#
PWD:0

# ------------------------------------------------------------------------
# LoginID: alphanumeric string (19 characters max?joel) -- H.323 Login id 
# for line. This is needed if AuthMethod is set to 1. 
#   IVR Access Code <46> for LoginId?joel
#
#
LoginID:0

# ------------------------------------------------------------------------
# UseLoginID: boolean -- 1 means use Login id specified in LoginId0 and
#       LoginId1 and 0 means not. 
#       * For H323, this field is needed if autm is set to 1
#       * For SIP,  UID0 and UID1 will be used for authentication if this
#         is 0
#
#   IVR Access Code <93>
UseLoginID:0

# ------------------------------------------------------------------------
# LBRCodec: integer value -- Low bit rate codec
#       possible values are:
#       0 -- select one of g723, g711a, or g711u
#       3 -- select one of g729a, g711a, or g711u
#   IVR Access Code <300>
LBRCodec:0

# ------------------------------------------------------------------------
# RxCodec: integer value -- receiving audio codec preference
#       possible values are:
#       0 -- g723 (can be selected only if LBRCodec is set to 0)
#       1 -- g711a
#       2 -- g711u
#       3 -- g729a (can be selected only if LBRCodec is set to 3)
#   IVR Access Code <36>
RxCodec:2

# ------------------------------------------------------------------------
# TxCodec: integer value -- transmitting audio codec preference
#       possible values are:
#       0 -- g723 (can be selected only if LBRCodec is set to 0)
#       1 -- g711a
#       2 -- g711u
#       3 -- g729a (can be selected only if LBRCodec is set to 3)
#   IVR Access Code <37>
TxCodec:2

# ------------------------------------------------------------------------
# AudioMode: bitmap value -- Representing Audio operating mode.
# The lower-16 bit for channel 0, and the upper 16-bit for channel 1
#
# bit 0 (mask 0x1): G711SilenceSuppress -- enable g711 silent
#       suppression (1)
# bit 1 (mask 0x2): G711Only -- use g711 only; don't use low-bit-rate
#       codec (0)
# bit 2 (mask 0x4): FaxDetCED -- enable fax CED tone detection (1)
# bit 3 (mask 0x8): FaxDetCNG -- enable fax CNG tone detection (0)
# bit 4-5 (mask 0x30): DtmfMethod --
#       0=always inband (send and receive, don't send SDP info),
#       1=by negotiation (send SDP info, enable rcv, decode others
#         SDP info, send depends on others SDP info), 
#       2=always out-of-band (send SDP info, enable rcv, decode
#         others SDP info, always send) (1)
# bit 6-7 (mask 0xc0): HookflashMethod --
#       0=disable sending hookflash
#       1=by negotiation
#       2=always sending hookflash
#       3=using Q931 to send user keypad input
#         (Dtmf or hookflash) information (0)
#   IVR Access Code <312>
#
#
AudioMode:0x00150015

# ------------------------------------------------------------------------
# NumTxFrames: integer value -- transmit frames per packet.
#       possible values: integer values (please only use the recommended
#       default)
#   IVR Access Code <35>
NumTxFrames:2

# ------------------------------------------------------------------------
# PaidFeatures (CallFeatures): bitmap value -- Subscribe(Enable)/
#   Unsubsribe(Disable) Call Features
# Note:
# - This is a 32-bit value: Lower 16-bit for channel 0, upper 16-bit 
#   for channel 1;
# - CallFeatures and PaidFeatures use the same bit masks. PaidFeatures
#   indicate which service the user has subscribed to and CallFeatures
#   indicate which subsribed feature is (statically) enabled by the
#   the user. Not all subsribed services can be disabled by the
#   user. The valid flags in CallFeatures are CLIP_CLIR, CALL_WAITING,
#   and FAXMODE. A subsribed service enable/disabled by the user can
#   be disabled/enabled dynamically on a per call basis;
#
#    Possible values:
#       bit 0  (mask 0x1):   FORWARD_ALL -- forward unconditional
#       bit 1  (mask 0x2):   FORWARD_BUSY --forward on busy
#       bit 2  (mask 0x4):   FORWARD_NOANS -- forward on no answer
#       bit 3  (mask 0x8):   CLIP_CLIR -- CLIP
#       bit 4  (mask 0x10):  CALL_WAITING  -- call waiting
#       bit 5  (mask 0x20):  3WAY_CALLING -- 3-way calling
#       bit 6  (mask 0x40):  XFER_BLIND -- blind transfer
#       bit 7  (mask 0x80):  XFER_CONSULT -- consult transfer
#       bit 8  (mask 0x100): CALLERID -- caller ID
#       bit 9  (mask 0x200): Call Return
#       bit 10 (mask 0x400): MWI -- message waiting indication
#       bit 15 (mask 0x8000):FAXMODE -- FAX mode
#
#   IVR Access Code <314> for CallFeatures.
#   IVR Access Code <315> for PaidFeatures.
#
#
CallFeatures:0xffffffff
PaidFeatures:0xffffffff

# ------------------------------------------------------------------------
# ConnectMode: bitmap value -- connection mode of the protocol used
#    Possible values are:
#       bit 0 (mask 0x1) -- 0 for slow start and 1 for fast start (h323)
#       bit 1 (mask 0x2) -- 1 use h245 tunneling.
#       bit 3 (mask 0x8) -- 1 means alternate gatekeeper need register.
#       bit 4 (mask 0x10)-- 1 means CallManager environment, 0 otherwise.
#       bit 5 (mask 0x20)-- 1 means no audio cut through before receiving CONNECT message.
#       bit 6 (mask 0x40)-- 1 means Progress Indicator to be enforced in IP ringback.
#       bit 12-8 (mask 0x1f00) -- offset to payload 96 (0-23)
#       bit 13 (mask 0x2000) -- 0 use g711ulaw, 1 use g711alaw
#       bit 14 (mask 0x4000) -- 0 use fax pass through and 1 use codec 
#               negotiation in sending fax
#       bit 15 (mask 0x8000) -- 0 means enable/1 means disable detecting 
#               fax pass through (see Q&A 8)
#       bit 16 (mask 0x10000) -- 1 enables SIP to remove registration
#               before adding new one
#       bit 17 (mask 0x20000) -- 1 enables SIP call forwarding performed by ATA
#       bit 18 (mask 0x40000) -- 1 enables SIP call return performed by ATA
#       bit 19 (mask 0x80000) -- 1 enables ATA to send ring back tone to
#																 the caller
#       bit 20 (mask 0x100000) -- 1 enables SIP to specify "action=proxy" in
#																 REGISTER message
#       bit 21 (mask 0x100000) -- 1 enables SIP to specify "action=redirect" in
#																 REGISTER message
#       note: Setting both bit 20 & 21 is forbidden; setting both to 0 causes
#             SIP not to include "action" parameter in REGISTER message (ie. up
#             to the proxy server to decide what action to take) 
#   IVR Access Code <311>
ConnectMode:0x00060400

# ------------------------------------------------------------------------
# TimeZone: integer value -- timezone offset from GMT for time-stamping
#           incoming calls with local time (for caller-id display, etc.).
#   IVR Access Code <302>
#   Possible values are: 0, 1, 2, ..., 24. Local time is generated by
#   the following formula: 
#      Local Time = GMT + TimeZone        , if TimeZone <= 12
#      Local Time = GMT + TimeZone - 25   , if TimeZone > 12
Timezone:17

# ------------------------------------------------------------------------
# AutMethod: bitmap value -- authentication method.
#    Possible values are:
#       bit 0-1 (mask 0x3) -- 0 for no authentication, 1 for
#                 cisco registration level security (H.235), 2 for cisco 
#                 admission level security.
#       bit 2 (mask 0x4) -- prefix password field when registering.
#   IVR Access Code <92>
AutMethod:0

# ------------------------------------------------------------------------
# NTPIP: IP value -- ntp ip address (needed if DHCP server does not
#       provide one)
# AltNTPIP: IP value -- alternate ntp ip address (if redundancy is
#	desired).
#   IVR Access Code <141> for NTPIP
#   IVR Access Code <142> for AltNTPIP
NTPIP:0.0.0.0
AltNTPIP:0.0.0.0

# ------------------------------------------------------------------------
# DNS1IP, DNS2IP: primary and secondary DNS ip (if DHCP server does not
#       provide one).
#   IVR Access Code <916> for DNS1IP
#   IVR Access Code <917> for DNS2IP
DNS1IP:0.0.0.0
DNS2IP:0.0.0.0

# ------------------------------------------------------------------------
# UseTftp: boolean value -- 1 means use tftp for provisioning;
#       0 means none.
#   IVR Access Code <305>
UseTftp:1

# ------------------------------------------------------------------------
# TftpURL: alphanumeric string (31 characters max) -- a URL, i.e. IP or
#       URL of tftp server to use. This is needed if the DHCP will not
#       give the TFTP address. You can optionally include the path prefix
#       to the Tftp file to download. E.g. If the Tftp server IP address
#       is 192.168.2.170 or wwww.cisco.com, and the path to download the
#       Tftp file is in /ata186, then you can specify the URL as
#       192.168.2.170/ata186 or www.cisco.com/ata186.
#   IVR Access Code <905> -- NOTE: from the IVR, you can only enter IP
#       address, from the web server, you can enter actual URL.
TftpURL:0

# ------------------------------------------------------------------------
# ToConfig: boolean value -- 1 if the box is fresh from the factory,
#       otherwise should set the box to 0 once it is configured to have
#       operating configuration.
#   IVR Access Code <80001>
ToConfig:1

# ------------------------------------------------------------------------
# CfgInterval: integer value -- representing number of seconds.
#       Interval between each configuration update (in case of using
#       tftp for provisioning, every such interval expiration, the box
#       will do another tftp get of its configuration file
#       at the earliest possible time -- when the box is idle).
#       CfgInterval can be set to some random value to achieve
#       random contact interval from individual ATA box to the tftp
#       server.
#   IVR Access Code <80002>
CfgInterval:3600

# ------------------------------------------------------------------------
# EncryptKey: alphanumeric string (8 charaters max) -- 0 means no
#       encryption was made on the incoming profile from tftp server.
#       Other value means that the profile from tftp server is encrypted
#       with this key using rc4 encryption algorithm. The cfgfmt will
#       automatically encrypt the binary file when this parameter has
#       value specified other than 0.
#   IVR Access Code <320>
EncryptKey:0

# ------------------------------------------------------------------------
# NPrintf: extended IP value -- diagnostic use, debug output print server
#       IP address and port.
#       You need a program called "prserv" running on port number say
#       9001 on a machine (say 192.168.2.170). Then setting this parameter
#       to 192.168.2.170.9001 will cause ATA to output debug trace
#       to that server. Prserv is available from CCO.
#   IVR Access Code <81>
NPrintf:0

# ------------------------------------------------------------------------
# IPDialPlan: integer value -- allow for detection of ip like destination
#       address in dial plan.
#    Possible values:
#       1 -- if two '.' is seen, then assume ip being possibly entered.
#       2 -- if three '.' is seen, then assume ip being possibly entered.
#       all other values are currently undefined.
#   IVR Access Code <310>
IPDialPlan:1

# ------------------------------------------------------------------------
# dial plan: alphanumeric string (199 characters max) -- dial plan rules.
#    NOTE: no syntax check is performed by the actual implementation.
#       It is the responsibility of the provisioner to make sure that
#       the dial_plan is syntatically valid.
#
#    dial_plan -- programmable strings of dial plan that allow
#        one to specify:
#            o special rule -- I{timeout} to control default inter-digit
#	      timeout - specifying this rule also has the side effect
#             of preventing non-matching dial string from being sent out.
#            o optional send character to use (e.g. '#' or '*')
#            o how many digits before auto send
#            o send after timeout at any specified number of digits
#             (time out can be changed as digits are entered).
#        in the following:
#            o . means match any digits
#            o - means more digits can be entered, this (if needed) must
#                appear at the end of the individual rule
#                (i.e. e.g. 1408t5- is legal, but  1408t5-3... is illegal).
#            o ># means terminating key to send is #, and termination
#                can be applied only after matching hits ># (So >*
#               means terminating char is *, i.e. terminating key
#               must follow >)
#            o rules applied in the order of listed (whichever matched
#               completely first will cause trigger the send).
#            o tn means timeout is n seconds (note: n is 0-9 and
#               a-z -- which ranges 0 to 26).
#            o more than one rules are separated by |.
#            o rn means repeat last pattern n times (note: 1. ># or tn are
#              modifier, they are not pattern; 2. n is 0-9 and a-z --
#              which ranges 0 to 26). Use the repeat modifier to specify
#              more rules in less space.
#
#        You can also use the modifier 'S' to sieze the rule matching
#        (i.e. if a rule matches and the modifier 'S' is seen, all other
#        rules after that matching rule will not be used for matching).
#
#        Examples 1:
#            the set of dial plan rules:
#              ".t7>#......t4-|911|1t7>#..........t1-|0t4>#.t7-"
#             or equivalently
#              ".t7>#r6t4-|911|1t7>#.r9t1-|0t4>#.t7-"
#            consists of the following rules:
#              .t7>#......t2- -- at least one digit need to be
#                    entered, after that, time out is 7 seconds
#                    before send, and terminating char # can also
#                    be applied after the first digit is entered,
#                    and after 7 digits are entered, time out
#                    change to 2 seconds. * means further digits
#                    can be entered as long as not terminated by
#                    timeout or #.
#              911 -- send out immediately
#              1t7>#..........t1- -- at least one digit need to be
#                    entered, after that, time out is 7 seconds
#                    before send, and terminating char # can also
#                    be applied after the first digit is entered,
#                    and after 10 digits are entered, time out
#                    change to 1 second. * means further digits can be
#                    entered as long as not terminated by timeout
#                    or #.
#              0t4>#.t7- -- after entering 0, if no other digit is
#                    entered, it will timeout and send in 4 seconds,
#                    otherwise, time out change to 7 seconds after
#                    another key is entered. again # is terminating
#                    digit.
#       Examples 2:
#           the set of dial plan rules:
#               "911|1>#.r9t3.t5-|0t411t9-"
#           if 911 entered, it will be sent out immediately.
#           if 14088713344 is entred, after 3 seconds, it will
#           be sent out but if another digit is entered (say
#           140887133445, the timeout chaned to 5 seconds).
#           if 0 is entered, after 4 seconds, it will be send out.
#           if 011 is entered, the time out changed to 9 seconds.
DialPlan:*St4-|#St4-|911|1>#t8.r9t2-|0>#t811.rat4-|^1t4>#.-

# ------------------------------------------------------------------------
# RingOnOffTime: array of shorts integer value (3 shorts) --  control phone
#       ring characteristic.
#    Recommended US Value: 2,4,25
#    Recommended Swedish Value: 1,5,25
# ------------------------------------------------------------------------
# DialTone:
# BusyTone:
# ReorderTone:
# RingBackTone:
# CallWaitTone:
# AlertTone: array of short integers (9 shorts) -- Play back tones.
#   (NOTE: Play back tone can be specified in terms of frequency, the
#   one provided below are precomputed internal value only known
#   to ATA. If frequency entry format is desired, append "Freq" to
#   each tone name: e.g. RingBackToneFreq. Format RingBackToneFreq is
#   ntone,freq[0],freq[1],level[0],level[1],steady,on-time,off-time,
#
#     - ntone (no. of tones): 1 or 2 (integer only) 
#     - freq[0] (Hz): 0.00 to 4000.00
#     - freq[1] (Hz): 0.00 to 4000.00
#     - level[0] (dBm): 10.00 to -60.00
#     - level[1] (dBm): 10.00 to -60.00
#     - steady: 1 (steady tone, next 2 parameters ignored), 
#        or 0 (on/off according to next 2 parameters) (integer only) 
#     - on-time  (ms): 1 to 0x7FFFFFFF (integer only) 
#     - off-time (ms): 1 to 0x7FFFFFFF (integer only) 
#     - total time to play tone (ms): 0 (forever), or 1 to 0x7FFFFFFF
#       (integer only) 
#
#      For example: US Ring-back tone can be specified as
#
#      RingBackToneFreq:2,440.0,480.0,-10.0,-10.0,0,2000,4000,0 
#
#      which is the same as the precomputed ATA internal format:
#
#      RingBackTone:2,30831,30467,1902,1902,0,16000,32000,0
RingOnOffTime:2,4,25
DialTone:2,31538,30831,3100,3885,1,0,0,1000
BusyTone:2,30467,28959,1191,1513,0,4000,4000,0
ReorderTone:2,30467,28959,1191,1513,0,2000,2000,0
RingBackTone:2,30831,30467,1943,2111,0,16000,32000,0
CallWaitTone:1,30831,0,5493,0,0,2400,2400,4800
AlertTone:1,30467,0,5970,0,0,480,480,1920

# ------------------------------------------------------------------------
# EchoIP: extended IP -- diagnostic use, echo loopback test server. This
#       server is a echo loop back UDP server running at port number 5665.
#       Via IVR, when the user enter IVR code "test9", the user can
#       listen to an echo loop back spoken to the handset.
#   IVR Access Code <904>
EchoIP:192.168.2.9

# ------------------------------------------------------------------------
# NATIP: IP value -- WAN address of the attached router/NAT; currently 
#                    only used to support SIP behind a NAT
#   IVR Access Code <200>
NATIP:0.0.0.0

# ------------------------------------------------------------------------
# MediaPort: integer value -- base port to receive RTP media; currently 
#                             only used to support SIP behind a NAT
#   IVR Access Code <202>
MediaPort:16384

# ------------------------------------------------------------------------
# UDPTOS: bitmap value -- UDP IP TOS (Type of Service) Bits, determines
#       the precedence and delay of UDP IP packet.
#    Possible values are:
#       Only the lower 8 bits should be set.
#   IVR Access Code <255>
UDPTOS:0xA0

# ------------------------------------------------------------------------
# SigTimer: 32-bit bit fields which contain timeout values to start/stop 
#           the following signalling events:
#
#  CWT PERIOD (Bits 0-7) : 
#    Period between each burst of call-waiting tone
#    Range = 0 to 255 in 0.1 sec; 0 => default 100 (or 10 sec)
#    Default: 100 (0x64 = 10 sec)
#
#  REORDER DELAY (bits 8-13):
#		 Delay in playing reorder (fast busy) tone after far end hangs up
#    Range = 0 to 62 in sec, 63 = never play reorder 
#    Default: 5 (sec)
#
#  RING TIMEOUT (bits 14-19):
#    Timeout in ringing the phone after which ATA rejects the incoming call
#    Range = 0 to 63 in 10 sec, 0=never times out
#    Default: 6 (60 sec)
#
#  NOANS TIMEOUT (bits 20-25)
#    Time to declare no answer and initiate call forwarding on no answer 
#    (used in SIP only at the moment)
#    Range = 0 to 63 in sec
#    Default: 20 (0x14 = 20 sec)
#   
#  Reserved (bits 26-31)
#  IVR Access Code <318>
SigTimer:0x0001418564

# ------------------------------------------------------------------------
# OpFlags: bitmap value -- turn on/off various operational features.
#   Bit 0 (mask 0x1): if set to 1, always use the internally generated
#                     tftp file name.
#   Bit 1 (mask 0x2): if set to 1, do not perform static network router
#                     probing at cold start.
#   BIT 4 (mask 0x10): if set to 1, assume operating under VLAN (the VLAN
#                     id is specified in VLANSetting, see VLANSetting
#                     parameter) -- this is only applicable to ATA with
#                     SKinny protocol at this time,
#   IVR Access Code <323>
OpFlags:0x2

# ------------------------------------------------------------------------
# VLANSetting: bitmap value -- this parameter is only applicable to
#               ATA with Skinny Signalling Protocol at this time.
#               The value specify various VLAN Setting:
#   Bit 2-0 (mask 0x7): specify 802.1Q priority for Signalling IP packets.
#   Bit 5-3 (mask 0x38): specify 802.1Q priority for Audio Voice IP packets.
#   Bit 17-6 (mask 0x3ffc0): reserved.
#   Bit 29-18 (mask 0x3ffc0000): user specified 802.1Q VLAN id.
#   Bit 31-30 (mask 0xc0000000): reserved.
#   IVR Access Code <324>
VLANSetting:0x0000002b

