From owner-freebsd-isdn Tue Dec 22 06:42:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA25333 for freebsd-isdn-outgoing; Tue, 22 Dec 1998 06:42:35 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA25328 for ; Tue, 22 Dec 1998 06:42:32 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id PAA11909; Tue, 22 Dec 1998 15:42:27 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA24517; Tue, 22 Dec 1998 15:42:26 +0100 (MET) Message-ID: <19981222154225.A24362@follo.net> Date: Tue, 22 Dec 1998 15:42:25 +0100 From: Eivind Eklund To: Martin Husemann , Gerhard Sittig Cc: FreeBSD-ISDN Mailingliste Subject: Re: updates to i4b References: <000101be2b91$363b70b0$53cb08d4@hwart.teuto.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <000101be2b91$363b70b0$53cb08d4@hwart.teuto.de>; from Martin Husemann on Sat, Dec 19, 1998 at 09:50:29PM +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Dec 19, 1998 at 09:50:29PM +0100, Martin Husemann wrote: > This is not a "solution" but a hack (IMHO), and it's the thing we talked > about right at the start of this discussion. There are subtle details, so a > bit more discussion before adding this as an optional feature is OK, I > think. Never copy linux implementation and call it design before undstanding > the problem and all possible solutions and their implications! (No pun > intended: this says nothing about either linux implementation or design, > just about the "copy an existing implementation" substituting design work.) > > In the concrete example: the setups where I've met the problem always > included some NAT functionality on the ISDN router. Since the local > (caching) nameserver as well as the http-client are (at least logicaly) on > the other side of the translation, a fine tuned integration between the NAT > framework and the IPCP implementation could resolve this problems in a much > cleaner way. At least at first lookt this seems possible. I have code that does this. It'll hopefully be available from the stock distribution of mpd at the time a new version of i4b is available. I just have to clean up a couple of patches. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 03:30:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01582 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 03:26:23 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from hcshh.hcs.de (hcshh.hcs.de [194.123.40.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id DAA01575 for ; Wed, 23 Dec 1998 03:26:20 -0800 (PST) (envelope-from hm@hcs.de) Received: from hcswork.hcs.de([192.76.124.5]) (2312 bytes) by hcshh.hcs.de via sendmail with P:smtp/R:inet_hosts/T:smtp (sender: ) id for ; Wed, 23 Dec 1998 12:25:58 +0100 (MET) (Smail-3.2.0.101 1997-Dec-17 #2 built 1998-Jun-26) Received: by hcswork.hcs.de (Smail3.1.29.0 #12) id m0zsmTZ-0000f3C; Wed, 23 Dec 98 12:29 MET Message-Id: From: hm@hcs.de (Hellmuth Michaelis) Subject: isdn4bsd beta version 0.70 released To: freebsd-isdn@freebsd.org (ISDN Mailinglist) Date: Wed, 23 Dec 1998 12:29:13 +0100 (MET) Reply-To: hm@hcs.de Organization: HCS Hanseatischer Computerservice GmbH X-Mailer: ELM [version 2.4ME+ PL39 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@freebsd.org Precedence: bulk X-Loop: FreeBSD.org Hi, The first isdn4bsd beta version (i4b-00.70.00-beta-231298.tgz) has been made available for download on the isdn4bsd ftp site. --- For more information on isdn4bsd, please read the file README in the isdn4bsd base directory. For installation instructions, please read the file INSTALLATION in the FreeBSD, NetBSD or OpenBSD directory. For information on what has changed since the last release, please read the file ChangeLog in the isdn4bsd base directory. --- I would like to thank especially Eivind Eklund, Gary Jennejohn, German Tischler, Ignatios Souvatzis, Leo Weppelman, Martin Husemann, Martijn Plak and Wolfgang Helbig for the contribution, support and feedback i got from them! Further, i'd like to thank the FreeBSD core team for the really good work they are doing, and especially Jordan, Joerg and Poul-Henning. --- How to access the ftp site: The ISDN4BSD package is available from: isdn4bsd@ftp.consol.de/pub -------------------------- you have to log in as user isdn4bsd -------- and give your mail address as the password. Then change to the "pub" directory. Anonymous ftp as user "ftp" or "anonymous" will NOT (!) give the desired result ! I wish you all a merry christmas and a happy new year! Have fun, hellmuth -- Hellmuth Michaelis Tel +49 40 559747-70 HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 Oldesloer Strasse 97-99 Mail hm [at] hcs.de 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 Dec 23 04:39:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA10607 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 04:39:53 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from DegNet.de (degnet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA10601 for ; Wed, 23 Dec 1998 04:39:51 -0800 (PST) (envelope-from malte.lance@gmx.net) Received: from neuron.webmore.prv (GateWay [192.168.168.1]) by DegNet.de (8.8.8/8.8.8/Debian/GNU) with ESMTP id NAA02914; Wed, 23 Dec 1998 13:39:03 +0100 Received: from neuron.webmore.prv (neuron.webmore.prv "Malte Lance") by neuron.webmore.prv (8.8.8/8.8.8) with ESMTP id NAA03999; Wed, 23 Dec 1998 13:01:11 +0100 (CET) Message-Id: <199812231201.NAA03999@neuron.webmore.prv> Date: Wed, 23 Dec 1998 13:01:09 +0100 (CET) From: Malte Lance Reply-To: malte.lance@gmx.net Subject: Re: isdn4bsd beta version 0.70 released To: hm@hcs.de cc: freebsd-isdn@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 23 Dec, Hellmuth Michaelis wrote: > Hi, > > The first isdn4bsd beta version (i4b-00.70.00-beta-231298.tgz) has been made > available for download on the isdn4bsd ftp site. i4b-00.70.00-beta-231298.tgz: 676.02 kB 4.69 kB/s Seems i'm not the only one sucking the isdn-christmas-gift ;) Wish you all a merry christmas. Malte. > > I wish you all a merry christmas and a happy new year! > > Have fun, > hellmuth > -- > Hellmuth Michaelis Tel +49 40 559747-70 > HCS Hanseatischer Computerservice GmbH Fax +49 40 559747-77 > Oldesloer Strasse 97-99 Mail hm [at] hcs.de > 22457 Hamburg WWW http://www.hcs.de -- Malte Lance. --- composed with TkRat To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 05:38:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA17214 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 05:38:21 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from eterna.binary.net (eterna.binary.net [12.13.120.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA17209 for ; Wed, 23 Dec 1998 05:38:19 -0800 (PST) (envelope-from tg@binary.net) Received: from ravine.binary.net (tg@ravine.binary.net [12.13.120.8]) by eterna.binary.net (8.9.1a/8.9.1) with ESMTP id HAA20373 for ; Wed, 23 Dec 1998 07:38:12 -0600 (CST) Received: from localhost (tg@localhost) by ravine.binary.net (8.9.1a/8.9.1) with SMTP id HAA26986 for ; Wed, 23 Dec 1998 07:38:12 -0600 (CST) X-Authentication-Warning: ravine.binary.net: tg owned process doing -bs Date: Wed, 23 Dec 1998 07:38:12 -0600 (CST) From: Thomas Glanzmann To: freebsd-isdn@FreeBSD.ORG Subject: Simple test Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org sorry about the test. greetings Thomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 08:11:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA04130 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 08:11:25 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from support.euronet.nl (support.euronet.nl [194.134.32.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA04122 for ; Wed, 23 Dec 1998 08:11:22 -0800 (PST) (envelope-from free@euronet.nl) Received: (from free@localhost) by support.euronet.nl (8.8.8/8.6.12) id RAA25588 for freebsd-isdn@FreeBSD.ORG; Wed, 23 Dec 1998 17:11:16 +0100 (CET) From: Frederique Rijsdijk Message-Id: <199812231611.RAA25588@support.euronet.nl> Subject: ISDN Dialback on a PM2 To: freebsd-isdn@FreeBSD.ORG Date: Wed, 23 Dec 1998 17:11:16 +0100 (CET) Reply-To: free@euronet.nl X-Feelin: House is a feelin' X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I was wondering if anyone could help me a hand. I'm trying to set up a dialback configuration with i4b. As of now i'm dialing into a PM2 using PAP, wich disconnect me after authentication, and then die PM2 calls me back, without any authentication; giving me HDLC/network directly. The problem here is that when the PM2 disconnects me and dials back, i4b starts dialing into the PM2 again at almost the same time, which results in something like this: Dec 23 15:47:08 p100 /kernel: isppp0: phase establish Dec 23 15:47:11 p100 /kernel: isppp0: phase authenticate Dec 23 15:47:11 p100 /kernel: isppp0: phase network Dec 23 15:47:11 p100 /kernel: isppp0: phase terminate Dec 23 15:47:11 p100 /kernel: isppp0: phase dead Dec 23 15:47:12 p100 /kernel: isppp0: phase establish Dec 23 15:47:14 p100 /kernel: isppp0: phase authenticate Dec 23 15:47:14 p100 /kernel: isppp0: phase network Dec 23 15:47:14 p100 /kernel: isppp0: phase terminate .. and so on. Sometimes it holds the network, and i have a dialback. But most of the time it just keeps dialing/disconnecting/dialing/and-so-on At time of dialing in, i have done: - spppcontrol -v isppp0 authproto=pap myauthproto=pap hisauthproto=none \ myauthname=mylogin myauthsecret='mypwd' myauthkey='mypwd' \ hisauthsecret=none hisauthkey=none - /sbin/ifconfig isppp0 link1 /sbin/ifconfig isppp0 194.134.1.136 194.134.122.40 netmask 0xffffff00 /sbin/ifconfig isppp0 down /sbin/route add default 194.134.122.40 - isdnd.rc: name = Dedicated usrdevicename = isppp usrdeviceunit = 0 isdncontroller = 0 isdnchannel = -1 local-phone-incoming = remote-phone-incoming = local-phone-dialout = remote-phone-dialout = remdial-handling = first dialin-reaction = accept dialout-type = calledback calledbackwait = 60 b1protocol = hdlc idletime-incoming = 300 idletime-outgoing = 20 # ratetype = 0 # unitlength = 0 # unitlengthsrc = none dialretries = 0 dialrandincr = on recoverytime = 60 # usedown = on # downtries = 3 # downtime = 15 As you can see here i've set the dialretries to 0, but still it keeps on dialing after the initial dail-in/disconnect. Can someone tell me what i'm doing wrong here, or point me into the right direction, info, URL's, anything... i'm stuck. TIA, Frederique To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 09:04:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA10942 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 09:04:46 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from server.amis.net (server.amis.net [195.10.52.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA10929 for ; Wed, 23 Dec 1998 09:04:42 -0800 (PST) (envelope-from blaz@gold.amis.net) Received: (from uucp@localhost) by server.amis.net (8.8.8/8.8.8) with UUCP id SAA28710; Wed, 23 Dec 1998 18:04:20 +0100 (CET) Received: from localhost (blaz@localhost) by gold.amis.net (8.9.1/8.8.8) with ESMTP id SAA00322; Wed, 23 Dec 1998 18:03:50 +0100 (CET) Date: Wed, 23 Dec 1998 18:03:50 +0100 (CET) From: Blaz Zupan To: Frederique Rijsdijk cc: freebsd-isdn@FreeBSD.ORG Subject: Re: ISDN Dialback on a PM2 In-Reply-To: <199812231611.RAA25588@support.euronet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > As of now i'm dialing into a PM2 using PAP, wich disconnect me after > authentication, and then die PM2 calls me back, without any authentication; > giving me HDLC/network directly. You are making the same mistake I was doing. i4b does not support the setup you need. The only way to use callback with i4b is if your peer refuses the connection (i.e. you get a busy) and after that dials back. Blaz Zupan, blaz@medinet.si, http://home.amis.net/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 11:11:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25585 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 11:11:48 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from linteuto.teuto.de (linteuto.teuto.de [194.77.23.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25579 for ; Wed, 23 Dec 1998 11:11:44 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (root@rumolt.teuto.de [212.8.203.81]) by linteuto.teuto.de (8.8.7/8.8.7) with ESMTP id UAA30183; Wed, 23 Dec 1998 20:11:34 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.8.8/8.8.7) id UAA06643; Wed, 23 Dec 1998 20:10:57 +0100 (MET) From: Martin Husemann Message-Id: <199812231910.UAA06643@rumolt.teuto.de> Subject: Re: ISDN Dialback on a PM2 To: free@euronet.nl Date: Wed, 23 Dec 1998 20:10:54 +0100 (MET) Cc: freebsd-isdn@FreeBSD.ORG In-Reply-To: <199812231611.RAA25588@support.euronet.nl> from "Frederique Rijsdijk" at Dec 23, 98 05:11:16 pm Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > As of now i'm dialing into a PM2 using PAP, wich disconnect me after > authentication, and then die PM2 calls me back, without any authentication; > giving me HDLC/network directly. I4B does not currently support your type of setup, but I guess it's not much work. For a start you could try to increase the time between two dial attempts, so the incoming callback would get a chance of coming through before your next dial retry. Then you'll have to configure it for a normal connection, not calledback - otherwise it would expect your first call to be rejected at D-channel level. You'll probably run into problems later, because the config entry will be in state "dialing out" when the call in comes in, but that's realy easy to fix. Please try: dialin-reaction = accept dialout-type = normal recoverytime = 30 and report success or error messages logged with this setup. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Wed Dec 23 11:42:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28712 for freebsd-isdn-outgoing; Wed, 23 Dec 1998 11:42:39 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28707 for ; Wed, 23 Dec 1998 11:42:32 -0800 (PST) (envelope-from dirk.meyer@dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.1/8.9.1) with UUCP id UAA20224 for freebsd-isdn@FreeBSD.ORG; Wed, 23 Dec 1998 20:41:45 +0100 (CET) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.9.1/8.9.1) with BSMTP id TAA08581 for ; Wed, 23 Dec 1998 19:40:02 +0100 (CET) To: freebsd-isdn@FreeBSD.ORG Message-ID: <6qhM05XvSK@dmeyer.dinoex.sub.org> From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: isdn4bsd beta version 0.70 released Date: Wed, 23 Dec 1998 18:35:31 +0100 X-Mailer: Dinoex 1.69 References: X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect v0.76-m5] X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-ZC-VIA: 19981223000000W+1@dinoex.sub.org Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hellmuth Michaelis wrote:, > The first isdn4bsd beta version (i4b-00.70.00-beta-231298.tgz) has been made > available for download on the isdn4bsd ftp site. For those who can't access the consol site: use my mirror: ftp://ftp.dinoex.org/pub/i4b > I wish you all a merry christmas and a happy new year! I second this. kind regards Dirk -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Dec 24 09:20:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA24490 for freebsd-isdn-outgoing; Thu, 24 Dec 1998 09:20:17 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from mail.dinoex.sub.org (mail.dinoex.sub.de [195.243.29.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24474 for ; Thu, 24 Dec 1998 09:20:11 -0800 (PST) (envelope-from dirk.meyer@dinoex.sub.org) Received: (from uucp@localhost) by mail.dinoex.sub.org (8.9.1/8.9.1) with UUCP id SAA22927 for freebsd-isdn@FreeBSD.ORG; Thu, 24 Dec 1998 18:22:37 +0100 (CET) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.9.1/8.9.1) with BSMTP id QAA05660 for ; Thu, 24 Dec 1998 16:10:08 +0100 (CET) To: freebsd-isdn@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: isdn4bsd beta version 0.70 released Date: Thu, 24 Dec 1998 15:06:06 +0100 X-Mailer: Dinoex 1.69 References: X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect v0.77-m1] X-ZC-ROT: dinoex.sub.org X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-ZC-VIA: 19981224000000W+1@dinoex.sub.org Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, The new release is now running succesful: FreeBSD net2.dinoex.sub.org 2.2.7-19981027-SNAP Thanks to the great work, It is now time for me to start using sync PPP over isdn. My MBuf-kernel panics have been fixed :) kind regards Dirk -- Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany -- Tel. +49-5606-6512 . To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Thu Dec 24 12:03:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13913 for freebsd-isdn-outgoing; Thu, 24 Dec 1998 12:03:45 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from support.euronet.nl (support.euronet.nl [194.134.32.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13908 for ; Thu, 24 Dec 1998 12:03:43 -0800 (PST) (envelope-from free@euronet.nl) Received: (from free@localhost) by support.euronet.nl (8.8.8/8.6.12) id VAA29786; Thu, 24 Dec 1998 21:03:18 +0100 (CET) From: Frederique Rijsdijk Message-Id: <199812242003.VAA29786@support.euronet.nl> Subject: Re: ISDN Dialback on a PM2 In-Reply-To: <199812231910.UAA06643@rumolt.teuto.de> from Martin Husemann at "Dec 23, 98 08:10:54 pm" To: martin@rumolt.teuto.de (Martin Husemann) Date: Thu, 24 Dec 1998 21:03:18 +0100 (CET) Cc: freebsd-isdn@FreeBSD.ORG Reply-To: free@euronet.nl X-Feelin: House is a feelin' X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Martin Husemann wrote: > I4B does not currently support your type of setup, but I guess it's not > much work. For a start you could try to increase the time between two dial > attempts, so the incoming callback would get a chance of coming through > before your next dial retry. Then you'll have to configure it for a normal > connection, not calledback - otherwise it would expect your first call > to be rejected at D-channel level. > > You'll probably run into problems later, because the config entry will be in > state "dialing out" when the call in comes in, but that's realy easy to fix. > > Please try: > > dialin-reaction = accept > dialout-type = normal > recoverytime = 30 Right, there was the mistake i made.. 'normal' worked alot better right away. It works even better dialing in with -say- isppp1, configured to dialout only (ei. initiating the dialback), and letting isppp0 listen for the call that's going to come. isppp0: dialin-reaction = accept dialout-type = normal direction = in isppp1: dialin-reaction = accept dialout-type = normal direction = out Works perfect! So it is possible.. ;-) Thanks for the help! -- Frederique To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Fri Dec 25 10:47:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26900 for freebsd-isdn-outgoing; Fri, 25 Dec 1998 10:47:13 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from linteuto.teuto.de (linteuto.teuto.de [194.77.23.26]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26894 for ; Fri, 25 Dec 1998 10:47:10 -0800 (PST) (envelope-from martin@rumolt.teuto.de) Received: from rumolt.teuto.de (root@rumolt.teuto.de [212.8.203.81]) by linteuto.teuto.de (8.8.7/8.8.7) with ESMTP id TAA18558 for ; Fri, 25 Dec 1998 19:46:54 +0100 Received: (from martin@localhost) by rumolt.teuto.de (8.8.8/8.8.7) id UAA06758 for freebsd-isdn@freebsd.org; Wed, 23 Dec 1998 20:13:29 +0100 (MET) From: Martin Husemann Message-Id: <199812231913.UAA06758@rumolt.teuto.de> Subject: ITK boards To: freebsd-isdn@FreeBSD.ORG Date: Wed, 23 Dec 1998 20:13:25 +0100 (MET) Organization: Crusaders Catering Services Inc. ;-) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Could anyone with an ITK micro IX1 board using the latest I4B beta please contact me? There's still some stuff to test and a probe routine to improve... Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message From owner-freebsd-isdn Sat Dec 26 11:56:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27651 for freebsd-isdn-outgoing; Sat, 26 Dec 1998 11:56:54 -0800 (PST) (envelope-from owner-freebsd-isdn@FreeBSD.ORG) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA27645 for ; Sat, 26 Dec 1998 11:56:51 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.1/8.8.5) with ESMTP id UAA65023 for ; Sat, 26 Dec 1998 20:56:09 +0100 (CET) To: freebsd-isdn@FreeBSD.ORG Subject: HOWTO: DTMF decoding in software. In-reply-to: Your message of "Wed, 23 Dec 1998 12:29:13 +0100." Date: Sat, 26 Dec 1998 20:56:09 +0100 Message-ID: <65021.914702169@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I remember that somebody asked about this long time ago, so I sat down and hacked a digital filter for that. The following piece of code will read a ".g711a" file, and output 9 columns of data. The first is the linear value of the sample, the other 8 are strength of the 8 DTMF tones. Try to run the "beep.g711a" file from i4b through it, and plot the output columns with gnuplot. It seems Hellmutt pressed a '1' :-) The implementation is a recursive resonance filter, actually 8 of them, one for each frequency, done in floating point. With a little attention to rounding, it can be done just as good, and much faster in integer math, in fact 16 bit should be enough, but may not be faster than 32bit. The "POLRAD" quantity determines the resonance width of the filters, if you make it too low, it will confuse tones and recognize them where they are not. If you make it too high (never, ever >= 1.0!) it will take longer to react and maybe not catch a slightly offbeat tone. If you set it above or equal to 1.0 you get a tone generator. This could also be a good basis for a 300Baud FSK modem emulation. It seems that the .g711a files are bit-flipped, therefore the flip[] array trick in this code. The alaw->linear converter is lifted from sox. Now, who writes the answering-machine to end all answering machines for i4b ? Poul-Henning ---------------------------------------------------------------------- #include #include /* * g711.c * * u-law, A-law and linear PCM conversions. */ #define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */ #define QUANT_MASK (0xf) /* Quantization field mask. */ #define NSEGS (8) /* Number of A-law segments. */ #define SEG_SHIFT (4) /* Left shift for segment number. */ #define SEG_MASK (0x70) /* Segment field mask. */ static short seg_end[8] = {0xFF, 0x1FF, 0x3FF, 0x7FF, 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF}; /* * alaw2linear() - Convert an A-law value to 16-bit linear PCM * */ int alaw2linear(a_val) unsigned char a_val; { int t; int seg; a_val ^= 0x55; t = (a_val & QUANT_MASK) << 4; seg = ((unsigned)a_val & SEG_MASK) >> SEG_SHIFT; switch (seg) { case 0: t += 8; break; case 1: t += 0x108; break; default: t += 0x108; t <<= seg - 1; } return ((a_val & SIGN_BIT) ? t : -t); } int flip[256]; double dtmf[8] = {697, 770, 852, 941, 1209, 1336, 1477, 1633}; double p1[8]; /* This is the Q of the filter (pole radius). must be less than 1.0 */ #define POLRAD .99 #define P2 (POLRAD*POLRAD) main() { int i, j, kk; double x, a[8], b[8], c[8], d[8], e[8], f[8], g[8], h[8], k[8], l[8], m[8], n[8], y[8]; for (kk = 0; kk < 8; kk++) { g[kk] = k[kk] = 0.0; p1[kk] = (-cos(2 * 3.141592 * dtmf[kk] / 8000.0)); } for (i=0;i<256;i++) { flip[i] = (i & 1) << 7; flip[i] |= (i & 2) << 5; flip[i] |= (i & 4) << 3; flip[i] |= (i & 8) << 1; flip[i] |= (i & 16) >> 1; flip[i] |= (i & 32) << 3; flip[i] |= (i & 64) << 5; flip[i] |= (i & 128) << 7; } x = 0.0; while ((i = getchar()) != EOF) { i = flip[i]; j = alaw2linear(i); x = j / 32768.0; printf(" %g", x); for(kk = 0; kk < 8; kk++) { a[kk] = x; h[kk] = g[kk]; l[kk] = k[kk]; b[kk] = a[kk] - l[kk]; c[kk] = P2 * b[kk]; d[kk] = a[kk] + c[kk]; e[kk] = d[kk] - h[kk]; f[kk] = p1[kk] * e[kk]; g[kk] = f[kk] + d[kk]; k[kk] = h[kk] + f[kk]; m[kk] = l[kk] + c[kk]; n[kk] = a[kk] - m[kk]; printf(" %g", n[kk]); } printf("\n"); } return (0); } ---------------------------------------------------------------------- -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." "ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message