Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Sarmingsteiner opened this issue May 5, 2023 · 1 comment
Open
Labels

Comments

@Sarmingsteiner
Copy link

Sarmingsteiner commented May 5, 2023

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

@billsimon
Copy link
Contributor

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

@billsimon billsimon added the enhancement New feature or request label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants