[asterisk-users] can not load chan_dahdi.so from asterisk!
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Aug 28 01:53:17 CDT 2008
On Thu, Aug 28, 2008 at 12:01:57PM +0800, lizhong zhu wrote:
> 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.
You don't really need it.
> [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?
If this is Asterisk 1.4: Is chan_dahdi built to use dahdi or zaptel?
Compare the following two:
strings /usr/lib/asterisk/modules/chan_dahdi.so | grep dahdi
strings /usr/lib/asterisk/modules/chan_dahdi.so | grep zaptel
Also, what is the output of:
cat /proc/dahdi/*
> the second question is about modprobe the modules. is the ztcfg
> command still workable for DAHDI?
No, you should use dahdi_cfg
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list