NCIDD.ALIAS(5)
π NCIDD.ALIAS π
okay bestie, gather round, we're talking about ncidd.alias(5) β that's the manual page for the NCID Server Alias File β¨
πΈ NAME πΈ
ncidd.alias β the NCID Server Alias File, aka the glow-up document for your Caller ID β¨
π DESCRIPTION π
The ncidd.alias file is where all the alias info for ncidd, the NCID Server, lives. It's giving matchmaker for Caller ID names and numbers π β and not only that, it also holds the aliases for telephone line identifiers too. so many jobs, so iconic.
The ncidd.alias file understands 3 types of lines, and only 3:
- blank line: ignored. not even looked at. ghosted. π»
- comment line, beginning with
#: also ignored. it said what it said and we moved on. π - alias line: processed. this is the main character. π
here's what an alias line looks like:
alias [NMBR|NAME] ["]FROM["] = ["]TO["] [if ["]VALUE["]]
alias [LINE] ["]FROM["] = ["]TO["
where NMBR, NAME or LINE is a KEYWORD
FROM is a CID string:
can be a '*' (match everything) when using if
TO is the alias for the FROM string
VALUE is a NAME if KEYWORD = NMBR
VALUE is a NMBR if KEYWORD = NAME
can contain a '^' (partial match from beginning)
VALUE is a LINE if KEYWORD = LINE
so like, breaking it down fr fr:
NMBR,NAMEorLINEis a KEYWORDFROMis a CID string β and ngl, it can be a'*'(match everything) when using if πTOis the alias for theFROMstringVALUEis a NAME if KEYWORD =NMBRVALUEis a NMBR if KEYWORD =NAMEβ and it can contain a'^'(partial match from beginning) π―VALUEis a LINE if KEYWORD =LINE
β¨ Alias Types β¨
these are the flavors, pick your vibe:
NAME and NMBR: alias <name> = <new name>
NAME: alias NAME <name> = <new name>
NMBR: alias NMBR <number> = <new number>
LINE: alias LINE <line> = <new line>
(the name, number and line can contain a simple posix or pcre expression)
NAMEDEP: NAME * = <new name> if <number>
NMBRDEP: NMBR * = <new number> if <name>
(the The '*' in NAMEDEP and NMBRDEP is a placeholder and is ignored)
lowkey obsessed with the fact that the name, number and line can contain a simple posix or pcre expression π§ β regex girlies, this one's for you.
and heads up: that '*' in NAMEDEP and NMBRDEP is a placeholder and is ignored. it's just there for the aesthetic, not the function. periodt.
π¦ EXAMPLES π¦
okay these are so satisfying, watch:
Change OUT-OF-AREA to UNAVAILABLE in both name and number fields:
alias OUT-OF-AREA = UNAVAILABLE
Change OUT-OF-AREA to UNAVAILABLE in the name field only:
alias NAME OUT-OF-AREA = UNAVAILABLE
Change any name to a specific name for a phone number:
alias NAME * = "John on cell" if 4075551212
Change any name to a specific name matching the beginning of a phone number:
alias NAME * = "Toll Free" if ^800
Mask a phone number:
alias NMBR 4075551212 = "----------"
The default line indicator for a POTS line is -. and bestie, the ncid client will not display the - indicator. so if you wanna display 'POTS' for a POTS line:
alias LINE - = POTS
To not display a gateway line indicator, change it from the one received to a -. If the line indicator is '1122':
alias LINE 1122 = -
Change any line indicator to VOIP. π but be careful β place this after a POTS line indicator if a POTS line is also present:
alias LINE * = VOIP
β οΈ fr fr, that ordering thing is not a drill. put the LINE * wildcard last or it'll eat everything before the specific ones get a chance. π
π SEE ALSO π
ncidd.8, ncidd.conf.5, ncidd.blacklist.5, ncidd.whitelist.5 β go read them, they're all part of the family π«Ά
and that's the whole page bestie, no notes π
this was NCID, dated 2024-06-23 β the NCID manual, serving NCIDD.ALIAS(5) realness β¨ πππ¦πΈ
π¦ where this page comes from
- fedora 43: ncid 1.18-4.fc43 Β· GPL-3.0-or-later
- fedora 44: ncid 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