[sr-dev] [kamailio] tm: t_set_no_e2e_cancel_reason not considered (#261)

Dan Christian Bogos notifications at github.com
Tue Jul 28 10:42:00 CEST 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150728/9a767f82/attachment.html>


More information about the sr-dev mailing list