I tried the same with stable Kamailio version

# kamailio -v
version: kamailio 5.1.4 (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, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, 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 on 08:12:48 Jun 20 2018 with gcc 6.3.0

And noticed a small difference. Kamailio is trying to find [b:x:INVITE:1e004b4343c496750f1de6f156c779e8@pbx.example.com:as34fa3a8d]
but when using kamailio 5.1.4 there is only b:x:INVITE:1e004b4343c496750f1de6f156c779e8@pbx.example.com:h7g4Esbg_07000304592032.

The difference between 5.2 and 5.1 is that in 5.2 there is nothing even close to that on redis and in 5.1 the tags seems to be switched.

On 183 Session progress and 180 Ringing:

Jun 20 13:09:53 edge3 /usr/local/sbin/kamailio[3686]: DEBUG: topos_redis [topos_redis_storage.c:363]: tps_redis_insert_invite_branch(): inserting branch record for [b:x:INVITE:1e004b4343c496750f1de6f156c779e8@pbx.example.com:h7g4Esbg_07000304592032] with argc 6

On BYE:

Jun 20 13:10:11 edge3 /usr/local/sbin/kamailio[3689]: DEBUG: topos_redis [topos_redis_storage.c:610]: tps_redis_load_invite_branch(): loading branch record for [b:x:INVITE:1e004b4343c496750f1de6f156c779e8@pbx.example.com:as34fa3a8d]
Jun 20 13:10:11 edge3 /usr/local/sbin/kamailio[3689]: DEBUG: ndb_redis [redis_client.c:878]: redisc_exec_argv(): rsrv->ctxRedis = 0x564c726d7e90
Jun 20 13:10:11 edge3 /usr/local/sbin/kamailio[3689]: DEBUG: topos_redis [topos_redis_storage.c:628]: tps_redis_load_invite_branch(): hmap with key [b:x:INVITE:1e004b4343c496750f1de6f156c779e8@pbx.example.comas34fa3a8d] not found

On SIP messages tags are as follows:
Initial INVITE:

 From: "UserName" <sip:sip:user@domain.tld>;tag=as34fa3a8d.
 To: <sip:user@domain.tld>.

183 Session Progess:

 From: "UserName" <sip:sip:user@domain.tld>;tag=as34fa3a8d.
 To: <sip:user@domain.tld>;tag=h7g4Esbg_07000304592032.

BYE message from receiving end:

 From: <sip:user@domain.tld>;tag=h7g4Esbg_07000304592032.
 To: "UserName" <sip:sip:user@domain.tld>;tag=as34fa3a8d.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.