<div dir="ltr">Dear All<div><br></div><div>I had an issue with my kamailio that non-registered users were able to send calls "I.e. similar to Asterisk Peer mode" . So I did add the following statement </div><div>

<br></div><div><div>if(!reg_fetch_contacts("location", "$fu", "caller"))</div><div>{</div><div>   sl_send_reply("403", "Please register first");</div><div>   exit;</div><div>

}</div><div><br></div><div style>That did fix the the problem with my registration issues, however as a a side effect the location table is not updated anymore and this broke a few scripts I use to maintain a few aspects of my system. </div>

<div style><br></div><div style>kamctl ul --show does display all users correctly. </div><div style><br></div><div style>However the database table only contains a few entries.</div><div style><br></div><div style>My location settings are :</div>

<div style><br></div><div style><div># ----- usrloc params -----</div><div>/* enable DB persistency for location entries */</div><div>#!ifdef WITH_USRLOCDB</div><div>modparam("usrloc", "timer_interval", 1)</div>

<div>modparam("usrloc", "db_url", DBURL)</div><div>modparam("usrloc", "db_mode", 2)</div><div>modparam("usrloc", "use_domain", MULTIDOMAIN)</div><div>#!endif</div>

<div><br></div><div><br></div><div style>Please advice </div><div style><br></div><div style><br></div></div><div dir="ltr"><div><div><font><font color="#888888"><b><br></b></font></font><div><div></div></div></div></div>

</div>
</div></div>