Trouble with Inbound SMS via Flowroute

Status
Not open for further replies.

This_guy_here

Joined
Jan 7, 2023
Messages
8
Reaction score
0
I am new to Flowroute as a SIP provider, and also the first time setting up SMS in 3CX. I'm on 18.5 and have setup my trunk with 1 DID. Outbound SMS is working fine, but I'm not getting any inbound SMS.

In Flowroute I have SMS enabled, with my 3CX webhook URL. The version in Flowroute is set to v2.0. Flowroute tells me the webhook URL is not reachable. Not really show where to go from here.

Code:
= = = >
{
    "levelname": "WARNING",
    "message": "HTTPStatusError while attempting to send callback.",
    "pathname": "/app/messaging/backend/callbacks.py",
    "lineno": 578,
    "name": "messaging.backend.callbacks",
    "exc": "Server error '500 Internal Server Error' for url 'https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78'\nFor more information check: https://httpstatuses.com/500",
    "e.__dict__": {
        "_request": "<Request('POST', 'https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78')>",
        "response": "<Response [500 Internal Server Error]>"
    },
    "destination": "https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78",
 
I am new to Flowroute as a SIP provider, and also the first time setting up SMS in 3CX. I'm on 18.5 and have setup my trunk with 1 DID. Outbound SMS is working fine, but I'm not getting any inbound SMS.
I am having similar issues. I can send outbound SMS messages, but inbound are not working post update 6.
 
I found a command that did work for me in the past, and with a little modification, worked again now:

The information needs to be updated if INBOUND SMS is not working...

curl https://api.flowroute.com/v2/numbers/FlowrouteDID/relationships/sms\_callback -H "Content-Type: application/vnd.api+json" -X POST -d '{"data": {"attributes":{"callback\_url": "3CXWebhook"}}}' -u acesskey:apikey

Be sure to enter the FlowrouteDIDs that receive SMSs, I had to run this on each of the numbers we use. Once I did, and once I had updated the settings as per the updated documentation, all went back to working. Hope this works for you as well.

And from 3CX, I'm wondering why this would need to be done? Do I need to speak with Flowroute?
 
I am new to Flowroute as a SIP provider, and also the first time setting up SMS in 3CX. I'm on 18.5 and have setup my trunk with 1 DID. Outbound SMS is working fine, but I'm not getting any inbound SMS.

In Flowroute I have SMS enabled, with my 3CX webhook URL. The version in Flowroute is set to v2.0. Flowroute tells me the webhook URL is not reachable. Not really show where to go from here.

Code:
= = = >
{
    "levelname": "WARNING",
    "message": "HTTPStatusError while attempting to send callback.",
    "pathname": "/app/messaging/backend/callbacks.py",
    "lineno": 578,
    "name": "messaging.backend.callbacks",
    "exc": "Server error '500 Internal Server Error' for url 'https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78'\nFor more information check: https://httpstatuses.com/500",
    "e.__dict__": {
        "_request": "<Request('POST', 'https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78')>",
        "response": "<Response [500 Internal Server Error]>"
    },
    "destination": "https://m.my3cx.ca/sms/flowroute/a8a4444e-ce38-4a8a-80f8-638310ac0f78",
I had this happen as well after the update. I went in and even recreated the SIP entry, still no go on inbound SMS. Doing some more research with Flowroute, you can set the callback URL in the Preferences and API Configs... well, another document said to set it by going to your DIDs and choose the action of 'Set Call Back URL' so I did it there the second time. Bingo, working. Not sure why, but it resolved the issue.
 
  • Like
Reactions: YiannisH_3CX
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,399
Messages
592,333
Members
165,582
Latest member
GMT-re