Hey Guys,
I am testing the t_set_no_e2e_cancel_reason in latest stable Kamailio (and also in 4.2.x)
but it does not seem to work. Trying to disable it via e2e_cancel_reason=0 works as
expected.
The target would be disabling in the script copying the reason from original CANCEL to
hop-by-hop one like:
```
if($hdr(Reason)=="SIP;cause=487;text=ORIGINATOR_CANCEL")
t_set_no_e2e_cancel_reason(1);
```
My version:
```
# kamailio -V
version: kamailio 4.3.1 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE,
USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled with gcc 4.7.2
```
I am at your disposal for any further troubleshooting steps.
Ta,
DanB
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/261