From owner-freebsd-isdn@freebsd.org Sat Feb 20 16:33:30 2016 Return-Path: Delivered-To: freebsd-isdn@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3A8C9AAFD19 for ; Sat, 20 Feb 2016 16:33:30 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 04E3C15BA for ; Sat, 20 Feb 2016 16:33:29 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 342761FE023; Sat, 20 Feb 2016 17:33:27 +0100 (CET) Subject: Re: chan_capi error after update To: Andreas Longwitz References: <56C6E0D4.5060603@incore.de> <56C74704.6060606@selasky.org> <56C83752.6080708@selasky.org> <56C87494.6020605@incore.de> <56C87F06.1070504@selasky.org> <56C88301.3060104@selasky.org> <56C89326.4030803@incore.de> Cc: freebsd-isdn@freebsd.org From: Hans Petter Selasky Message-ID: <56C895EA.5000404@selasky.org> Date: Sat, 20 Feb 2016 17:35:54 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <56C89326.4030803@incore.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 16:33:30 -0000 On 02/20/16 17:24, Andreas Longwitz wrote: > Hi, > >> Try to update once more. > > Done, update to chan_capi 2.0.16, same result as in 2.0.15, only the two > last ERROR messages "lock.c: chan_capi.c line 2586" are gone. Your check > for asterisk V11 failed because I have the file ast_version.h in > asterisk 1.8 too. > > > I think yes, this is my capi.conf: > [general] > language=de > nationalprefix=0 > internationalprefix=00 > rxgain=1.0 > txgain=1.0 > alaw=yes > digit_timeout=1 > ton2digit=1 > > [ISDN] > ntmode=no > isdnmode=msn > incomingmsn=4982871 > defaultcid=4982871 > controller=0 > devices=2 > group=1 > accountcode= > context=isdn-in > holdtype=local > > -> asterisk -r > [Feb 20 17:05:41] Asterisk 1.8.32.1, Copyright (C) 1999 - 2013 Digium, > Inc. and others. > Created by Mark Spencer > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' > for details. > This is free software, with components licensed under the GNU General Public > License version 2 and other licenses; you are welcome to redistribute it > under > certain conditions. Type 'core show license' for details. > ========================================================================= > [Feb 20 17:05:41] Connected to Asterisk 1.8.32.1 currently running on > loserver (pid = 28258) > Verbosity is at least 5 > Core debug is at least 3 > [2016-02-20 17:05:41.500] -- Remote UNIX connection > loserver*CLI> capi info > CAPI thread [0x0] { > Application ID : 0x00000000 > Application uptime : 0x0000003b seconds > Backend : capi20 @ localhost > > Call descriptor statistics: > allocation count : 0x00000000 call descriptors > free count : 0x00000000 call descriptors > in memory count : 0x00000000 call descriptors > in use count : 0x00000000 call descriptors > record allocation rate : 0x0000 calls/second > limit allocation rate : 0x0010 calls/second > Currently active calls: > channel name, source->destination, call ID, in/out > } > Config entry 'ISDN' { > b_channels_curr : 2 call descriptor(s) free > b_channels_max : 2 call descriptor(s) total > } > Hi, Looks good to me. What happens when you try to dial IN/OUT. Nothing works? And did you try "capitest" to make a CAPI test call? Can you describe a bit more what is not working? --HPS