<p>Hello;<br>
when i test to uac module , can't disable registration . after long time , i find the problem that rpc gives wrong value or uac module gives wrong value type so it nevers matches so it never disable registration. <br>
<code><br>
file : modules/uac/uac_reg.c <br>
</code><br>
<code><br>
function : rpc_uac_reg_update_flag<br>
</code><br>
<code><br>
line : if(rpc->scan(ctx, "S.S", &attr, &val)<2)<br>
</code><br>
value is "18446744073622652910"  that must be 85030AXXXX like this.<br>
i tried to change "S.S" value but couldn't be success.</p>

<p><code><br>
kamailio V 4.2.6<br>
</code></p>

<p><code><br>
2.6.32-431.23.3.el6.x86_64 #1<br>
</code></p>

<p>calling command like <code>kamcmd uac.reg_disable l_uuid  85030AXXXX</code> on shell </p>

<p>Could you check it.<br>
Thanks.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/290">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zejbk_9Tv84h4FfxNCZMr2FXb1Npks5oobtegaJpZM4FsvH1.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/290"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>