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

Dan Christian Bogos notifications at github.com
Tue Jul 28 10:03:31 CEST 2015


Hey @miconda,

Yes, calling it in CANCEL block. More complete script would be like this:
```
if (is_method("CANCEL")) {
                if($hdr(Reason)=="SIP;cause=487;text=ORIGINATOR_CANCEL") t_set_no_e2e_cancel_reason(1);
                if (t_check_trans()) route(RELAY);
                exit;
        }
```

Putting a xlog there shows that the CANCEL matches properly there but no change in reason (cannot be deactivated).

Ta,
DanB

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/261#issuecomment-125491931
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150728/b0bc6884/attachment.html>


More information about the sr-dev mailing list