of course you can query asterisk asterisk and look, if your fax is still running...:

asterisk -rx "fax show sessions" lists you all acive fax sessions...

yves

Am 22.05.2018 um 12:19 schrieb D'Arcy Cain:
On 2018-05-22 02:17 AM, Yves wrote:
you could

- use "global variables"
- use the asterisk built in database
Both of those seem difficult as the process is split between Asterisk
and an external script.

- mv the file to temporary folder _before_ faxing (would be the most
easy solution as you already
know how to mv a file via asterisk...)
True.  This or John Kiniston's idea of lock files could work.  I guess I
would need to have some process to move it back if it is still there
after an hour or so in case something went wrong.  The same sort of
thing would be needed for John's solution as well.

It sure would be nice if I could query Asterisk to see if the fax
process was still running.

Thanks.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
     https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to