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] Dev, dry-run or simulated modes ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 18.06.2010 19:06, schrieb Stefan Wagner:
> So the only thing the script has to do is to extract the phone number from
> the qfile, copy the file(s) and set the return codes. Looks quite straight
> forward.
That is not quite true.
HylaFAX does not check the exit code of the faxsend program to check the result. It read s the result code from the qfile. That means the faxsend program has to modify the qfile, otherwise you HylaFAX may run into a loop.
To build some simulated testing environment you should check the source code of the faxsend part of HylaFAX or the sourcecode of capi4hylafax. (capi4hylafax inludes c2faxsend as a replacement for faxsend.)
Bodo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkwcFH4ACgkQnMz9fgzDSqfNYACgkqxZct9g2PQJ/IrREXR29fm4
/mcAnizNni2qn3H0p9qVYs/Vu/LI9gJG
=3/eB
-----END PGP SIGNATURE-----
____________________ 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*