AXE2D User Manual
www.atcom.cn
Email: [email protected]
10
Chapter 5 Software Configuration
1. Create the configuration files
Please use the “dahdi_genconf” command to configure the /etc/dahdi/system.conf file and
generate /etc/asterisk/dahdi-channels.conf file.
[root@localhost ~]# dahdi_genconf
Notice: It will not show anything when the command “dahdi_genconf” run successfully.
After running “dahdi_genconf” successfully, the file: “/etc/dahdi/system.conf” will get the
following configuration:
# Autogenerated by /usr/sbin/dahdi_genconf
do not hand edit
# This file is parsed by the Dahdi Configurator, dahdi_cfg
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 32-46,48-62
context = default
group = 63
2. Please add the following line in the end of the “/etc/asterisk/chan_dahdi.conf ” file.
#include dahdi-channels.conf
Or users can run the command in the CLI:
[root@localhost ~]# echo #include dahdi-channels.conf >>/etc/asterisk/chan_dahdi.conf
3. Please load the asterisk with the following command:
[root@localhost ~]# asterisk
[root@localhost ~]# asterisk -vvgr