2011/5/17 Miklos Tirpak miklos@iptel.org:
I believe the message and AVP modifications work even after t_newtran(), they are saved into the transaction context in sip-router 3.x. The message modifications were not saved in Kamailio 1.5 as Daniel wrote on the user list, but this is no longer the case with 3.x. If the modifications are not saved after t_newtran() in 3.x, then this is a software bug, please let me know, and I will check.
I would like to ask you to revert this commit as well as the same commit to master. For more info, please check t_save_lumps() in the readme, and the POSTPONE_MSG_CLONING #define in sip_msg.h.
Thanks a lot for pointing it out. Indeed IMHO it's the desired and *expected* behaviour.
Thanks.