[SR-Users] [uac] How to force outbound registration?

Denys Pozniak denys.pozniak at gmail.com
Wed Nov 24 15:50:30 CET 2021


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 at 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 at 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 at kamailio]# kamailio -V
>> version: kamailio 5.5.2 (x86_64/linux) 55e232
>>
>> --
>> BR,
>> Denys Pozniak
>>
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211124/7af42c48/attachment.htm>


More information about the sr-users mailing list