I want to create a shared routed inbox based on the receiving number, was able to make it work by setting up the sender_id in the ‘route incoming SMS’ section.
My current problem is that when the settings of sender_id in the ‘route incoming SMS’ section is copied to another user, the entries in ‘_tblSMSInbox’ table is multiplied exponentially based on the number of users.
Example, I have two users with the same settings and the entries in ‘_tblSMSInbox’ are 4. Tried using three users and the entries are 9. Basically looping and making a copy for each user, looping based on the number of users.
Would like to know if there’s a workaround for this and make it just 1. Was fiddling with \core\recvsms\fn.php but haven’t worked it out yet.
‘_tblRecvSMS’ is okay and the copy is single.