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] sending with different MSN's



As to the moment WHCF does not support "fromlocation" which should contain
the outgoing faxnumber configured at the client. But whith capi4hylafax
you could do the following:

--
#!/bin/sh

# name it c2sendfax.wrap and place it with rx permissions for uucp:dialout
# under /usr/local/bin
# don't forget a line in /var/spool/hylafax/config
# SendFaxCmd:             "/usr/local/bin/c2faxsend.wrap"

eval QFILE=\$$#

TAGLINE=`grep tagline $QFILE | sed s/tagline://` (*)
FROM=`grep fromlocation $QFILE | sed s/fromlocation://` (*)

/usr/bin/c2faxsend -v -c LocalIdentifier:"\"$TAGLINE\"" -c
OutgoingMSN:$FROM -c FAXNumber:$FROM $@ >> /tmp/c2faxsend.log 2>&1

rc=$?

exit $rc
--
Thx to Moritz Winterberg who gave me this few lines. You will have to
adapt the lines marked with (*) to your needs regarding to you client.

Klaus




Lee Howard schrieb:
> Nevermond@xxxxxxx wrote:
>
>>Is there a solution to send facsimiles with a "FROMADDR"
>>depending on the User using the fax server at the moment?
>>
>>
>
> This will depend upon CAPI4HylaFAX or whatever the ISDN software is that
> you're using.
>
> Lee.
>
> ____________________ HylaFAX(tm) Users Mailing List
> _______________________
>   To subscribe/unsubscribe, click
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
> /dev/null
>   *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*
>
>
>


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions