Hello,
I’ve been experiencing a very strange issue for 5 days with sending SMS messages through RDS-RCS. I don’t know where the problem could be coming from—possibly from an update (I updated EspoCRM and all modules) or something else. I should mention that I haven’t modified the SMS code.
WHAT I TRIED:
What I observed:
When an SMS is sent for 2FA authentication, it sends only one SMS. But when I try to send an SMS from a workflow, it sends n SMS messages —continuously—until RDS-RCS cuts off the sending after 20 messages, because it goes into a loop.
Simple buton sms sending, I integrated a simple code to check if the variables were to blame, but even with this code, the SMS is sent in a loop to a single phone number.
After i press the send sms button i recive an error500, and in the log dosent recive any specific error for the error 500, only the sms was sent 20 times, this log x20.
See the log:
What could be the cause of the SMS sending process entering a loop?
I also have other workflow buttons, such as sending emails or generating PDFs, but none of them go into a loop—only the SMS sending does.
Thank you!
I’ve been experiencing a very strange issue for 5 days with sending SMS messages through RDS-RCS. I don’t know where the problem could be coming from—possibly from an update (I updated EspoCRM and all modules) or something else. I should mention that I haven’t modified the SMS code.
WHAT I TRIED:
- I disabled the cron job.
- I disabled all workflows.
- I performed a restore from 4 days ago when everything was working perfectly on the entire VM.
- I asked RDS-RCS if they had modified the API, but their answer was negative—they didn’t change anything.
What I observed:
When an SMS is sent for 2FA authentication, it sends only one SMS. But when I try to send an SMS from a workflow, it sends n SMS messages —continuously—until RDS-RCS cuts off the sending after 20 messages, because it goes into a loop.
Simple buton sms sending, I integrated a simple code to check if the variables were to blame, but even with this code, the SMS is sent in a loop to a single phone number.
PHP Code:
$body = 'test sms2';
$phoneNumber = '+40747995968';
$smsId = record\create(
'Sms',
'to', $phoneNumber,
'body', $body
);
ext\sms\send($smsId);
See the log:
Error | "{"jsonrpc":"2.0","id":1,"result":{"messageId" :"10 42a79566f","operator":"Orange","errorCode":0,"erro rMessage":""}}\n" | Astăzi 18:59 | |||
Error | "HTTP/1.1 200 \r\nX-Content-Type-Options: nosniff\r\nX-XSS-Protection: 1; mode=block\r\nCache-Control: no-cache, no-store, max-age=0, must-revalidate\r\nPragma: no-cache\r\nExpires: 0\r\nStrict-Transport-Security: max-age=31536000 ; includeSubDomains\r\nX-Frame-Options: DENY\r\nContent-Type: application/json-rpc\r\nContent-Length: 114\r\nDate: Tue, 08 Jul 2025 15:59:42 GMT\r\n\r\n{"jsonrpc":"2.0","id":1,"result":{"mess ageId":"1042a79566f","operator":"Orange","errorCod e":0,"errorMessage":""}}\n" |
I also have other workflow buttons, such as sending emails or generating PDFs, but none of them go into a loop—only the SMS sending does.
Thank you!
Comment