For this section, you need the details of the analog lines and terminals that you set out in Chapter 2. For our DAHDI interfaces, we will be modifying two configuration files: /etc/dahdi/system.conf
and /etc/asterisk/chan_dahdi.conf
.
As we know, the system.conf
file is in /etc/dhadi
. We can modify it in a text editor of our choice.
As we make changes to this file, we will have to force the DAHDI drivers to re-read the configuration files in order to detect the changes. If our system is configured to start the DAHDI hardware at boot time, we can accomplish this by running:
$ /etc/init.d/dahdi stop
$ /etc/init.d/dahdi start
However, if we decide not to start DAHDI interfaces at boot time, we can implement our changes as we go by running:
$ dahdi_cfg
In order to get more information, it is often helpful for us to use verbose flags. The more instances of v
we use, the more verbose the output will be. So, we may wish to use:
$ dahdi_cfg —vvv