Duplicate send SMS

Hello
Sometimes playsms send duplicate SMS with generic http gateway

Here is log

host.local 2024-06-15 17:21:28 PID666d9c234df95 artisan21 L2 sendsms_queue_push # saving queue_code:caaa4ac25375cd4234e70be555aea046 dst:01234567890
- - 2024-06-15 18:18:53 PID666d9ea09789f - L2 sendsmsd # sending queue_code:caaa4ac25375cd4234e70be555aea046 smslog_id:12455809 to:01234567890 sms_count:16384 counter:827
- - 2024-06-15 18:18:59 PID666d9ea09789f - L2 simplerate_hook_rate_cansend # allowed user uid:799 sms_to:01234567890 adhoc_credit:40887.6 count:4 rate:1500.000 charge:6000 adhoc_balance:34887.6
- - 2024-06-15 18:18:59 PID666d9ea09789f - L2 sendsms # saving smslog_id:12455809 u:799 parent_uid:0 g:0 gw:generic smsc:HTTP-GENERIC-GW s: d:01234567890 type:Panel unicode:1 status:0
- - 2024-06-15 18:18:59 PID666d9ea08f27a - L2 sendsmsd # sending queue_code:caaa4ac25375cd4234e70be555aea046 smslog_id:12455809 to:01234567890 sms_count:16384 counter:827
- - 2024-06-15 18:18:59 PID666d9ea08f27a - L2 simplerate_hook_rate_cansend # allowed user uid:799 sms_to:01234567890 adhoc_credit:28887.6 count:4 rate:1500.000 charge:6000 adhoc_balance:22887.6
- - 2024-06-15 18:18:59 PID666d9ea08f27a - L2 sendsms # saving smslog_id:12455809 u:799 parent_uid:0 g:0 gw:generic smsc:HTTP-GENERIC-GW s: d:01234567890 type:Panel unicode:1 status:0
- - 2024-06-15 18:18:59 PID666d9ea09789f - L2 sendsmsd # result queue_code:caaa4ac25375cd4234e70be555aea046 to:01234567890 flag:1 smslog_id:12455809
- - 2024-06-15 18:19:00 PID666d9ea08f27a - L2 sendsmsd # result queue_code:caaa4ac25375cd4234e70be555aea046 to:01234567890 flag:1 smslog_id:12455809

Hi,

I can imagine what could be the issue is but currently don’t have time and resources to actually pin point what it is

Seems like a race condition or some sort, the previously processed SMS for delivery hasn’t been marked delivered but the next sendsmsd() already running for that same SMS, something like this.

anton

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.