<p></p>

<h3 dir="auto">Description</h3>

<p dir="auto">rpc uac.reg_add</p>
<p dir="auto">Use a dot (.) if no value should be set for auth_password, auth_ha1, contact_addr, realm,or socket</p>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><a href="https://github.com/kamailio/kamailio/blob/master/src/modules/uac/uac_reg.c#L2186">https://github.com/kamailio/kamailio/blob/master/src/modules/uac/uac_reg.c#L2186</a></p>
<pre class="notranslate"><code class="notranslate">     if(reg.realm.len==1 && reg.realm.s[0] == '.') {
                reg.realm.s = NULL;
                reg.realm.len = 0;
        }

        if(reg.socket.len==1 && reg.socket.s[0] == '.') {
                reg.socket.s = NULL;
                reg.socket.len = 0;
        }
</code></pre>
<h4 dir="auto">Actual observed behavior</h4>
<h4 dir="auto">Debugging Data</h4>
<pre class="notranslate"><code class="notranslate">(paste your debugging data here)
</code></pre>
<h4 dir="auto">Log Messages</h4>

<pre class="notranslate"><code class="notranslate">(paste your log messages here)
</code></pre>
<h4 dir="auto">SIP Traffic</h4>

<pre class="notranslate"><code class="notranslate">(paste your sip traffic here)
</code></pre>
<h3 dir="auto">Possible Solutions</h3>

<h3 dir="auto">Additional Information</h3>
<ul dir="auto">
<li><strong>Kamailio Version</strong> - output of <code class="notranslate">kamailio -v</code></li>
</ul>
<pre class="notranslate"><code class="notranslate">Master
</code></pre>
<ul dir="auto">
<li><strong>Operating System</strong>:</li>
</ul>

<pre class="notranslate"><code class="notranslate">Debian11
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3179">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOWPCHMONDQN67JTZDVTFWVHANCNFSM53DKGFDA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZO6HJY76A4TO6UJCOTVTFWVHA5CNFSM53DKGFDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TLXIHGA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3179</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3179",
"url": "https://github.com/kamailio/kamailio/issues/3179",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>