[asterisk-r2] Cannot create OpenR2 protocol context

Norman Schmidt norman at omegatecnologia.com
Mon Dec 27 23:02:55 UTC 2010


Using  openr2-1.3.0, patched Asterisk 1.4.32, dahdi-linux-2.3.0.1, on a
Slackware linux appliance.

This combination is working flawlessly in a dozen setups, but today I was
setting up a new one and wasnt able to get the chan_dahdi module up in
Asterisk. When I try to force the module load I get:

[Dec 28 05:37:42]   == Parsing '/etc/asterisk/chan_dahdi.conf': [Dec 28
05:37:42] Found
[Dec 28 05:37:42] ERROR[2826]: chan_dahdi.c:8767 mkintf: Cannot create
OpenR2 protocol context.
[Dec 28 05:37:42] ERROR[2826]: chan_dahdi.c:12867 build_channels: Unable to
register channel '1-15,17-31'    

No errors on dahdi_tool or dahdi_cfg -vvv. The E1 interface appears on
lspci, an is using its own and exclusive interrupt.
I tried to substitute the E1 card, with the same results (identical error).
Changed the whole appliance hardware (motherboard/CPU) also give me the same
error.

Any help will be greatly appreciated.
Norman

system.conf:
-----------------
loadzone=br
defaultzone=br

# INTERFACE DIGITAL: Aligera AP402 2 portas digitais E1 PCI V2.2 - PORTA1
span=1,1,0,cas,hdb3
cas=1-15,17-31:1101


chan_dahdi.conf:
-----------------------
[channels]

usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocanceltraining=yes
echocancelwhenbridged=yes

;; TRONCO: GVT
signalling=mfcr2
context=E1_GVT
group=1
channel=1-15,17-31

==========================





More information about the asterisk-r2 mailing list