Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2016 17:35:54 +0100
From:      Hans Petter Selasky <hps@selasky.org>
To:        Andreas Longwitz <longwitz@incore.de>
Cc:        freebsd-isdn@freebsd.org
Subject:   Re: chan_capi error after update
Message-ID:  <56C895EA.5000404@selasky.org>
In-Reply-To: <56C89326.4030803@incore.de>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <markster@digium.com>
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56C895EA.5000404>