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

2022-07-28 Thread Henning Westerholt
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 
Sent: Wednesday, July 27, 2022 1:44 PM
To: Henning Westerholt 
Cc: Kamailio (SER) - Users Mailing List 
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 
mailto:h...@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 
mailto:sr-users-boun...@lists.kamailio.org>>
 On Behalf Of Denys Pozniak
Sent: Wednesday, July 27, 2022 10:16 AM
To: Kamailio (SER) - Users Mailing List 
mailto: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




--

BR,
Denys Pozniak


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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


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

2022-07-27 Thread 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 :

> 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  *On Behalf Of *Denys
> Pozniak
> *Sent:* Wednesday, July 27, 2022 10:16 AM
> *To:* Kamailio (SER) - Users Mailing List 
> *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
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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


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

2022-07-27 Thread Henning Westerholt
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  On Behalf Of Denys Pozniak
Sent: Wednesday, July 27, 2022 10:16 AM
To: Kamailio (SER) - Users Mailing List 
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


__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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


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

2022-07-27 Thread Denys Pozniak
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_active

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

--

BR,
Denys Pozniak
__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@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