Email-to-Fax under Fax server

Status
Not open for further replies.
I was able to get this going doing the below steps. :)

1) Disabled the send queue:
In advanced / default settings / fax / send_mode - set enabled to false

2) Deleted all the previous records under:
app / fax server / sent
app /fax server / log

3) Login and delete everything in the below folders on the server:

var/lib/freeswitch/storage/fax/sent
var/lib/freeswitch/storage/fax/temp

4) Restarted the freeswitch service:

service freeswitch restart

After that I was able to send faxes from email and the web portal without issue.

I would still like to understand the queuing a little more and how it would work with a high volume of faxes but like everything else in FusionPBX the faxing seems to works great!
 
Has anyone been able to get this to work? IT seems everything stays in Queue and never processes. I can't find any information to troubleshoot the issue. Sending through the web works perfect but email to fax stays queued.

Are you periodically running the fax_emails.php program?
 
I would also note that in order to use gmail (and other email providers using different charsets) you need to install php mbstring. For fusion 4.4 and debian jessie the package:
Code:
apt install php7.1-mbstring
No need to edit the php.ini files.
 
I agree but compared to what others offer on the market today, the solution functions pretty well.

I have to also say 'thank you'. Your work and @KonradSC work is really well done!
 
After I did this, I now get 'error, subscriber absent' when trying to send.....
@modcar, I was having the same problem and I figured out it was because it was not finding a dialplan. Interesting was that outgoing calls were working just fine, but not Faxing. So, I went to the "Dialplan->Outgoing Routes" menu and set each of the dialplans' domain to "global"
 
  • Like
Reactions: abelitouci
@MacKiller That's really strange, I created a global outbound route and that fixed up sending faxes from the web UI.

Doesn't help with email to fax though - they just sit there with the status of "wait"

Believe it or not, there's still a real demand for faxing, especially in the medical and legal professions. Apparently "email isn't considered secure" in their eyes.

Update: Restarted freeswitch and fax from emails has started working. Unsure about web UI faxing, but no one has ever used that, asides from me testing
 
Last edited:
I've successfully configured email to fax service but I would like to know where I need to modify the parameters to enable or disable t38, ecm, fax speed, etc.

Anyone could point me on exact page on Fusion web panel?

Thank you.
 
put cron

* * * * * php /var/www/fusionpbx/app/fax/fax_emails.php

then

configure IMAP settings in fax server > advanced settings

then

configure email subject tag

then

configure authorized senders

then

SHOOT EMAIL to FAX
 
put cron

* * * * * php /var/www/fusionpbx/app/fax/fax_emails.php

then

configure IMAP settings in fax server > advanced settings

then

configure email subject tag

then

configure authorized senders

then

SHOOT EMAIL to FAX
cheers for this, giving this a test, what format is it expecting the email in, i.e. where do you put the destination number, does it fax whats attached to the email or the body - was not not aware of email to fax so this is new for me, be very handy tho!
 
@amals257
Thank you for the reply
here is my crontab -2 screenshot please note the use in crontab command is roor

1614562524227.png



Here is my IMAP Settings

1614562627124.png

and here are my mail settings

1614562758557.png

What I cannot figure out is where to put the number

my IMAP username is fax@domain.com.au

when I send email from my email client sheeraz@domain.com.au to fax@domain.com.au in the subject field i type [out] NUMBER

email does appear in the inbox of fax@domain.com.au

but nothing after that.

Any more input please ?

Thanks, Sheeraz
 


@amals257
Thank you for the reply
here is my crontab -2 screenshot please note the use in crontab command is roor

View attachment 2072



Here is my IMAP Settings

View attachment 2073

and here are my mail settings

View attachment 2074

What I cannot figure out is where to put the number

my IMAP username is fax@domain.com.au

when I send email from my email client sheeraz@domain.com.au to fax@domain.com.au in the subject field i type [out] NUMBER

email does appear in the inbox of fax@domain.com.au

but nothing after that.

Any more input please ?

Thanks, Sheeraz
 
Hi Sheeraz,
It seems your settings are good
You can try sending email in below format:

subject format: [out],FAXNUMBER
 
@amals257
Thank you for the reply
here is my crontab -2 screenshot please note the use in crontab command is roor

View attachment 2072



Here is my IMAP Settings

View attachment 2073

and here are my mail settings

View attachment 2074

What I cannot figure out is where to put the number

my IMAP username is fax@domain.com.au

when I send email from my email client sheeraz@domain.com.au to fax@domain.com.au in the subject field i type [out] NUMBER

email does appear in the inbox of fax@domain.com.au

but nothing after that.

Any more input please ?

Thanks, Sheeraz
Hi, your subject should be: [out]:xxxxxxxx where xxxx is the fax number to send to.
 
been messing around with this more, if I click Inbox now, I get this:

1614806078081.png
sent a few emails to the address I have registered with [out]:xxxxxxxx in the subject, but cant get it to fire yet - any ideas ?
 
Likely you are on an old version of PHP you can find out using this command.

php -v

Could also be a problem if you are on an old version of fusionpbx.
 
Status
Not open for further replies.