As far as I tested, after unregistering the account, new registration no longer occurs regardless of the reg_timer_interval.
What command should be used to enable it again?


ср, 24 нояб. 2021 г. в 15:40, Sergiu Pojoga <pojogas@gmail.com>:
You can't immediately register back. Registration scheduler runs at certain intervals, defined by reg_timer_interval modparam.

https://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.reg_timer_interval

Regards,
--Sergiu

On Wed, Nov 24, 2021 at 7:11 AM Denys Pozniak <denys.pozniak@gmail.com> wrote:
Hello!

In some cases, I need to forcibly unregister a remote SIP account through uac module, and then immediately register.
To unregister I can use the command:
kamcmd uac.reg_unregister l_uuid <account>

But it's not clear how to immediately register back. For example, these commands do not give the desired effect:
kamcmd uac.reg_enable l_uuid <account> 
kamcmd  uac.reg_reload

[root@kamailio]# kamailio -V
version: kamailio 5.5.2 (x86_64/linux) 55e232

--
BR,
Denys Pozniak


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--

BR,
Denys Pozniak