Hello all.
I'm consistently watching a memory increase in kamailio when dealing with PRESENCE events, namely SIP PUBLISH events. The system eventually hangs running out of memory.
This behavior is seen at least in kamailio 4.1 and 4.2. I'm currently using the latest stable 4.2.2.
If I disable the SIP PUBLISH handling in kamailio i don't observe the issue anymore but as a side effect I don't have presence (name BLFs) also.
What do you think can be the right approach here? Should I open an issue in github for this? Should I run kamailio under valgrind for some time? Are there any other possible debug hints here?
Please find attached a code snippet with the presence related parts I'm using right now.
Looking forward to hear from you.
Best Regards,