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@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