HANGUP-CLOSED-SKEL(1)

πŸ“¦ version 1.18, in fedora 43, fedora 44

πŸ’– 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 hupname to the name of this script in ncidd.conf.
  • Set hupmode to 1, 2 or 3 in ncidd.conf.
  • Set huprmd to a unique voice file in ncidd.conf, if hupmode set to 3.

that's it. three little lines and she's ready. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -h β€” show help message
  • -v β€” turn on verbose and send additional data to STDOUT for troubleshooting

literally two options. lowkey elegant if you ask me.


πŸŽ€ FILES πŸŽ€

  • /usr/share/ncid/extensions/hangup-closed-skel
  • /usr/share/ncid/recording/*.rmd
  • prefix3=/etc/ncid/ncidd.conf
  • prefix3=/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