openemr / oe-module-faxsms

Fax and SMS feature for OpenEMR
3 stars 6 forks source link

Fax Module Fails to send documents from patient docs and patient reports #8

Open tywrenn opened 4 years ago

tywrenn commented 4 years ago

The issue here in the documents page is that the 'file://' extension gets tacked onto it, therefore making it fail. The report area tacks it onto the /tmp directory when it isn't even located there.

sjpadgett commented 4 years ago

You may not see the tmp directory as it's deleted often. This works but I will test against, what version Ty? Is this your clinic or BS project?

tywrenn commented 4 years ago

@sjpadgett This is for the clinic. I was able to fix the document button with a small patch which i'll share soon but the reports area is completely not working. Running 5.0.2 all latest patches applied

sjpadgett commented 4 years ago

I've tested this on your server several times. I'll look at again tonight but could be a dir permission issue. As is it is(502) running on at least 10 sites I know of so could be a callback path issue. Anyway, let me look see before pushing any code.

sjpadgett commented 4 years ago

@tywrenn This is working for me on your site. My site as well which is what i'm testing against You do know PDF only. I think it fails right away if not....

'file://' extension

Perfectly legit path and is used throughout documents

I was able to fix the document button Send me what you've done and maybe it will point me to an intermittent problem.

Custom Report fails on you site(not mine) but doc appears to be sent and rejected by twillio. Still this is not reliable and I need to take closer look. Maybe something with PDF format or it just wants to aggravate me!!! So you're not crazy, Ty and i'll get to the bottom of(if indeed a bottom exist)....

sjpadgett commented 4 years ago

@tywrenn I've tested forwards and backwards and this is just working for me. I think i'll add some additional file content and vendor transaction tracking to class. It'll be one file so you can just add to openemr tree. Maybe tomorrow or later tonight. Also, have you done any mods to fax classes? If so where?