HANGUP-MESSAGE-SKEL(1)
π HANGUP-MESSAGE-SKEL(1) β the NCID edition π
okay bestie, sit down, hydrate, and let me tell you about hangup-message-skel π
this is a template for leaving caller-specific messages right before you terminate a call. yes. dramatic exit energy, but for phone calls. periodt.
β¨ NAME β¨
hangup-message-skel β the skelly template that you're gonna clone and make iconic πΈ
π¦ SYNOPSIS π¦
hangup-message-skel [-h]
hangup-message-skel [-v] <string>
and that string? it's gotta be in this exact format, no cap:
*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>*
π DESCRIPTION π
hangup-message-skel is a template for leaving caller specific messages prior to terminating a call. it's giving β¨scaffoldingβ¨.
your script name should be the same name without -skel. script names use the format: hangup-<name> π·οΈ
π heads up: the script is not called if caller number or name is in ncidd.whitelist. them's the rules.
the example below assumes you have copied hangup-message-skel to hangup-message for your customized version of hangup-message-skel. classic copy-paste-to-glow-up pipeline π
delete the caller and message lines that are in hangup-message. if you want to detect a name, comment the NMBR line and uncomment the NAME line:
add your own caller and message lines to hangup-message:
CALLER="${NMBR}"
caller[1]="<number>" message[1]="<recording file>"
CALLER="$(NAME)"
caller[1]="<name>" message[1]="<recording file>"
you can add as many caller-message lines as you want π₯ you would need to record the message files if you want to leave a personalized message.
use this format for a message name for your recording: <number>.rmd π§
server hangup extensions are only executed by the server unless testing. iykyk.
execute your custom hangup-message 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-message script with a number:
/usr/share/ncid/extensions/hangup-message -v "*NMBR*4075551212*"
π OPTIONS π
-hβ show help message π-vβ turn on verbose and send additional data toSTDOUTfor troubleshooting π (your bestie for debugging, fr fr)
π REQUIREMENTS π
- set
hupnameto the name of this scriptncidd.conf. - set
hupmodeto1,2or3inncidd.conf. - set
huprmdto a unique voice file inncidd.conf, ifhupmodeset to3.
π FILES π
/usr/share/ncid/extensions/hangup-message-skel/usr/share/ncid/recording/*.rmdprefix3=/etc/ncid/ncid.confprefix3=/etc/ncid/ncidd.whitelist
π«Ά SEE ALSO π«Ά
ncidd.8, ncidd.whitelist.5, hangup-calls.1, hangup-closed-skel.1, hangup-skel.1, hangup-combo-skel.1, hangup-nohangup.1
mwah π that's the whole page. this was the NCID hangup-message-skel manual, dated 2022-11-8 β go forth, record your little messages, and slay β¨π
π¦ 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