[Freeswitch-users] Send email on successful fax sending.

João Mesquita jmesquita at freeswitch.org
Fri Jan 21 17:06:58 MSK 2011


One other thing you could do is use api_reporting_hook. There, you will have
variables set and you can run a script that you like. Beware that in this
script, you won't have session.

I think api_reporting_hook is still undocumented...

João Mesquita


On Fri, Jan 21, 2011 at 10:10 AM, Steven Ayre <steveayre at gmail.com> wrote:

> I've just put a patch together for mod_spandsp that should add the required
> event.
>
> It's on Jira, FS-3004.
> http://jira.freeswitch.org/browse/FS-3004
>
> I've checked it compiles, but I have no T38 capable gateways so someone
> else will need to test it out. Does anyone fancy trying it out?
>
> -Steve
>
>
>
>
> On 21 January 2011 12:40, Marc de Corny <marcdecorny at gmail.com> wrote:
>
>> Thanks, all I have not investigated the ESL options yet, I will have a
>> look and see,
>>
>>
>> many thanks for the responses,
>>
>> Marc
>>
>> On Fri, Jan 21, 2011 at 12:33 PM, Steven Ayre <steveayre at gmail.com>wrote:
>>
>>> But since the channel will hangup, you'd need to wait for and check the
>>> CDR to see that variable.
>>>
>>> mod_spandsp_fax.c:412 is "TODO Fire events"
>>>
>>> It looks like that it's planned for mod_spandsp to fire an event that'll
>>> indicate that the fax has finished sending and would contain the status.
>>>
>>> If that was implemented, you could connect via ESL, do the originate and
>>> wait for the event to tell you whether it worked or not.
>>>
>>> -Steve
>>>
>>>
>>>
>>>   On 21 January 2011 12:07, Thomas Mueller <thomas at chaschperli.ch>wrote:
>>>
>>>>   On 21.01.2011 09:14, Marc de Corny wrote:
>>>> > Hi There,
>>>> > Has anybody had any ideas on this ? I imagine you must all have the
>>>> > same requirement in the Email to Fax scenario ?
>>>>
>>>>
>>>> reading the sourcecode the channel var "fax_success" gets set to 1 for
>>>> OK, to 0 for fail.
>>>>
>>>> - Thomas
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110121/67e8a8c2/attachment.html 


More information about the FreeSWITCH-users mailing list