Date: Thu, 10 Jan 2002 09:46:00 +0100 (MET) From: hm@hcs.de (Hellmuth Michaelis) To: Juha-Matti Liukkonen <jml@cubical.fi> Cc: G Hasse <gh@raditex.se>, freebsd-isdn@freebsd.org Subject: Re: isdnphone Message-ID: <20020110084600.7915559F@hcswork.hcs.de> In-Reply-To: <20020109183533.S18046-100000@portal.cs-intra.net> "from Juha-Matti Liukkonen at Jan 9, 2002 06:46:14 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020110084600.7915559F>