[OpenSIPS-Devel] [opensips] MSILO Module not deleting sent messages Opensips 2.1.2 (#798)

jalung notifications at github.com
Mon Mar 21 08:03:55 CET 2016


Systemd was Rate Limiting the console logs so that's the reason the capture above was incomplete. Piping it to disk revealed the full debug log, thanks for the tip.

The problem is that mongo does not have the AUTO INCREMENT id field such as MySQL . The equivalent key is " _id"  and is alphanumeric. MSILO uses the id key as the msgid and as such cannot do updates or deletes.    Another side effect is that, the core variable** $mi is always zero**.

Currently using the patch below ( provided as reference). When the offline message is stored, it adds  the "id" field that the module is querying on the m_dump().

[msilo.txt](https://github.com/OpenSIPS/opensips/files/181750/msilo.txt)


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/798#issuecomment-199150938
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160321/a402ad55/attachment.htm>


More information about the Devel mailing list