[OpenSIPS-Users] open3.3 has no opensipsctlrc?

2022-11-28 Thread wl
hello:
I am using opensip-3.3.3  but after configure, make, make install , I cannot 
fnd the previous config file 'opensipsctlrc'
at prefix_dir/etc/opensips/. why? is this file cancelled on new version?
and
I am trying to connect newest opensips to newest freeswitch, and I refer this 
article:


https://www.opensips.org/Documentation/Tutorials-OpenSIPSF  


but it is based on opensips-1.8 ,is it obsolete to new version since I cannot 
find opensipsctlrc file agian , I dont't know how to integrate newest opensips 
with  freeswitch, can you provide new reference article for me?
thanks a lot
best reagarda
looking forward your reply!

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


[OpenSIPS-Users] wolfssl centos

2022-11-28 Thread nutxase via Users
Hi All

i notice there is no opensips-modules-wolfssl package for centos but only for 
debian

is this intentional?

as on my centos system where i am having to use openssl i get this error
ERROR:proto_wss:wss_read_req: cannot fix read connection___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips 3.2 Ratecacher

2022-11-28 Thread Callum Guy
Added the worlds simplest PR for you!

https://github.com/OpenSIPS/opensips/pull/2958

On Mon, 28 Nov 2022 at 11:17, Callum Guy  wrote:

> Looks like a typo in the module!
>
>
> https://github.com/OpenSIPS/opensips/blob/master/modules/rate_cacher/rate_cacher.c#L127
>
> I suggest trying "cients_hash_size" until patched :)
>
> On Mon, 28 Nov 2022 at 08:19, Wadii ELMAJDI | Evenmedia <
> wa...@evenmedia.fr> wrote:
>
>> Hello,
>>
>> I was able to install ratecacher module and make it work.
>> But editing the clients hash size parameter generates an error.
>> “ERROR:core:set_mod_param_regex: parameter  not found
>> in module ”
>> however vendors_hash_size is correctly identified as a rate_cacher
>> parameter
>> Everything works when removing clients one
>> I am running opensips :
>>
>> version: opensips 3.2.9 (x86_64/linux)
>>
>> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
>> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>>
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
>> MAX_URI_SIZE 1024, BUF_SIZE 65535
>>
>> poll method support: poll, epoll, sigio_rt, select.
>>
>> main.c compiled on  with gcc 10
>>
>> ### RATECACHER module
>>
>> loadmodule "rate_cacher.so"
>>
>> modparam("rate_cacher", "clients_db_url", "mysql://DB_STRING/opensips")
>>
>> modparam("rate_cacher", "clients_db_table", "rc_clients")
>>
>> modparam("rate_cacher", "rates_db_url", "mysql://DB_STRING/opensips")
>>
>> modparam("rate_cacher", "rates_db_table", "rc_ratesheets")
>>
>> modparam("rate_cacher", "vendors_db_url", "mysql://DB_STRING/opensips")
>>
>> modparam("rate_cacher", "vendors_db_table", "rc_vendors")
>>
>> modparam("rate_cacher", "vendors_hash_size", 1024)
>>
>> modparam("rate_cacher", "clients_hash_size", 1024)
>> ___
>> Users mailing list
>> Users@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>

-- 






*0333 332   |  x-on.co.uk   |   ** 
    
   **  |  Coronavirus 
**  |  
Practice Index Reviews *

*Our new 
office address: 22 Riduna Park, Melton IP12 1QT.*







*THE COMMS COUNCIL 
UK AWARDS 2022 AND Best Comms Software are trade marks of the Comms Council 
UK, used under licence - https://commscouncil.uk/awards 
*

X-on
is a trading name of Storacall 
Technology Ltd a limited company registered in
England and Wales.

Registered Office : Glebe Farm, Down Street, Dummer, Basingstoke, 
Hampshire, England RG25 2AD. Company Registration No. 2578478.

The 
information in this e-mail is confidential and for use by the addressee(s)
only. If you are not the intended recipient, please notify X-on immediately 
on +44(0)333 332  and delete the
message from your computer. If you are 
not a named addressee you must not use,
disclose, disseminate, distribute, 
copy, print or reply to this email. Views
or opinions expressed by an 
individual
within this email may not necessarily
reflect the views of X-on 
or its associated companies. Although X-on routinely
screens for viruses, 
addressees should scan this email and any attachments
for
viruses. X-on 
makes no representation or warranty as to the absence of viruses
in this 
email or any attachments.








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


