[Asterisk-Users] Problem with ISDN Dialin via CAPI

Thomas Niesel thomas_n at freenet.de
Mon Feb 21 05:42:51 MST 2005


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>523065

I 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=523065
outgoingmsn=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



More information about the asterisk-users mailing list