Re: [OpenSIPS-Users] package dependency problems for opensips-cli

2022-06-29 Thread Liviu Chircu

On 27.06.2022 17:48, Pyle, Jeff wrote:

Then:

# apt install python
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python is a virtual package provided by:
  python-is-python2 2.7.18-9 [Not candidate version]

E: Package 'python' has no installation candidate


I have the python2 and python3 packages installed, among others. I 
feel like I'm missing something. Any thoughts?


Hi, Jeff!

I pushed a fix[1] for the opensips-cli package, so it depends on 
"python3" instead of "python".  Let's see if the issue is resolved 
tomorrow, after the rebuild.


[1]: https://github.com/OpenSIPS/opensips-cli/commit/a3e0c7d91a

Cheers,

--
Liviu Chircu
www.twitter.com/liviuchircu  |www.opensips-solutions.com
OpenSIPS Summit 2022 Athens, Sep 27-30 |www.opensips.org/events
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Statistics module

2022-06-29 Thread Pavel Eremin
Thanks! Yes I suppose it's useful in case of recognizing which IP or user
is most active. For example if i have opened server to whole word, then i
can do this by collecting avg_1m stats and make then live for 2mins, so,
when i ask stat by prometheus server, opensips will send limited data. In
current case opensips will send as much statistics as collected. Of course
after some time shared memory are end.

вт, 28 июн. 2022 г. в 13:55, Răzvan Crainea :

> Hi, Pavel!
>
> No, there is currently no way to set a lifetime, it will live forever.
> Please open a feature request[1] if you find this feature useful.
>
> [1] https://github.com/OpenSIPS/opensips/issues
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 6/28/22 11:03, Pavel Eremin wrote:
> > Hi, all, does anyone work with |stat_series_profile, it seems very
> useful.|
> >
> > My question is if some value was created by update_stat_series, then
> > this stat variable will lives forever, even it 0.
> >
> > Is it possible to set the lifetime for series?
> >
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS CP 9.3.2 password mode ha1_sha256 for adding new user

2022-06-29 Thread Bela H
Hi all,

Is there any way to add new subscriber from OpenSIPS CP 9.3.2 using password 
mode ha1_sha256?
The ha1 (MD5(username:realm:password)) works fine but I had no luck with the 
value generation for the ha1_sha256 field in “subscriber” table.

I have this setting:
modparam("auth_db", "calculate_ha1", 0)
modparam("auth_db", "password_column", "ha1_sha256")

Thanks!
Bela



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users