smsconnector icon indicating copy to clipboard operation
smsconnector copied to clipboard

Feature request: Integrate MacroDroid as "virtual" SMS provider

Open Sarmingsteiner opened this issue 1 year ago • 1 comments

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:

  • Webhook is created / provided by MacroDroid
  • No API, secrets or keys needed
  • Variables for recipients' CID and SMS text are provided

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

Sarmingsteiner avatar May 05 '23 10:05 Sarmingsteiner