OK, in that case I have misunderstood you.
Will removing the header work in case of CANCEL?
Are you recommending something like this? ``` if (is_method("CANCEL")) { if($hdr(Reason)=="SIP;cause=487;text=ORIGINATOR_CANCEL") remove_hf("Reason"); if (t_check_trans()) route(RELAY); exit; } ```
I was under the impression the headers in CANCEL cannot be controlled but that could be in old times.
Ta, DanB
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/261#issuecomment-125505934