Custom headers to the reply can be added using append_to_reply() function from textops module. Have you tried that?
Regards,
Fred Posner p: +1 (352) 664-3733
On Jan 18, 2024, at 2:07 AM, frédéric Gaisnon via sr-users sr-users@lists.kamailio.org wrote:
Hello, I want to add a SIP custom header on a SIP response generated locally (on the 408 generated when fr_inv_timeout is expired for example) I've tried functions append_hf and append_to_reply in event_route[tm:branch-failure:XXX] or event_route [tm:local-response] without any success. Do you have any suggestions to accomplish this ? Regards, Frédéric Gaisnon __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: