Re: [hylafax] using multiple lines/modems with multiple users

Carsten <[email protected]> Wed, 4 Apr 2018 10:44:43 +0200
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <[email protected]>
Am 04.04.2018 um 09:24 schrieb Max Mothwurf:
> Am Donnerstag, 29. März 2018, 11:48:55 CEST schrieb Carsten:
>> Hi list,
>>
>> since a few hours I have a running hylafax server on my Banana Pi.
> congratulations!
>
>> It is driven by postfix and so far it works with one virtual iaxmodem
>> and my Asterisk.
>>
>> I am able to send faxes out of my mail interface and I am able to
>> receive faxes.
>>
>> Now I would like to setup multiple lines for each user.
>>
>> So
>> [email protected]  has ...123 as fax number
>> and
>> [email protected]  has ...456 as fax number
>>
>> and each will get their own reports.
>>
>> I searched the net for some documentation about such settings, but did
>> not find any.
>> I think, I would be able to configure multiple Fax lines using the
>> iaxmodem, but how do I manage them in hylafax?
> I think you are looking for
> http://hylafax.sourceforge.net/man/faxrcvd.php
>
> HTH
> Mx
Hmm... I saw this, but to be honest, I did not really understand it -or 
at least I am not sure.
Do I read it correct, that this would be the part of interest for the case:

"...

case "$DEVICE" in ttyS1) SENDTO=john;; # all faxes received on ttyS1 
ttyLT0) SENDTO=mary@home <mailto:mary@home>;; # all faxes received on 
ttyLT0 esac

..."
So I need to create one iaxmodem (virtual) device for each line (fax 
number) and route it like the code above using "/etc/hylafax/FaxDispatch"?

br
Carsten