Solved Telnyx with U7, can't send new SMS but can reply to new ones

Status
Not open for further replies.

virtualcenter

Trainee Partner
Intermediate Cert.
Joined
Mar 13, 2023
Messages
4
Reaction score
1
Hello,
We have encountered problems with SMS and after upgrading to U6, and now on U7.
Users with DID can receive SMS and reply ok to these, but can't send new SMS.
Anyone knows what could be the cause?
Do I need to delete the trunk and create it again? I have enabled SMS on the trunk with no problems.

Thanks,
 
What do you mean by "can't send new sms"? The option isn't there or they're getting an error or something else?
 
They can send new SMS via the web interface, but shown with a red X. However, when replying to incoming SMS, it works fine.
 
They can send new SMS via the web interface, but shown with a red X. However, when replying to incoming SMS, it works fine.
Okay, when you go in the event log in the management console, do you see the error message? It should show up.
 
Check the webhook URL in telnyx make sure it matches in 3cx

sms.PNG
 
Hi everyone,
Okay, when you go in the event log in the management console, do you see the error message? It should show up.
After checking this, there was a problem with how the outbound number was formatted.
We had this trunk registered using 10 digit US numbers and it used to send out SMS just fine.
Logs show:
Exception: { "errors": [ { "code": "40305", "title": "Invalid 'from' address", "detail": "The 'from' address should be string containing a valid number associated with the sending messaging profile.", "meta": { "url": "https://developers.telnyx.com/docs/overview/errors/40305" } } ] }
Problem was fixed after appending +1 to the 10-digit number registered on the Telnyx trunk.

Thanks.
 
  • Like
Reactions: YiannisH_3CX
Status
Not open for further replies.

Forum statistics

Threads
112,065
Messages
590,584
Members
165,019
Latest member
rsaldin@advancedbrainspin