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

shouldbe q931 <[email protected]> Wed, 4 Apr 2018 12:31:23 +0100
Newsgroups gmane.comp.telephony.fax.hylafax.user
Message-ID <CAP1_MOAspcNrkZ0keWKFWAUdMx80bXBL-M=gqyY-hOX+cZ3Q5Q@mail.gmail.com>
On Wed, Apr 4, 2018 at 9:44 AM, Carsten
<[email protected]> wrote:
>
> 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;;    # 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

When I used to setup ISDN (using Diva Server cards) connected  hylafax
servers, I used $CIDNUMBER in FaxDispatch

case "$CIDNUMBER" in
       3001)  [email protected]; FILETYPE=pdf;;       #
Company A reception
       3299)  [email protected]; FILETYPE=pdf;;       #
Company B reception
       5900)  [email protected]; FILETYPE=pdf;;       #
Company C reception

Although the documentation shows using $CIDNUMBER as the "calling
number", I was using it as the "called number"

Cheers


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe [email protected] < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail [email protected].*