[Freeswitch-users] Fax result when using mail to fax
Bipin Patel
bipin at xbipin.com
Tue May 16 05:25:36 UTC 2017
hi,
well considering im running this FS on the raspberry pi for a small
office, ESL would be like a lot just for the purpose, if the console can
display the fax result then why isnt it possible to get the same in
dialplan or somewhere else where i can fire a script or something and
let the sender know what happened to their fax.
i tried using execute_on_fax_success and execute_on_fax_failure but they
dont seem to work while sending a fax, i think its for receiving only
Regards,
Bipin
------------------------------------------------------------------------
-------- Original Message --------
Subject: Re: [Freeswitch-users] Fax result when using mail to fax
From: Peter Steinbach <lists at telefaks.de>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 5/16/2017, 12:24:44 AM
> Hello Bipin,
>
> there are some events fired via ESL, if you subscribe to them. We
> evaluate txfaxresult event and hangup event.
>
> The only thing which is critcal here, is that the contents of the 2
> events have to be joined, in order to have all informations. And in my
> experience txfaxresult and hangup event do not always come in the same
> order, dependend on which side of the channels hangs up first.
>
> Best regards
> Peter
>
> On 05/15/17 22:06, Bipin Patel wrote:
>> Hi,
>>
>> I have a python script that checks a mailbox for faxes to be sent, when it
>> finds a new mail it downloads the PDF and converts to Tiff and sends via
>> the originate command, now the problem is I can't seem to find a way to get
>> the fax report, nor in cdr it says what happened and the originate just
>> says ok followed by uuid of the bridge. I'm sending the fax over a fxo
>> gateway device. Due to it going over fxo, I have no clue if the remote fax
>> machine answered call and the only place the fax report comes is in the
>> console. Is there a variable or anything else that can be resent to the
>> python script telling what the result was. I tried the execute on fax
>> successful and fail variable but they don't seem to work.
>>
>> My python script generates the originate command going to loopback which
>> goes to dial plan where the actual bridge to fxo gateway happens.
>>
>> How are others dealing with fax report I would love to hear.
>>
>> Regards,
>> Bipin
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
More information about the FreeSWITCH-users
mailing list