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
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to