<html><head><meta name="Generator" content="PSI HTML/CSS Generator"/>
<style type="text/css"><!--
body{font-family:'Tahoma';font-size:10pt;font-color:'#000000';}
LI{display:list-item;margin:0.00in;}
p{display:block;margin:0.00in;}
--></style>
</head><BODY ><p><SPAN style="font-size:10pt;">ISDN </SPAN></p>
<p><SPAN style="font-size:10pt;"><br />Carlos Arnt</SPAN></p>
<p><SPAN style="font-size:10pt;">carnt@intellissence.com</SPAN></p>
<p><SPAN style="font-size:10pt;">Diretor de Informática.</SPAN></p>
<p><SPAN style="font-size:10pt;">Divisão de Tecnologia e Desenvolvimento TI.</SPAN></p>
<p><SPAN style="font-size:10pt;">Intellissence do Brasil.</SPAN></p>
<p><SPAN style="font-size:10pt;"><a href="http://www.intellissence.com/brasil">http://www.intellissence.com/brasil</a></SPAN></p>
<p><SPAN style="font-size:10pt;">Tel:(+55)-(21)-(3908-4667)</SPAN></p>
<p><SPAN style="font-size:10pt;">Tel(Direto):(+55)-(21)-(3905-1561)</SPAN></p>
<p><SPAN style="font-size:10pt;">Cel:(+55)-(21)-(9169-8537)</SPAN></p>
<p><SPAN style="font-size:10pt;">--VoIP Contact Method--</SPAN></p>
<p><SPAN style="font-size:10pt;">World VoIP Pin/Code: 31872</SPAN></p>
<p><SPAN style="font-size:10pt;">Uk/Japan VoIP Pin/Code: 17009881356</SPAN></p>
<p><SPAN style="font-size:10pt;">---------</SPAN></p>
<p><SPAN style="font-size:10pt;">"Thinking is the hardest work there is, which is the probable reason so few engage in it".</SPAN></p>
<p><SPAN style="font-size:10pt;">- Henry Ford -</SPAN></p>
<p><SPAN style="font-size:10pt;"><br /><br />On Fri, 25 Jun 2004 11:46:28 +0100, Asterisk wrote:<br /></SPAN><SPAN style="font-size:10pt;color:navy;">> I've managed to install and run Asterisk on a Fedora Core 1 server</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> using the fritz avm ISDN card, and thought I'd share how it was</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> done.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> This worked for me:</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Server:</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Dell 6450</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Quad Xeon 700 2Mb Cache</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> 4GB Ram</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> 2x18GB SCSI (Mirrored)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> ISDN card (fritz!pci). This is packaged as a BT ISDN card.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Install FC1 from CD. Select only server components, development</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> environment and kernel development</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Yum update</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Important - you must do this - it installs a new kernel, not the</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> buggy release kernel.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Reboot</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Install atrpms-55-1.rhfc1.at.i386.rpm (from</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> <a href="http://atrpms.net/dist/fc1/atrpms">http://atrpms.net/dist/fc1/atrpms</a>)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Install</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> kernel-module-fcpci-2.4.22-1.2194.nptlsmp-03.11.02-</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> 3.rhfc1.at.i686.rpm (from <a href="http://atrpms.net/dist/fc1/fcpci">http://atrpms.net/dist/fc1/fcpci</a>)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * vi /etc/capi.conf</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> should contain a single line</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> fcpci - - - - - -</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * modprobe fcpci</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * lsmod</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Should now show fcpci and kernelcapi loaded</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * capiinit</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Get Asterisk</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> from a shell,</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd /usr/src</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot cvs</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> login (anoncvs is the password) cvs checkout zaptel libpri asterisk</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Build Asterisk</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd /usr/src/zaptel</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> make clean;make install;make config</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd /usr/src/libpri</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> make clean;make install;make config</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd /usr/src/asterisk</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> make clean;make install;make samples</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Get chan_capi (from</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> <a href="http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.4a.tar.gz">http://www.junghanns.net/asterisk/downloads/chan_capi.0.3.4a.tar.gz</a>)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Extract chan_capi</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd /usr/src</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> tar -zxvf /tmp/chan_capi* (assuming the file was downloaded into</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> /tmp)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Build chan_capi</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> cd chan_capi</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> make clean; make install; make config</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Add chan_capi into Asterisk by changing modules.conf</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> [modules]</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> autoload=yes</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> noload => pbx_gtkconsole.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> noload => pbx_kdeconsole.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> noload => app_intercom.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> load => chan_modem.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> load => res_musiconhold.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> following two lines added</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> load => res_parking.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> load => chan_capi.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> noload => chan_alsa.so</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> [global]</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> chan_modem.so=yes</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> following line added</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> chan_capi.so=yes</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Start Asterisk</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> asterisk -vvvvc (should be no errors)</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> * Place a call to the ISDN line.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> As I said, this worked for me. The real problem I had before was</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> getting the drivers for the isdn card to work. However, downloading</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> them from the atrpms site worked first time no errors!</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Please feel free to tear this apart if you want.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Julian.</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> _______________________________________________</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Asterisk-Users mailing list</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> Asterisk-Users@lists.digium.com</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> To UNSUBSCRIBE or update options visit:</SPAN><SPAN style="font-size:10pt;"><br /></SPAN><SPAN style="font-size:10pt;color:navy;">> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></SPAN><SPAN style="font-size:10pt;"><br /><br /></SPAN></p>
</body></html>