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 &txfax(/tmp/test.tiff)<br>
<br>whoever has FS wiki edit permission please update mod_spandsp. don't let future users frustrated by this damn stupid issue. <br>I also believe this is a bug in mod_spandsp since it can'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"><<a href="mailto:jjj@3js.de">jjj@3js.de</a>></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'm quite new to the list and don't feel like an expert, so I'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'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>
> It seems not a permission issue.<br>
><br>
> please look at line 49 & 50 @ pastebin<br>
><br>
> <a href="http://pastebin.com/M2LhT1zD" target="_blank">http://pastebin.com/M2LhT1zD</a><br>
><br>
><br>
> 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>
> 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>
><br>
><br>
><br>
> On Sat, Feb 26, 2011 at 10:57 PM, Madovsky <<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>> wrote:<br>
> > If this is bug, please fix it. If there is a catch, please post the solution and summarize on wiki page.<br>
> hjey, cool man, it's an open source mailing list....<br>
> /tmp is usually not a folder to execute anything.<br>
> try to change the folder with write permssion...<br>
> ----- Original Message -----<br>
> From: envelopes envelopes<br>
> To: FreeSWITCH Users Help<br>
> Sent: Sunday, February 27, 2011 1:46 AM<br>
> Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
><br>
> <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>
><br>
> in fact, I am running as a root. so the reason in that thread doesn't apply to my case.<br>
><br>
> root 22613 9.5 0.7 40064 15724 pts/2 SLl+ 22:35 0:41 ./bin/freeswitch<br>
><br>
> /tmp directory has worldwide write permission:<br>
> drwxrwxrwt 20 root root 4096 2011-02-26 22:17 tmp<br>
><br>
> If this is bug, please fix it. If there is a catch, please post the solution and summarize on wiki page.<br>
><br>
> One of the particular reason that i like FS is prompt support and enthusiasm from FS developers.<br>
> please do not lost your momentum.<br>
><br>
><br>
> thanks!<br>
><br>
> On Sat, Feb 26, 2011 at 10:10 PM, Madovsky <<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>> wrote:<br>
> look at the the emailist archive,<br>
> I remember that one had the same problem<br>
> but don't remember the solution<br>
> ----- Original Message -----<br>
> From: envelopes envelopes<br>
> To: FreeSWITCH Users Help<br>
> Sent: Sunday, February 27, 2011 12:53 AM<br>
> Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
><br>
> no one had similar issue?<br>
><br>
> On Fri, Feb 25, 2011 at 11:33 AM, envelopes envelopes <<a href="mailto:sunwood360@gmail.com">sunwood360@gmail.com</a>> wrote:<br>
> I don't see any permission issue here.<br>
><br>
><br>
> /tmp$ ls -l /tmp/a.tif<br>
> -rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif<br>
><br>
> receive side also writes to /tmp directroy.<br>
><br>
> It is really weird.<br>
><br>
><br>
><br>
><br>
> On Fri, Feb 25, 2011 at 11:30 AM, Madovsky <<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>> wrote:<br>
> check permissions<br>
> ----- Original Message -----<br>
> From: envelopes envelopes<br>
> To: FreeSWITCH Users Help<br>
> Sent: Friday, February 25, 2011 2:23 PM<br>
> Subject: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.<br>
><br>
> I have the extension in default.xml;<br>
><br>
> <extension name="fax_receive2"><br>
> <condition field="destination_number" expression="^(9979)$"><br>
> <action application="answer" /><br>
> <action application="playback" data="silence_stream://2000"/><br>
> <action application="rxfax" data="/tmp/fax-${uuid}.rxfax.tiff"/><br>
> <action application="hangup"/><br>
> </condition><br>
> </extension><br>
><br>
> then in fs_cli : originate loopback/9979 &txfax(/tmp/a.tif)<br>
><br>
> in fact, the file /tmp/a.tif does exist.<br>
><br>
> /tmp$ ls -l /tmp/a.tif<br>
> -rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif<br>
><br>
><br>
> 2011-02-25 11:17:39.444902 [DEBUG] mod_spandsp_fax.c:1108 Raw write codec activation Success L16<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================<br>
> 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>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:340 Remote station id:<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:341 Local station id: SpanDSP Fax Ident<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:342 Pages transferred: 0<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:344 Total fax pages: 0<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:345 Image resolution: 0x0<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:346 Transfer Rate: 14400<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:348 ECM status off<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:349 remote country:<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:350 remote vendor:<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:351 remote model:<br>
> 2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:353 ==============================================================================<br>
> 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================<br>
> 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>
> 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:340 Remote station id: SpanDSP Fax Ident<br>
> 2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:341 Local station id: SpanDSP Fax Ident<br>
><br>
><br>
> what is going wrong??<br>
><br>
> thanks<br>
><br>
><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>
> _______________________________________________<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>
><br>
><br>
><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>
> _______________________________________________<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>
><br>
><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>
> _______________________________________________<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>
><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>
</div></div></blockquote></div><br>