Configure TDM card to Asterisk.
- Install asterisk 1.6 in CentOS.
- Fix card in correctly to motherboard.
- I use only one green module(FXS).
- use command #dahdi_genconf to generate configuration for dahdi channels. it generates file "/etc/dahdi/system.conf". My system.conf file is as follows.
----------- File begins form here-------------
# Autogenerated by /usr/sbin/dahdi_genconf on Tue Jan 1 06:10:30 2002
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCTDM/0 "Wildcard TDM410P Board 1" (MASTER)
fxoks=1
echocanceller=mg2,1
# channel 2, WCTDM/0/1, no module.
# channel 3, WCTDM/0/2, no module.
# channel 4, WCTDM/0/3, no module.
# Global data
loadzone = us
defaultzone = us
----------- File end in here-------------
- use commad #dahdi_cfg to configures DAHDI kernel modules from /etc/dahdi/system.conf
- Use this command # dahdi_cfg -vvvv.
It will show how many channels available in CARD. - Then you have to configure /etc/asterisk/chan_dahdi.conf and /etc/asterisk/dahdi-channels.conf.