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!
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
; from dahdi-channels.conf
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.
originate DAHDI/g1/18005551212 extension 6005
originate DAHDI/g11/18005551212 extension 6005
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:
Please help a lost control-freak get a handle on things!