Ring Central FaxSMS in 7.0.3

Good morning, Having some difficulties getting the faxsms module for ring central fully operational. Any help with debugging here would be greatly appreciated

`PHP Fatal error:  Uncaught Error: Call to undefined method OpenEMR\\Modules\\FaxSMS\\Controller\\RCFaxClient::getMessageContent() in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php:950\nStack trace:\n#0 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php(921): OpenEMR\\Modules\\FaxSMS\\Controller\\RCFaxClient->processMessageStoreList()\n#1 [internal function]: OpenEMR\\Modules\\FaxSMS\\Controller\\RCFaxClient->getPending()\n#2 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/AppDispatch.php(83): call_user_func()\n#3 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/AppDispatch.php(56): OpenEMR\\Modules\\FaxSMS\\Controller\\AppDispatch->dispatchActions()\n#4 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php(48): OpenEMR\\Modules\\FaxSMS\\Controller\\AppDispatch->__construct()\n#5 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/AppDispatch.php(271): OpenEMR\\Modules\\FaxSMS\\Controller\\RCFaxClient->__construct()\n#6 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/AppDispatch.php(234): OpenEMR\\Modules\\FaxSMS\\Controller\\AppDispatch::getServiceInstance()\n#7 /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/index.php(25): OpenEMR\\Modules\\FaxSMS\\Controller\\AppDispatch::setApiService()\n#8 {main}\n  thrown in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 950, referer: https://**/interface/modules/custom_modules/oe-module-faxsms/messageUI.php?type=fax

PHP Warning:  Attempt to read property "name" on null in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 939

PHP Warning:  Undefined property: stdClass::$from in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 939

PHP Warning:  Attempt to read property "phoneNumber" on null in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 939

PHP Warning:  Undefined property: stdClass::$from in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 940

PHP Warning:  Attempt to read property "faxErrorCode" on null in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 940

PHP Warning:  Undefined array key 1 in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 957

PHP Warning:  Undefined property: stdClass::$faxErrorCode in /var/www/localhost/htdocs/openemr/interface/modules/custom_modules/oe-module-faxsms/src/Controller/RCFaxClient.php on line 940
`

I have a PR up with a fix for this issue.
I’ll be doing another push later today with more updates. Hopefully the capability for automating notifications will be included.

1 Like

@sophisticated_acquis @hitechelp
Hi Guys,
Here is a test patch of entire module with updates and new background service manager for notifications. See New feature FaxSMS module - Auto notifications · Issue #8312 · openemr/openemr · GitHub

If you want to test unzip from openemr root.

faxsms_v5.0.0_module.zip (100.7 KB)

1 Like

Thanks. I will test it out

1 Like

@hitechelp @sophisticated_acquis I found issue where background service is not showing. Looking into

v5 is looking good. Apache2 error log is clean.

Thanks David. I’m guessing you’re using Docker, is that true?
My testing for install of patch on windows works well including show new Background Service But for some reason the new files aren’t loading on Docker ubuntu. I’m not a big Docker user and may be doing restarts wrong for repopulating container from source.

No Docker here, above my pay grade.

Regards,
David

Well turns out I was using wrong docker, gesh!
So once I loaded correct docker service shows. For you I suspect the file interface/modules/custom_modules/oe-module-faxsms/library/setup_services.php is not the new file.

It’s showing, just setup the auto send and that went fine. Just have to wait to see if it will kick-off on its own.

Regards,
David

1 Like

Oh great David, thanks so much for quickly testing. Ya had me worried!:slight_smile:
I’ve tested the new services considerably but, I may have missed something but I work hard to have error free code.

I personally know how hard you work and we at FPA are very proud to have sponsored a small part of this endeavor. We’ll be eagerly supporting further testing of suggested refinements.

Regards,
David

1 Like

Well I appreciate the support.

Would you guys give me examples of what you ask user for response to message. I want to see how much time it would take to add automation to notifications responses such as cancel appointment etc…

version 5 good here, too. Using docker here.

1 Like

We ask patients to reply C to confirm, X to cancel, and R to reschedule,
FYI unless I’ve missed a setting someplace, we still have to send manually,

What are your setting?

Are you using background services from module?

Yes. Set it up. “A courtesy reminder for ******* For the appointment scheduled on: Thursday May 8, 2025 At: 9:00 AM Until: 09:50:00 With: ****** ****** Of: ********** Please call if unable to attend”. The patient did not receive the reminder. In attempting to send SMS Reminders, I received the message: Error:API Error: The requested feature is not available - 403. I am looking into it now.