<div dir="ltr">I don't think it will work like that,<div><br></div><div>you can just use:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12.8px">rxfax(</span><span style="font-size:12.8px"> /tmp/${uuid}-FAX.tif</span><span style="font-size:12.8px">)</span></blockquote><div><span style="font-size:12.8px">Since it is /tmp it will we group and world read/writable</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 9:28 AM, devang nathwani <span dir="ltr"><<a href="mailto:devang.nathwani31589@gmail.com" target="_blank">devang.nathwani31589@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> parsing [default->customfax] continue=false</div>
<div class="m_-4591689553665237896gmail-de2">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Regex
(PASS) [customfax] destination_number(789456123) =~ /^789456123$/
break=on-false</div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action set(fax_enable_t38_request=<wbr>true) </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action set(fax_enable_t38=true) </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action export(t38_passthru=true) </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action set(session_in_hangup_hook=<wbr>true) </div>
<div class="m_-4591689553665237896gmail-de2">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action set(rtp_append_audio_sdp=a=<wbr>fmtp:18 annexb=no) </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action answer() </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action rxfax(<b>chmod 666 /tmp/${uuid}-FAX.tif</b>) </div>
<div class="m_-4591689553665237896gmail-de1">Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action
set(api_hangup_hook=system /var/www/html/astpp/FAX/<wbr>scripts/emailfax.sh
/tmp/${uuid}-FAX.tif 6 Hardik <a href="mailto:hardik.patel@inextrix.com" target="_blank">hardik.patel@inextrix.com</a>
/tmp/${uuid}-FAX.tif ) </div>
Dialplan: sofia/default/<a href="mailto:789456123@192.168.1.71" target="_blank">789456123@192.<wbr>168.1.71</a> Action hangup() </div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 5, 2016 at 6:52 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sounds like a permission issue to where you're trying to save the tiff file, what are you doing in your dialplan?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4591689553665237896h5">On Mon, Dec 5, 2016 at 8:00 AM, devang nathwani <span dir="ltr"><<a href="mailto:devang.nathwani31589@gmail.com" target="_blank">devang.nathwani31589@gmail.co<wbr>m</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-4591689553665237896h5"><div dir="ltr">Hello,<br><br>Trying to develop Fax 2 Email features.<br>I am sending fax from the Zoiper for testing and it works perfectly in my local machine but getting permission related error for receiving fax on server<br><br><br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:317 === Negotiation Result ==============================<wbr>=========================<br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:318 Remote station id: 964737<br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:319 Local station id: SpanDSP Fax Ident<br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:320 Transfer Rate: 12000<br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:322 ECM status off<br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:323 remote country: <br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:324 remote vendor: <br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:325 remote model: <br>2016-12-05 13:18:38.155419 [DEBUG] mod_spandsp_fax.c:327 ==============================<wbr>==============================<wbr>==================<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:496 ==============================<wbr>==============================<wbr>==================<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:508 Fax processing not successful - result (41) TIFF/F file cannot be opened.<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:513 Remote station id: 964737<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:514 Local station id: SpanDSP Fax Ident<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:515 Pages transferred: 0<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:517 Total fax pages: 0<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:518 Image resolution: 0x0<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:519 Transfer Rate: 12000<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:521 ECM status off<br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:522 remote country: <br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:523 remote vendor: <br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:524 remote model: <br>2016-12-05 13:18:40.635418 [DEBUG] mod_spandsp_fax.c:526 ==============================<wbr>==============================<wbr>==================<br><br>Can any body help me please to resolve that issue?<br>I have attached my freeswitch logs it may help.<br><br><a href="http://pastebin.com/edTEimae" target="_blank">http://pastebin.com/edTEimae</a><br></div>
<br></div></div>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/free<wbr>switch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-4591689553665237896m_-5205661287816329177gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font face="courier new, monospace" size="1"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="monospace, monospace" size="2"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a> <wbr>(50% Discount using code FreeSwitch50)<br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.<wbr>com</a> </font><span style="font-family:monospace,monospace;font-size:small">(50% Discount using code FreeSwitch50)</span><font face="monospace, monospace" size="2"><br></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/frees<wbr>witch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font face="monospace, monospace" size="2"><b>T:</b><a href="tel:+1%20918-420-9001" value="+19184209001" target="_blank">+19184209001</a> | <b>F:</b><a href="tel:+1%20918-420-9002" value="+19184209002" target="_blank">+19184209002</a> | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Regards,<div>Mirko</div></div></div></div></div></div></div></div></div>
</div>