From owner-freebsd-isdn@FreeBSD.ORG Mon Jan 9 11:02:29 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE75A16A41F for ; Mon, 9 Jan 2006 11:02:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7840743D46 for ; Mon, 9 Jan 2006 11:02:29 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k09B2T9x066123 for ; Mon, 9 Jan 2006 11:02:29 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k09B2SGI066114 for freebsd-isdn@freebsd.org; Mon, 9 Jan 2006 11:02:28 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 9 Jan 2006 11:02:28 GMT Message-Id: <200601091102.k09B2SGI066114@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-isdn@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 11:02:29 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/09] bin/43857 isdn [patch] conflicting types in /usr/src/usr o [2004/11/16] bin/73988 isdn ISDN - first dial attempt fails o [2005/01/23] kern/76611 isdn [i4b] [patch] i4b itjc bad enums for PIB o [2005/03/22] kern/79117 isdn [iavc] iavc(4) for AVM B1 PCI does not at 4 problems total. From owner-freebsd-isdn@FreeBSD.ORG Fri Jan 13 01:32:37 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 129D616A41F for ; Fri, 13 Jan 2006 01:32:37 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD2C43D45 for ; Fri, 13 Jan 2006 01:32:36 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== X-Cloudmark-Score: 0.000000 [] Received: from mp-217-36-223.daxnet.no ([193.217.36.223] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 81598269; Fri, 13 Jan 2006 02:32:34 +0100 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Fri, 13 Jan 2006 02:32:40 +0100 User-Agent: KMail/1.7 References: <44a1b7810511261638w1ee9cbcev@mail.gmail.com> In-Reply-To: <44a1b7810511261638w1ee9cbcev@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601130232.41113.hselasky@c2i.net> Cc: Subject: Re: i4b with 6.0-stable? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 01:32:37 -0000 On Sunday 27 November 2005 01:38, Andreas Heider wrote: > Hi, > i'm trying to get isdn working with freebsd 6.0, but i get the same > error as some others before. There was a patch in this mailinglist, > but it's not on the server anymore. Could someone please post this > patch and/or a howto get isdn working with freebsd 6.0? Sorry for late reply, but maybe you want to look at: http://www.turbocat.net/~hselasky/isdn4bsd The latest driver there works with I4B in TE-mode. I am working on a new version with improved NT-mode support. It will be released in not too long. Also a new version of "chan_capi" will be released. Support for "HOLD", "RETRIVE", "ECT", and "MCID" are planned. This is not particularly difficult, but I have to read some specifications first. --HPS From owner-freebsd-isdn@FreeBSD.ORG Fri Jan 13 01:33:27 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE38516A422 for ; Fri, 13 Jan 2006 01:33:27 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0540743D46 for ; Fri, 13 Jan 2006 01:33:26 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== X-Cloudmark-Score: 0.000000 [] Received: from mp-217-36-223.daxnet.no ([193.217.36.223] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 71293128 for freebsd-isdn@freebsd.org; Fri, 13 Jan 2006 02:33:25 +0100 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Fri, 13 Jan 2006 02:33:31 +0100 User-Agent: KMail/1.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601130233.31735.hselasky@c2i.net> Subject: Re: chan_capi with Asterisk 1.2.1 X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 01:33:28 -0000 Hi, Sorry for late reply. On Thursday 12 January 2006 19:04, Maarten Dekker wrote: > Hello Hans Petter, > > I have installed the latest Asterisk version (1.2.1). Where did you get it? From ports? > I have installed just Asterisk, so no Zaptel and others. > > Does the chan_capi that you provided me a while ago work with this > version? I don't know. > > After the Asterisk install I did: > cd /root/chan_capi.hps > khif01# gmake Could you do: gmake clean Then: gmake all install And post what it outputs? > gmake: Nothing to be done for `all'. > khif01# gmake install > for x in chan_capi.so; do install -m 755 $x > /usr/local/lib/asterisk/modules ; done > khif01# > > make does not seem to work so I used gmake. > > When I start asterisk it fails: > == Parsing '/usr/local/etc/asterisk/modules.conf': Found > [chan_capi.so]Jan 4 19:09:13 WARNING[36465]: loader.c:325 > __load_resource: /usr/local/lib/asterisk/modules/chan_capi.so: Undefined > symbol "ast_pthread_create" > Jan 4 19:09:13 WARNING[36465]: loader.c:499 load_modules: Loading module > chan_capi.so failed! > > Any ideas? > Could you look up the sources. If you installed from ports then go to: /usr/ports/net/asterisk/work/a*[129] Then "cat *[ch] | less" Search for "pthread" and see if you can find the equivalent. Else just add the following to "chan_capi.c", somewhere before "ast_pthread_create()" is used: static int ast_pthread_create(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data) { pthread_attr_t lattr; if (!attr) { pthread_attr_init(&lattr); attr = &lattr; } errno = pthread_attr_setstacksize(attr, PTHREAD_ATTR_STACKSIZE); if (errno) ast_log(LOG_WARNING, "pthread_attr_setstacksize returned " "non-zero: %s\n", strerror(errno)); return pthread_create(thread, attr, start_routine, data); } --HPS From owner-freebsd-isdn@FreeBSD.ORG Fri Jan 13 01:42:31 2006 Return-Path: X-Original-To: freebsd-isdn@freebsd.org Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E629C16A41F for ; Fri, 13 Jan 2006 01:42:31 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F65543D45 for ; Fri, 13 Jan 2006 01:42:31 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== X-Cloudmark-Score: 0.000000 [] Received: from mp-216-87-251.daxnet.no ([193.216.87.251] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.0.2) with ESMTP id 81380273; Fri, 13 Jan 2006 02:42:29 +0100 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Fri, 13 Jan 2006 02:42:35 +0100 User-Agent: KMail/1.7 References: <44a1b7810511261638w1ee9cbcev@mail.gmail.com> <200601130232.41113.hselasky@c2i.net> In-Reply-To: <200601130232.41113.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601130242.35924.hselasky@c2i.net> Cc: Subject: Re: i4b with 6.0-stable? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hselasky@c2i.net List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 01:42:32 -0000 On Friday 13 January 2006 02:32, Hans Petter Selasky wrote: > On Sunday 27 November 2005 01:38, Andreas Heider wrote: > > Hi, > > i'm trying to get isdn working with freebsd 6.0, but i get the same > > error as some others before. There was a patch in this mailinglist, > > but it's not on the server anymore. Could someone please post this > > patch and/or a howto get isdn working with freebsd 6.0? > > Sorry for late reply, but maybe you want to look at: > > http://www.turbocat.net/~hselasky/isdn4bsd Or more specifically: http://www.turbocat.net/~hselasky/isdn4bsd/index_Obj0_00.html > > The latest driver there works with I4B in TE-mode. I am working on a new > version with improved NT-mode support. It will be released in not too long. > Also a new version of "chan_capi" will be released. > > Support for "HOLD", "RETRIVE", "ECT", and "MCID" are planned. This is not > particularly difficult, but I have to read some specifications first. > --HPS