Bug 53432

Summary: wvdial retries forever on busy or no dialtone
Product: [Retired] Red Hat Linux Reporter: Kenn Humborg <kenn>
Component: wvdialAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: ckjohnson
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-08 15:30:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to add "abort on busy" and "abort on no dial tone" options none

Description Kenn Humborg 2001-09-08 19:22:14 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-kh5 i686; en-US; rv:0.9.1)
Gecko/20010621

Description of problem:
If the modem is not connected, the destination number 
is busy or the line is currently in use at another
extension, wvdial will always redial forever.  I've
patched wvdial to add "abort on busy" and "abort on 
no dial tone" options that allow the user to disable
this automatic retrying.

Patch will be attached.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Disconnect the phone line from the modem
2. /sbin/ifup ppp0
3. wvdial tries every 5 seconds until you take down ppp0
	

Additional info:

Comment 1 Kenn Humborg 2001-09-08 19:22:49 UTC
Created attachment 31354 [details]
Patch to add "abort on busy" and "abort on no dial tone" options

Comment 2 Kenn Humborg 2001-09-08 19:24:02 UTC
BTW, wvdial development seems to have stopped.  This is why
I'm passing the patch to you guys rather than the author.


Comment 3 Harald Hoyer 2004-09-21 14:46:38 UTC
*** Bug 79677 has been marked as a duplicate of this bug. ***

Comment 4 Kenn Humborg 2004-09-21 15:23:28 UTC
Please note that bug 79677 was not the same behaviour as this
bug.  Bug 79677 describes a very quick retry (less than 1 second)
which doesn't wait long enough for the far side to answer.

In my case, wvdial continued to redial, as normal, when the 
modem replied BUSY or NO DIAL TONE.  In many cases, this is
correct, desired behaviour.

However, in my case, I share the phone line with other people in
the house.  When they are on a call, I would like wvdial to only
try dialling once, then give up.  Hence my patch to add the
ABORT ON BUSY and ABORT ON NO DIAL TIME options.


Comment 5 Harald Hoyer 2005-07-08 15:30:09 UTC
should work with current versions