Skip to main content

Building the zaptel modules on debian

..raw:: html

<html><body><p>How to build the zaptel (FXO/FXS hardware for Asterisk) modules on Debian using the debian kernel source package.

</p><ol>

<li>apt-get install kernel-source-&lt;kernel-version&gt;</li>

<li>apt-get install kernel-patch-scripts</li>

<li>apt-get install kernel-package</li>

<li>cd /usr/src</li>

<li>tar -jxf kernel-source-&lt;kernel-version&gt;.bz2</li>

<li>ln -s kernel-source-&lt;kernel-version&gt; linux</li>

<li>cp /boot/config-&lt;kernel -version&gt; /usr/src/linux/.config</li>

<li>cd linux</li>

<li>make-kpkg</li>

<li>cd &lt;source directory&gt;</li>

<li>export CVSROOT=:pserver:anoncvs@cvs.digium.com: <br>/usr/cvsroot</li>

<li>cvs login</li>

<li>cvs checkout zaptel</li>

<li>cd zaptel</li>

<li>make</li>

<li>su</li>

<li>make install</li>

</ol>

If you're planning on using the ztdummy module, edit the zaptel Makefile before compiling. Remove the # in front of ztdummy in the modules= declaration.</body></html>