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 am
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 us
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 asteris
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
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
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 with
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 better method.
>
> Basically
I am having troubles with sending faxes. I hope someone can help me
work out a better method.
Basically we have a special address that our users can send to. It
winds up on our Asterisk server which runs a Python script that parses
the message for attachments and the phone number from the recipi