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

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

 

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

 

--

 

BR,

Denys Pozniak