Re: [SR-Users] Guide to set up Kamailio as an SBC

2022-09-23 Thread David Villasmil
There are many many guides out there, just search for “kamailio as an SBC”..

https://telecom.altanai.com/2018/01/08/kamailio-as-inbound-outbound-proxy-or-session-border-controller/



On Fri, 23 Sep 2022 at 15:54, Unai Rodriguez  wrote:

> Dear List,
>
> I’m new to Kamailio and would like to set it up as a standalone general
> purpose SBC.
>
> I’m having a hard time finding a guide specific for this. What can you
> recommend?
>
> Thank you so much
>
> With best wishes,
> Unai Rodriguez
> __
> 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
>
-- 
Regards,

David Villasmil
email: david.villasmil.w...@gmail.com
phone: +34669448337
__
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] Guide to set up Kamailio as an SBC

2022-09-23 Thread Unai Rodriguez
Dear List,

I’m new to Kamailio and would like to set it up as a standalone general purpose 
SBC.

I’m having a hard time finding a guide specific for this. What can you 
recommend?

Thank you so much

With best wishes,
Unai Rodriguez
__
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] Pipelimit needs restart to reload values

2022-09-23 Thread Duarte Rocha
Greetings,

I've been using the pipelimit module and the pl_check function to control
users rates in my proxy.

if (!pl_check("$var(UserID)", "TAILDROP", "$var(UserRate)")) {
 pl_drop();
 exit;
}

In this case  $var(UserID) is the pipe and  $var(UserRate) is the maximum
rate.
The value of the rate is retrieved on every call via query to a DB.

If I change the UserRate value to 0 CPS on the DB calls are not rejected
unless they go over 1 CPS. However, if I restart Kamailio all calls are
correctly rejected.

Why does this happen? Can I change this behaviour?

Cheers,

Duarte
__
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