The bug tracker is for tracking of bugs in Kamailio, not for discussing user related questions. Please contact our sr-users list instead. The append_hf can be used in event_route. If you want to see it in logs, you could use the textops msg_apply_changes() function.