Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!tygra!mich-ns!tech From: tech@mich-ns.UUCP (Mich. Network Sys. TECH SUPPORT) Newsgroups: comp.dcom.modems Subject: Re: How do I *force* a hang-up (novice question) Message-ID: <31@mich-ns.UUCP> Date: 24 Apr 91 23:06:41 GMT References: <5969@vela.acs.oakland.edu> Reply-To: tech@mich-ns.UUCP Organization: Michigan Network Systems, Detroit, MI Lines: 27 In article <5969@vela.acs.oakland.edu> rdthomps@vela.acs.oakland.edu (Robert D. Thompson) writes: " " I have written a communications client application, but I " am having trouble with a really basic problem. That is, " sometimes, I cannot force a hang up. " " I have tried "ATZ" (software reset) and "ATH0" and "ATH1" to " take the line of and on again. Even after I issue these " commands I can pick up the phone and the line will still " be active (i.e. szszszszszszszszszsszszsz). " " Any help would be appreciated "--- The sure fire way to do it with both modems is to drop the DTR signal for about a second. The default settings on most modems will cause them to hang up. For this you need to have access to routines which can access the hardware in such a manner as to be able to drop the DTR signal and then raise it again. On what kind of system is this installed?? What developement environment did you use?? (ie: what language and compiler?) -- Michigan Network Systems Technical Support Division 1-800-736-5984 BBS: +1 313 343 0800 TELEBIT DIGIBOARD WESTERN DIGITAL 3COM SCO INTERACTIVE UNIX MICROPOLIS ADAPTEC