HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: FAQ#85
Paul P.H. Wilson wrote:
Hello HylaFAX maintainers,
I have finally got HylaFAX working wonderfully on my Linux
box (I had to find the little note about setting the
ModemRate to 19200 for my apparently Supra like modem :).
I am interested in doing something like the original asker
or Q85 had in mind. Namely, I would like to have multiple
telephone numbers ring on the same line/modem and then have
the faxes sent by email to different users, dependent on the
original number dialed.
I have looked up DID in the glossary which you suggested,
but it is still not clear to me whether or not (and if so
how) HylaFAX supports DID? How is this originally dialed
number passed to HylaFAX? How is it possible to tell if the
faxmodem itself supports DID (as the glossary suggests is
possible).
HylaFAX v4.0pl1 doesn't support DID (see also the HTML-page
html/setup-advanced.php in the source distribution).
With DSS1 ISDN (very common in Europe) and a ZyXEL Elite 2864I
modem/TA hybrid (which acts as a ISDN TA *and* as a fax/data
modem in one device) one could do the following trick to get
nearly what you want:
- order DSS1 ISDN and as much MSNs (Multiple Subscriber Numbers
as you need from Telco;
- organize with the Telco that all start with the same digits
and are different in the last digits (e.g. 123456-100, 123456-101
123456-102 ....)
- all calls to this number will be delivered to the same ISDN So bus
and your ZyXEL Elite 2864I will "see" all these calls;
- configure the ZyXEL Elite 2864I to pick-up incoming calls for
numbers containing the string "123456" as fax/data-calls
and let faxgetty(1M) answer a call on the first(!) ring;
- each session-log will contain the dialed number as in this example:
Oct 22 20:20:06.86: [ 672]: SESSION BEGIN 00000033 498943651320
Oct 22 20:20:06.97: [ 672]: <-- [4:ATA\r]
Oct 22 20:20:07.10: [ 672]: --> [25:FM:8961308194 TO:123456100]
^^^^^^^^^^^^
Oct 22 20:20:07.50: [ 672]: --> [30:CONNECT]
Oct 22 20:20:07.50: [ 672]: ANSWER: FAX CONNECTION
....
- you may change the faxrcvd(1M) script to grep the number "123456100"
from the session-log and use it for e-mail routing;
(if you don't answer on first ring, the "FM:8961308194 TO:123456100"
message is in the server trace and the logic is more complex);
matthias