Re: [asterisk-users] Looking for better fax handling

2018-06-08 Thread D'Arcy Cain
On 2018-05-24 02:32 AM, Yves wrote: > 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... Well, yes but how do I know which channel I am looking for? When I say "I" I mean my program. I

Re: [asterisk-users] Looking for better fax handling

2018-05-24 Thread Jeremy Kister
On 5/21/18 1:49 PM, D'Arcy Cain wrote: I am having troubles with sending faxes. I hope someone can help me work out a better method. I have a project that I like to use to send faxes. It might be able to drop into your environment pretty easily. https://github.com/jkister/astelegraph I

Re: [asterisk-users] Looking for better fax handling

2018-05-24 Thread Yves
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

Re: [asterisk-users] Looking for better fax handling

2018-05-22 Thread 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

Re: [asterisk-users] Looking for better fax handling

2018-05-22 Thread D'Arcy Cain
On 2018-05-21 08:04 PM, John Kiniston wrote: > Lock files. > > Create one when you start sending the fax, on your retry process check > for a lock file and if one exists don't retry. Your suggestion is to create a lock file for each fax (there could be many concurrent ones) and have the dialplan

Re: [asterisk-users] Looking for better fax handling

2018-05-22 Thread Yves
you could - use "global variables" - use the asterisk built in database - 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...) regards, yves Am 21.05.2018 um 19:49 schrieb D'Arcy Cain: I am having troubles

Re: [asterisk-users] Looking for better fax handling

2018-05-21 Thread John Kiniston
Lock files. Create one when you start sending the fax, on your retry process check for a lock file and if one exists don't retry. On Mon, May 21, 2018 at 10:49 AM, D'Arcy Cain wrote: > I am having troubles with sending faxes. I hope someone can help me > work out a