Email-to-Fax under Fax server

Status
Not open for further replies.

tag915

Member
Sep 24, 2018
67
6
8
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!
 

roger_roger

Member
Oct 12, 2016
198
19
18
70
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?
 

brb5548

Member
Sep 26, 2018
53
9
8
46
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.
 

brb5548

Member
Sep 26, 2018
53
9
8
46
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!
 

MacKiller

New Member
Dec 10, 2018
6
3
3
49
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

modcar

Member
Jun 9, 2017
83
5
8
44
@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:
Feb 8, 2018
55
3
8
47
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.
 

mcs3ss2

Active Member
Sep 8, 2020
286
33
28
AU
It would be really helpful if you can write step by step how you setup email2fax
 

amals257

New Member
Apr 6, 2020
6
0
1
35
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
 

s2svoip

Member
Dec 9, 2019
259
8
18
44
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!
 

mcs3ss2

Active Member
Sep 8, 2020
286
33
28
AU
@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

New Member
Apr 6, 2020
6
0
1
35


@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
 

amals257

New Member
Apr 6, 2020
6
0
1
35
Hi Sheeraz,
It seems your settings are good
You can try sending email in below format:

subject format: [out],FAXNUMBER
 
Feb 5, 2021
52
4
8
55
@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.
 

s2svoip

Member
Dec 9, 2019
259
8
18
44
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 ?
 

markjcrane

Active Member
Staff member
Jul 22, 2018
503
177
43
49
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.