Re: [OpenSIPS-Users] Opensips 3.2 Ratecacher

2022-11-28 Thread Callum Guy
Looks like a typo in the module!

https://github.com/OpenSIPS/opensips/blob/master/modules/rate_cacher/rate_cacher.c#L127

I suggest trying "cients_hash_size" until patched :)

On Mon, 28 Nov 2022 at 08:19, Wadii ELMAJDI | Evenmedia 
wrote:

> Hello,
>
> I was able to install ratecacher module and make it work.
> But editing the clients hash size parameter generates an error.
> “ERROR:core:set_mod_param_regex: parameter  not found
> in module ”
> however vendors_hash_size is correctly identified as a rate_cacher
> parameter
> Everything works when removing clients one
> I am running opensips :
>
> version: opensips 3.2.9 (x86_64/linux)
>
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
>
> poll method support: poll, epoll, sigio_rt, select.
>
> main.c compiled on  with gcc 10
>
> ### RATECACHER module
>
> loadmodule "rate_cacher.so"
>
> modparam("rate_cacher", "clients_db_url", "mysql://DB_STRING/opensips")
>
> modparam("rate_cacher", "clients_db_table", "rc_clients")
>
> modparam("rate_cacher", "rates_db_url", "mysql://DB_STRING/opensips")
>
> modparam("rate_cacher", "rates_db_table", "rc_ratesheets")
>
> modparam("rate_cacher", "vendors_db_url", "mysql://DB_STRING/opensips")
>
> modparam("rate_cacher", "vendors_db_table", "rc_vendors")
>
> modparam("rate_cacher", "vendors_hash_size", 1024)
>
> modparam("rate_cacher", "clients_hash_size", 1024)
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 






*0333 332   |  x-on.co.uk   |   ** 
    
   **  |  Coronavirus 
**  |  
Practice Index Reviews *

*Our new 
office address: 22 Riduna Park, Melton IP12 1QT.*







*THE COMMS COUNCIL 
UK AWARDS 2022 AND Best Comms Software are trade marks of the Comms Council 
UK, used under licence - https://commscouncil.uk/awards 
*

X-on
is a trading name of Storacall 
Technology Ltd a limited company registered in
England and Wales.

Registered Office : Glebe Farm, Down Street, Dummer, Basingstoke, 
Hampshire, England RG25 2AD. Company Registration No. 2578478.

The 
information in this e-mail is confidential and for use by the addressee(s)
only. If you are not the intended recipient, please notify X-on immediately 
on +44(0)333 332  and delete the
message from your computer. If you are 
not a named addressee you must not use,
disclose, disseminate, distribute, 
copy, print or reply to this email. Views
or opinions expressed by an 
individual
within this email may not necessarily
reflect the views of X-on 
or its associated companies. Although X-on routinely
screens for viruses, 
addressees should scan this email and any attachments
for
viruses. X-on 
makes no representation or warranty as to the absence of viruses
in this 
email or any attachments.








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


[OpenSIPS-Users] Opensips 3.2 Ratecacher

2022-11-28 Thread Wadii ELMAJDI | Evenmedia
Hello,

I was able to install ratecacher module and make it work.
But editing the clients hash size parameter generates an error.
"ERROR:core:set_mod_param_regex: parameter  not found in 
module "
however vendors_hash_size is correctly identified as a rate_cacher parameter
Everything works when removing clients one
I am running opensips :

version: opensips 3.2.9 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, 
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
main.c compiled on  with gcc 10

### RATECACHER module
loadmodule "rate_cacher.so"
modparam("rate_cacher", "clients_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "clients_db_table", "rc_clients")
modparam("rate_cacher", "rates_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "rates_db_table", "rc_ratesheets")
modparam("rate_cacher", "vendors_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "vendors_db_table", "rc_vendors")
modparam("rate_cacher", "vendors_hash_size", 1024)
modparam("rate_cacher", "clients_hash_size", 1024)
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users