HANGUP-CLOSED-SKEL(1)
π hangup-closed-skel β the NCID manual, but make it cute π
okay so bestie, this is a page from the NCID manual set β the whole thing lives under the manual name NCID, and the star of the show is a little script called hangup-closed-skel. she's a template, she's iconic, she's here to hang up on people. let's get into it π
β¨ NAME β¨
hangup-closed-skel β no cap, that's the whole name.
πΈ SYNOPSIS πΈ
hangup-closed-skel [-h]
hangup-closed-skel [-v] <string>
and <string> has to be in this exact format, bestie, i'm not kidding:
*DATE*<mmddyyyy>*TIME*<hhmm>*LINE*<lineid>\
*NMBR*<number>*NAME*<name>*MODE*<hupmode>\
*FNMBR*<formatted number>*NTYPE*<type of device>\
*CTRY*<country code>*LOCA*<location>*CARI*<carrier>\
*NAME*<name>*
where string is in this format. yep. all those fields. she's thorough π
π¦ DESCRIPTION π¦
so hangup-closed-skel is a template for hanging up on callers within a specified time period. that's literally her whole job and she does it flawlessly.
your script name should be the same name without -skel. script names use the format: hangup-<name>.
π okay important: the script is not called if the caller number or name is in ncidd.whitelist. whitelist besties get a free pass, periodt.
the example below assumes you have copied hangup-closed-skel to hangup-closed for your customized version of hangup-closed-skel.
change the start and end times to whatever is needed in hangup-closed. then record your message for hangup-closed, call it closed.rmd, and place it in /usr/share/ncid/recordings. that's the vibe β¨
server hangup extensions are only executed by the server unless testing. (iykyk.)
execute your custom hangup-closed in a terminal window by itself for testing. only fields used in the script are needed for the input string. to test your custom hangup-closed script with a number:
/usr/share/ncid/extensions/hangup-closed -v "*NMBR*4075551212*"
she ate that. π
π REQUIREMENTS π
okay so before she'll work her magic, you gotta do the setup. no skipping, bestie:
- Set
hupnameto the name of this script inncidd.conf. - Set
hupmodeto1,2or3inncidd.conf. - Set
huprmdto a unique voice file inncidd.conf, ifhupmodeset to3.
that's it. three little lines and she's ready. π
π OPTIONS π
-hβ show help message-vβ turn on verbose and send additional data toSTDOUTfor troubleshooting
literally two options. lowkey elegant if you ask me.
π FILES π
/usr/share/ncid/extensions/hangup-closed-skel/usr/share/ncid/recording/*.rmdprefix3=/etc/ncid/ncidd.confprefix3=/etc/ncid/ncidd.whitelist
these are the places she hangs out. π«Ά
β SEE ALSO β
ncidd.8, ncidd.whitelist.5, hangup-calls.1, hangup-message-skel.1, hangup-skel.1, hangup-combo-skel.1, hangup-nohangup.1
go read your sisters, they're all iconic in their own way π
and that's the whole page, bestie!! π§ this one came straight from NCID, dated 2022-11-8 β so when you're out there hanging up on callers within a specified time period, just know she's been doing this since 2022 and she's never missed. mwah. πβ¨πΈ
π¦ 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