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 0kamcmd uac.reg_active 1* https://kamailio.org/docs/modules/stable/modules/uac.html#uac.r.uac.reg_acti...
How can I get the current status of uac outbound registration (to get 0 or 1)?
--
BR, Denys Pozniak
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.comhttps://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_acti...
How can I get the current status of uac outbound registration (to get 0 or 1)?
--
BR, Denys Pozniak
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*
https://kamailio.org/docs/modules/stable/modules/uac.html#uac.r.uac.reg_acti...
How can I get the current status of uac outbound registration (to get 0 or 1)?
--
BR,
Denys Pozniak
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@gmail.com Sent: Wednesday, July 27, 2022 1:44 PM To: Henning Westerholt hw@gilawa.com Cc: Kamailio (SER) - Users Mailing List sr-users@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@gilawa.commailto: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.comhttps://gilawa.com/
From: sr-users <sr-users-bounces@lists.kamailio.orgmailto: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.orgmailto: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_acti...
How can I get the current status of uac outbound registration (to get 0 or 1)?
--
BR, Denys Pozniak
--
BR, Denys Pozniak