From danb.lists@googlemail.com Mon Mar 26 15:47:17 2012 From: Dan-Cristian Bogos To: sr-users@lists.kamailio.org Subject: [SR-Users] Kamailio modifying ruri during loose-route Date: Mon, 26 Mar 2012 15:47:11 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1718534376==" --===============1718534376== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey Guys, I have noticed some unexpected behavior (at least by me) during my tests. When routing specific ACK message back to 200 OK originator, Kamailio will rewrite the ruri with the value of route header. Is that known or some memory access problem? Call setup: B2BUA(127.0.0.1) -> Kamailio (1.2.3.4) -> End device (2.3.4.5). Bellow is a trace of 200 OK -ACK flow before and after kamailio, together with the xlog capture of ruri before and after calling loose_route on ACK. Thanks in advance for any kind of tip. DanB PS: Since testing with a newer version would be a bit harder due to some particular features I use in 3.1 which are taking a bit of effort to migrate, have tried my luck here before, so hope to get your understanding. Kamailio version: """ root(a)kam:/home/dan# kamailio -V version: kamailio 3.1.5 (x86_64/linux) flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES ADAPTIVE_WAIT_LOOPS=3D1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, PKG_SIZE 4MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. id: unknown compiled on 07:41:01 Sep 15 2011 with gcc 4.4.5 """ Syslog: """ Mar 26 14:27:01 kam /usr/sbin/kamailio[7929]: ERROR: