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] modem ACL per user



Aidan Van Dyk wrote:

* Martin Vit <vit@xxxxxx> [051003 10:44]:



how to extract job owner? i've looked into job.h and there is no user/uid structure.
If i can modify dialstring based on job's owner (hylafax username) it would solve my problem.



man sendq...


and a bit of faxsend-wrapper could be roughly...

	[...]
	OWNER=$(grep '^owner:' $QFILE | cut -d : -f 2-)
	case $OWNER in
	[...]
	esac
	[...]

a.



thanks a lot, but, i cant find (googling) , where to place script faxsend-wrapper,

maybe:

man hylafax-config:
SendFaxCmd1 string bin/faxsend fax transmit command script


replace bin/faxsend with faxsend-wrapper?

and what this script should do? Edit $QFILE (change DID) and then spawn "/usr/sbin/faxsend [ -l ] [ -p ] [ -c config ] -m device-ID qfile[,qfile[,qfile[,...]]]" ?

This is what i want? :)

If this work, i can teoreticaly chage -m device-D based on $OWNER?

thanks for help.

____________________ 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