On Sun, Mar 09, 2014 at 11:29:09AM +0100, Alexander Chemeris wrote:
If you want billing, you could route all messages to SMPP, route/ACL/bill there and send them back to the internal SMSC. That's what Rhizomatica guys are doing and it works well. In this outside SMPP entity you could do whatever CDR and storage you want, without touching the OpenBSC code, which is in line with our discussions with Harald.
The same argument applies to your initial patch. I am not comfortable with deleting SMS from the database right away. I understand the privacy issue we have for XX3C events where we would want to clear the user content after the SMS has been sent. And I understand the need for cleaning the DB to save space. But the immediate removal troubles me.