This is a bit not what I would like, the function above (uac.r.uac.reg_info) gives information on a specific l_uuid and it does not directly correlate with the activation/deactivation of the uac module (you need to wait for the registration to expire to understand).


ср, 27 июл. 2022 г. в 14:03, Henning Westerholt <hw@gilawa.com>:

Hello,

 

this do not work for you?

 

https://kamailio.org/docs/modules/stable/modules/uac.html#uac.r.uac.reg_info

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Denys Pozniak
Sent: Wednesday, July 27, 2022 10:16 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: [SR-Users] [UAC] How to get the outbound registration status of uac.reg_active?

 

Hello!

 

I have several Kamailio sharing a common uacreg table and use the RPC interface to enable and disable outgoing registration on nodes depending on the cluster status:
kamcmd uac.reg_active 0
kamcmd uac.reg_active 1

 

How can I get the current status of uac outbound registration (to get 0 or 1)?

 

--

 

BR,

Denys Pozniak

 

 



--

BR,
Denys Pozniak