Digium, Inc.
Page 50
Chapter 3: Configuration
Third Example: PRI
By configuring the card for a T1 PRI line in
system.conf
, you acquire 23
bearer (B) channels for voice on the first 23 channels, and 1 delta (D)
channel for signalling information on the 24th channel. In the
chan_dahdi.conf file, define pri_cpe as the signalling type to act as the
client side. Define the switch type you are connecting to as
national
. You
will then have 23 voice channels for Asterisk.
PRI T1:
/etc/dahdi/system.conf:
loadzone = us
defaultzone = us
span = 1,1,0,esf,b8zs
bchan = 1-23
dchan = 24
echocanceller = mg2,1-23
/etc/asterisk/chan_dahdi.conf:
group = 1
echocancel = yes
signalling = pri_cpe
switchtype = national
context = incoming
channel = 1-23