[asterisk-users] can not load chan_dahdi.so from asterisk!
lizhong zhu
zhulizhongum at yahoo.com.cn
Wed Aug 27 23:01:57 CDT 2008
hello, all of users:
i have a problem with loading chan_dahdi.so. when i start asterisk, it always reports the can not open channel 1 in ...
here is my setting: in etc/system/dahdi.conf:
# Global data
fxsks=1
fxsks=2
fxoks=3
fxoks=4
loadzone = us
defaultzone = us
--------------------- in my chan_dahdi.conf---------------
group=0
signalling=fxs_ks
context=from-internal
channel => 1
channel => 2
signalling=fxo_ks
context=demo
channel => 3
channel => 4
----------dmesg----------------
dahdi: Registered Span 1 ('WCTDM/4') with 4 channels
dahdi: Span ('WCTDM/4') is new master
Freshmaker version: 71
Freshmaker passed register test
Module 0: Installed -- AUTO FXO (FCC mode)
Module 1: Installed -- AUTO FXO (FCC mode)
Module 2: Installed -- AUTO FXS/DPO
Module 3: Installed -- AUTO FXS/DPO
Found a Wildcard TDM: Wildcard TDM400P REV E/F (4 modules)
---------------------------------
one error is that there is no transcode under /dev/dahdi, i do not why.
[root at new-host-13 dahdi]# ls
1 2 3 4 channel ctl pseudo timer
[root at new-host-13 dahdi]#
and load from asterisk:
=============
Connected to Asterisk SVN-trunk-r140246 currently running on new-host-13 (pid = 2664)
Verbosity is at least 50
new-host-13*CLI> module load chan_dahdi.so
Unable to load module chan_dahdi.so
Command 'module load chan_dahdi.so' failed.
== Parsing '/etc/asterisk/chan_dahdi.conf': == Found
== Parsing '/etc/asterisk/users.conf': == Found
[Aug 28 11:25:57] WARNING[2797]: chan_dahdi.c:1139 dahdi_open: Unable to specify channel 1: No such device or address
[Aug 28 11:25:57] ERROR[2797]: chan_dahdi.c:8346 mkintf: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
[Aug 28 11:25:57] ERROR[2797]: chan_dahdi.c:13646 build_channels: Unable to register channel '1'
new-host-13*CLI>
==========================
any one has idea for that problem?
the second question is about modprobe the modules. is the ztcfg command still workable for DAHDI? it always opens zaptel.conf file. what is the steps to load modules:
--- like this------
modprobe dahdi
modprobe wctdm
ztcfg -vvvvvvvvvvvvvvv; but my one open zaptel.conf file, i installed zaptel before. it should open dahdi.conf.
i am still investgating DAHDI for further testing. thanks!
zhu
---------------------------------
雅虎邮箱,您的终生邮箱!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080828/b2dbb7dc/attachment.htm
More information about the asterisk-users
mailing list