REQUEST
The free O’Reilly book is GREAT for Asterisk, but I can’t find a reference for the DAHDI configuration files. How do multiple "group="s and "context="s play together within a single config section? Please help!
DETAILS
I purchased a Digium TE121P (T1 card w/echo cancellation).
After some random hacking of DAHDI config, it appears to work.
I don’t understand what I’ve done, and I don’t want surprises later.
Digium tech support ran dahdi_genconf, and #included the resulting /etc/asterisk/dahdi-channels.conf in my /etc/asterisk/chan-dahdi.conf.
However, here’s the result:
; from chan_dahdi.conf
[trunkgroups]
[channels]
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
group=1
callgroup=1
pickupgroup=1
; from dahdi-channels.conf
group=0,11
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 1-23
context = default
group = 63
Notice how “group=” is specified 3 times? I spent about an hour looking at source code, as far as I can tell only one of these has an effect.
I can:
originate DAHDI/g1/18005551212 extension 6005
originate DAHDI/g11/18005551212 extension 6005
but not:
originate DAHDI/g0/18005551212 extension 6005
originate DAHDI/g63/18005551212 extension 6005
And is one of these supposed to match my global TRUNK=, currently/default:
TRUNK=“DAHDI/G2”
Please help a lost control-freak get a handle on things!