MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Problem with sending a fax from web (Fax Server) #258

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a fax extension (5000) from Apps->File Server
2. edit the fax extension (5000)
3. send a fax (tif or pdf)

What is the expected output? What do you see instead?

Error output in messages.log:

May 22 09:23:26 localhost freeswitch[1309]: 2012-05-22 09:23:26.977667 [ERR] 
mod_spandsp_fax.c:1289 Cannot send non-existant fax file 
[/usr/local/freeswitch/storage/fax/5000/temp/test.tif]
May 22 09:23:27 localhost freeswitch[1309]: 2012-05-22 09:23:26.997295 [ERR] 
mod_lua.cpp:198 /usr/local/freeswitch/scripts/fax_retry.lua:45: attempt to 
concatenate global 'fax_success' (a nil value)#012stack 
traceback:#012#011/usr/local/freeswitch/scripts/fax_retry.lua:45: in main chunk

What version of the product are you using? On what operating system?

rev. 2583, Centos 6.2

Please provide any additional information below.

Permission are ok and file is accessible.
<105>:ls -la /usr/local/freeswitch/storage/fax/5000/temp/test.tif 
-rw-r--r-- 1 apache apache 37504 May 22 09:38 
/usr/local/freeswitch/storage/fax/5000/temp/test.tif

Original issue reported on code.google.com by carlo.di...@gmail.com on 25 May 2012 at 10:35

GoogleCodeExporter commented 9 years ago
I sent many faxes through the latest version of FusionPBX on 23 June 2012. Make 
sure you have updated and try again. Also make sure system -> modules -> 
spandsp is running. Permissions can also be a problem as well as you have noted.

Original comment by markjcrane@gmail.com on 25 Jun 2012 at 4:23

GoogleCodeExporter commented 9 years ago
[ERR] mod_spandsp_fax.c:1289 Cannot send non-existant fax file 
[/usr/local/freeswitch/storage/fax/5000/temp/test.tif]

FreeSWITCH is saying it can't find the file and that is usually because of 
path, permissions, or CentOS the infamous SELinux. SELinux is probably your 
problem.

Original comment by markjcrane@gmail.com on 25 Jun 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Late to the party here, as usual, but may help someone else in the future. 
Clearly not a problem for the original post but the symptoms were similar.

My install of FreeBSD and FreeSwitch (what a marriage) was missing ImageMagic 
and ghostscript (I didn't install it, honest!). There was nothing to render the 
PDF and therefore no .tiff for the script to work with...

Original comment by rscot...@gmail.com on 10 Feb 2014 at 8:05