HylaFAX The world's most advanced open source fax server

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

egetty



help!!! I am trying to get HylaFAX to run a "/bin/egetty" program that I
wrote.
in the config file I have AnswerRotary: "extern" and EGettyArgs: "%l
%s".
all my egetty program is supposed to to is create an output file that
says "egetty ran with cuaXXX , 38400"
I am working from an archive
http://www.hylafax.org/archive/1997-11/msg00236.php

"Thanks for the info. egetty is nothing, it does not exist at all. The
only meaning of the string egetty is that if EGettyArgs is defined as
a non nul string and AnswerRotary is set to "extern". Hylafax will
call a program /bin/egetty. If that program does not exist...

It is the user/system developer's responsibility to write that
program. This program's job is to answer the incoming call, determine
its type and then exit with a CALLTYPE_XXX (FAX, DATA, DONE, ERROR,
VOICE) code. Hylafax will then proceed as if it itself would have
determined the type of call.

The issue I have is that when I do this I get a modem write error
after calling the sys::write(fd,......   call and as I don't fully
understand the inheritance rules that Sam applies and neither have I
been able to understand the Dispatch class. I am at a loss in trying
to guess what is going wrong.

This is why I am looking for any working example for simple and bare
bones it is."

I am wondering if this information is still correct and if so what could
I be missing?
if it is no longer correct, Is there still a way to run an external
program for data calls.
my entire goal is to allow dialin ppp sessions .. I tried the easy route
with mgetty which didn't work ... probably because it is never being
called.. so I belive once I can get any external program to run mgetty
will work for me...
thanks in advance
Robert
ps .
please email direct as I am not currently subscribed to the list..




Project hosted by iFAX Solutions