SMS doesn't work when the rule set as "Editing Record"

enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

SMS doesn't work when the rule set as "Editing Record"

Post by enishemed »

Dear Sergey,

In sqnding SMS rules, if I set the rule as "Adding New Record", everything is well. But if I set the rule as "Editing Record", the sms module is not working and sms is not sent. Could you please check this issue.
Attachments
Ekran görüntüsü 2023-12-01 174219.png
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS doesn't work when the rule set as "Editing Record"

Post by support »

Should works. Please do more test. Send directly to some number and so on.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: SMS doesn't work when the rule set as "Editing Record"

Post by enishemed »

Dear Sergey,

I did more tests. I sent directly to numbers. But if I set rule as "Editing Record", it does NOT work. It works only if the rule set as "Adding New Record". Could you please check?
support wrote: 02 Dec 2023, 19:02 Should works. Please do more test. Send directly to some number and so on.
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS doesn't work when the rule set as "Editing Record"

Post by support »

Please create similar rule on personal demo https://www.rukovoditel.net/demo.php
And give me the link to your demo. I will check your configuration.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: SMS doesn't work when the rule set as "Editing Record"

Post by enishemed »

The demo is configured.

Please go to Warehause entity.

Create an item with status to "open", then click on "Change Status to Closed" button to change the status to "closed". With this the sms should be sent.

Please do not forget to install the sms module. I have create the sms rule.

Thanks.

https://pdemo.rukovoditel.pro/3.4/index ... mo_id=2741
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS doesn't work when the rule set as "Editing Record"

Post by support »

Works ok form me. I have configured Telegram bot.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: SMS doesn't work when the rule set as "Editing Record"

Post by enishemed »

My sms configuration is “cURL Query”. It doesn’t work for cURL. Can you please also check for cURL query.

I also use sms::send_by_id in process, but not succeeded.

https://docs.rukovoditel.net/index.php?p=58#send_by_id
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS doesn't work when the rule set as "Editing Record"

Post by support »

All sms rules works in the same way. If one sms rule works then other will work too.
See plugins\ext\classes\sms.php
There is option

Code: Select all

$this->is_debug = false;
Set it to true and sms request will be stored in log/sms_Y_M.txt file. So you can check if app send sms request.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: SMS doesn't work when the rule set as "Editing Record"

Post by enishemed »

Well, I have 3 ruko sites, and 2 of them send sms, but one of them doesn't send sms when the rule set as "Editing Record". Maybe there is a problem in php files or database configuration. Could you please help which files and db tables should be configured or rewritten.

thanks.
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: SMS doesn't work when the rule set as "Editing Record"

Post by support »

They are on different servers? Check php error logs.
Post Reply