summaryrefslogtreecommitdiffstats
path: root/abs/core/system-templates
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/system-templates')
-rwxr-xr-xabs/core/system-templates/templates/ncid.conf.template51
-rw-r--r--abs/core/system-templates/templates/ncid/areacodes.csv363
-rw-r--r--abs/core/system-templates/templates/ncidd.conf.template143
3 files changed, 363 insertions, 194 deletions
diff --git a/abs/core/system-templates/templates/ncid.conf.template b/abs/core/system-templates/templates/ncid.conf.template
deleted file mode 100755
index 43ef490..0000000
--- a/abs/core/system-templates/templates/ncid.conf.template
+++ /dev/null
@@ -1,51 +0,0 @@
-# tcl/tk configuration file
-
-# Directory NCID uses to find the helper scripts
-set ProgDir /usr/share/ncid
-
-# default helper script
-set EXTPROG ncid-osd
-
-# Set Host to the NCID server address
-# Host defaults to 127.0.0.1
-#set Host 127.0.0.1
-set Host 192.168.1.5
-
-# The NCID port default is 3333
-set Port 3333
-
-# If the connection to the server is lost,
-# try every Delay seconds to reconnect
-# The Default: 60
-set Delay 20
-
-# If set to 1, display raw data received from the NCID server
-# If set to 0, do not display raw data received from the NCID server
-# Default: 0
-set Raw 0
-
-# If set to 1, output: date time number name
-# If set to 0, output: name number
-# Default: 0
-set All 1
-
-# If set to 1, display formatted CID, and CID log file on connect
-# If set to 0, ddo not isplay formatted CID, and CID log file on connect
-# Default: 0
-set Verbose 0
-
-# If set to 1, display information in terminal progran or external program
-# If set to 0, display information using a GUI
-# Default: 0
-set NoGUI 1
-
-# output name and number to external program
-# Default: 0
-set Callprog 1
-
-# ring number to call external program
-# Default: 0
-set CallOnRing 0
-
-# external called program
-set Program [list $ProgDir/$EXTPROG]
diff --git a/abs/core/system-templates/templates/ncid/areacodes.csv b/abs/core/system-templates/templates/ncid/areacodes.csv
new file mode 100644
index 0000000..7d1a262
--- /dev/null
+++ b/abs/core/system-templates/templates/ncid/areacodes.csv
@@ -0,0 +1,363 @@
+Area code ,Location,Timezone
+201,New Jersey ,E
+202,Washington D.C. ,E
+203,Connecticut,E
+204,Canada - Manitoba,C
+205,Alabama,C
+206,Washington,P
+207,Maine,E
+208,Idaho,M/P
+209,California,P
+210,Texas,C
+212,New York ,E
+213,California,P
+214,Texas,C
+215,Pennsylvania,E
+216,Ohio,E
+217,Illinois,C
+218,Minnesota,C
+219,Indiana,E/C
+224,Illinois,C
+225,Louisiana,C
+226,Canada - Ontario,E
+228,Mississippi,C
+229,Georgia,E
+231,Michigan,E
+234,Ohio,E
+239,Florida,E
+240,Maryland,E
+242,Bahamas,E
+246,Barbados,A
+248,Michigan,E
+249,Canada - Ontario,E
+250,Canada - British Columbia ,P
+251,Alabama,C
+252,North Carolina ,E
+253,Washington,P
+254,Texas,C
+256,Alabama,C
+260,Indiana,E
+262,Wisconsin,C
+264,Anguilla,A
+267,Pennsylvania,E
+268,Antigua & Barbuda ,A
+269,Michigan,E
+270,Kentucky,E/C
+276,Virginia,E
+281,Texas,C
+284,British Virgin Islands ,A
+289,Canada - Ontario,E
+Area code ,Location,Timezone
+301,Maryland,E
+302,Delaware,E
+303,Colorado,M
+304,West Virginia ,E
+305,Florida,E
+306,Canada - Saskatchewan ,C
+307,Wyoming,M
+308,Nebraska,CM
+309,Illinois,C
+310,California,P
+312,Illinois,C
+313,Michigan,E
+314,Missouri,C
+315,New York ,E
+316,Kansas,C
+317,Indiana,E
+318,Louisiana,C
+319,Iowa,C
+320,Minnesota,C
+321,Florida,E
+323,California,P
+325,Texas,C
+330,Ohio,E
+331,Illinois,C
+334,Alabama,C
+336,North Carolina ,E
+337,Louisiana,C
+339,Massachusetts,E
+340,US Virgin Islands ,A
+343,Canada - Ontario,E
+345,Cayman Islands ,E
+347,New York ,E
+351,Massachusetts,E
+352,Florida,E
+360,Washington,P
+361,Texas,C
+385,Utah,M
+386,Florida,E
+Area code ,Location,Timezone
+401,Rhode Island ,E
+402,Nebraska,C
+403,Canada - Alberta ,M
+404,Georgia,E
+405,Oklahoma,C
+406,Montana,M
+407,Florida,E
+408,California,P
+409,Texas,C
+410,Maryland,E
+412,Pennsylvania,E
+413,Massachusetts,E
+414,Wisconsin,C
+415,California,P
+416,Canada - Ontario ,E
+417,Missouri,C
+418,Canada - Quebec ,E
+419,Ohio,E
+423,Tennessee,EC
+424,California,P
+425,Washington,P
+430,Texas,C
+432,Texas,C
+434,Virginia,E
+435,Utah,M
+438,Canada - Quebec ,E
+440,Ohio,E
+441,Bermuda,A
+442,California,P
+443,Maryland,E
+450,Canada - Quebec ,E
+458,Oregon,MP
+469,Texas,C
+470,Georgia,E
+473,Grenada,A
+475,Connecticut,E
+478,Georgia,E
+479,Arkansas,C
+480,Arizona,M
+484,Pennsylvania,E
+Area code ,Location,Timezone
+501,Arkansas,C
+502,Kentucky,E
+503,Oregon,P
+504,Louisiana,C
+505,New Mexico ,M
+506,Canada - New Brunswick ,A
+507,Minnesota,C
+508,Massachusetts,E
+509,Washington,P
+510,California,P
+512,Texas,C
+513,Ohio,E
+514,Canada - Quebec ,E
+515,Iowa,C
+516,New York ,E
+517,Michigan,E
+518,New York,E
+519,Canada - Ontario ,E
+520,Arizona,M
+530,California,P
+531,Nebraska,C
+534,Wisconsin,C
+539,Oklahoma,C
+540,Virginia,E
+541,Oregon,MP
+551,New Jersey ,E
+559,California,P
+561,Florida,E
+562,California,P
+563,Iowa,C
+567,Ohio,E
+570,Pennsylvania,E
+571,Virginia,E
+573,Missouri,C
+574,Indiana,EC
+575,New Mexico ,M
+579,Quebec,E
+580,Oklahoma,C
+581,Quebec,E
+585,New York ,E
+586,Michigan,E
+587,Canada - Alberta,M
+Area code ,Location,Timezone
+601,Mississippi,C
+602,Arizona,M
+603,New Hampshire ,E
+604,Canada - British Columbia ,E
+605,South Dakota ,CM
+606,Kentucky,EC
+607,New York ,E
+608,Wisconsin,C
+609,New Jersey ,E
+610,Pennsylvania,E
+612,Minnesota,C
+613,Canada - Ontario ,E
+614,Ohio,E
+615,Tennessee,C
+616,Michigan,E
+617,Massachusetts,E
+618,Illinois,C
+619,California,P
+620,Kansas,CM
+623,Arizona,M
+626,California,P
+630,Illinois,C
+631,New York ,E
+636,Missouri,C
+641,Iowa,C
+646,New York ,E
+647,Canada - Ontario ,E
+649,Turks & Caicos ,E
+650,California,P
+651,Minnesota,C
+657,California,P
+660,Missouri,C
+661,California,P
+662,Mississippi,C
+664,Montserrat,A
+667,Maryland,E
+670,Northern Mariana Isl. ,UTC+10
+671,Guam,UTC+10
+678,Georgia,E
+681,West Virginia ,E
+682,Texas,C
+684,American Samoa ,SST
+Area code ,Location,Timezone
+701,North Dakota ,CM
+702,Nevada,P
+703,Virginia,E
+704,North Carolina ,E
+705,Canada - Ontario ,E
+706,Georgia,E
+707,California,P
+708,Illinois,C
+709,Canada - Newfoundland ,NST
+712,Iowa,C
+713,Texas,C
+714,California,P
+715,Wisconsin,C
+716,New York ,E
+717,Pennsylvania,E
+718,New York ,E
+719,Colorado,M
+720,Colorado,M
+721,Sint Maarten,A
+724,Pennsylvania,E
+727,Florida,E
+731,Tennessee,C
+732,New Jersey ,E
+734,Michigan,E
+740,Ohio,E
+747,California,P
+754,Florida,E
+757,Virginia,E
+758,St. Lucia ,A
+760,California,P
+762,Georgia,E
+763,Minnesota,C
+765,Indiana,E
+767,Dominica,A
+769,Mississippi,C
+770,Georgia,E
+772,Florida,E
+773,Illinois,C
+774,Massachusetts,E
+775,Nevada,P
+778,Canada - British Columbia ,P
+779,Illinois,C
+780,Canada - Alberta ,M
+781,Massachusetts,E
+784,St. Vincent and the Grenadines,A
+785,Kansas,CM
+786,Florida,E
+787,Puerto Rico ,A
+Area code ,Location,Timezone
+800,Toll free ,
+801,Utah,M
+802,Vermont,E
+803,South Carolina ,E
+804,Virginia,E
+805,California,P
+806,Texas,C
+807,Canada - Ontario ,E/C
+808,Hawaii,UTC-10
+809,Dominican Republic ,E
+810,Michigan,E
+812,Indiana,E/C
+813,Florida,E
+814,Pennsylvania,E
+815,Illinois,C
+816,Missouri,C
+817,Texas,C
+818,California,P
+819,Canada - Quebec ,E
+828,North Carolina ,E
+829,Dominican Republic ,E
+830,Texas,C
+831,California,P
+832,Texas,C
+843,South Carolina ,E
+845,New York ,E
+847,Illinois,C
+848,New Jersey,E
+849,Dominican Republic ,E
+850,Florida,E/C
+855,Toll free ,
+856,New Jersey ,E
+857,Massachusetts,E
+858,California,P
+859,Kentucky,E
+860,Connecticut,E
+862,New Jersey ,E
+863,Florida,E
+864,South Carolina ,E
+865,Tennessee,E
+866,Toll free ,
+867,"Canada - NW Territories, Nunavut, Yukon ",CMP
+868,Trinidad & Tobago ,A
+869,St. Kitts & Nevis ,A
+870,Arkansas,C
+872,Illinois,C
+876,Jamaica,E
+877,Toll free ,
+878,Pennsylvania,E
+888,Toll free ,
+Area code ,Location,Timezone
+900,Pay per call ,
+901,Tennessee,C
+902,Canada - Nova Scotia ,A
+903,Texas,C
+904,Florida,E
+905,Canada - Ontario ,E
+906,Michigan,EC
+907,Alaska,UTC-9
+908,New Jersey ,E
+909,California,P
+910,North Carolina ,E
+911,Emergency,
+912,Georgia,E
+913,Kansas,C
+914,New York ,E
+915,Texas,C/M
+916,California,P
+917,New York ,E
+918,Oklahoma,C
+919,North Carolina,E
+920,Wisconsin,C
+925,California,P
+928,Arizona,M
+929,New York,E
+931,Tennessee,E/C
+936,Texas,C
+937,Ohio,E
+938,Alabama,C
+939,Puerto Rico ,A
+940,Texas,C
+941,Florida,E
+947,Michigan,E
+949,California,P
+951,California,P
+952,Minnesota,C
+954,Florida,E
+956,Texas,C
+970,Colorado,M
+971,Oregon,P
+972,Texas,C
+973,New Jersey ,E
+978,Massachusetts,E
+979,Texas,C
+980,North Carolina ,E
+984,North Carolina,E
+985,Louisiana,C
+989,Michigan,E
diff --git a/abs/core/system-templates/templates/ncidd.conf.template b/abs/core/system-templates/templates/ncidd.conf.template
deleted file mode 100644
index daa2e79..0000000
--- a/abs/core/system-templates/templates/ncidd.conf.template
+++ /dev/null
@@ -1,143 +0,0 @@
-# ncid - Network CallerID Server Config File
-
-################################
-# Definitions and Line formats #
-################################
-
-# lines can be blank, or start with the words: send, set #
-#
-# A line is divided into words, separated by spaces
-#
-# A word is either a string of non-blank characters, everything
-# between double quotes, or an equal sign.
-#
-# SEND LINE FORMAT:
-# send DATATYPE [DATATYPE] ...
-# where DATATYPE = cidlog, cidinfo
-#
-# SET LINE FORMAT:
-# set ITEM = VALUE [ITEM = VALUE] ...
-# where ITEM = cidalias, cidlog, datalog, initcid, initstr,
-# lockfile, port, ttyclocal, ttyport, ttyspeed,
-# nomodem
-
-############################
-# Log and Info for Clients #
-############################
-
-# Send the call log to a client when connected
-# The default is not to send the call log file
-send cidlog
-
-# Send call info (LINE and RING) to a client at each ring
-# The default is not to send the call info line
-send cidinfo
-
-############################
-# NCID Communications Port #
-############################
-
-# The default TCP/IP port is 3333
- set port = 3333
-
-#######################
-# Alias and Log Files #
-#######################
-
-# The default CID alias file: /etc/ncid/ncidd.alias
-# set cidalias = /etc/ncid/ncidd.alias
-
-# The default CID call log file: /var/log/cidcall.log
-# the log file must exist, ncidd will not create it
-# (also make the change in /etc/logrotate.d/ncidd
-# and also /etc/ncid/ncidrotate.conf)
-# set cidlog = /var/log/cidcall.log
-
-# The default tty data log file: /var/log/ciddata.log
-# the log file must exist, ncidd will not create it
-# (also make the change in /etc/logrotate.d/ncidd
-# and also /etc/ncid/ncidrotate.conf)
-# set datalog = /var/log/ciddata.log
-
-#####################
-# TTY Configuration #
-#####################
-
-# The default tty port: /dev/modem
-# set ttyport = /dev/cu.modem # Macintosh OS X
- set ttyport = /dev/ttyS1
-
-# The default tty port speed: 19200
-# The tty speed can be one of: 38400, 19200, 9600, 4800
-# set ttyspeed = 4800 # NetCallerID port speed
-
-# Ignore tty control signals for internal modems and 3 wire serial cables
-# Disable tty control signals: ttyclocal = 1
-# Enable tty control signals: ttyclocal = 0 (default)
-# set ttyclocal = 1
-
-# The lockfile name is generated automatically
-# If tty port is /dev/modem, lockfile is: /var/lock/LCK..modem
-# set lockfile = /var/lock/LCK..ttyS0
-
-#####################
-# Modem or No Modem #
-#####################
-
-# Obtain CallerID from a CID device or a modem
-# device: nomodem = 1 (do not send AT commands)
-# modem: nomodem = 0 (default - send AT commands)
-# set nomodem = 1
-
-########################
-# Modem Initialization #
-########################
-
-# The default modem initialization is: "AT Z S0=0 E1 V1 Q0"
-# set initstr = "ATE1V1Q0"
-#
-# Alternate modem initialization string
-# set initstr = "AT&FE1V1Q0+VIP"
-
-# Addon strings to set modem for Distinctive Ring:
-# http://www.modemsite.com/56k/dring.asp
-#
-# 3Com/USR/TI chipset: ATS41=1
-# Reported Ring Codes: RING A, RING B, RING C
-# Rockwell/Conexant chipset: AT-SDR=7
-# Reported Ring Codes: RING 1, RING 2, RING 3
-# Lucent/Agere chipset: AT+VDR=1,0
-# Reported DROF/DRON messages: DRON=5 DROF=11, DRON=5 DROF=34
-#
-# Example adds 3Com DR to the default modem initialization
-# set initstr = "ATE1V1Q0S41=1"
-
-# The default for ncidd is to try two CID strings to setup
-# CallerID: "AT+VCID=1" and if that fails: "AT#CID=1".
-# set initcid = "AT#CID=1"
-#
-# Alternate CID strings to try if default does not work:
-# set initcid = "AT+FCLASS=8;+VCID=1"
-# set initcid = "AT-STE=1;+VCID=1"
-# set initcid = "AT-STE=1;#CID=1"
-
-#################
-# TiVo Settings #
-#################
-# set ttyclocal = 1 # TiVo requires CLOCAL
-# set ttyport = /dev/ttyS1 # TiVo Modem Port
-# set lockfile = /var/tmp/modemlock # needed for TiVo Modem Port
-#
-# To use a modem on the TiVo serial port
-# Tivo (stereo mini jack) ->
-# -> (stereo mini plug) TiVo serial cable (9-pin male) ->
-# -> (9-pin Female) PC modem cable (25-pin Male ->
-# -> (25-pin Female) Modem
-# if the modem has switches, disable DTR
-# Use this string to set the modem before attaching it to the TiVo:
-# AT&F0&D0&B1&W
-#
-# set ttyport = /dev/ttyS3 # TiVo Serial Port
-#
-# End TiVo Settings
-