From owner-freebsd-isdn@FreeBSD.ORG Sun Oct 23 22:59:05 2005 Return-Path: X-Original-To: freebsd-isdn@hub.freebsd.org Delivered-To: freebsd-isdn@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69A9D16A41F; Sun, 23 Oct 2005 22:59:05 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2681143D45; Sun, 23 Oct 2005 22:59:05 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9NMx5Y4042860; Sun, 23 Oct 2005 22:59:05 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9NMx5NS042856; Sun, 23 Oct 2005 22:59:05 GMT (envelope-from linimon) Date: Sun, 23 Oct 2005 22:59:05 GMT From: Mark Linimon Message-Id: <200510232259.j9NMx5NS042856@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-isdn@FreeBSD.org Cc: Subject: Re: bin/43857: [patch] conflicting types in /usr/src/usr.sbin/i4b/isdnd/support.c 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: Sun, 23 Oct 2005 22:59:05 -0000 Synopsis: [patch] conflicting types in /usr/src/usr.sbin/i4b/isdnd/support.c Responsible-Changed-From-To: freebsd-bugs->freebsd-isdn Responsible-Changed-By: linimon Responsible-Changed-When: Sun Oct 23 22:58:27 GMT 2005 Responsible-Changed-Why: Perhaps assigning this PR to this mailing list will get it some attention. http://www.freebsd.org/cgi/query-pr.cgi?pr=43857 From owner-freebsd-isdn@FreeBSD.ORG Sun Oct 23 23:51:06 2005 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 9D77716A41F for ; Sun, 23 Oct 2005 23:51:06 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1934F43D46 for ; Sun, 23 Oct 2005 23:51:05 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-217-135-104.daxnet.no ([193.217.135.104] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 4.3.8) with ESMTP id 9173166 for freebsd-isdn@freebsd.org; Mon, 24 Oct 2005 01:51:03 +0200 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Mon, 24 Oct 2005 01:52:09 +0200 User-Agent: KMail/1.7 References: <200509182158.57736.hselasky@c2i.net> In-Reply-To: <200509182158.57736.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510240152.10137.hselasky@c2i.net> Subject: New ISDN driver (update) 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: Sun, 23 Oct 2005 23:51:06 -0000 Hi, I have just uploaded another pre-release of my ISDN+USB driver. It should be very easy to install. Here are some of the changes: - This time I have fixed and tested the Fritz driver, but only "Fritz PnP/PCI version 1", "AVM A1" and "AVM Fritz!Card (ISA)", is supported. I have also made some improvements to NT-mode. Primary rate, E1, has also got some fixes. Also I have fixed some compilation issues with the latest FreeBSD 6.0 release. - There is a new utility called "isdnconfig" that can be used to configure the mode of the D-channel. - There is a NetBSD 2.x port of this driver available. See the driver info file for more information. My driver now works well with Asterisk, using the "chan_capi" module. Just recently I made the following setup: Wireless ISDN phone <-> crossover cable <-> HFC-S USB <-> chan_capi <-> Asterisk <-> PPP <-> Winbond USB TA <-> internet <-> SIP-provider And it worked pretty well. Around 33kbit/s was used by the audio stream, though it is worth to mention that the sound degraded quickly when I started downloading things from the internet. Most likely the problem was that my ISP did not give priority to the UDP frames carrying the sound. Using a 128K internet connection might improve the situation. I have put some example configuration files at: http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/asterisk/ Here is a document that describes some of the supported features: http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/driver_info_6.txt Download the three files below into a new directory and type "make install". To uninstall type "make deinstall". http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/155/Makefile http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/new_ihfc_1_5_5.tar.bz2 http://home.c2i.net/hselasky/isdn4bsd/privat/temporary/new_ihfc_1_5_5.diff.bz2 Type "make help" for more help. --HPS From owner-freebsd-isdn@FreeBSD.ORG Mon Oct 24 08:07:14 2005 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 512E316A41F for ; Mon, 24 Oct 2005 08:07:14 +0000 (GMT) (envelope-from cianlists@cian.ws) Received: from oppy.cian.ws (cian.ws [62.231.45.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBF1743D45 for ; Mon, 24 Oct 2005 08:07:13 +0000 (GMT) (envelope-from cianlists@cian.ws) Received: from localhost (localhost.cian.ws [127.0.0.1]) by oppy.cian.ws (Postfix) with ESMTP id 0EF3B33C11; Mon, 24 Oct 2005 09:07:10 +0100 (IST) Received: from oppy.cian.ws ([127.0.0.1]) by localhost (oppy.cian.ws [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 72171-03; Mon, 24 Oct 2005 09:06:40 +0100 (IST) Received: from [10.0.1.5] (g5.cian.ws [10.0.1.5]) by oppy.cian.ws (Postfix) with ESMTP id 1A2BC33C0C; Mon, 24 Oct 2005 09:06:38 +0100 (IST) Mime-Version: 1.0 (Apple Message framework v734) To: Hans Petter Selasky , Thomas Wintergerst , Hellmuth Michaelis , Thorsten Glaser , hellmuth.michaelis@t-online.de Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-45--637343308" From: Cian Hughes Date: Mon, 24 Oct 2005 09:06:35 +0100 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.1 (Tiger) X-Mailer: Apple Mail (2.734) X-Virus-Scanned: amavisd-new at cian.ws X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-isdn@freebsd.org Subject: ISDN Drivers on FreeBSD 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, 24 Oct 2005 08:07:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-45--637343308 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hey, to be bluntly honest I'm confused as to what to use next with regards to ISDN drivers for my AVM B1 PCI v4, basically, I currently use C4B and it works well with Asterisk, however I'm building a new 7- Current Box at the moment, which I will move the card into when I'm finished, which set of drivers, system, whatever is: being most actively developed? most mature? least processor intensive? If I use this new I4B fork, will I in effect go from CAPI to I4b internals and back through a CAPI emulation layer to asterisk, or is it smarter than that? Finally I have stuck with a 6-Current (from early June) checkout that I managed to integrate C4B into, is patching the current FreeBSD HEAD with C4B designed to drive a reasonable man insane? Does anyone have it properly integrated with the latest FreeBSD source, if so can I please have a copy of your patch-set? I am away on retreat for the next four days so I don't need an immediate reply, if you can find the time please have a think about what would be best for me leaving your pre-justices regarding any particular setup at the door (I prefer reliability over efficiency and that over ease of setup). Regards, Cian Hughes --Apple-Mail-45--637343308 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDXJYLaVVfOlCF0TQRAmuPAKCbS0exhksFowu11MbBOFFsV3PdugCfVIBZ +Mu/YH1JxQybHiuW9NVj8aw= =Eerv -----END PGP SIGNATURE----- --Apple-Mail-45--637343308-- From owner-freebsd-isdn@FreeBSD.ORG Mon Oct 24 11:02:10 2005 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 E5BAC16A41F for ; Mon, 24 Oct 2005 11:02:10 +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 8260143D48 for ; Mon, 24 Oct 2005 11:02:09 +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.3/8.13.3) with ESMTP id j9OB29NE061991 for ; Mon, 24 Oct 2005 11:02:09 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9OB288a061985 for freebsd-isdn@freebsd.org; Mon, 24 Oct 2005 11:02:08 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Oct 2005 11:02:08 GMT Message-Id: <200510241102.j9OB288a061985@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, 24 Oct 2005 11:02:11 -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 [patch] i4b itjc bad enums for PIB cycle 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 Wed Oct 26 15:16:42 2005 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 25DFC16A41F for ; Wed, 26 Oct 2005 15:16:42 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 938C943D5F for ; Wed, 26 Oct 2005 15:16:40 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-217-36-246.daxnet.no ([193.217.36.246] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 4.3.8) with ESMTP id 11008859; Wed, 26 Oct 2005 17:16:38 +0200 From: Hans Petter Selasky To: Cian Hughes Date: Wed, 26 Oct 2005 17:17:43 +0200 User-Agent: KMail/1.7 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200510261717.44769.hselasky@c2i.net> Cc: freebsd-isdn@freebsd.org Subject: Re: ISDN Drivers on FreeBSD 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: Wed, 26 Oct 2005 15:16:42 -0000 On Monday 24 October 2005 10:06, Cian Hughes wrote: > Hey, to be bluntly honest I'm confused as to what to use next with > regards to ISDN drivers for my AVM B1 PCI v4, basically, I currently > use C4B and it works well with Asterisk, however I'm building a new 7- > Current Box at the moment, which I will move the card into when I'm > finished, which set of drivers, system, whatever is: > being most actively developed? > most mature? > least processor intensive? I think I can say that my implementation of CAPI 2.0, and the so called "CMSG" structure, is at least 50% faster, with regard to zeroing of memory, than the "liblinuxcapi" implementation. "liblinuxcapi" is required by C4B when one is using "chan_capi" and Asterisk. "liblinuxcapi" will zero some 300 bytes per message, while I zero around 170. I have optimized this to 0 bytes for certain messages, like DATA_B3_IND/REQ. > > If I use this new I4B fork, will I in effect go from CAPI to I4b > internals and back through a CAPI emulation layer to asterisk, or is > it smarter than that? My ISDN driver does not yet support active CAPI controllers. But the idea is that all signals are decoded into a set of common signals, that are then decoded to I4B and CAPI 2.0. This makes adding more application interfaces easier. +---- /dev/i4b [D-channel] ---- > [common signals] --+ +---- /dev/capi20 So you might have to buy a new "HFC-S PCI A ISDN" card to be able to use my ISDN driver, or some other passive ISDN device that is supported. --HPS