Date: Tue, 1 Sep 1998 14:36:26 +0200 From: Leo Weppelman <leo@wau.mis.ah.nl> To: freebsd-isdn@FreeBSD.ORG Subject: called-back, rejects and auto hangup Message-ID: <19980901143626.40046@wau.mis.ah.nl>
next in thread | raw e-mail | index | archive | help
I have had trouble with an ISDN connection to my work for a while now. Sometimes it worked, sometimes it did not. At work, there is an x86/pc running Linux. It has an ISDN connection so we are able to dialin from home. It is configured for callback. When things work, what happens is: My machine (NetBSD/Atari i4b-0.63) dials out -> Machine at work recognises the incoming call, rejects it and starts dialing to me My machine, hangs up (rejected) and recognizes incoming call When things are not working as they should, the actions in the log indicate that the reject never arrives at my machine at home. This means that at my end, the incoming call is not recognized because the connection entry is still active (still dialing....). As fix (stop-gap) I modified i4b to just hangup the line after 2 seconds when dialing out on a calledback connection (see diff below). My question is, is this a reasonable/sensible thing to do? If it is, I think my patch should be expanded a bit with a tunable hangup time (0 == no hangup). Thoughts? Leo. PS: When will the next i4b alpha be released? I'm losing track of the changes a bit ;-) diff -rc i4b/isdnd/fsm.c i4b.org/isdnd/fsm.c *** i4b/isdnd/fsm.c Wed Aug 26 10:45:55 1998 --- i4b.org/isdnd/fsm.c Thu Jun 18 16:46:38 1998 *************** *** 195,205 **** select_first_dialno(cep); sendm_connect_req(cep); - - if (cep->dialouttype == DIALOUT_CALLEDBACK) { - sleep(2); - sendm_disconnect_req(cep, (CAUSET_I4B << 8) | CAUSE_I4B_NORMAL); - } } /*---------------------------------------------------------------------------* 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?19980901143626.40046>