Another new feature for v5.0.2(1): Fax with SMS notification module

Because of the different os we run under this is the way I chose to implement however, you can setup a cron to run rc_sms_notification.php. Problem is authentication where you’d need to bypass. I need to fix this if run from cli.
@tywrenn how did you end up doing this?

@sjpadgett This needs to be pulled into the code but you must add the following two lines to rc_sms_notification.php:
$ignoreAuth = 1;
$_SERVER[‘HTTP_HOST’] = ‘localhost’;

FYI, fix for cli SMS notification will be in module v1.1 which will release with patch(2).

Module version with cli fix is available as v1.1.0 for v5.0.2
composer require openemr/oe-module-faxsms:1.1.0 or update

This will allow SMS notify to run in cron/task or command line.

Until OpenEMR patch 2 do not install module v2.0.0 as it is for v5.0.3 and BS4!!! (patch will prevent install on v5.0.3)

Hi I got errors when executing this script:
robik@robik-Vostro-200:/var/www/openemr$ composer require openemr/oe-module-faxsms

In RemoteFilesystem.php line 515:

The “https://packagist.org/packages.json” file could not be downloaded: fai
led to open stream: Connection timed out

require [–dev] [–prefer-source] [–prefer-dist] [–no-progress] [–no-suggest] [–no-update] [–no-scripts] [–update-no-dev] [–update-with-dependencies] [–update-with-all-dependencies] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [–sort-packages] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–] []…

I there solution to fix it. Thnks Robert

try composer require openemr/oe-module-faxsms:1.1

Thank you for detailed information.
Did very quick installation without any errors.
Just cant test this new feature, because don’t have subscriptions with Ring-central yet.
I’m using eFax for many years already, and not really want to change my service provider.
Is there is any way to use Efax for fax service?

I really have no plans to add more vendors. eFax looks nice and probably could be done and i’m guessing it is pretty close to RC. Both are more or less enterprise.

Still for RC you will have to open a developers account to set up the validation before being allowed to go to production mode. This require a certain number of transaction to be achieved before being allowed realtime upgrade to live use. This is free and charge don’t happen until you go live.
So for testing, open a dev account.

I already planing to get RC Office Premium account for $30 a month. Is there is any information how to setup RC validation.
Still checking information about Twilio service, I think it most integrated for large enterprise users, and there is no any information about fax and sms combined services.

Just created Twilio trial account, to check how it will work. But need to clarify some information about account credentials input from Twilio to OpenEMR.
Client ID * is - ??
Client Secret * - ??
OAuth Redirect URI is -???

Twilio only recently got in the fax business and has limited service available. Like, can only send PDF and they don’t support cover pages or a portal to manage faxes etc.
So my Twilio interface treats fax as if a fax machine. SMS for notification work well.

RC on the other hand has most everything including a link to your account portal that allows managing all your transactions. It’s just harder to setup that Twilio.

Important Setup points:


I already start with Twilio, just want to try how it works. Just need to correct credential setup for EMR.
Then will try with RC also, to compare service

Ensure when getting Phone Number to set capabilities to: Voice, Fax, SMS, MMS
While testing disable SSL Certificate Validation

OAuth Redirect URI is - not used in twilio
Credentials: Client ID/Client Secret are created at Settings/API Keys in twilio

In your twilio account you need
WebHook
https://yourdomain/openemr/interface/modules/custom_modules/oe-module-faxsms/faxserver/receivedFax?site=default
at

Hope this helps as it is a process.

imo RC is better but more difficult in setting up.
As i’ve said the Twilio is basically a fax machine but many use it strictly to do appointment SMS notifications. SMS/VOIP is what Twilio is known for.

Entered all information but cant save it. Save button is not responding!

Others have had this issue. Even in this thread and elsewhere in forums. You’ll need to research.

Deleted cash twice, but the problem is not resolved.
Save button not responding, and credentials empty after reopening.
But twilio cash file generating.

Turn on Globals->Logging User Debugging Options to All
log out then in
try again look for errors to popup
For testing just put any text in dialog for speed

Same, no any changes. All credentials saved in _credentials_twilio.php, but not saved in credentials

sounds like the encryption keys are not the same. If decryption fails then module think credentials weren’t created.
delete cache dir again and also delete
sites/default/documents/logs_and_misc/methods/sixa and sixb or whatever they are.
log out and in then try.