[SR-Users] [UAC] How to get the outbound registration status of uac.reg_active?

Henning Westerholt hw at gilawa.com
Thu Jul 28 20:11:26 CEST 2022


Hello,

I see. Ok, this could be done eg. by some external script or service. But it might be benefitial to have some command output the general status, agree.

Cheers,

Henning

From: Denys Pozniak <denys.pozniak at gmail.com>
Sent: Wednesday, July 27, 2022 1:44 PM
To: Henning Westerholt <hw at gilawa.com>
Cc: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] [UAC] How to get the outbound registration status of uac.reg_active?

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 at gilawa.com<mailto:hw at 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<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Denys Pozniak
Sent: Wednesday, July 27, 2022 10:16 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org<mailto:sr-users at 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




--

BR,
Denys Pozniak


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220728/ee8a6d07/attachment.htm>


More information about the sr-users mailing list