<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>That's a good </FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=marcdecorny@gmail.com href="mailto:marcdecorny@gmail.com">Marc de 
  Corny</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeswitch-users@lists.freeswitch.org 
  href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 28, 2011 8:25 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Send 
  email on successful fax sending.</DIV>
  <DIV><BR></DIV>
  <DIV>fantastic.</DIV>
  <DIV>let me give it a go and see.</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>thanks for your help guys</DIV>
  <DIV>Marc<BR><BR></DIV>
  <DIV class=gmail_quote>On Fri, Jan 28, 2011 at 8:32 AM, Steven Ayre <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:steveayre@gmail.com">steveayre@gmail.com</A>&gt;</SPAN> 
wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>Hi Marc,<BR><BR>Brian's committed this patch to the trunk 
    27/1/2011 in 314a2a1e.<BR><BR>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.<BR><BR>-Steve<BR><BR><BR>
    <DIV class=gmail_quote>On 21 January 2011 13:10, Steven Ayre <SPAN 
    dir=ltr>&lt;<A href="mailto:steveayre@gmail.com" 
    target=_blank>steveayre@gmail.com</A>&gt;</SPAN> wrote:<BR>
    <BLOCKQUOTE 
    style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
    class=gmail_quote>I've just put a patch together for mod_spandsp that 
      should add the required event.<BR><BR>It's on Jira, FS-3004.<BR><A 
      href="http://jira.freeswitch.org/browse/FS-3004" 
      target=_blank>http://jira.freeswitch.org/browse/FS-3004</A><BR><BR>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?<BR><BR>-Steve 
      <DIV>
      <DIV></DIV>
      <DIV><BR><BR><BR><BR>
      <DIV class=gmail_quote>On 21 January 2011 12:40, Marc de Corny <SPAN 
      dir=ltr>&lt;<A href="mailto:marcdecorny@gmail.com" 
      target=_blank>marcdecorny@gmail.com</A>&gt;</SPAN> wrote:<BR>
      <BLOCKQUOTE 
      style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
      class=gmail_quote>
        <DIV>Thanks, all I have not investigated the ESL options yet, I will 
        have a look and see,</DIV>
        <DIV>&nbsp;</DIV>
        <DIV>&nbsp;</DIV>
        <DIV>many thanks for the responses,</DIV>
        <DIV>&nbsp;</DIV><FONT color=#888888>
        <DIV>Marc<BR><BR></DIV></FONT>
        <DIV>
        <DIV></DIV>
        <DIV>
        <DIV class=gmail_quote>On Fri, Jan 21, 2011 at 12:33 PM, Steven Ayre 
        <SPAN dir=ltr>&lt;<A href="mailto:steveayre@gmail.com" 
        target=_blank>steveayre@gmail.com</A>&gt;</SPAN> wrote:<BR>
        <BLOCKQUOTE 
        style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
        class=gmail_quote>But since the channel will hangup, you'd need to 
          wait for and check the CDR to see that 
          variable.<BR><BR>mod_spandsp_fax.c:412 is "TODO Fire events"<BR><BR>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.<BR><BR>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.<BR><BR>-Steve<BR><BR><BR><BR>
          <DIV class=gmail_quote>
          <DIV>
          <DIV></DIV>
          <DIV>On 21 January 2011 12:07, Thomas Mueller <SPAN dir=ltr>&lt;<A 
          href="mailto:thomas@chaschperli.ch" 
          target=_blank>thomas@chaschperli.ch</A>&gt;</SPAN> 
          wrote:<BR></DIV></DIV>
          <BLOCKQUOTE 
          style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex" 
          class=gmail_quote>
            <DIV>
            <DIV></DIV>
            <DIV>
            <DIV>On 21.01.2011 09:14, Marc de Corny wrote:<BR>&gt; Hi 
            There,<BR>&gt; Has anybody had any ideas on this ? I imagine you 
            must all have the<BR>&gt; same requirement in the Email to Fax 
            scenario ?<BR><BR><BR></DIV>reading the sourcecode the channel var 
            "fax_success" gets set to 1 for<BR>OK, to 0 for fail.<BR><FONT 
            color=#888888><BR>- Thomas<BR></FONT></DIV></DIV>
            <DIV class=im>
            <DIV>
            <DIV></DIV>
            <DIV><BR><BR>
            <DIV>_______________________________________________<BR>FreeSWITCH-users 
            mailing list<BR><A 
            href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
            target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
            target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
            target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
            href="http://www.freeswitch.org/" 
            target=_blank>http://www.freeswitch.org</A><BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV>
          <DIV 
          class=im><BR><BR>_______________________________________________<BR>FreeSWITCH-users 
          mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
          target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
          href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
          target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
          href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
          target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
          href="http://www.freeswitch.org/" 
          target=_blank>http://www.freeswitch.org</A><BR><BR></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV>
        <DIV 
        class=im><BR>_______________________________________________<BR>FreeSWITCH-users 
        mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org" 
        target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
        target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
        href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
        target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
        href="http://www.freeswitch.org/" 
        target=_blank>http://www.freeswitch.org</A><BR><BR></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV><BR><BR>_______________________________________________<BR>FreeSWITCH-users 
    mailing list<BR><A 
    href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A 
    href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" 
    target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A 
    href="http://lists.freeswitch.org/mailman/options/freeswitch-users" 
    target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A 
    href="http://www.freeswitch.org/" 
    target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>FreeSWITCH-users 
  mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>