ARTECH2NCID(1)
π ARTECH2NCID π
okay bestie, welcome to artech2ncid β that's the ARTECH Caller ID device to NCID server gateway, and yes it's part of the NCID manual fam (section 1, executables, iykyk). sit down, hydrate, and let's get into it π«Ά
β¨ SYNOPSIS β¨
artech2ncid [options]
Options:
[--configfile <filename> | -C <filename>]
[--disable_incoming <0-0xF> | -d <0-0xF>]
[--debug | -D]
[--help | -h]
[--hostname-flag <0|1> | -H <0|1>]
[--logfile <filename> | -L <filename>]
[--mem_trace <0-2> | -m <0-2>
[--ncid <[host][:port]> | -n [host][:port]>]
[--pidfile <filename> | -P <filename>]
[--test | -t]
[--tracefile <filename> | -T <filename>]
[--verbose <1-9> | -v <1-9> ]
[--version | -V]
(no we did not fix the bracket situation in that code block. we love her exactly as she is π )
πΈ DESCRIPTION πΈ
so the artech2ncid gateway is literally built for the ARTECH AD102 device. that lil cutie captures CID data for incoming and outgoing calls on a POTS line, and it also keeps track of the phone line state. multitasking queen π
the line identifier gets set in the config file artech2ncid.conf. and here's the slay part β it can be aliased by the NCID server, so you can give each phone line a meaningful identification, like the last 4 digits of the phone number. for example: 1234. you can even use the complete phone number if you desire. your line, your rules β¨
the configuration file for artech2ncid is prefix3=/etc/ncid/artech2ncid.conf. it may be located in the same directory as the script, or in the etc directory, or in the NCID default configuration directory. read the comments in the config file for more details, bestie, they're there for a reason π
the artech2ncid device can run on any system, but normally it is run on the same box as the NCID server. if it is not run on the same box as the NCID server, you must configure the server IP address in the configuration file. no cap, don't skip that step π
β¨ OPTIONS β¨
-C <filename>,--config <filename>β the configuration file. π
Default: prefix3=/etc/ncid/artech2ncid.conf
-d <0|1>,--disable_incoming <0-0xF>β so theartech2ncidgateway, by default, obtains the CID/WID/RID/MWI from a call and sends that info to the server. if you want the server to hangup on a call, setcidinput = 2and enable hangup inncidd.conf.
if you want the modem to get CID from a call and do the hangup, set this option to 0x1, and enable hangup in ncidd.conf. there is normally no reason to do this. like, none. we're just telling you it exists π
it is also possible to selectively disable the sending of incoming calls to ncidd:
0x0will send everything (default)0x1disables sending CID0x2disables sending WID0x4disables sending RID0x8disables sending MWI
those 4 bits can be combined. this is useful for special cases like multiple gateways on the same line. bit math but make it fashion π₯
Default: 0
-D,--debugβ debug mode!artech2ncidstays attached to the terminal and displays all messages that go into the log file. main character energy, refusing to leave the room π-h,--helpβ displays the help message and exits. short, sweet, iconic β¨-H <0|1>,--hostname-flag <0|1>β when the hostname flag is set to1, the IDENT string sent to a server will include the hostname along with the program name. π·οΈ
Default: 1
-L <filename>,--logfile <filename>β specifies the logfile name to use.
Default: /var/log/artech2ncid.log
-m <0-2>,--mem_trace <0-2>β trace mode: dumps the 64 byte read buffer of the device into the tracefile. it's giving surveillance but make it debugging π0: no trace.1: dumps read buffer every time important bytes change.2: dumps read buffer every time it is read (heavy).
Default: 0
-P <filename>,--pidfile <filename>β specifies the pidfile name to write. set it to/var/run/artech2ncid.pidin an rc or init script when used as a service. the program will still run if it does not have permission to write a pidfile. there is no default. if pidfile is not set, no pid file will be used. she's flexible like that π-v <1-9>,--verbose <1-9>β verbose mode. send information into the logfile.
to debug, try: verbose = 4 or 5
Default: 1
-t,--testβ test mode!artech2ncidstays attached to the terminal and no connection is made to the server. displays all messages that go into the log file. safe, cozy, unbothered πΈ
test mode sets debug mode and verbose = 3. the verbose level can be changed on the command line.
-T <filename>,--tracefile <filename>β specifies the trace file name to write.
Default: /var/log/artech2ncid.trace
-V,--versionβ displays the version then exits. quick lil flex π
π¦ REQUIREMENTS π¦
- ARTECH AD102 device
π FILES π
prefix3=/etc/ncid/artech2ncid.conf
π SEE ALSO π
artech2ncid.conf.5ncidd.8ncidd.conf.5ncid_gateways.7
go read the whole squad, they're all icons, fr fr π
okay that's the whole page bestie, you're officially certified π this lil masterpiece comes to you from NCID, dated 2023-06-24 β go forth and gateway responsibly, mwah π«Άβ¨
π¦ where this page comes from
- fedora 43: ncid-gateways 1.18-4.fc43 Β· GPL-3.0-or-later
- fedora 44: ncid-gateways 1.18-5.fc44 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms