simontelephonics / smsconnector

SMS Connector module for FreePBX 16 and 17
https://simon.tel/open-source/
GNU General Public License v3.0
43 stars 16 forks source link

Feature request: Integrate MacroDroid as "virtual" SMS provider #18

Open Sarmingsteiner opened 1 year ago

Sarmingsteiner commented 1 year ago

Thanks for the hard work so far!

It would be cool if MacroDroid (an Android app for automatisation tasks) could be integrated as "virtual" SMS provider, so that SMS can be sent via mobile phone and read out from the mobile phone via FreePBX (thus all agents can send/read).

I examined your code a little bit, how can the "Sample_provider" (PHP-file Sample_provider-name) be activated in the UI?

In my humble understanding, the integration of outbound SMS should be feasible:

Since I am a noob in coding, I wonder if / how inbound SMS can be transferred to FreePBX. MacroDroid supports to extract the data from a received SMS into variables and can create a http-request containing these variables (maybe POST method?).

There is a similar approach, but only for outbound SMS and without integration in the FreePBX UI: https://github.com/vaestvita/freepbx_sms_notifications

billsimon commented 1 year ago

Sure, it looks pretty straightforward to do both inbound and outbound SMS. I doubt MMS could be made to work though.