<div dir="ltr">If you do unregister (without disable), then you'll need to do reg_refresh followed by reg_enable to get the registration resumed.<div><br></div><div><div>Cheers comrad.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 24, 2021 at 9:52 AM Denys Pozniak <<a href="mailto:denys.pozniak@gmail.com">denys.pozniak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">As far as I tested, after unregistering the account, new registration no longer occurs regardless of the reg_timer_interval.<br>What command should be used to enable it again?<br><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 24 нояб. 2021 г. в 15:40, Sergiu Pojoga <<a href="mailto:pojogas@gmail.com" target="_blank">pojogas@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">You can't immediately register back. Registration scheduler runs at certain intervals, defined by reg_timer_interval modparam.<div><br></div><div><a href="https://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.reg_timer_interval" target="_blank">https://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.reg_timer_interval</a><br><div><div><br></div><div>Regards,</div><div>--Sergiu</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 24, 2021 at 7:11 AM Denys Pozniak <<a href="mailto:denys.pozniak@gmail.com" target="_blank">denys.pozniak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello!</div><div><br></div><div>In some cases, I need to forcibly unregister a remote SIP account through uac module, and then immediately register.<br></div><div>To unregister I can use the command:</div><div><b>kamcmd uac.reg_unregister l_uuid <account></b></div><div><br></div><div>But it's not clear how to immediately register back. For example, these commands do not give the desired effect:</div><div><b>kamcmd uac.reg_enable l_uuid <account></b> </div><b>kamcmd  uac.reg_reload</b><div><br></div><div>[root@kamailio]# kamailio -V<br>version: kamailio 5.5.2 (x86_64/linux) 55e232<br></div><div><br></div><div>--<div dir="ltr"><div dir="ltr"><div><div>BR,</div><div>Denys Pozniak<br></div><div><br></div><div><br></div></div></div></div></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><br><div><div>BR,</div><div>Denys Pozniak<br></div><div><br></div><div><br></div></div></div></div>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>