VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
gkuri at ieee.org Guest
|
Posted: Tue Dec 09, 2008 3:49 am Post subject: [Freeswitch-users] root privs for mod_fax |
|
|
I've been experimenting with mod_fax and discovered it doesn't appear to
receive faxes unless freeswitch is running as root? it fails trying to
open the tiff file for writing (see the logs below). I'm using the
dialplan as prescribed in the wiki without any changes and the user the
freeswitch process is running under has privs to write to /tmp, but it
still fails to receive faxes. I haven't tried sending any faxes yet.
I'm running r10609.
any ideas?
2008-12-09 00:29:41 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Get document at 14400bps, modem 7
2008-12-09 00:29:41 [WARNING] mod_fax.c:133 spanfax_log_message()
WARNING T.30 Cannot open target TIFF file 'rxfax.tiff'
2008-12-09 00:29:41 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Changing from state 17 to 3
2008-12-09 00:29:41 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Tx: DCN with final frame tag
2008-12-09 00:29:41 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Tx: ff 13 fa
2008-12-09 00:29:42 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 HDLC carrier down in state 3
2008-12-09 00:29:42 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Changing from phase T30_PHASE_B_RX to T30_PHASE_D
_TX
2008-12-09 00:29:42 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW FAX
Set rx type 0
2008-12-09 00:29:42 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW FAX
Set tx type 4
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Send complete in phase T30_PHASE_D_TX, state 3
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Send complete in phase T30_PHASE_D_TX, state 3
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Disconnecting
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Changing from phase T30_PHASE_D_TX to T30_PHASE_E
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW FAX
Set rx type 0
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW FAX
Set tx type 1
2008-12-09 00:29:43 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Changing from state 3 to 2
2008-12-09 00:29:44 [DEBUG] mod_fax.c:133 spanfax_log_message() FLOW
T.30 Send complete in phase T30_PHASE_E, state 2
2008-12-09 00:29:44 [DEBUG] mod_fax.c:163 phase_e_handler()
===============================================================
===============
2008-12-09 00:29:44 [DEBUG] mod_fax.c:176 phase_e_handler() Fax
processing not successful - result (41) TIFF/F file cannot
be opened.
Gabe
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Dec 09, 2008 9:08 am Post subject: [Freeswitch-users] root privs for mod_fax |
|
|
If you're running SELinux then you'll need to correct that on your
machine to allow FreeSWITCH to write to /tmp
/b
On Dec 9, 2008, at 2:43 AM, Gabriel Kuri wrote:
Quote: | I've been experimenting with mod_fax and discovered it doesn't
appear to
receive faxes unless freeswitch is running as root? it fails trying to
open the tiff file for writing (see the logs below). I'm using the
dialplan as prescribed in the wiki without any changes and the user
the
freeswitch process is running under has privs to write to /tmp, but it
still fails to receive faxes. I haven't tried sending any faxes yet.
I'm running r10609.
any ideas?
|
_______________________________________________
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 |
|
Back to top |
|
|
gkuri at ieee.org Guest
|
Posted: Tue Dec 09, 2008 11:38 am Post subject: [Freeswitch-users] root privs for mod_fax |
|
|
I'm running Gentoo Linux.
# uname -a
Linux 2.6.25-gentoo-r7 #1 SMP PREEMPT Sun Oct 5 01:51:24 PDT 2008 x86_64
Intel(R) Xeon(R) CPU X3320 @ 2.50GHz GenuineIntel GNU/Linux
/tmp is writable by everyone ...
# ls -ld /tmp
drwxrwxrwt 4 root root 4096 Dec 9 08:28 /tmp
ideas?
also, I assume the spool directory is just where it's spooling the file
temporarily while the fax is coming in, but is there a variable I can
set to tell it where to put the file after the fax has been received? it
looks like the time I ran FS as root and received a fax successfully,
the tiff file ended up in /root ?
Gabe
Brian West wrote:
Quote: | If you're running SELinux then you'll need to correct that on your
machine to allow FreeSWITCH to write to /tmp
/b
On Dec 9, 2008, at 2:43 AM, Gabriel Kuri wrote:
Quote: | I've been experimenting with mod_fax and discovered it doesn't
appear to
receive faxes unless freeswitch is running as root? it fails trying to
open the tiff file for writing (see the logs below). I'm using the
dialplan as prescribed in the wiki without any changes and the user
the
freeswitch process is running under has privs to write to /tmp, but it
still fails to receive faxes. I haven't tried sending any faxes yet.
I'm running r10609.
any ideas?
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|