From owner-freebsd-isdn Mon Oct 15 1:11:52 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gatekeeper.tripos.com (gatekeeper.tripos.com [192.160.145.62]) by hub.freebsd.org (Postfix) with ESMTP id 24D1137B40D for ; Mon, 15 Oct 2001 01:11:48 -0700 (PDT) Received: (from uucp@localhost) by tripos.com (8.8.8+Sun) id DAA28726; Mon, 15 Oct 2001 03:11:45 -0500 (CDT) Received: from elara.tripos.com(172.20.5.15) by gatekeeper.tripos.com via smap (V5.5) id xma028687; Mon, 15 Oct 01 03:07:18 -0500 Received: from wolf ([172.20.152.158]) by tripos.com (980919.SGI.STAND) via SMTP id DAA38117; Mon, 15 Oct 2001 03:07:15 -0500 (CDT) Message-ID: <179801c15550$8ffa3a50$9e9814ac@tripos.com> From: "Steve Coles" To: Cc: "H. Eckert" References: <159e01c152fc$2cadabe0$9e9814ac@tripos.com> <20011013124507.A80441@server.nostromo.in-berlin.de> Subject: Re: Configuring isdnd, isppp/isp0 and "surftime" Date: Mon, 15 Oct 2001 09:08:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by elara.tripos.com id DAA38117 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the script, I shall use this if you don't mind. FWIW I have had a successful weekend configuring and using i4b; other than warnings to Will Robinson ? My early concerns about isdnd strangely not liking isp being down were ~misguided~ and caused by this: I had external nameservers in resolve.conf I had hosts then bind in hosts.conf I allowed remote monitoring of isdnd from 192.168.254.0 isp0 was down I ran netstat -rn and all was OK a) I typed netstat -r and the command blocked looking up the name for the localnet 192.168.254.0 b) I typed isdnd -f -l0xFFF and it blocked too... I guessed from isdnd.log that the blocking netstat lookup for 192.168.254.0 and similar lookup in isdnd.rc for isdnmonitor were related. I added 192.168.254.0 to "networks" and both netstat -rn and isdnd stopped blocking when isp0 was down. (Incidentally, I had to add "192.168.254.0", not "192.168.254" to networks ?) Thanks for your help, Steve ----- Original Message ----- From: "H. Eckert" To: Cc: "Steve Coles" Sent: 13 October 2001 11:45 Subject: Re: Configuring isdnd, isppp/isp0 and "surftime" > Quoting Steve Coles (scoles@tripos.com): > > Q. Do I just need to schedule an "ifconfig isp0 down" and "ifconfig > > isp0 up" ? > > That's what I do to allow my server to have a 2 hour window for > automatic dialin to fetch mail and news. > I have to admit though, that I'm still running 3.5.x an therefore not > the most current i4b. > > For ease of use I wrote some simple scripts to invoke that even take > care to use the connection I want to open by checking the default route. > So I could have cron entries that reset the default route and don't have > to care about that when I run "isdn+" manually to enable the connection. > > =3D=3D=3D=3D8<=3D=3D=3D=3D isdn+ > #!/bin/sh > PATH=3D/usr/bin:/bin > interface=3D`netstat -rn | grep default| awk '{print $NF;}'` > /usr/local/bin/sudo /sbin/ifconfig $interface up > =3D=3D=3D=3D8<=3D=3D=3D=3D > > > Q. Does isdnd like the isp0 going up and down when it is running ? > > I have no problem at all with that. > > > Greetings, > Ripley > -- > H. Eckert, 12051 Berlin > ISO 8859-1: =C4=3DAe, =D6=3DOe, =DC=3DUe, =E4=3Dae, =F6=3Doe, =FC=3Due,= =DF=3Dsz. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Oct 15 4: 3:42 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id A5BCA37B409 for ; Mon, 15 Oct 2001 04:03:39 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id 0F853586C; Mon, 15 Oct 2001 13:03:38 +0200 (CEST) Date: Mon, 15 Oct 2001 13:03:37 +0200 From: Guido van Rooij To: freebsd-isdn@freebsd.org Subject: call forwarding Message-ID: <20011015130337.A31405@gvr.gvr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am wondering if it is apossible to use a ISDN card to enable callforwaring. We have a setup where an i4b powered card shares an ISDN line with a simple switch. If I want to enable a call forwarding using the normal phone, I have to dial *210*# to enable it. However, I cannot use isdnphone to do so, as it contains non-digits. So how would I enable this from the commandline? -Guido ps: please keep me in the Cc: header as I am not subscribed to this list. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Oct 15 5:58: 1 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with ESMTP id E59D937B40B for ; Mon, 15 Oct 2001 05:57:57 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 9B918BA05; Mon, 15 Oct 2001 14:57:56 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id 6F7E0BA04; Mon, 15 Oct 2001 14:57:55 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id 4B8572B6; Mon, 15 Oct 2001 14:57:55 +0200 (METDST) Subject: Re: call forwarding In-Reply-To: <20011015130337.A31405@gvr.gvr.org> "from Guido van Rooij at Oct 15, 2001 01:03:37 pm" To: Guido van Rooij Date: Mon, 15 Oct 2001 14:57:55 +0200 (METDST) Cc: freebsd-isdn@freebsd.org Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL84 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20011015125755.4B8572B6@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From the keyboard of Guido van Rooij: > I am wondering if it is apossible to use a ISDN card to enable callforwaring. > We have a setup where an i4b powered card shares an ISDN line with a > simple switch. If I want to enable a call forwarding using the normal > phone, I have to dial *210*# to enable it. > However, I cannot use isdnphone to do so, as it contains non-digits. > So how would I enable this from the commandline? Usually keystrokes like "*210*#" are used tell a PBX or the exchange to configure/enable/disable services provided by them. One way to accomplish this is to use the D-channel Keypad Protocol to transport the characters "*210*#" from the telephone to the PBX/Exchange but some other (on PBX'es likely proprietary) protocols to do this exist. The keypad protocol is not implemented in i4b but it looks like is relatively easy to implement. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Oct 15 7:44:47 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id F2E0537B410 for ; Mon, 15 Oct 2001 07:44:40 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id 8DA5C586C; Mon, 15 Oct 2001 16:44:38 +0200 (CEST) Date: Mon, 15 Oct 2001 16:44:38 +0200 From: Guido van Rooij To: Hellmuth Michaelis Cc: freebsd-isdn@freebsd.org Subject: Re: call forwarding Message-ID: <20011015164437.A576@gvr.gvr.org> References: <20011015130337.A31405@gvr.gvr.org> <20011015125755.4B8572B6@hcswork.hcs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011015125755.4B8572B6@hcswork.hcs.de>; from hm@hcs.de on Mon, Oct 15, 2001 at 02:57:55PM +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Oct 15, 2001 at 02:57:55PM +0200, Hellmuth Michaelis wrote: > > One way to accomplish this is to use the D-channel Keypad Protocol to > transport the characters "*210*#" from the telephone to the PBX/Exchange > but some other (on PBX'es likely proprietary) protocols to do this exist. Is it possible to do this from a command line program with i4b? > > The keypad protocol is not implemented in i4b but it looks like is > relatively easy to implement. Hmm, I am willing to do this (if the D-channel approach cannot be taken) but I have no documentation at all. -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Mon Oct 15 22:45:12 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gnu.in-berlin.de (gnu.in-berlin.de [192.109.42.4]) by hub.freebsd.org (Postfix) with ESMTP id 2F16337B408 for ; Mon, 15 Oct 2001 22:45:08 -0700 (PDT) Received: from hirsch.in-berlin.de (root@hirsch.colt.in-berlin.de [213.61.118.6]) by gnu.in-berlin.de (8.10.1/8.10.1) with ESMTP id f9G5j5H16074; Tue, 16 Oct 2001 07:45:06 +0200 (CEST) (envelope-from ripley@server.nostromo.in-berlin.de) Received: (from uucp@localhost) by hirsch.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with UUCP id f9G5j5R32078; Tue, 16 Oct 2001 07:45:05 +0200 X-Envelope-From: ripley@server.nostromo.in-berlin.de X-Envelope-To: freebsd-isdn@FreeBSD.ORG Received: (from ripley@localhost) by server.nostromo.in-berlin.de (8.9.3/8.9.3) id XAA70629; Mon, 15 Oct 2001 23:27:13 +0200 (CEST) (envelope-from ripley) Date: Mon, 15 Oct 2001 23:27:13 +0200 From: "H. Eckert" To: Steve Coles Cc: freebsd-isdn@FreeBSD.ORG Subject: Re: Configuring isdnd, isppp/isp0 and "surftime" Message-ID: <20011015232713.A70364@server.nostromo.in-berlin.de> References: <159e01c152fc$2cadabe0$9e9814ac@tripos.com> <20011013124507.A80441@server.nostromo.in-berlin.de> <179801c15550$8ffa3a50$9e9814ac@tripos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2i In-Reply-To: <179801c15550$8ffa3a50$9e9814ac@tripos.com>; from scoles@tripos.com on Mon, Oct 15, 2001 at 09:08:21AM +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Quoting Steve Coles (scoles@tripos.com): > Thanks for the script, I shall use this if you don't mind. If I would, why should I mail it around ? Pay attention to the sudo invokation, though. On my machine I updated sudo once and now it complains when I run it from an already privileged shell "You are already root, you don't need to use sudo." which I think is really stupid for scripts. > I added 192.168.254.0 to "networks" and both netstat -rn and isdnd > stopped blocking when isp0 was down. (Incidentally, I had to add > "192.168.254.0", not "192.168.254" to networks ?) Well, an IP address consists of 4 octets. The lowest address in a subnet (as described through the netmask) is the network address. We had our share of fun in the office when our new DSL provider assigned us an IP address for our router x.x.x.32 with a subnet mask for 16 adresses. No way would the (Linux) router accept a default route to the network address which it considered local on its ethernet anyway... Had it been FreeBSD we could have assigned the route to the other NIC (router add -interface XXX)... Greetings, Ripley -- H. Eckert, 12051 Berlin ISO 8859-1: Ä=Ae, Ö=Oe, Ü=Ue, ä=ae, ö=oe, ü=ue, ß=sz. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Tue Oct 16 2:36:47 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with ESMTP id F32A637B40F for ; Tue, 16 Oct 2001 02:36:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 4AE51BA05; Tue, 16 Oct 2001 11:36:42 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id 24424BA04; Tue, 16 Oct 2001 11:36:41 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id 11C9B2B7; Tue, 16 Oct 2001 11:36:41 +0200 (METDST) Subject: Re: call forwarding In-Reply-To: <20011015164437.A576@gvr.gvr.org> "from Guido van Rooij at Oct 15, 2001 04:44:38 pm" To: Guido van Rooij Date: Tue, 16 Oct 2001 11:36:40 +0200 (METDST) Cc: Hellmuth Michaelis , freebsd-isdn@freebsd.org Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL84 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20011016093641.11C9B2B7@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From the keyboard of Guido van Rooij: > > One way to accomplish this is to use the D-channel Keypad Protocol to > > transport the characters "*210*#" from the telephone to the PBX/Exchange > > but some other (on PBX'es likely proprietary) protocols to do this exist. > > Is it possible to do this from a command line program with i4b? Currently not. But it should be possible to do it the same way isdnphone does it currently. To accomplish this, isdnphone must be made able to get a keypad string, send it in a to be implemented way via isdnd to the kernel part of i4b where something must be implemented to send a keypad string in a SETUP message and handle the resulting protocol interactions in the layer 3 state machinery. Some experimentation, coding and testing is necessary ... hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Oct 17 9: 6:29 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from liliput.tmp.com.br (liliput.tmp.com.br [200.244.62.12]) by hub.freebsd.org (Postfix) with ESMTP id B3E2437B403 for ; Wed, 17 Oct 2001 09:06:22 -0700 (PDT) Received: (from prallon@localhost) by liliput.tmp.com.br (8.8.8/8.8.8) id OAA22753; Wed, 17 Oct 2001 14:06:01 -0200 Date: Wed, 17 Oct 2001 14:06:00 -0200 From: Sergio de Souza Prallon To: Chris Knight Cc: guy@traverse.com.au, freebsd-isdn@freebsd.org Subject: Re: NetJet-S and DOV Message-ID: <20011017140600.C21633@tmp.com.br> References: <004301c155e1$8007ec50$020aa8c0@aims.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <004301c155e1$8007ec50$020aa8c0@aims.private>; from chris@aims.com.au on Tue, Oct 16, 2001 at 12:25:52PM +1100 X-URL: http://www.tmp.com.br Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 16, 2001 at 12:25:52PM +1100, Chris Knight wrote: > Howdy, > > We're looking at using the NetJet-S in some FreeBSD servers, but > unfortunately the driver according to Traverse's Website doesn't support > data-over-voice (DOV). What would be required to add DOV capability? I'm > happy to write the code, I'm just not sure where to start. > > Regards, > Chris Knight > Systems Administrator > AIMS Independent Computer Professionals > Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 Mob: +61 419 528 795 > Web: http://www.aims.com.au > Hi, I wrote this driver for my personal use here in Brazil. Here, the ISDN B-channels are 8-bit clean. If I understand Traverse's tech staff, DOV consists in declare in the call-setup (in the D-channel) packet that you want the B-channel to be Voice Capable instead of Data Capable. That was because of diferent charge prices made by some of the Telcos. Unfortunately, most of the terminal servers in use in Australia are Ascend and they have a `feature' that if they receive a Voice call, they only take 7 out of every 8 bits of the traffic (because Voice in America is sampled with 7 bits) EVEN IF THEY CARRY HDLC FRAMED DATA. So, the DOV capability would be to be able to call a given phone number setting the Bearer type to Voice (something to be hacked in the layer3 and isdnd I think) and select to operate in 7 or 8 bit HDLC. That would require a new version of the HDLC_ENCODE and HDLC_DECODE macros in i4b_hdlc.h that were able to work with 8bit bytes but with a payload of 7bits. This, I think is the hard part: these macros were very cleverly designed by the previous IHFC author. They are very fast and lean, but are somewhat hard to fiddle with. May be you can start with a trivial, a-bit-at-a-time version of them (like the Linux driver do) to have the project going, and then, after having all the rest up and running, try to patch the original HDLC macros. Hope this helps. -- Prallon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Oct 17 11:42:43 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from smtp.kdt.de (ns2.kdt.de [195.8.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 49FCF37B403 for ; Wed, 17 Oct 2001 11:42:36 -0700 (PDT) Received: from jocelyn.sub-etha.wtal.de (line8f28.kdt.de [213.240.143.40]) by smtp.kdt.de (8.8.8/8.8.8) with ESMTP id UAA28398 for ; Wed, 17 Oct 2001 20:42:33 +0200 Received: from marie.sub-etha.wtal.de (marie.sub-etha.wtal.de [213.240.145.124]) by jocelyn.sub-etha.wtal.de (Postfix) with ESMTP id 1F8F010 for ; Wed, 17 Oct 2001 20:24:52 +0200 (CEST) Received: by marie.sub-etha.wtal.de (Postfix, from userid 1501) id 602E06510; Wed, 17 Oct 2001 20:21:51 +0200 (CEST) Date: Wed, 17 Oct 2001 20:21:51 +0200 From: Ignatios Souvatzis To: freebsd-isdn@freebsd.org Subject: Re: NetJet-S and DOV Message-ID: <20011017202151.B3144@beverly.kleinbus.org> References: <004301c155e1$8007ec50$020aa8c0@aims.private> <20011017140600.C21633@tmp.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011017140600.C21633@tmp.com.br>; from prallon@tmp.com.br on Wed, Oct 17, 2001 at 02:06:00PM -0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Oct 17, 2001 at 02:06:00PM -0200, Sergio de Souza Prallon wrote: > > I wrote this driver for my personal use here in Brazil. Here, the ISDN > B-channels are 8-bit clean. If I understand Traverse's tech staff, DOV > consists in declare in the call-setup (in the D-channel) packet that > you want the B-channel to be Voice Capable instead of Data Capable. That > was because of diferent charge prices made by some of the Telcos. > Unfortunately, most of the terminal servers in use in Australia are Ascend > and they have a `feature' that if they receive a Voice call, they only > take 7 out of every 8 bits of the traffic (because Voice in America is > sampled with 7 bits) EVEN IF THEY CARRY HDLC FRAMED DATA. A Telco could even use some voice compression method behind your back and transmit 2 voice channels over one 64 kilobit/s link, if you declared you want to transmit voice.... But about the 7 of 8 bit part - the US use ulaw encoding - don't they? thats a 14 bit into 8 bit compression - you need an 8bit channel to transport it. Unless they are sampling it at 7 kHz sample rate, but famous US ISDN hardware, e.g. the audio chip used by (now ancient) SUN workstations, only supported 8 kHz 8-bit uLAW-encoding. Regards, -is To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Oct 17 11:56:23 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from azeotrope.org (yerfable.azeotrope.org [216.30.51.220]) by hub.freebsd.org (Postfix) with ESMTP id 800C737B40A for ; Wed, 17 Oct 2001 11:56:19 -0700 (PDT) Received: from localhost (localhost [[UNIX: localhost]]) by azeotrope.org (8.11.6/8.11.6) with ESMTP id f9HIuIC15470 for ; Wed, 17 Oct 2001 13:56:18 -0500 (CDT) Date: Wed, 17 Oct 2001 13:56:17 -0500 (CDT) From: Dave Huang To: Subject: Re: NetJet-S and DOV In-Reply-To: <20011017202151.B3144@beverly.kleinbus.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 17 Oct 2001, Ignatios Souvatzis wrote: > But about the 7 of 8 bit part - the US use ulaw encoding - don't they? thats > a 14 bit into 8 bit compression - you need an 8bit channel to transport it. > Unless they are sampling it at 7 kHz sample rate, but famous US ISDN hardware, > e.g. the audio chip used by (now ancient) SUN workstations, only supported > 8 kHz 8-bit uLAW-encoding. The story I heard was that in the past (or maybe even in the present), some long-distance trunks weren't 8-bit clean... they'd steal a few bits for signalling information (or maybe it was to maintain sync... I don't really know :) So, unless you explicitly requested 64kbps unrestricted digital data (i.e. if you requested voice), you might not get an 8-bit clean channel. As far as I know, all local voice bearer calls are 8-bit clean, and some ISDN equipment can make 64k DOV calls. -- Name: Dave Huang | Mammal, mammal / their names are called / INet: khym@azeotrope.org | they raise a paw / the bat, the cat / FurryMUCK: Dahan | dolphin and dog / koala bear and hog -- TMBG Dahan: Hani G Y+C 25 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Oct 17 14:51:44 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com [194.25.134.16]) by hub.freebsd.org (Postfix) with ESMTP id 0935D37B438 for ; Wed, 17 Oct 2001 14:51:29 -0700 (PDT) Received: from fwd05.sul.t-online.de by mailout00.sul.t-online.de with smtp id 15tyaz-0003e7-07; Wed, 17 Oct 2001 23:51:25 +0200 Received: from peedub.muc.de (520017439985-0001@[217.80.230.142]) by fmrl05.sul.t-online.com with esmtp id 15tyax-0erPaCC; Wed, 17 Oct 2001 23:51:23 +0200 Received: by peedub.muc.de (8.11.6/8.11.1) id f9HLpID72505 for freebsd-isdn@FreeBSD.ORG; Wed, 17 Oct 2001 23:51:18 +0200 (CEST) (envelope-from garyj) Content-Type: text/plain; charset="iso-8859-1" From: Gary Jennejohn Reply-To: garyj@jennejohn.org To: freebsd-isdn@FreeBSD.ORG Subject: Re: FRITZ!Card 2.0 Date: Wed, 17 Oct 2001 20:03:41 +0200 X-Mailer: KMail [version 1.2] References: <20010913073406.C5738532@hcswork.hcs.de> In-Reply-To: <20010913073406.C5738532@hcswork.hcs.de> MIME-Version: 1.0 Message-Id: <0110172003410G.00436@peedub.muc.de> Content-Transfer-Encoding: 8bit X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday 13 September 2001 09:34, Hellmuth Michaelis wrote: > From the keyboard of G Hasse: > > First I bought a FRITZ!Card PCI, tested it, and found it working > > nice. So I ordered several more. When I got those I discovered > > that they were FRITZ!Card 2.0 PCI, witch is unsuported. :-( > > > > Is there any plans for support of this card or should I send > > them back? > > AFAIK nobody is working on writing code to support this cards. In case > anyone has some spare time and likes to work on this, there is an attempt > to support this card under Linux: have a look at > > http://www.tp1.ruhr-uni-bochum.de/~kai/i4l/hisax/ > OK, here's an update: 1) I received a card from David Hedley, thanks David ! 2) I downloaded the Linux driver and looked at it briefly. It looks fairly simple. That might be bad. 3) I have some contract work which will take pretty much all my time for the next 2 months, so the earliest I can seriuosly hack on a FBSD driver will be some time in December. Have patience. -- Gary Jennejohn garyj@jennejohn.org gj@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Oct 18 5:43:32 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from liliput.tmp.com.br (liliput.tmp.com.br [200.244.62.12]) by hub.freebsd.org (Postfix) with ESMTP id A865337B405 for ; Thu, 18 Oct 2001 05:43:24 -0700 (PDT) Received: (from prallon@localhost) by liliput.tmp.com.br (8.8.8/8.8.8) id KAA14517; Thu, 18 Oct 2001 10:43:17 -0200 Date: Thu, 18 Oct 2001 10:43:17 -0200 From: Sergio de Souza Prallon To: Guy Ellis Cc: freebsd-isdn@freebsd.org Subject: Re: NetJet-S and DOV Message-ID: <20011018104316.A12841@tmp.com.br> References: <004301c155e1$8007ec50$020aa8c0@aims.private> <004301c155e1$8007ec50$020aa8c0@aims.private> <20011017140600.C21633@tmp.com.br> <5.0.2.1.1.20011018072234.0254be90@mail.mira.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <5.0.2.1.1.20011018072234.0254be90@mail.mira.net>; from guy@traverse.com.au on Thu, Oct 18, 2001 at 07:37:29AM +1000 X-URL: http://www.tmp.com.br Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 18, 2001 at 07:37:29AM +1000, Guy Ellis wrote: > Hi Sergio, > > Long time no speak - I hope all is well. > Hi Guy, Yes, indeed a long time. I'm somehow managing to get thru these `interesting times' we all are living since Sep 11th. Hope the same holds true for you guys (no pudding 8-) ). > The Ascend problem is not quite as bad as it was. Ascend has about 30% of > the Access Server Market, and this is declining. > > In most capital cities, it is possible to find an ISP (non Ascend) that > supports 64k DOV, so a DOV version that works at 64k/128k only, will still > be useful. Infact our latest Windows drivers no longer support 56k! All > that is required is to change a few bytes in the Bearer Capability (BC) of > the setup message. I have a hard coded version to do this, but what is > really needed is some way to select the BC from the configuration files. > > I'm more than happy to make this hard coded version available to anyone who > wants it. > Please do so. You can send to the list as diff (if it's small) or make it available thru your FTP or WWW site. > As you will have realised we have done no other work on your FreeBSD code > :( Unfortunately there wasn't much interest from local FreeBSD community > (except for Rod Seacombe), so we've put it in the too hard basket. We use > our External serial product to service this market. > I understand; I live on a budget too. Anyway, you can update your web site to state that support for your card is now available on the latest stable distribution of FreeBSD (4.4): my driver is integrated in the code base of the system. In fact, I'm using this version. May be this extends the user base a little. I don't see many complains of it, so I think it's doing OK for others too. > Cheers, > > - Guy. > Cheers, -- Prallon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Oct 18 5:47:48 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (Postfix) with ESMTP id 7563B37B407 for ; Thu, 18 Oct 2001 05:47:45 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id 539B1BA05; Thu, 18 Oct 2001 14:47:44 +0200 (CEST) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id 2BAD9BA04; Thu, 18 Oct 2001 14:47:43 +0200 (CEST) Received: by hcswork.hcs.de (Postfix, from userid 200) id EBB2D2B6; Thu, 18 Oct 2001 14:47:42 +0200 (METDST) Subject: Re: call forwarding In-Reply-To: <20011015130337.A31405@gvr.gvr.org> "from Guido van Rooij at Oct 15, 2001 01:03:37 pm" To: Guido van Rooij Date: Thu, 18 Oct 2001 14:47:42 +0200 (METDST) Cc: freebsd-isdn@freebsd.org Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL84 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Message-Id: <20011018124742.EBB2D2B6@hcswork.hcs.de> From: hm@hcs.de (Hellmuth Michaelis) X-Virus-Scanned-HCS: by AMaViS perl-11 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org From the keyboard of Guido van Rooij: > I am wondering if it is apossible to use a ISDN card to enable callforwaring. > We have a setup where an i4b powered card shares an ISDN line with a > simple switch. If I want to enable a call forwarding using the normal > phone, I have to dial *210*# to enable it. > However, I cannot use isdnphone to do so, as it contains non-digits. > So how would I enable this from the commandline? I have just committed support for keypad messages to -current. I have tested it in a way that it does no harm and that it looks in isdntrace like it should look but i don't know if it works since the PBX i'm connected to does not support keypad messages (i have access to a PBX which does support keypad messages, but this will be possible at the next weekend). Anyway, you now _should_ be able to use isdnphone like this: isdnphone -k "*210*#" to enable call forwarding. Feedback welcome. hellmuth -- Hellmuth Michaelis Tel +49 40 55 97 47-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 55 97 47-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de D-22457 Hamburg WWW http://www.hcs.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Oct 18 15:36:58 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from traverse.com.au (CPE-61-9-136-217.vic.bigpond.net.au [61.9.136.217]) by hub.freebsd.org (Postfix) with SMTP id AFFBA37B401 for ; Thu, 18 Oct 2001 15:36:52 -0700 (PDT) Received: (qmail 8891 invoked by uid 0); 17 Oct 2001 22:50:28 -0000 Received: from unknown (HELO gep166.traverse.com.au) (192.168.0.203) by 192.168.0.100 with SMTP; 17 Oct 2001 22:50:28 -0000 Message-Id: <5.0.2.1.1.20011018072234.0254be90@mail.mira.net> X-Sender: guy@mail.mira.net X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 18 Oct 2001 07:37:29 +1000 To: Sergio de Souza Prallon From: Guy Ellis Subject: Re: NetJet-S and DOV Cc: chris@aims.com.au, freebsd-isdn@freebsd.org In-Reply-To: <20011017140600.C21633@tmp.com.br> References: <004301c155e1$8007ec50$020aa8c0@aims.private> <004301c155e1$8007ec50$020aa8c0@aims.private> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Sergio, Long time no speak - I hope all is well. The Ascend problem is not quite as bad as it was. Ascend has about 30% of the Access Server Market, and this is declining. In most capital cities, it is possible to find an ISP (non Ascend) that supports 64k DOV, so a DOV version that works at 64k/128k only, will still be useful. Infact our latest Windows drivers no longer support 56k! All that is required is to change a few bytes in the Bearer Capability (BC) of the setup message. I have a hard coded version to do this, but what is really needed is some way to select the BC from the configuration files. I'm more than happy to make this hard coded version available to anyone who wants it. As you will have realised we have done no other work on your FreeBSD code :( Unfortunately there wasn't much interest from local FreeBSD community (except for Rod Seacombe), so we've put it in the too hard basket. We use our External serial product to service this market. Cheers, - Guy. At 14:06 17/10/01 -0200, you wrote: >On Tue, Oct 16, 2001 at 12:25:52PM +1100, Chris Knight wrote: > > Howdy, > > > > We're looking at using the NetJet-S in some FreeBSD servers, but > > unfortunately the driver according to Traverse's Website doesn't support > > data-over-voice (DOV). What would be required to add DOV capability? I'm > > happy to write the code, I'm just not sure where to start. > > > > Regards, > > Chris Knight > > Systems Administrator > > AIMS Independent Computer Professionals > > Tel: +61 3 6334 6664 Fax: +61 3 6331 7032 Mob: +61 419 528 795 > > Web: http://www.aims.com.au > > > >Hi, > >I wrote this driver for my personal use here in Brazil. Here, the ISDN >B-channels are 8-bit clean. If I understand Traverse's tech staff, DOV >consists in declare in the call-setup (in the D-channel) packet that >you want the B-channel to be Voice Capable instead of Data Capable. That >was because of diferent charge prices made by some of the Telcos. >Unfortunately, most of the terminal servers in use in Australia are Ascend >and they have a `feature' that if they receive a Voice call, they only >take 7 out of every 8 bits of the traffic (because Voice in America is >sampled with 7 bits) EVEN IF THEY CARRY HDLC FRAMED DATA. > >So, the DOV capability would be to be able to call a given phone number >setting the Bearer type to Voice (something to be hacked in the layer3 >and isdnd I think) and select to operate in 7 or 8 bit HDLC. That would >require a new version of the HDLC_ENCODE and HDLC_DECODE macros in >i4b_hdlc.h that were able to work with 8bit bytes but with a payload of >7bits. This, I think is the hard part: these macros were very cleverly >designed by the previous IHFC author. They are very fast and lean, but >are somewhat hard to fiddle with. May be you can start with a trivial, >a-bit-at-a-time version of them (like the Linux driver do) to have the >project going, and then, after having all the rest up and running, try >to patch the original HDLC macros. > >Hope this helps. > >-- >Prallon ***************************************************************** Guy Ellis guy@traverse.com.au Traverse Technologies Australia 652 Smith St., Clifton Hill, Vic. 3068, Australia. http://www.traverse.com.au Tel (613) 9486 7775 Fax (613) 9482 7754 Mobile 0419 398 234 US Freecall 1 888 610 3988 ***************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Oct 18 23:31:32 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from traverse.com.au (CPE-61-9-136-217.vic.bigpond.net.au [61.9.136.217]) by hub.freebsd.org (Postfix) with SMTP id 3F2F137B409 for ; Thu, 18 Oct 2001 23:31:25 -0700 (PDT) Received: (qmail 10084 invoked by uid 0); 19 Oct 2001 07:45:01 -0000 Received: from unknown (HELO guy.traverse.com.au) (192.168.0.11) by 192.168.0.100 with SMTP; 19 Oct 2001 07:45:01 -0000 Message-Id: <4.3.2.7.2.20011019162554.02bde220@mail.mira.net> X-Sender: guy@mail.mira.net X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Fri, 19 Oct 2001 16:40:49 +1000 To: chris@aims.com.au From: Guy Ellis Subject: Data Over Voice Diff Cc: prallon@tmp.com.br, freebsd-isdn@freebsd.org In-Reply-To: <20011018104316.A12841@tmp.com.br> References: <5.0.2.1.1.20011018072234.0254be90@mail.mira.net> <004301c155e1$8007ec50$020aa8c0@aims.private> <004301c155e1$8007ec50$020aa8c0@aims.private> <20011017140600.C21633@tmp.com.br> <5.0.2.1.1.20011018072234.0254be90@mail.mira.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org For anyone who's interested here's the diff for Data Over Voice - outgoing calls The diff is against src/i4b/layer3/i4b_l2if.c V1.23 Cheers, - Guy. _______________________________________ 36,37d35 < * 12/01/01 DOV changes added - guy@traverse.com.au < * 446,447d443 < int dov; < char *ch = cd->dst_telno; 453,463c449,450 < * mechanism should be used in future. (-hm) */ < < /* first check if call type is dov */ < if((*ch == 'v') || (*ch == 'V')) < { < dov = TRUE; < ch++; /* point past v */ < dlen--; /* 1 less character to send */ < } < else < dov = FALSE; --- > * mechanism should be used in future. (-hm) > */ 467,470c454,455 < /* if((m = i4b_Dgetmbuf(I_FRAME_HDRLEN + MSG_SETUP_LEN + slen + dlen + < (cd->bprot == BPROT_NONE ? 1 : 0))) == NULL)*/ < if((m = i4b_Dgetmbuf(I_FRAME_HDRLEN + MSG_SETUP_LEN + slen + dlen + 1)) == NULL) < --- > if((m = i4b_Dgetmbuf(I_FRAME_HDRLEN + MSG_SETUP_LEN + slen + dlen + > (cd->bprot == BPROT_NONE ? 1 : 0))) == NULL) 484c469 < *ptr++ = IEI_SENDCOMPL; /* sending complete */ --- > *ptr++ = IEI_SENDCOMPL; /* sending complete */ 493d477 < Last change: GE 12 Aug 1998 2:51 pm 506,516c490,491 < if ( dov ) /* DOV Data Over Voice call */ < { < *ptr++ = IEI_BEARERCAP_LEN+1; < *ptr++ = IT_CAP_SPEECH; < *ptr++ = IT_RATE_64K; < *ptr++ = IT_UL1_G711A; < } < else /* data call */ < { < *ptr++ = IEI_BEARERCAP_LEN+1; < *ptr++ = IT_CAP_SPEECH; --- > *ptr++ = IEI_BEARERCAP_LEN; > *ptr++ = IT_CAP_UNR_DIG_INFO; 518,519d492 < *ptr++ = IT_UL1_G711A; < } 551,552c524,525 < *ptr++ = IEI_CALLEDPN; /* called party no */ < *ptr++ = IEI_CALLEDPN_LEN+dlen; /* called party no length */ --- > *ptr++ = IEI_CALLEDPN; /* called party no */ > *ptr++ = IEI_CALLEDPN_LEN+dlen; /* called party no length */ 554,555c527 < /*strncpy(ptr, cd->dst_telno, dlen); DOV changes */ < strncpy(ptr, ch, dlen); --- > strncpy(ptr, cd->dst_telno, dlen); _______________________________________ At 10:43 am 18/10/2001 -0200, you wrote: >On Thu, Oct 18, 2001 at 07:37:29AM +1000, Guy Ellis wrote: > > Hi Sergio, > > > > Long time no speak - I hope all is well. > > > >Hi Guy, > >Yes, indeed a long time. I'm somehow managing to get thru these `interesting >times' we all are living since Sep 11th. Hope the same holds true for you >guys (no pudding 8-) ). > > > The Ascend problem is not quite as bad as it was. Ascend has about 30% of > > the Access Server Market, and this is declining. > > > > In most capital cities, it is possible to find an ISP (non Ascend) that > > supports 64k DOV, so a DOV version that works at 64k/128k only, will still > > be useful. Infact our latest Windows drivers no longer support 56k! All > > that is required is to change a few bytes in the Bearer Capability (BC) of > > the setup message. I have a hard coded version to do this, but what is > > really needed is some way to select the BC from the configuration files. > > > > I'm more than happy to make this hard coded version available to anyone > who > > wants it. > > > >Please do so. You can send to the list as diff (if it's small) or make it >available thru your FTP or WWW site. > > > As you will have realised we have done no other work on your FreeBSD code > > :( Unfortunately there wasn't much interest from local FreeBSD community > > (except for Rod Seacombe), so we've put it in the too hard basket. We use > > our External serial product to service this market. > > > >I understand; I live on a budget too. Anyway, you can update your web site >to state that support for your card is now available on the latest stable >distribution of FreeBSD (4.4): my driver is integrated in the code base of >the system. In fact, I'm using this version. May be this extends the user >base a little. I don't see many complains of it, so I think it's doing OK >for others too. > > > Cheers, > > > > - Guy. > > > >Cheers, > >-- >Prallon ------------------------------------------------------------------ Guy Ellis guy@traverse.com.au Traverse Technologies ACN 078 657 324 ABN 98 078 657 324 652 Smith St., Clifton Hill, Victoria, 3068 AUSTRALIA http://www.traverse.com.au Tel (+613) 9486 7775 Fax (+613) 9482 7754 Mobile 0419 398 234 ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Oct 19 11:32:58 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 855F337B408 for ; Fri, 19 Oct 2001 11:32:56 -0700 (PDT) Received: by gvr.gvr.org (Postfix, from userid 657) id C63E35809; Fri, 19 Oct 2001 20:32:54 +0200 (CEST) Date: Fri, 19 Oct 2001 20:32:54 +0200 From: Guido van Rooij To: Hellmuth Michaelis Cc: freebsd-isdn@freebsd.org Subject: Re: call forwarding Message-ID: <20011019203254.A28709@gvr.gvr.org> References: <20011015130337.A31405@gvr.gvr.org> <20011018124742.EBB2D2B6@hcswork.hcs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011018124742.EBB2D2B6@hcswork.hcs.de>; from hm@hcs.de on Thu, Oct 18, 2001 at 02:47:42PM +0200 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Oct 18, 2001 at 02:47:42PM +0200, Hellmuth Michaelis wrote: > > Anyway, you now _should_ be able to use isdnphone like this: > > isdnphone -k "*210*#" > > to enable call forwarding. > > Feedback welcome. > Great! I'll try it next monday at work (after putting it in -stable) -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Oct 20 3:26:39 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from smtp9.xs4all.nl (smtp9.xs4all.nl [194.109.127.135]) by hub.freebsd.org (Postfix) with ESMTP id 949D337B407 for ; Sat, 20 Oct 2001 03:26:33 -0700 (PDT) Received: from list1.xs4all.nl (list1.xs4all.nl [194.109.6.52]) by smtp9.xs4all.nl (8.9.3/8.9.3) with ESMTP id MAA24377 for ; Sat, 20 Oct 2001 12:26:32 +0200 (CEST) Received: (from root@localhost) by list1.xs4all.nl (8.9.3/8.9.3) id MAA10946; Sat, 20 Oct 2001 12:26:32 +0200 (CEST) From: Luuk van Dijk To: freebsd-isdn@freebsd.org X-Via: imploder /usr/local/lib/mail/news2mail/news2mail at list1.xs4all.nl Subject: Userland PPP with MP brings second isdn link up only once Date: Sat, 20 Oct 2001 12:33:10 +0200 Organization: XS4ALL Internet BV Message-ID: <3BD152E5.80891CCB@mndmttr.nl> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org L.S. I'm using userland ppp on FreeBSD 4.2 to connect to an Ascend Max2000 router over an ISDN-2 line. The ascend is configured to speak MP (rather than MPP, though I don't know the difference), and everything works fine ... EXCEPT that the MP negotiation to bring up the second link works only once: I start ppp -auto, with no trafic, then I generate some traffic, which results in the line being brought up then I generate some more traffic, causing the second line to be brought up, then I stop the heavy traffic, but keep some traffic running, and after the autoload measurement delay the second line is dropped. So far so good. If I now start the heavy traffic again, saturating the single channel, the second channel will not be opened. If I do this, and use pppctl to fiddle with the autoload detection parameters , eg setting min from 30 to 29, the second channel will be started again after the measurement delay. Otherwise, if stop all traffic, the line dies after the timeout, and if the line is reopened the second channel can be used again, but again only once. I turned on lots of logging & debugging options, but there is no hint as to what might be going on. The userland PPP config is isdn: set phone 0123456789 set authname my-gw set authkey ReallySecret set enddisc psn 0987654321 enable lqr set reconnect 3 5 set redial 3 10 set lqrperiod 45 disable pred1 deflate deny pred1 deflate set timeout 20 set dial set login set hangup set device /dev/i4brbch0 /dev/i4brbch1 set speed sync set bandwidth 65536 link * set cd 12 set ifaddr 10.255.4.1/8 10.255.0.1/8 add! default hisaddr set mrru 1500 clone 1,2 link deflink rm link * set mode auto set autoload 30 50 10 set server /var/run/pppctl "" 0177 Apart from the fact that the Ascend is set to MP, I'm afraid I don't have the details of its config available at the moment, nor the logfiles. Any clues what to look out for would be appreciated. Thanks, Luuk van Dijk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Oct 20 22:24:43 2001 Delivered-To: freebsd-isdn@freebsd.org Received: from smtp07.iafrica.com (smtp07.iafrica.com [196.2.51.6]) by hub.freebsd.org (Postfix) with ESMTP id F157837B403 for ; Sat, 20 Oct 2001 22:24:39 -0700 (PDT) Received: from iafrica.com ([196.30.178.67]) by smtp07.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GLJ00A8LJ25P6@smtp07.iafrica.com> for freebsd-isdn@freebsd.org; Sun, 21 Oct 2001 07:25:23 +0200 (SAT) Date: Sun, 21 Oct 2001 07:24:32 +0200 From: Francois Kritzinger Subject: Old problem: I-Frame < 6 octets To: freebsd-isdn list Message-id: <3BD25C10.3A5176EE@iafrica.com> MIME-version: 1.0 X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i4b 0.96 FreeBSD 4.3 RELEASE Dynalink Winbond-based Internal ISDN TA -------------------------------------------------------------------------------- Hi. While searching through the mailing list archives I saw a couple of people reporting these same errors, but from what I could tell no solution was found... This is the first time that I have seen these errors, and I found them right after an incoming voice call (which isdnd has been set to reject). After this happened, my ppp connection was still open (ppp -> 'show physical'), but I couldn't even ping my ISP. So has someone found a solution since then? Will upgrading my i4b version help? Thanks for any help. Here is a dump: ================================================================================ i4b-L2 i4b_ph_data_ind: ERROR, I-frame < 6 octetts! Oct 21 06:01:52 noya /kernel: i4b-L2 i4b_ph_data_ind: ERROR, I-frame < 6 octetts ! Oct 21 06:01:52 noya /kernel: i4b-L2 i4b_ph_data_ind: ERROR, I-frame < 6 octetts ! Warning: nat_LayerPull: Problem with IP header length (8192) Oct 21 06:01:52 noya ppp[296]: Warning: nat_LayerPull: Problem with IP header le ngth (8192) Warning: nat_LayerPull: Problem with IP header length (58093) Oct 21 06:01:52 noya ppp[296]: Warning: nat_LayerPull: Problem with IP header le ngth (58093) Warning: nat_LayerPull: Problem with IP header length (22005) Oct 21 06:01:53 noya ppp[296]: Warning: nat_LayerPull: Problem with IP header le ngth (22005) i4b-L2 i4b_rxd_u_frame: not mine - UNKNOWN TYPE ERROR, sapi = 2, tei = 0, frame = 0x8 0x1 0x27 Oct 21 06:02:02 noya /kernel: i4b-L2 i4b_rxd_u_frame: not mine - UNKNOWN TYPE E RROR, sapi = 2, tei = 0, frame = Oct 21 06:02:02 noya /kernel: i4b-L2 i4b_rxd_u_frame: not mine - UNKNOWN TYPE E RROR, sapi = 2, tei = 0, frame = Oct 21 06:02:0 ================================================================================ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message