<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-bsd-bounces@lists.digium.com
[mailto:asterisk-bsd-bounces@lists.digium.com] <B>On Behalf Of </B>A.
Sila<BR><B>Sent:</B> Monday, April 04, 2005 8:31 PM<BR><B>To:</B>
asterisk-bsd@lists.digium.com<BR><B>Subject:</B> [Asterisk-bsd] Digium TDM21B
and Zaptel<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face="Book Antiqua">Hi All,</FONT></DIV>
<DIV><FONT face="Book Antiqua">I am facing a weird situation while trying
to get a newly from Digium acquired TDM21B card up and running. I am wondering
whether anyone on this list experienced the same thing and could help me
out.</FONT></DIV>
<DIV><FONT face="Book Antiqua">Here is the situation:</FONT></DIV>
<DIV><FONT face="Book Antiqua">a). Without the TDM installed the system works
fine, w/o any error messages;</FONT></DIV>
<DIV><FONT face="Book Antiqua">b). Once the TDM card installed and duly
configured as per Digium's instructions (see below, e), Asterisk stops working,
the system reports the following error messages (part of the message):
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Apr<SPAN
style="mso-spacerun: yes"> </SPAN>1 03:27:03 WARNING[517]: Ignoring
signaling<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Apr<SPAN
style="mso-spacerun: yes"> </SPAN>1 03:27:03 ERROR[517]: Signalling
requested is FXO Kewlstart but line is in FXS Kewlstart
signalling<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Apr<SPAN
style="mso-spacerun: yes"> </SPAN>1 03:27:03 ERROR[517]: Unable to
register channel '4'<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Apr<SPAN
style="mso-spacerun: yes"> </SPAN>1 03:27:03 WARNING[517]: chan_zap.so:
load_module failed, returning -1<o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-ansi-language: EN-US">Apr<SPAN
style="mso-spacerun: yes"> </SPAN>1 03:27:03 WARNING[517]: Loading module
chan_zap.so failed!<o:p></o:p></SPAN></P></FONT></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua">c). If I remove the channel 4 (by commenting out part of
zaptel.conf and zapata.conf) Asterisk works fine -- obviously without the FXO
interface;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua">d). The server's specs are as
follows:</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua"> <SPAN lang=PT style="FONT-SIZE: 12pt">- IBM, NetVista,
Pentium IV, 1.8 GHz, 256 MB RAM;</SPAN><SPAN lang=PT
style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><FONT face="Book Antiqua">-
FreeBSD 5.3; Asterisk 1.0.6-BRIstuffed-0.2.0.RC7j <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><FONT face="Book Antiqua">-
Ports installation of Asterisk, Zaptel and Zapata using latest cvs
version</FONT></SPAN></P></o:p></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><FONT face="Book Antiqua">e).
The card installation was done following the instructions in </FONT><A
href=""><FONT
face="Book Antiqua">http://www.digium.com/downloads/tdm_inst.pdf</FONT></A><FONT
face="Book Antiqua">;<o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><FONT face="Book Antiqua">Its
configuration was done according to the instruction in </FONT><A
href="http://www.digium.com/index.php?menu=configuration#TDM2XB"><FONT
face="Book Antiqua">http://www.digium.com/index.php?menu=configuration#TDM2XB</FONT></A><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua">From what I've read so far in this mailing list and
somewhere else, it seems several people are facing similar issues, none of
the existing suggestions worked for me though... </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua">Thanks in advance</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua">Lai</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US"><o:p><FONT
face="Book Antiqua"></FONT></o:p></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">That
is correct.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">"</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN class=626294102-05042005><!--StartFragment --> <TD
style="FONT-WEIGHT: bold; COLOR: blue" valign="top">A)</TD> <TD><B>Add these
lines to /etc/zaptel.conf</B> <BR><BR><CITE>fxoks=1-2 # Make sure that the
FXS(green) modules are closest to the bracket if you are looking at the side of
the card with all of the electronic components.<BR>fxsks=3-4 # This is for the
FXO module(s) because it uses FXS signalling, if you only have one FXO module
then remove the '-4'<BR>defaultzone=us<BR>loadzone=us</CITE></TD> </SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">"</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua"></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">You only have 1 FXO Module.
at least by the designation of TDM21B, if you added a second FXO module then
that is different.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">Confirm how many modules are
on the card by looking at it, if it is configured as suggested you have 3 of the
four modules. You would only set fxsks=3</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua"></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua"></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua">Hope this
helps.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT face="Book Antiqua"></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN
class=626294102-05042005><FONT
face="Book Antiqua">-Andrew</FONT></SPAN></P></DIV></BODY></HTML>