<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY LINK="#0000ff">
Even if Zaptel is compiled, you can also compile Dahdi because Asterisk will choose the DAHDI-module... it seems.<BR>
<BR>
So I left Zaptel... and compiled Dahdi (everything went well, I followed the steps) en then Asterisk again (with dahdi support!!).<BR>
<BR>
Yet another episode in this nightmare :<BR>
<BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">[root@asterisk jonas]# /sbin/service dahdi reload</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">Rerunning dahdi_cfg:&nbsp; Notice: Configuration file is /etc/dahdi/system.conf</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">line 0: Unable to open master device '/dev/dahdi/ctl'</FONT></I></FONT><BR>
<BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">1 error(s) detected</FONT></I></FONT><BR>
<BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [FAILED]</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">[root@asterisk jonas]# /sbin/service dahdi restart</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">Unloading DAHDI hardware modules: doneLoading DAHDI hardware modules:</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">FATAL: Error inserting dahdi (/lib/modules/2.6.18-128.1.6.el5/dahdi/dahdi.ko): Device or resource busy</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp; wctdm24xxp:&nbsp; FATAL: Error inserting wctdm24xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctdm24xxp/wctdm24xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg)</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#ff0000">FAILED</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#0000ff">]</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp; wcfxo:&nbsp; FATAL: Error inserting wcfxo (/lib/modules/2.6.18-128.1.6.el5/dahdi/wcfxo.ko): Unknown symbol in module, or unknown parameter (see dmesg)</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#ff0000">FAILED</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#0000ff">]</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp; wctdm:&nbsp; FATAL: Error inserting wctdm (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctdm.ko): Unknown symbol in module, or unknown parameter (see dmesg)</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#ff0000">FAILED</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#0000ff">]</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp; wcb4xxp:&nbsp; FATAL: Error inserting wcb4xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wcb4xxp/wcb4xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg)</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#ff0000">FAILED</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#0000ff">]</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp; wctc4xxp:&nbsp; FATAL: Error inserting wctc4xxp (/lib/modules/2.6.18-128.1.6.el5/dahdi/wctc4xxp/wctc4xxp.ko): Unknown symbol in module, or unknown parameter (see dmesg)</FONT></I></FONT><BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#ff0000">FAILED</FONT></I></FONT><FONT SIZE="2"><I><FONT COLOR="#0000ff">]</FONT></I></FONT><BR>
<BR>
<FONT SIZE="2"><I><FONT COLOR="#0000ff">Error: missing /dev/dahdi!</FONT></I></FONT><BR>
<BR>
<BR>
I think the reason there is no /dev/dahdi is because I did not yet edited /etc/dahdi/system.conf<BR>
<BR>
/etc/dahdi/system.conf states :<BR>
<BR>
&quot;Autogenerated by /usr/sbin/dahdi_genconf on Tue Apr 21 20:23:17 2009 -- <B>do not hand edit</B>&quot;<BR>
<BR>
<BR>
I would put here the following :<BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>fxsks=1-3</I></FONT></FONT><BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>loadzone=be</I></FONT></FONT><BR>
<FONT COLOR="#0000ff"><FONT SIZE="2"><I>defaultzone=be</I></FONT></FONT><BR>
<BR>
But like it says : no manual editing.<BR>
<BR>
So I want to run /usr/sbin/dahdi_genconf.<BR>
<BR>
But when I do that... nothing happens...<BR>
<BR>
Voipinfo.org states :<BR>
<BR>
<B><FONT SIZE="2"><I>/etc/dahdi/genconf_parameters</I></FONT></B><BR>
<FONT SIZE="2"><I>Fine--tuning parameters for dahdi_genconf (replaces zapconf and also deprecates genzaptelconf). </I></FONT><BR>
<BR>
But check this :<BR>
<BR>
<I><FONT COLOR="#0000ff"><FONT SIZE="2">[root@asterisk dahdi]# ls /etc/dahdi/</FONT></FONT></I><BR>
<I><FONT COLOR="#0000ff"><FONT SIZE="2">init.conf&nbsp; modules&nbsp; system.conf&nbsp; system.conf.bak</FONT></FONT></I><BR>
<BR>
NO such file !<BR>
<BR>
With Zaptel, I had a working kernel-module that recognized my hardware... but no zapata.conf.<BR>
<BR>
Now that I've compiled DAHDI, I'm again missing some files.<BR>
<BR>
Can someone please give some advice.<BR>
<BR>
Thanks in advance...<BR>
<BR>
Greetingz,<BR>
Jonas.<BR>
<BR>
<BR>
<BR>
<BR>
On Mon, 2009-04-20 at 14:13 -0400, Joshua Kinard wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#0000ff">Converting is actually pretty straightforward:</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">Bare minimum:</FONT><BR>
    <FONT COLOR="#0000ff">/etc/zaptel.conf --&gt; /etc/dahdi/system.conf</FONT><BR>
    <FONT COLOR="#0000ff">/etc/asterisk/zapata.conf --&gt; /etc/asterisk/chan_dahdi.conf</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">Any reference to ZAP/* becomes DAHDI/* in your asterisk conf files (i.e., extensions.conf).</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">Granted, all I use Asterisk for is a fax-to-email mechanism in conjunction with my ~18yr-old Rolm system, but I imagine more complex setups are probably not too hard to replace.&nbsp; Most of it was just search &amp; replace in the extensions.conf file.&nbsp; You can also leave the older zapata.conf intact.&nbsp; I believe newer Asterisk version&nbsp;will ignore the file's existance.&nbsp; Ditto on the older zaptel.conf, since the dadhi code doesn't even reference it I believe.</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">The only thing I miss, is I thought Zaptel was a pretty cool name.&nbsp; Like, lasers shooting everytime a call comes in or something.&nbsp; &quot;Dahdi&quot; makes me think of angels singing everytime a call comes in now.</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">HTH,</FONT><BR>
    &nbsp;<BR>
    <FONT COLOR="#0000ff">--J</FONT>
<PRE>

</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>