From owner-freebsd-isdn Thu Jan 10 0:46: 6 2002 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 7303F37B416 for ; Thu, 10 Jan 2002 00:46:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hcshh.hcs.de (Postfix) with ESMTP id A75B2BA0E; Thu, 10 Jan 2002 09:45:43 +0100 (CET) Received: from hcswork.hcs.de (hcswork.hcs.de [172.24.124.5]) by hcshh.hcs.de (Postfix) with ESMTP id A5343BA08; Thu, 10 Jan 2002 09:45:41 +0100 (CET) Received: by hcswork.hcs.de (Postfix, from userid 200) id 7915559F; Thu, 10 Jan 2002 09:46:00 +0100 (MET) Subject: Re: isdnphone In-Reply-To: <20020109183533.S18046-100000@portal.cs-intra.net> "from Juha-Matti Liukkonen at Jan 9, 2002 06:46:14 pm" To: Juha-Matti Liukkonen Date: Thu, 10 Jan 2002 09:46:00 +0100 (MET) Cc: G Hasse , 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: <20020110084600.7915559F@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 Juha-Matti Liukkonen: > Hi, > > your use of isdnphone looks OK to me; however, the error you are getting > is a ...feature of isdnd: in usr.sbin/i4b/isdnd/fsm.c, table state_tab[] > defines what events are accepted when the call is in which state -- and it > does not (basically) accept more than one hangup per call, be the hangup > local or remote. Specifically it does not allow for the situation where > _both_ ends hang up the call, since that generates two disconnects, and > the latter pulls the entry to illegal state (from which it does not > recover). Unfortunately in telephony applications, this is a relatively > common phenomena. > > You might want to mofidy the said table as I have: change the {F_ill, > ST_ILL} in the ST_IDLE column for EV_MDI into {F_NcNa,ST_IDLE}, it makes > isdnd accept a remote disconnect on an already disconnected call without > invalidating the config entry. It already does so for a local disconnect > (EV_DRQ) -- so you can actually do multiple local hangups even to a > disconnected entry. Do you think that this fix should make it into the FreeBSD source tree ? 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