Hylafax Developers Mailing List Archives

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

[hylafax-devel] new faxrcvd/patch for faxgetty in order to use extring message



Some modems like the ELSA TQV/TLV series have a nifty little feature
which gives us the called number(ISDN MSN) in the RING message.
(e.g. RING;00293291234234;380 In this case the 380 has been called)
Using this capability we can establish an MSN->Email or MSN->Printer 
mapping and deliver the received fax to an email address or Printer
directly without any further processing by an administrator.

This is neat especially in office envirnoments where a central
communication server exists and the users all have own email addresses or
a  printer next to their desk.  Each user will then have his/her own
faxnumber and  get their faxes delivered either via email or directly to 
their printer (windows/unix) and all this with only 1 receive modem and no 
further processing by an adminstrator.

We started out using mgetty and worked out a patch which calls the receiver
script with another argument, the as we call it "extended ring message".

Then we looked at faxgetty because hylafax was our preferred choice for 
sending faxes anyway. We also didnt like the constraint that we needed at 
least two modems to receive and send faxes when using mgetty+hylafax. 
That made me hack a patch that lets faxgetty call faxrcvd with another
argument, the extended ring message. We just renamed our receiver script 
from new_fax (thats how it was called in the mgetty times) to faxrcvd and
did some little modifaction in the script and there we were. hylfax was
able to dispatch to different email addresses / printers according to the 
called number.
If the users wants a different encoding instead of tiff (which is specified
in the global config file) the script will convert the fax into whatever
format the user wants it (given the format is support by our faxrcvd).
Currently this is gif, tiff, g3. Adding more is a matter of usually
adding 2 or 3 lines of code. 



An now I come to the point ;)

Are you interested in this stuff? If so I will make the stuff public as soon
as possible.  


Comments and suggestions are highly appreciated.


Later,
Markus

-- 
Markus Wuebben
 
* ID-PRO Deutschland GmbH (Products & Development) 
* Tel.: +49 (0) 2932 - 916 - 135 * Fax - 236 
* mailto:wuebben@ID-PRO.de
* http://open-for-the-better.com


____________________ HylaFAX(tm) Developers Mailing List ____________________
 To unsub: mail -s unsubscribe hylafax-devel-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services