<p></p>
<p>I can not reproduce the problem, either with redis or DB. It sufficient to set the xavu in the request_route.</p>
<p>Pretty default cfg with the following additions:</p>
<pre><code>root@kam03:/etc/kamailio# egrep "redis|topos"  kamailio.cfg-2852
loadmodule "ndb_redis.so"
loadmodule "topos_redis.so"
loadmodule "topos.so"
modparam("ndb_redis", "server", "name=srv1;addr=localhost;port=6379")
modparam("ndb_redis", "init_without_redis", 1)
modparam("topos", "storage", "redis")
#modparam("topos", "storage", "db")
modparam("topos_redis", "serverid", "srv1")
modparam("topos", "contact_mode", 2)
modparam("topos", "xavu_cfg", "tps")
modparam("topos", "xavu_field_a_contact", "a_contact")
modparam("topos", "xavu_field_b_contact", "b_contact")
modparam("topos", "xavu_field_contact_host", "contact_host")

request_route {
[...]
        $xavu(tps=>a_contact) = "A-side";
        $xavu(tps=>b_contact) = "B-side";
[...]
}

</code></pre>
<p>INVITE contact-1 -> contact-2:</p>
<p>INVITE sip:<a href="mailto:contact-2@116.203.XX.XXX">contact-2@116.203.XX.XXX</a>:5066;ob SIP/2.0<br>
Contact: sip:A-side@116.203.YY.YY;tps=btpsh-6152ec8f-6744-1</p>
<p>ACK contact-1 -> contact-2:<br>
ACK sip:<a href="mailto:contact-2@116.203.XX.XX">contact-2@116.203.XX.XX</a>:5066;alias=116.203.XX.XX<del>5066</del>1;ob SIP/2.0<br>
Contact: sip:A-side@116.203.YY.YY;tps=btpsh-6152ec8f-6744-1</p>
<p>BYE contact-2 -> contact-1:<br>
BYE sip:<a href="mailto:contact-1@116.203.XX.XX">contact-1@116.203.XX.XX</a>:5095;ob SIP/2.0<br>
Contact: sip:B-side@116.203.YY.YY;tps=atpsh-6152ec8f-6744-1</p>
<p>Kamailio from 5.5 branch:<br>
root@kam03:/usr/local/src/5.5# /usr/local/kamailio-5.5/sbin/kamailio -v<br>
version: kamailio 5.5.2 (x86_64/linux) 3b523f</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2852#issuecomment-929067245">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZKOMHWWLXB22RZUFPDUEGLENANCNFSM5D6TXQEA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZL7S3NCHQR5ROIMEZDUEGLENA5CNFSM5D6TXQEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG5QHB3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2852#issuecomment-929067245",
"url": "https://github.com/kamailio/kamailio/issues/2852#issuecomment-929067245",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>