2009/4/17 Alex Hermann alex@speakup.nl:
Hello all,
i got bitten by the lumps mess again. I can understand the lump concept makes a bit of sense if requests are just passing though a proxy, but nowadays Kamailio obtains more and more UA functionality where it is completely unappropriate.
How do I store a modified PUBLISH body? I change it with subst_body() before calling handle_publish() but ofcourse the original body is stored by the presence UA.
Is there currently a method to store a modified body? (apart from looping the message back to myself)
Would implementing an apply_lumps() function or something like that be very difficult?
I understand your point, but I don't think Kamailio presence modules are designed to allow body modification. BTW, I run the presence server in a different host (or different instance of Kamailio running in the same host), so changes made in the body by the Kamailio proxy would arrive to the Kamailio presence-server.