Hi.
I can not load module chan_dahdi.so
returns me with error.
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so ’ failed .
[ May 30 12:41:55 ] WARNING [ 16618 ] : pbx.c : 7321 ast_register_application2 : Already have an application ’ DAHDISendKeypadFacility '
[ May 30 12:41:55 ] WARNING [ 16618 ] : pbx.c : 7321 ast_register_application2 : Already have an application ’ DAHDISendCallreroutingFacility '
== Parsing ’ / etc / asterisk / chan_dahdi.conf ’ : Found
== Parsing ’ / etc / asterisk / dahdi - channels.conf ’ : Found
== Parsing ’ / etc / asterisk / users.conf ’ : Found
[ May 30 12:41:55 ] WARNING [ 16618 ] : chan_dahdi.c : 4485 dahdi_open : Unable to open ’ / dev / dahdi / channel ’ : Permission denied
[ May 30 12:41:55 ] ERROR [ 16618 ] : chan_dahdi.c : 12670 mkintf : Unable to open channel 1 : Permission denied
here = 0 , tmp - > channel = 1 , channel = 1
[ May 30 12:41:55 ] ERROR [ 16618 ] : chan_dahdi.c : 17371 build_channels : Unable to register channel '1 -15 ’
My card is a Digium TE121 : PCI - Express single -port E1
Centos 6.5
Asterisk 11
dahdi 2.6
my configs
/ etc / asterisk / chan_dahdi.conf
[ trunkgroups ]
[ channels]
, switchtype = EuroISDN
signaling = mfcr2
callerid = 24999500
usecallerid = yes
mfcr2_variant = en
mfcr2_get_ani_first = no
mfcr2_max_ani = 10
mfcr2_max_dnis = 4
mfcr2_category = national_subscriber
mfcr2_logdir = span1
mfcr2_call_files = yes
mfcr2_logging = all
mfcr2_mfback_timeout = -1
mfcr2_metering_pulse_timeout = -1
mfcr2_allow_collect_calls = no
mfcr2_double_answer = yes
mfcr2_immediate_accept = no
mfcr2_forced_release = no
mfcr2_charge_calls = yes
language = en
echocancel = yes
echocancelwhenbridged = no
context = dahdi -in
callgroup = 0
pickupgroup = 0
group = 1
channel = > 1-15
/ etc / dahdi / system.conf
Autogenerated by / usr / sbin / dahdi_genconf on Wed May 7 16:04:00 2014
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 : WCT1 / 0 " Wildcard TE121 Card 0 " ( MASTER ) HDB3 / ClockSource
loadzone = en
defaultzone = en
span = 1,0,0 , cas, hdb3
cas = 1-15:1101
Dchan = 16
cas = 1-31:1101
I tried to recompile dahdi but got error
make
make- C linux all
make [1 ] : Entering directory / usr/src/dahdi-linux-complete-2.9.1.1 +2.9.1 / linux ' make- C drivers / dahdi / firmware firmware -loaders make [2 ] : Entering directory
/ usr/src/dahdi-linux-complete-2.9.1.1 +2.9.1 / linux / drivers / dahdi / firmware '
make [2 ] : Leaving directory / usr/src/dahdi-linux-complete-2.9.1.1 +2.9.1 / linux / drivers / dahdi / firmware ' You 's Not Appear to have the sources for the 2.6.32 - 431.17.1.el6.x86_64 installed kernel . make [1 ] : *** [modules ] Error 1 make [1 ] : Leaving directory
/ usr/src/dahdi-linux-complete-2.9.1.1 +2.9.1 / linux '
make: *** [all ] Error 2