System information

modules/. If it is there, edit /etc/asterisk/modules.conf to load chan_dahdi.so. If the mod-
ule is not present on disk, DAHDI was not installed before installing Asterisk; go back
and install it now (see “DAHDI” on page 49 for details). You can verify its presence
using the following command:
*CLI> module show like chan_dahdi.so
Module Description Use Count
chan_dahdi.so DAHDI Telephony Driver 0
1 modules loaded
Next, you must configure /etc/asterisk/chan_dahdi.conf. This is the configuration file
for the chan_dahdi module, which is the interface between Asterisk and DAHDI. It
should look like this:
[trunkgroups]
; No trunk groups are needed in this configuration.
[channels]
; The channels context is used when defining channels using the
; older deprecated method. Don't use this as a section name.
[phone](!)
;
; A template to hold common options for all phones.
;
usecallerid = yes
hidecallerid = no
callwaiting = no
threewaycalling = yes
transfer = yes
echocancel = yes
echotraining = yes
immediate = no
context = LocalSets
signalling = fxo_ks ; Uses FXO signaling for an FXS channel
[phone1](phone)
callerid = "Mark Michelson" <(256)555-1212>
dahdichan = 1
[phone2](phone)
callerid = "David Vossel" <(256)555-2121>
dahdichan = 2
[phone3](phone)
callerid = "Jason Parker" <(256)555-3434>
dahdichan = 3
[phone4](phone)
callerid = "Matthew Nicholson" <(256)555-4343>
dahdichan = 4
102 | Chapter 5:User Device Configuration