SMS FusionPBX 5.3 | Telnyx | Twilio | help

adrnandes

Member
Nov 19, 2024
32
0
6
39
Hi,
Inbound SMS is arriving on my Groundwire Softphone, but it seems to be being sent to all extensions, instead of just the extension with the correct DID specified in the Inbound routes.
My web hook (https://my-fusionpbx-domain/app/messages/index.php) has been configured correctly in the Telnyx dashboard.

Outbound SMS, does not work at all.

I have attached the screenshots in case anyone can please give me some suggestions.
Thank you.
 

Attachments

  • Inbound-1.png
    Inbound-1.png
    576.8 KB · Views: 13
  • Outbound-1.png
    Outbound-1.png
    270 KB · Views: 12
  • Telnyx Provider SMS.png
    Telnyx Provider SMS.png
    369.6 KB · Views: 12

dcitelecom

Member
Oct 20, 2021
153
3
18
61
Did you create an SMS Destination that matches the Telnyx DID and points to your Groundwire extension?
 

adrnandes

Member
Nov 19, 2024
32
0
6
39
Hi dcitelecom,
When I created the Destination with the DID corresponding to the Groundwire extension, I selected the "voice" and "txt" boxes, so the inbound route was created automatically, but I didn't see anything specific to SMS anywhere.
Please see the attached printout.
Thank you very much.
 

Attachments

  • Inbound Routes.png
    Inbound Routes.png
    174.2 KB · Views: 12

adrnandes

Member
Nov 19, 2024
32
0
6
39
I tried several ways, but I couldn't create a specific Telnyx SMS inbound route, a specific extension.
If you have any suggestions, I appreciate it.
Thank you.
 

adrnandes

Member
Nov 19, 2024
32
0
6
39
Thanks for your help, but in my version 5.3 I don't have this option.
I only have the "message" option but it only works as a message sending field.
 

Attachments

  • sms.png
    sms.png
    129.5 KB · Views: 4
  • Screenshot 2024-12-12 at 17.33.14.png
    Screenshot 2024-12-12 at 17.33.14.png
    65.3 KB · Views: 3
  • Screenshot 2024-12-12 at 17.33.10.png
    Screenshot 2024-12-12 at 17.33.10.png
    60.3 KB · Views: 3
  • Screenshot 2024-12-12 at 17.32.56.png
    Screenshot 2024-12-12 at 17.32.56.png
    83.8 KB · Views: 3
  • Screenshot 2024-12-12 at 17.32.49.png
    Screenshot 2024-12-12 at 17.32.49.png
    93.4 KB · Views: 3

dcitelecom

Member
Oct 20, 2021
153
3
18
61
I am running an older, stable version of Fusionpbx. I haven't upgraded in a while because every time I do, it breaks something or the new version isn't backwards compatible with existing settings. I can't even count the number of times I upgraded a stable version and after the upgrade, my previously ok settings were now wrong and causing all sorts of errors.

As such, I don't know the new Messages app but the SMS app can be installed from here and works without any issues for me. https://github.com/fusionpbx/fusionpbx-apps/tree/master/sms
 

dcitelecom

Member
Oct 20, 2021
153
3
18
61
If Messages is the new way of sending and receiving SMS, maybe continue your efforts there. Is anyone using the new Messages app for SMS?
 

pbxguru

New Member
Nov 7, 2024
17
2
3
49
I guess the only recourse here is to interpret the PHP code:


It sure would be nice to have a better understanding of the messages app architecture. It's not clear, and community's issues here prove it.

On my setup, I have 5.2 and configured Messages app and Telnyx provider. Message is delivered to FusionPBX, and it shows in the Messages Log

mypbx.blah/app/messages/message_logs.php?show=all

But it does not show up on the domains message log and Groundwire registered extension does not get notified.

This is SIP SIMPLE. But it's not simple...
 

adrnandes

Member
Nov 19, 2024
32
0
6
39
Hi @pbxguru,
Thank you also for your comment.
In my case, with Telnyx, I am able to receive the SMS on Groundwire, but it is going to all extensions, as if there was a specific inbound route missing for the SMS, to a specific extension number.
In the Portsip app, the message does not appear, but it emits a notification sound.
The problem is that I did a lot of tests but I was not able to find in the dashboard where I could create this route.
In the case of Twilio, I also had no success for inbound or outbound.
An important recommendation to be able to receive the SMS,In addition to inserting the web hook into the Telnyx portal, something that made a difference was keeping the "outbound caller id number" in the extension.
I will also do some tests with SignalWire soon to try to have some success.

Web hook: https://your-domain/app/messages/index.php
 

pbxguru

New Member
Nov 7, 2024
17
2
3
49
I am able to receive the SMS on Groundwire, but it is going to all extensions,
Interesting. Are all the extensions on same domain? What about extensions registered on different domains? Do the extensions have unique DIDs assigned? Or could it be that all users have access to all extensions?

Regardless, it would be important to replicate your scenario because it could be a security vulnerability. Inbound SMS traffic should only be destined to a single extension. I'm not aware of a broadcast method for SIP messages.
 

adrnandes

Member
Nov 19, 2024
32
0
6
39
Hi @pbxguru, thanks for your comment.
At the moment I only have one domain, and the scenario is very simplified, with only 4 extensions for testing.
Yes, extensions have DID.
I will do some more tests and if I am not successful, I will prepare some screenshots and post them here.
Thank you.