<p></p>

<p>Hi !</p>
<p>topos+redis used in the folowing configuration:</p>
<p>modparam("ndb_redis", "server", "REDIS_SERVER")<br>
modparam("ndb_redis", "init_without_redis", 1)<br>
modparam("topos", "storage", "redis")<br>
modparam("topos_redis", "serverid", "srv1")<br>
modparam("topos", "contact_mode", 2)<br>
modparam("topos", "xavu_cfg", "<em>tps</em>")<br>
modparam("topos", "xavu_field_a_contact", "a_contact")<br>
modparam("topos", "xavu_field_b_contact", "b_contact")<br>
modparam("topos", "xavu_field_contact_host", "contact_host")</p>
<p>In the inital INVITE  xavu variables a_contact and b_contact are set by script, topos work as expected at this point,<br>
but when the following in-dalog messages from upstream have Record-Route header, topos fails with error message:</p>
<p>Sep 13 18:50:01 gw481 /usr/sbin/kamailio[29874]: ERROR: {1 1 ACK 1-20643@87.250.237.98} topos [tps_storage.c:331]: tps_storage_fill_contact(): could not evaluate a_contact xavu<br>
Sep 13 18:50:01 gw481 /usr/sbin/kamailio[29874]: ERROR: {1 1 ACK 1-20643@87.250.237.98} topos [tps_storage.c:604]: tps_storage_record(): failed to store</p>
<p>In case of absent Record-Route headers the are no errors.</p>
<h4>Debugging Data</h4>
<p>Signaling dump and debug log in attachment.</p>
<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>kamailio 5.5.1 (x86_64/linux) 
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>Ubuntu 18.04.5 LTS
</code></pre>
<p><a href="https://github.com/kamailio/kamailio/files/7157118/dump.txt">dump.txt</a><br>
<a href="https://github.com/kamailio/kamailio/files/7157120/call.log">call.log</a></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">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPYLFYDKPRXTFI577DUBZMO3ANCNFSM5D6TXQEA">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/ABO7UZMSYQVABQXZVDDTLOTUBZMO3A5CNFSM5D6TXQEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4O2S5MPQ.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",
"url": "https://github.com/kamailio/kamailio/issues/2852",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>