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 ----- *From:* envelopes envelopes <sunwood360@gmail.com> *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *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