<p></p>

<h3>Description</h3>
<p>When invoking dialog tracking by flag instead of dlg_manage(), dialog doesn't store uac_replace_* variables. As a result, uac restore functionality doesn't work.</p>
<h3>Troubleshooting</h3>
<h4>Reproduction</h4>
<p>#!define FLT_DIALOG 4<br>
...<br>
modparam("dialog", "dlg_flag", FLT_DIALOG)<br>
...<br>
request_route {<br>
if (is_method("INVITE"))<br>
setflag(FLT_DIALOG);<br>
...<br>
}</p>
<p>Make a call.<br>
List dialogs (kamcmd dlg.list)<br>
You'll notice the dialog has no <em>uac</em> variables</p>

<h4>Debugging Data</h4>

<pre><code>(paste your debugging data here)
</code></pre>
<h4>Log Messages</h4>

<pre><code>(paste your log messages here)
</code></pre>
<h4>SIP Traffic</h4>

<pre><code>(paste your sip traffic here)
</code></pre>
<h3>Possible Solutions</h3>

<h3>Additional Information</h3>
<ul>
<li><strong>Kamailio Version</strong> - output of <code>kamailio -v</code></li>
</ul>
<pre><code>version: kamailio 5.3.8 (x86_64/linux) a58155
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>NAME="Debian GNU/Linux"
VERSION="8 (jessie)"
</code></pre>

<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/2593">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMPLLEDUXVBC56L7JDSXSU2TANCNFSM4VPSL2NA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMZ3YCXCOVMMXOE3E3SXSU2TA5CNFSM4VPSL2NKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LSRMUNA.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/2593",
"url": "https://github.com/kamailio/kamailio/issues/2593",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>