HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

aborting faxes




Hi,

I'm trying to share my modem between hylafax and my pppd.

I'm being able to do it using the "faxstate" command: I issue a
"faxstate -s busy" before I call pppd, so that hylafax won't mess with
my connection, and a "faxstate -s ready" after the pppd goes down, so
that the waiting faxes will be sent. 

My problem is that I'm trying to make this thing automatic (putting
this commands in my scripts), but I'm having problems when the pppd
trys to "go up", and hylafax is using the modem.

Even though my script does "faxstate -s ready", and sends
initialization strings to my modem, hylafax insists on keeping using
the modem, and then neither pppd nor hylafax are able to do
anything... Seems like hylafax ignores the status of the modem if it
is already trying to send something (i.e., while there are still faxes
waiting to be sent in sendq).

So I thought maybe I should have to issue some abort command to
hylafax, but I could not figure out anything.

Anyone has any idea?

-- 
Z  .:.   .:.   Luiz Otavio Lautenschlaeger Zorzella       .:.   .:.
  :   : :   :                                            :   : :   :
  : .:: : .::  mailto:zorzella@iname.com                 ::. : ::. :
  : ::: : :::  http://conexware.cps.softex.br/~zorzella  ::: : ::: :
  `.::' `.::'  PGP at my home page                       `::.' `::.'




Project hosted by iFAX Solutions