It seems not  a permission issue.

please look at line 49 & 50 @ pastebin

http://pastebin.com/M2LhT1zD


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.
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.  



On Sat, Feb 26, 2011 at 10:57 PM, Madovsky <infos@madovsky.org> wrote:
> If this is bug, please fix it.  If there is a catch, please post the solution and summarize on wiki page.
hjey, cool man, it's an open source mailing list....
/tmp is usually not a folder to execute anything.
try to change the folder with write permssion...
----- Original Message -----
Sent: Sunday, February 27, 2011 1:46 AM
Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.

http://www.mail-archive.com/freeswitch-users@lists.freeswitch.org/msg06601.html

in fact, I am running as a root. so the reason in that thread doesn't apply to my case.

root     22613  9.5  0.7  40064 15724 pts/2    SLl+ 22:35   0:41 ./bin/freeswitch

/tmp directory has worldwide write permission:
drwxrwxrwt  20 root root  4096 2011-02-26 22:17 tmp

If this is bug, please fix it.  If there is a catch, please post the solution and summarize on wiki page.

One of the particular reason that i like FS is prompt support and enthusiasm from FS developers.
please do not lost your momentum.


thanks!

On Sat, Feb 26, 2011 at 10:10 PM, Madovsky <infos@madovsky.org> wrote:
look at the the emailist archive,
I remember that one had the same problem
but don't remember the solution
----- Original Message -----
Sent: Sunday, February 27, 2011 12:53 AM
Subject: Re: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.

no one had similar issue?

On Fri, Feb 25, 2011 at 11:33 AM, envelopes envelopes <sunwood360@gmail.com> wrote:
I don't see any permission issue here.


/tmp$ ls -l /tmp/a.tif
-rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif

receive side also writes to /tmp directroy.

It is really weird.


 

On Fri, Feb 25, 2011 at 11:30 AM, Madovsky <infos@madovsky.org> wrote:
check permissions
----- Original Message -----
Sent: Friday, February 25, 2011 2:23 PM
Subject: [Freeswitch-users] Fax processing not successful - result (41)TIFF/F file cannot be opened.

I have the extension in default.xml;

<extension name="fax_receive2">
     <condition field="destination_number" expression="^(9979)$">
       <action application="answer" />
       <action application="playback" data="silence_stream://2000"/>
       <action application="rxfax" data="/tmp/fax-${uuid}.rxfax.tiff"/>
       <action application="hangup"/>
     </condition>
   </extension>

then in fs_cli : originate loopback/9979 &txfax(/tmp/a.tif)

in fact, the file /tmp/a.tif does exist.

/tmp$ ls -l /tmp/a.tif
-rwxrwxrwx 1 root root 179378 2011-02-02 05:30 /tmp/a.tif


2011-02-25 11:17:39.444902 [DEBUG] mod_spandsp_fax.c:1108 Raw write codec activation Success L16                                           
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================    
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.
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:340 Remote station id:                                                                
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:341 Local station id:  SpanDSP Fax Ident                                              
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:342 Pages transferred: 0                                                              
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:344 Total fax pages:   0                                                              
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:345 Image resolution:  0x0                                                            
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:346 Transfer Rate:     14400                                                          
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:348 ECM status         off                                                            
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:349 remote country:                                                                   
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:350 remote vendor:                                                                    
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:351 remote model:                                                                     
2011-02-25 11:17:46.805168 [DEBUG] mod_spandsp_fax.c:353 ==============================================================================    
2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:323 ==============================================================================    
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.         
2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:340 Remote station id: SpanDSP Fax Ident                                              
2011-02-25 11:17:46.825158 [DEBUG] mod_spandsp_fax.c:341 Local station id:  SpanDSP Fax Ident


what is going wrong??

thanks


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org