"Müller, Thorsten"
2005-Feb-21 03:36 UTC
[Asterisk-Users] Problem with ISDN Dialin via CAPI
Hello List, because this is my first post to this list, i'd like to introduce myself. My name is Thorsten M?ller, 26 years old and live near Frankfurt/Main in germany. Okay, now to the reason for this posting: I just installed my first asterisk server (Debian 2.2 Kernel 2.4.18-686) with AVM ISDN Fritz PCI card (passive). I followed the configuration on http://voip-info.org and the Voice-Over-IP telephony between two PC's with SJPhone works perfectly. But connecting this machine to the ISDN line drives me crazy. I installed the capi driver from the AVM website and installed chan_capi without bigger problems. Followed these instructions: http://voip-info.org/tiki-index.php?page=Asterisk+How+to+connect+with+CAPI After entering the asterisk console i tried *CLI> capi info Contr1: 2 B channels total, 2 B channels free. (looks good) *CLI> capi debug CAPI Debugging Enabled When i call my msn with a normal phone i see the following content: ================================================ -- CONNECT_IND ID=001 #0x0020 LEN=0047 Controller/PLCI/NCCI = 0x101 CIPValue = 0x10 CalledPartyNumber = <c1>523065 CallingPartyNumber = <21 81>6101806124 CalledPartySubaddress = default CallingPartySubaddress = default BC = <80 90 a3> LLC = default HLC = <91 81> AdditionalInfo = default Feb 21 11:32:30 NOTICE[384]: chan_capi.c:1932 capi_handle_msg: CONNECT_IND ID=001 #0x0020 LEN=0047 Controller/PLCI/NCCI = 0x101 CIPValue = 0x10 CalledPartyNumber = <c1>523065 CallingPartyNumber = <21 81>6101806124 CalledPartySubaddress = default CallingPartySubaddress = default BC = <80 90 a3> LLC = default HLC = <91 81> AdditionalInfo = default == CONNECT_IND (PLCI=0x101,DID=523065,CID=6101806124,CIP=0x10,CONTROLLER=0x1) Feb 21 11:32:30 ERROR[384]: chan_capi.c:2051 capi_handle_msg: did not find device for msn = 523065 -- INFO_IND ID=001 #0x0021 LEN=0022 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x70 InfoElement = <c1>523065 Feb 21 11:32:30 ERROR[384]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x101 MN = 0x21 Feb 21 11:32:30 NOTICE[384]: chan_capi.c:1302 pipe_msg: INFO_IND ID=001 #0x0021 LEN=0022 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x70 InfoElement = <c1>523065 -- INFO_IND ID=001 #0x0022 LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> Feb 21 11:32:30 ERROR[384]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x101 MN = 0x22 Feb 21 11:32:30 NOTICE[384]: chan_capi.c:1302 pipe_msg: INFO_IND ID=001 #0x0022 LEN=0016 Controller/PLCI/NCCI = 0x101 InfoNumber = 0x18 InfoElement = <89> -- DISCONNECT_IND ID=001 #0x0023 LEN=0014 Controller/PLCI/NCCI = 0x101 Reason = 0x0 == DISCONNECT_IND PLCI=0x101 REASON=0 Feb 21 11:32:30 ERROR[384]: chan_capi.c:1198 find_pipe: unable to find a pipe for PLCI = 0x101 MN = 0x23 Afterwards i did a search with google (and google groups) about: did not find device for msn but i wasn't really succesfull. Here are my entries of /etc/asterisk/capi.conf: ================================; CAPI config ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] msn=523065 incomingmsn=523065 controller=1 softdtmf=1 accountcodecontext=demo ;echosquelch=1 ;echocancel=yes ;echotail=64 ;callgroup=1 ;deflect=12345678 devices=2 Here are the entries of /etc/asterisk/extensions.conf =====================================s,1,Dial,CAPI/523065:b${EXTEN}|30 s,1,Dial,CAPI/523065:${EXTEN}|30|r Here's my /etc/isdn/capi.conf ====================# card file proto io irq mem cardnr options #b1isa b1.t4 DSS1 0x150 7 - - P2P b1pci b1.t4 DSS1 - - - - c4 c4.bin DSS1 - - - - c4 - DSS1 - - - - c4 - DSS1 - - - - P2P c4 - DSS1 - - - - P2P #c2 c2.bin DSS1 - - - - #c2 - DSS1 - - - - #t1isa t1.t4 DSS1 0x340 9 - 0 #t1pci t1.t4 DSS1 - - - - #fcpci - - - - - - #fcclassic - - 0x150 10 - - Sorry, for the long posting, but i want to add a little debug output. Can someone please point me to the right direction. Thanks a lot Thorsten -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050221/3676faef/attachment.htm
On Mon, Feb 21, 2005 at 11:36:45AM +0100, M?ller, Thorsten wrote:> Hello List, > because this is my first post to this list, i'd like to introduce myself. > My name is Thorsten M?ller, 26 years old and live near Frankfurt/Main in > germany. > > Okay, now to the reason for this posting: > I just installed my first asterisk server (Debian 2.2 Kernel 2.4.18-686) > with AVM ISDN Fritz PCI card (passive). > I followed the configuration on http://voip-info.org and the Voice-Over-IP > telephony between two PC's with SJPhone works perfectly. > But connecting this machine to the ISDN line drives me crazy. > > I installed the capi driver from the AVM website and installed chan_capi > without bigger problems. > Followed these instructions: > http://voip-info.org/tiki-index.php?page=Asterisk+How+to+connect+with+CAPI > > After entering the asterisk console i tried > > *CLI> capi info > Contr1: 2 B channels total, 2 B channels free. > > > (looks good) > > *CLI> capi debug > CAPI Debugging Enabled > > > When i call my msn with a normal phone i see the following content: > ================================================> > -- CONNECT_IND ID=001 #0x0020 LEN=0047 > Controller/PLCI/NCCI = 0x101 > CIPValue = 0x10 > CalledPartyNumber = <c1>523065 > CallingPartyNumber = <21 81>6101806124 > CalledPartySubaddress = default > CallingPartySubaddress = default > BC = <80 90 a3> > LLC = default > HLC = <91 81> > AdditionalInfo = default > > Feb 21 11:32:30 NOTICE[384]: chan_capi.c:1932 capi_handle_msg: CONNECT_IND > ID=001 #0x0020 LEN=0047 > Controller/PLCI/NCCI = 0x101 > CIPValue = 0x10 > CalledPartyNumber = <c1>523065 > CallingPartyNumber = <21 81>6101806124 > CalledPartySubaddress = default > CallingPartySubaddress = default > BC = <80 90 a3> > LLC = default > HLC = <91 81> > AdditionalInfo = default > > == CONNECT_IND > (PLCI=0x101,DID=523065,CID=6101806124,CIP=0x10,CONTROLLER=0x1) > Feb 21 11:32:30 ERROR[384]: chan_capi.c:2051 capi_handle_msg: did not find > device for msn = 523065 > -- INFO_IND ID=001 #0x0021 LEN=0022 > Controller/PLCI/NCCI = 0x101 > InfoNumber = 0x70 > InfoElement = <c1>523065I think the outgoingmsn is missing / the one you are looking for> > > Here are my entries of /etc/asterisk/capi.conf: > ================================> ; CAPI config > ; > [general] > nationalprefix=0 > internationalprefix=00 > rxgain=0.8 > txgain=0.8 > > [interfaces] > > msn=523065 > incomingmsn=523065outgoingmsn=HERE_WE_NEED_A_VALID_MSN> controller=1 > softdtmf=1 > accountcode> context=demo > ;echosquelch=1 > ;echocancel=yes > ;echotail=64 > ;callgroup=1 > ;deflect=12345678 > devices=2-- Tho/\/\as