yes!  that is it.    <br><br>the tif file that I used was copied from a sample file included in windows 7 installation.  C:\Users\xyz\Documents\Fax\Inbox\WelcomeFax.tif<br><br>per your tip, I generated the tif file by myself and it worked now.<br>
<br>1) grab a pdf file.<br>2) sudo apt-get install imagemagick<br>3) convert -density 204x98 -resize 1728x1186\! -monochrome -compress Fax ./test.pdf ./test.tiff<br>4) originate loopback/9979 &amp;txfax(/tmp/test.tiff)<br>
<br>whoever has FS wiki edit permission please update mod_spandsp. don&#39;t let future users frustrated by this damn stupid issue. <br>I also believe this is a bug in mod_spandsp since it can&#39;t handle standard windows tif file.<br>
<br>Johannes, thanks a lot for your great tip.<br><br><br><br><br><div class="gmail_quote">On Sun, Feb 27, 2011 at 1:37 AM, Johannes Jakob <span dir="ltr">&lt;<a href="mailto:jjj@3js.de">jjj@3js.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
I&#39;m quite new to the list and don&#39;t feel like an expert, so I&#39;m not going to reply to the list, but to you directly.<br>
<br>
I had a similar problem some days ago and I think the problem was the tif file itself.<br>
I had converted a normal picture into tiff format and FS couldn&#39;t read it the way it wanted to.<br>
<br>
I then changed to a file that FS had written himself (a received fax) and that worked just fine.<br>
<br>
Maybe this helps ;)<br>
<br>
Greetings,<br>
  John<br>
<div><div></div><div class="h5"><br>
<br>
On 27.02.2011, at 08:37, envelopes envelopes wrote:<br>
<br>
&gt; It seems not  a permission issue.<br>
&gt;<br>
&gt; please look at line 49 &amp; 50 @ pastebin<br>
&gt;<br>
&gt; <a href="http://pastebin.com/M2LhT1zD" target="_blank">http://pastebin.com/M2LhT1zD</a><br>
&gt;<br>
&gt;<br>
&gt; 49. 2011-02-26 23:30:40.964962 [DEBUG] mod_spandsp_fax.c:335 Fax processing not successful - result (17) Received a DCN while waiting for a DIS.<br>
&gt; 50. 2011-02-26 23:30:40.964962 [DEBUG] mod_spandsp_fax.c:335 Fax processing not successful - result (41) TIFF/F file cannot be opened.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Feb 26, 2011 at 10:57 PM, Madovsky &lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt; wrote:<br>
&gt; &gt; If this is bug, please fix it.  If there is a catch, please post the solution and summarize on wiki page.<br>
&gt; hjey, cool man, it&#39;s an open source mailing list....<br>
&gt; /tmp is usually not a folder to execute anything.<br>
&gt; try to change the folder with write permssion...<br>
&gt; ----- Original Message -----<br>
&gt; From: envelopes envelopes<br>
&gt; To: FreeSWITCH Users Help<br>
&gt; Sent: Sunday, February 27, 2011 1:46 AM<br>
&gt; Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
&gt;<br>
&gt; <a href="http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg06601.html" target="_blank">http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg06601.html</a><br>
&gt;<br>
&gt; in fact, I am running as a root. so the reason in that thread doesn&#39;t apply to my case.<br>
&gt;<br>
&gt; root     22613  9.5  0.7  40064 15724 pts/2    SLl+ 22:35   0:41 ./bin/freeswitch<br>
&gt;<br>
&gt; /tmp directory has worldwide write permission:<br>
&gt; drwxrwxrwt  20 root root  4096 2011-02-26 22:17 tmp<br>
&gt;<br>
&gt; If this is bug, please fix it.  If there is a catch, please post the solution and summarize on wiki page.<br>
&gt;<br>
&gt; One of the particular reason that i like FS is prompt support and enthusiasm from FS developers.<br>
&gt; please do not lost your momentum.<br>
&gt;<br>
&gt;<br>
&gt; thanks!<br>
&gt;<br>
&gt; On Sat, Feb 26, 2011 at 10:10 PM, Madovsky &lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt; wrote:<br>
&gt; look at the the emailist archive,<br>
&gt; I remember that one had the same problem<br>
&gt; but don&#39;t remember the solution<br>
&gt; ----- Original Message -----<br>
&gt; From: envelopes envelopes<br>
&gt; To: FreeSWITCH Users Help<br>
&gt; Sent: Sunday, February 27, 2011 12:53 AM<br>
&gt; Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
&gt;<br>
&gt; no one had similar issue?<br>
&gt;<br>
&gt; On Fri, Feb 25, 2011 at 11:33 AM, envelopes envelopes &lt;<a href="mailto:sunwood360@gmail.com">sunwood360@gmail.com</a>&gt; wrote:<br>
&gt; I don&#39;t see any permission issue here.<br>
&gt;<br>
&gt;<br>
&gt; /tmp$ ls -l /tmp/a.tif<br>
&gt; -rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif<br>
&gt;<br>
&gt; receive side also writes to /tmp directroy.<br>
&gt;<br>
&gt; It is really weird.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Feb 25, 2011 at 11:30 AM, Madovsky &lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt; wrote:<br>
&gt; check permissions<br>
&gt; ----- Original Message -----<br>
&gt; From: envelopes envelopes<br>
&gt; To: FreeSWITCH Users Help<br>
&gt; Sent: Friday, February 25, 2011 2:23 PM<br>
&gt; Subject: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
&gt;<br>
&gt; I have the extension in default.xml;<br>
&gt;<br>
&gt; &lt;extension name=&quot;fax_receive2&quot;&gt;<br>
&gt;      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(9979)$&quot;&gt;<br>
&gt;        &lt;action application=&quot;answer&quot; /&gt;<br>
&gt;        &lt;action application=&quot;playback&quot; data=&quot;silence_stream://2000&quot;/&gt;<br>
&gt;        &lt;action application=&quot;rxfax&quot; data=&quot;/tmp/fax-${uuid}.rxfax.tiff&quot;/&gt;<br>
&gt;        &lt;action application=&quot;hangup&quot;/&gt;<br>
&gt;      &lt;/condition&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt;<br>
&gt; then in fs_cli : originate loopback/9979 &amp;txfax(/tmp/a.tif)<br>
&gt;<br>
&gt; in fact, the file /tmp/a.tif does exist.<br>
&gt;<br>
&gt; /tmp$ ls -l /tmp/a.tif<br>
&gt; -rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif<br>
&gt;<br>
&gt;<br>
&gt; 2011-02-25 11:17:39.444902 [DEBUG] mod_spandsp_fax.c:1108 Raw write codec activation Success L16<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:335 Fax processing not successful - result (17) Received a DCN while waiting for a DIS.<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:340 Remote station id:<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:341 Local station id:  SpanDSP Fax Ident<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:342 Pages transferred: 0<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:344 Total fax pages:   0<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:345 Image resolution:  0x0<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:346 Transfer Rate:     14400<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:348 ECM status         off<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:349 remote country:<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:350 remote vendor:<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:351 remote model:<br>
&gt; 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:353 ==============================================================================<br>
&gt; 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================<br>
&gt; 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:335 Fax processing not successful - result (41) TIFF/F file cannot be opened.<br>
&gt; 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:340 Remote station id: SpanDSP Fax Ident<br>
&gt; 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:341 Local station id:  SpanDSP Fax Ident<br>
&gt;<br>
&gt;<br>
&gt; what is going wrong??<br>
&gt;<br>
&gt; thanks<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</div></div></blockquote></div><br>