HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] sender variable in faxdispatch field



En réponse à procadas@creditus.pt:

Yes , that's it : the line is number 0453
next to my first message I saw in the mailing lists that I could put
the variable $DEVICE instead of $SENDER in $FaxDispatch but when I try this
It seems to not work.

In faxdispatch I have :

case $DEVICE in
*ttyV1) SENDTO=toto@toto.fr;; # Devices are VIRTUALS
*ttyV2) SENDTO=titi@titi.fr;;
*ttyV3) SENDTO=tata@tata.fr
...

thats to say that I want to make my dispathching on the virtual TTY that I made 
before associated with the Number :
CALLED NUMBER        VIRTUAL TERMINAL        
043845(0453)               TTYS1
043845(0454)               TTYS2
    ...                     ...
    
> 
> Bonjour. La(?) variable $SENDER c'est la personne(fax numéro) (and here
> I
> forgot all my 5 years of french 8) ) who dialed your fax number. You
> can
> check this with man faxrcvd.
> 
> This  script  can route facsimile directly to the intended
>        receipient if the sender's identity is well-known.  To  do
>        this create a shell script etc/FaxDispatch in the spooling
>        area that sets  the  receiver's  electronic  mail  address
>        according to the sender's TSI.  For example,
> 
>        case "$SENDER" in
>        *1*510*526*1212*) SENDTO=sam;;          # Sam's test rig in
> Berkeley
> 
> >I would like to make my dispatch on the "TO:0453" FIELD, Is it possible
> ?
> 
> What you mean? I could be wrong but you receive the fax in the line
> 0453
> right?
> 
> Pedro Roçadas (procadas@creditus.pt)
> Dptº Informática,BPN-Créditus Technical Staff
> 

Xavier Poirier
Service Informatique - Hôpital Fleyriat
mailto: xpoirier@ch-bourg01.fr



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





Project hosted by iFAX Solutions