DAHDI_CFG(8)

πŸ’– DAHDI_CFG β€” the dahdi_cfg(8) page, bestie edition πŸ’–

okay so bestie, welcome to section 8 of the manual β€” this is dahdi_cfg, and she is literally the moment. let's get into it πŸŽ€


✨ NAME ✨

dahdi_cfg β€” configures DAHDI kernel modules from /etc/dahdi/system.conf πŸ¦‹


✨ SYNOPSIS ✨

dahdi_cfg [-c CFG_FILE] [-SNUM [-SCHANS]] [-s] [-f] [-t] [-v [-v ... ] ]

dahdi_cfg -h

✨ DESCRIPTION ✨

so what does she do? dahdi_cfg configures DAHDI interface cards from a config file. that's the whole vibe πŸ’…

you generally need to run it with a valid configurations in order for DAHDI modules to work properly. like, no cap β€” the modules are NOT gonna behave unless you feed them a valid config first. it's giving "feed me or I will simply not function" 😭

also, it must be run to configure every DAHDI span. no skipping, no shortcuts, every single one. normally it gets run from the DAHDI init script, so most of the time you're not even typing this yourself β€” the script is doing it for you, main character behaviour πŸ‘‘


✨ OPTIONS ✨

  • -c CFG_FILE β€” use an alternative configuration file instead of /etc/dahdi/system.conf. and if CFG_FILE is -, it is read from stdin β€” yes, you can pipe it in, iconic ✨
  • -C CHANNELS β€” only apply changes to channels in the specified range. only applicable when -S is in use. so don't come at her with -C alone, she will simply not care πŸ™ˆ
  • -s β€” only shutdown spans. that's it. bye spans πŸ’€
  • -S SPAN β€” only apply changes to span no. SPAN. and listen: you also need to specify the range of channels in the span explicitly with -C. they come as a duo, fr fr 🫢
  • -f β€” always configure every channel, even if it appears not to have changed. stubborn queen behaviour, we love her
  • -t β€” test mode. don't do anything, just report what you wanted to do. purely hypothetical, zero commitment, she's just talking 🧚
  • -v β€” be more verbose. and the way that you can add extra v-s for extra verbosity?? -vvvv if you're feeling unhinged 🌈
  • -h β€” display a brief help message. short, sweet, helpful πŸ’–

✨ FILES ✨

  • /etc/dahdi/system.conf β€” the default location for the configuration file. that's home base 🏠

✨ SEE ALSO ✨

dahdi_tool(8), dahdi_monitor(8), asterisk(8). go read those next, bestie, they're all in the family 🌸


✨ AUTHOR ✨

this manual page was written by Santiago Ruano RincΓ³n <santiago@unicauca.edu.co> for the Debian system (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. πŸ“œπŸ’œ


and that's the whole page, bestie β€” dahdi_cfg(8), 16 Jun 2008, DAHDI_CFG(8) ✨ tysm for reading, go configure your spans responsibly πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from