Hello,

yes, CANCEL in stateful relaying are re-generated hop by hop. There is a way to propagate headers from invite to cancel via:

http://kamailio.org/docs/modules/stable/modules/tm.html#ac_extra_hdrs

Do you want to add own headers or is about the reason header -- this one is added with latest versions:

http://kamailio.org/docs/modules/stable/modules/tm.html#local_cancel_reason

Cheers,
Daniel

On Wed, Feb 29, 2012 at 1:59 PM, Reda Aouad <reda.aouad@gmail.com> wrote:
Hi,

insert_hf doesn't work for CANCEL messages. It doesn't work either on 487 replies in failure_route..
Why? Is it because they are re-generated on every hop?

Is there a workaround?

Reda


_______________________________________________
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




--
Daniel-Constantin Mierla
  http://www.asipto.com