Check out the stuff you can do with execute_on_fax_XXX chan vars:<br><a href="http://wiki.freeswitch.org/wiki/Mod_spandsp#Execute_based_on_fax_session_outcome">http://wiki.freeswitch.org/wiki/Mod_spandsp#Execute_based_on_fax_session_outcome</a><br>
<br>-MC<br><br><div class="gmail_quote">On Fri, May 18, 2012 at 6:38 AM, <span dir="ltr"><<a href="mailto:B.Tietz@pinguin.ag" target="_blank">B.Tietz@pinguin.ag</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="DE"><div><p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I would like to receive (T38/T30) faxes with rxfax.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I think this won’t be a problem to do so in dialplan. But, after (succesfull) receiving I would like to call a perl-script which needs some variables, at least the fax-file name, and some other infos.<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">How can I call this script with variables afte receiving?<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">regards,<u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Benjamin<u></u><u></u></span></p></div></div><br></blockquote></div><br>