AXE1DL User Manual with DAHDI
www.atcom.cn
11
Chapter 4 Software Configuration
1. Please run the “dahdi_genconf” command to configure the “/etc/dahdi/system.conf” file and
generate “/etc/asterisk/dahdi-channels.conf” file.
[root@localhost ~]# dahdi_genconf
It will not show any output when the command run successfully.
After do that successfully, it will get the following configuration in the “system.conf” file
with E1 mode.
[root@localhost ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf
do not hand edit
# This file is parsed by the Dahdi Configurator, dahdi_cfg
# Span 1: AXE1DL/0/1 "AXE1DL (E1|T1) Card 0 Span 1" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
After running dahdi_genconf successfully, the dahdi-channels.conf file will get the following
configuration.
[root@localhost ~]# cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Mon Aug 5 15:02:51 2013
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: AXE1DL/0/1 "AXE1DL (E1|T1) 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