fantastic.
let me give it a go and see.
 
thanks for your help guys
Marc

On Fri, Jan 28, 2011 at 8:32 AM, Steven Ayre <steveayre@gmail.com> wrote:
Hi Marc,

Brian's committed this patch to the trunk 27/1/2011 in 314a2a1e.

You'd now be able to connect via ESL, do originate and then wait for the spandsp::txfaxresult event, then send the success/failure email.

-Steve


On 21 January 2011 13:10, Steven Ayre <steveayre@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org