I found the solution myself, anyone having a similar issue in the future can use msg_apply_changes() from textopsx module after append_hf line.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users