If your 3CX license is a "Free" version,
the SMS functionality is not intended to work.
looks like the provider URL is completely missing from the DN Properties. i will attempt to recreate the trunk during lunch or after business hours today and let you know how it wen, thanks for your help.If it is not a free version, see the following:Credit : @bitn2 (Response I found in this post)
Don't worry about the "Generic" label; this means that the Voip.MS SMS API (JSON payload) adheres to the 3CX generic model, which is great. This indicates that Voip.MS did not "force" 3CX to adopt a custom model. Personally, I prefer this because, in my opinion, if a problem arises with the SMS mechanism, it is much easier to diagnose. You can simply test with the generic SIP trunk template using a WebHook testing tool, and it will be possible to easily identify issues using the guide published by 3CX.
If you have any "open" SMS conversations in the WebClient, please archive them and start a new conversation to ensure the conversation uses the new configurations.
Try again.
If the issue persists, proceed;
If it's On Premise / self-hosted,
Access the "DN properties" menu
(See the procedure here for enable;
https://www.3cx.com/community/threa...ension-and-queue-properties.81524/post-376714 )
Refresh the page, go to the new "DN properties" tab.
In the dropdown menu, find the Voip.MS SIP Trunk name corresponding to your setup.
Review the DN properties, you will find the PROVIDER_URL property .
Do not change anything ! (do so at your own risk)
This should have the value : https://voip.ms/api/3cx/msg
If not, do not change it.
Delete the SIP Trunk configuration on the voice & chat page (not the DN properties) and recreate the SIP TRUNK configuration.
Ensure that your DID is not configured twice on your phone system.
Ensure that SMS conversations are archived.
I have tested on my 3CX server, and I see the PROVIDER_URL property is correctly referenced.
Any chance 3CX can create a method to conform existing VOIP.ms template to the new format? Delete and recreate isn't quite tenable for those with dozens of installs and hundreds of DIDs...
It is important to note that the 3CX team has never validated that modifying or manipulating the DN properties used by the 3CX system (in fact, they have always indicated the opposite, is NOT recommended). Therefore, consider this method as not recommended until further notice from the 3CX staff. Although this approach has worked for me on several 3CX systems without causing immediate issues, I cannot guarantee the long-term effects or potential risks to other features or the stability of the SIP Trunk. I took the risk with full knowledge of the consequences, and you? |
PROVIDER_URL
MANUALLY ADDED BY THE USER
Thanks Guillaume, first test seems to have that working. I see how it would work, and hopefully it'll persist after updates.
except trying to go to the my trunk in 3CX, go into “SMS” and click the “enable” checkbox and them enter the API key, then save button seems to not want to save the data.
I ran in to the same issue any ideas on how to fix this?i switched from generic trunk to move the settings into the voip.ms trunk after the update and while inbound sms works fine, im getting the following:
Code:Failed to send message(s) to the provider 'generic' from 'REDACTED' to 'REDACTED'. Exception: {"errors":[{"code":"10009","meta":{"url":"https://developers.telnyx.com/docs/overview/errors/10009"},"title":"Authentication failed","source":{"pointer":"/"},"detail":"Could not find any usable credentials in the request."}]}
I've noticed that provider says generic in the error, could it be stuck trying to use the old non-existent trunk?
I followed @Guillaume Bourgeois instructions of deleting and recreating, apparently there is a setting that doesn't get transferred so you need to delete the trunk and recreate it. (that's assuming you have a pro license or greater as otherwise SMS isn't supported)I ran in to the same issue any ideas on how to fix this?
Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.