<p></p>

<h3>Description</h3>
<p>Currently uac_reg_lookup don't have provision to pass the mode parameter but its implement in core fuction:<br>
<a href="https://github.com/kamailio/kamailio/blob/951c9ac9adaccc1c35e152593cb3c2e7f6e7af6f/src/modules/uac/uac_reg.c#L1602">https://github.com/kamailio/kamailio/blob/951c9ac9adaccc1c35e152593cb3c2e7f6e7af6f/src/modules/uac/uac_reg.c#L1602</a></p>
<p>This should be imported to kemi as well as cfg function.</p>

<h3>Expected behavior</h3>
<p>lookup in uacreg should be supported using username based also, currently uuid based support is only there.</p>
<h4>Actual observed behavior</h4>
<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><br>
5.4.5</li>
</ul>
<pre><code>(paste your output here)
</code></pre>
<ul>
<li><strong>Operating System</strong>:</li>
</ul>

<pre><code>(paste your output here)
</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/2714">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJFLUZVQB3VMTYJR6TTJK2YBANCNFSM43EC67SA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLUB76JXOYXON2JOITTJK2YBA5CNFSM43EC67SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4M2MG5OA.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/2714",
"url": "https://github.com/kamailio/kamailio/issues/2714",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>