<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-15">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>[SOLVED] Problem with ISDN Dialin via CAPI</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi,</FONT>
<BR><FONT SIZE=2>i was able to solve my problem.</FONT>
</P>
<P><FONT SIZE=2>During my playing around with * and capi i changed several options in</FONT>
<BR><FONT SIZE=2>config files.</FONT>
<BR><FONT SIZE=2>I did this while my * was running. To test if my changes where successful i entered "reload" on * console.</FONT>
<BR><FONT SIZE=2>This didn't help.</FONT>
<BR><FONT SIZE=2>But after i stopped asterisk and startet it again, everything worked perfect.</FONT>
<BR><FONT SIZE=2>So it seems that doing a reload while asterisk is running doesn't reload all settings.</FONT>
</P>
<P><FONT SIZE=2>Thanks for your help</FONT>
</P>
<P><FONT SIZE=2>Thorsten</FONT>
</P>
<P><FONT SIZE=2>-----Ursprüngliche Nachricht-----</FONT>
<BR><FONT SIZE=2>Von: thomas_n@freenet.de [<A HREF="mailto:thomas_n@freenet.de">mailto:thomas_n@freenet.de</A>]</FONT>
<BR><FONT SIZE=2>Gesendet: Montag, 21. Februar 2005 13:43</FONT>
<BR><FONT SIZE=2>An: Asterisk Users Mailing List - Non-Commercial Discussion</FONT>
<BR><FONT SIZE=2>Betreff: Re: [Asterisk-Users] Problem with ISDN Dialin via CAPI</FONT>
</P>
<BR>
<P><FONT SIZE=2>On Mon, Feb 21, 2005 at 11:36:45AM +0100, Müller, Thorsten wrote:</FONT>
<BR><FONT SIZE=2>> Hello List,</FONT>
<BR><FONT SIZE=2>> because this is my first post to this list, i'd like to introduce myself.</FONT>
<BR><FONT SIZE=2>> My name is Thorsten Müller, 26 years old and live near Frankfurt/Main in</FONT>
<BR><FONT SIZE=2>> germany.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Okay, now to the reason for this posting:</FONT>
<BR><FONT SIZE=2>> I just installed my first asterisk server (Debian 2.2 Kernel 2.4.18-686)</FONT>
<BR><FONT SIZE=2>> with AVM ISDN Fritz PCI card (passive).</FONT>
<BR><FONT SIZE=2>> I followed the configuration on <A HREF="http://voip-info.org" TARGET="_blank">http://voip-info.org</A> and the Voice-Over-IP</FONT>
<BR><FONT SIZE=2>> telephony between two PC's with SJPhone works perfectly.</FONT>
<BR><FONT SIZE=2>> But connecting this machine to the ISDN line drives me crazy.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I installed the capi driver from the AVM website and installed chan_capi</FONT>
<BR><FONT SIZE=2>> without bigger problems.</FONT>
<BR><FONT SIZE=2>> Followed these instructions:</FONT>
<BR><FONT SIZE=2>> <A HREF="http://voip-info.org/tiki-index.php?page=Asterisk+How+to+connect+with+CAPI" TARGET="_blank">http://voip-info.org/tiki-index.php?page=Asterisk+How+to+connect+with+CAPI</A></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> After entering the asterisk console i tried</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> *CLI> capi info</FONT>
<BR><FONT SIZE=2>> Contr1: 2 B channels total, 2 B channels free.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> (looks good)</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> *CLI> capi debug</FONT>
<BR><FONT SIZE=2>> CAPI Debugging Enabled</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> When i call my msn with a normal phone i see the following content:</FONT>
<BR><FONT SIZE=2>> =================================================</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> -- CONNECT_IND ID=001 #0x0020 LEN=0047</FONT>
<BR><FONT SIZE=2>> Controller/PLCI/NCCI = 0x101</FONT>
<BR><FONT SIZE=2>> CIPValue = 0x10</FONT>
<BR><FONT SIZE=2>> CalledPartyNumber = <c1>523065</FONT>
<BR><FONT SIZE=2>> CallingPartyNumber = <21 81>6101806124</FONT>
<BR><FONT SIZE=2>> CalledPartySubaddress = default</FONT>
<BR><FONT SIZE=2>> CallingPartySubaddress = default</FONT>
<BR><FONT SIZE=2>> BC = <80 90 a3></FONT>
<BR><FONT SIZE=2>> LLC = default</FONT>
<BR><FONT SIZE=2>> HLC = <91 81></FONT>
<BR><FONT SIZE=2>> AdditionalInfo = default</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Feb 21 11:32:30 NOTICE[384]: chan_capi.c:1932 capi_handle_msg: CONNECT_IND</FONT>
<BR><FONT SIZE=2>> ID=001 #0x0020 LEN=0047</FONT>
<BR><FONT SIZE=2>> Controller/PLCI/NCCI = 0x101</FONT>
<BR><FONT SIZE=2>> CIPValue = 0x10</FONT>
<BR><FONT SIZE=2>> CalledPartyNumber = <c1>523065</FONT>
<BR><FONT SIZE=2>> CallingPartyNumber = <21 81>6101806124</FONT>
<BR><FONT SIZE=2>> CalledPartySubaddress = default</FONT>
<BR><FONT SIZE=2>> CallingPartySubaddress = default</FONT>
<BR><FONT SIZE=2>> BC = <80 90 a3></FONT>
<BR><FONT SIZE=2>> LLC = default</FONT>
<BR><FONT SIZE=2>> HLC = <91 81></FONT>
<BR><FONT SIZE=2>> AdditionalInfo = default</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> == CONNECT_IND</FONT>
<BR><FONT SIZE=2>> (PLCI=0x101,DID=523065,CID=6101806124,CIP=0x10,CONTROLLER=0x1)</FONT>
<BR><FONT SIZE=2>> Feb 21 11:32:30 ERROR[384]: chan_capi.c:2051 capi_handle_msg: did not find</FONT>
<BR><FONT SIZE=2>> device for msn = 523065</FONT>
<BR><FONT SIZE=2>> -- INFO_IND ID=001 #0x0021 LEN=0022</FONT>
<BR><FONT SIZE=2>> Controller/PLCI/NCCI = 0x101</FONT>
<BR><FONT SIZE=2>> InfoNumber = 0x70</FONT>
<BR><FONT SIZE=2>> InfoElement = <c1>523065</FONT>
</P>
<P><FONT SIZE=2>I think the outgoingmsn is missing / the one you are looking for</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Here are my entries of /etc/asterisk/capi.conf:</FONT>
<BR><FONT SIZE=2>> =================================</FONT>
<BR><FONT SIZE=2>> ; CAPI config</FONT>
<BR><FONT SIZE=2>> ;</FONT>
<BR><FONT SIZE=2>> [general]</FONT>
<BR><FONT SIZE=2>> nationalprefix=0</FONT>
<BR><FONT SIZE=2>> internationalprefix=00</FONT>
<BR><FONT SIZE=2>> rxgain=0.8</FONT>
<BR><FONT SIZE=2>> txgain=0.8</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> [interfaces]</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> msn=523065</FONT>
<BR><FONT SIZE=2>> incomingmsn=523065</FONT>
<BR><FONT SIZE=2>outgoingmsn=HERE_WE_NEED_A_VALID_MSN</FONT>
<BR><FONT SIZE=2>> controller=1</FONT>
<BR><FONT SIZE=2>> softdtmf=1</FONT>
<BR><FONT SIZE=2>> accountcode=</FONT>
<BR><FONT SIZE=2>> context=demo</FONT>
<BR><FONT SIZE=2>> ;echosquelch=1</FONT>
<BR><FONT SIZE=2>> ;echocancel=yes</FONT>
<BR><FONT SIZE=2>> ;echotail=64</FONT>
<BR><FONT SIZE=2>> ;callgroup=1</FONT>
<BR><FONT SIZE=2>> ;deflect=12345678</FONT>
<BR><FONT SIZE=2>> devices=2</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Tho/\/\as</FONT>
<BR><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>Asterisk-Users mailing list</FONT>
<BR><FONT SIZE=2>Asterisk-Users@lists.digium.com</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users" TARGET="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<BR><FONT SIZE=2>To UNSUBSCRIBE or update options visit:</FONT>
<BR><FONT SIZE=2> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users" TARGET="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</P>
</BODY>
</HTML>