Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-22 Thread Denis via Users
Hello, Bogdan! Thank you. One more. How can i access a "nonce" value from 401 reply, during REGISTER transaction? Thank you. -- С уважением, Денис.Best regards, Denis 22.05.2017, 17:39, "Bogdan-Andrei Iancu" :Hi Denis,Just be sure :1) during authentication, your proxy/registrar(s) allow to have cross challenging - one server is firing the auth challenge, but another one receives the reponse2) the registrations are shared between all your registrar servers.Otherwise, just give it a try and test ;)Regards,Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/18/2017 08:43 AM, Denis via Users wrote:Hello! I am sorry that it was early, but i could not find an answer for my question. I want to ask for advice from community about how can i use Opensips as c "clean" Load_balancer for my project?The scheme of the project is a classic. Load_balancer ---> Proxy1/Register1| || | mysql replication.| ||_> Proxy2/Register2 One load_balancer, two (or more) Proxies which have mysql replication relationship. What do i mean about "clean"? I mean that it should ONLY act as a balancer. It should be entry point into my network and it should "live forever" (UPS, protected server, NO MySQL interaction dialing with transaction processing). It should not make any other action about call processing (besides TCP <-> UDP conversion). All actions (Call processing, authentication, Registration etc.) should "live" in Proxies. So, my question is, can i do it?Will Opensips work correctly in such scheme, including authentication procedure of the Call or Register processing? Thank you for any help. -- С уважением, Денис.Best regards, Denis___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
,___Users mailing listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service

2017-05-22 Thread Johan De Clercq
Check radius.

On 22 May 2017 17:07, "suresh.talasaniya" 
wrote:

> Hi,
>
> I'm currently seeing the warnings when I start opensips service;
>
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
> WARNING:core:handle_timer_job: timer job  has a 150 us
> delay in execution
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
> WARNING:core:handle_timer_job: timer job  has a 150 us delay
> in execution
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
> WARNING:core:handle_timer_job: timer job  has a 150 us delay
> in execution
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
> WARNING:core:handle_timer_job: utimer job  has a 229 us
> delay in execution
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
> INFO:core:do_action: max while loops are encountered
> Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3088]:
> WARNING:core:utimer_ticker: utimer task  already scheduled for
> 190 ms (now 2470 ms), it may over
>
> I check my server load but it seems normal. I am facing this issue when I
> hit 50 cps and 500 CC.
>
> Can you please assist me how to resolve it ?
>
>
>
> --
> View this message in context: http://opensips-open-sip-
> server.1449251.n2.nabble.com/OpenSIPs-2-2-2-warnings-during-start-service-
> tp7607495.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> ___
> 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] Create new branch on receipt of provisional response on the main branch

2017-05-22 Thread xaled
Hello,

 

I need to create a branch on receipt of provisional response on the main branch.

 

Doing append_brach in reply_route does not seem to work.

 

What is right way to do it?

 

Thanks,

xaled

 

 

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


Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

2017-05-22 Thread Bogdan-Andrei Iancu

Hello Ravi,

Please send me the Makefile.conf file you have.

Best regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/22/2017 05:51 PM, Ravitez Ravi wrote:


Hello Bogdan,

  Good Day,

  Here's what we get when using the default
configuration(flags,modules)





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


Re: [OpenSIPS-Users] identify branch by name in minor_branch_flag

2017-05-22 Thread xaled
Hello Bogdan,

 

thanks!

 

Following question – are the branch indexes and settings shared between the 
route? Wont the minor branch setting in route[a] for branch alice  affect the 
bob’s branch setting in route[b]

 

modparam("tm", "minor_branch_flag", 1)

 

route[a] {

 

append_branch("sip:al...@test.com");

setbflag(1,1);

}

 

route[b] {

 

append_branch("sip:b...@test.com");

append_branch("sip:ca...@test.com");

setbflag(2,1);

}

 

Thanks,

xaled

 

From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Montag, 22. Mai 2017 16:43
To: OpenSIPS users mailling list ; xaled 

Subject: Re: [OpenSIPS-Users] identify branch by name in minor_branch_flag

 

Hello Xaled,

Any branch can be a minor branch, you just have to properly mark it via the 
branch flag you configured (via the minor_branch_flag param - see 
http://www.opensips.org/html/docs/modules/2.3.x/tm.html#idp5618944 )

You can set the corresponding branch flag via setbflag( 
www.opensips.org/Documentation/Script-CoreFunctions-2-3 
  ) and check 
it via 
isbflagset(http://www.opensips.org/Documentation/Script-CoreFunctions-2-2#toc22)

Regards,



Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
 
OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/20/2017 03:32 AM, xaled wrote:

Hi,

 

did I get it right that it is only possible to identify minor branches by index?

 

Using index I cannot have first branch to be minor in some scenarios and not 
minor in other.  

It would be good to be able to identify multiple minor branches by names. Ether 
URI, or additional specific name parameter could be used for it.

 

Instead of:

modparam("tm", "minor_branch_flag", 1)

 

something like:

modparam("tm", "minor_branch_flag", “sip:al...@test.com”)

 

route[1]{

append_branch(  "sip:al...@test.com");

append_branch(  "sip:b...@test.com");

}

 

route[2]{

append_branch(  "sip:b...@test.com");

append_branch(  "sip:al...@test.com");

}

 

$T_branch_idx could be extended to $T_branch_name.

 

Thanks,

xaled

 






___
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


Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

2017-05-22 Thread Ravitez Ravi
>
> Hello Bogdan,
>
> Good Day,
>
> Here's what we get when using the default
> configuration(flags,modules)
>
>
>
>
> [root@kuat opensips-2.2.3]# make menuconfig
>
> which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/
> sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
>
> make -C menuconfig
>
> make[1]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
>
> gcc -o configure -g -O9 -funroll-loops -Wcast-align -Wall
> -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona
> -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -g
> -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\"
> -DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1  cfg.o curses.o
> items.o commands.o menus.o parser.o main.o -lncurses   -Wl,-O2 -Wl,-E
>
> make[1]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
>
> ./menuconfig/configure --local
>
> which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/
> sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
>
> make[1]: Entering directory `/home/ravi/goutham/opensips-2.2.3'
>
> sed -e "s#/usr/.*lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g"
> \
>
> < etc/opensips.cfg > /usr/local//etc/opensips/
> opensips.cfg.sample0
>
> sed -e "s#/usr/.*etc/opensips/tls/#/usr/local//etc/opensips/tls/#g" \
>
> < /usr/local//etc/opensips/opensips.cfg.sample0 \
>
> > /usr/local//etc/opensips/opensips.cfg.sample
>
> rm -fr /usr/local//etc/opensips/opensips.cfg.sample0
>
> chmod 600 /usr/local//etc/opensips/opensips.cfg.sample
>
> chmod 700 /usr/local//etc/opensips/
>
> if [ -z "" -a \
>
> ! -f /usr/local//etc/opensips/opensips.cfg
> ]; then \
>
> mv -f /usr/local//etc/opensips/opensips.cfg.sample
> \
>
> /usr/local//etc/opensips/opensips.cfg; \
>
> fi
>
> # opensipsctl config
>
> touch /usr/local//etc/opensips//opensipsctlrc.sample
>
> install -m 644 scripts/opensipsctlrc \
>
> /usr/local//etc/opensips//opensipsctlrc.sample
>
> if [ ! -f /usr/local//etc/opensips//opensipsctlrc ]; then \
>
> mv -f /usr/local//etc/opensips//opensipsctlrc.sample
> \
>
> /usr/local//etc/opensips//opensipsctlrc; \
>
> fi
>
> # osipsconsole config
>
> touch /usr/local//etc/opensips//osipsconsolerc.sample
>
> install -m 644 scripts/osipsconsolerc \
>
> /usr/local//etc/opensips//osipsconsolerc.sample
>
> if [ ! -f /usr/local//etc/opensips//osipsconsolerc ]; then \
>
> mv -f /usr/local//etc/opensips//osipsconsolerc.sample
> \
>
> /usr/local//etc/opensips//osipsconsolerc;
> \
>
> fi
>
> make -C menuconfig proper
>
> make[2]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
>
> rm -f configure
>
> rm -f cfg.o curses.o items.o commands.o menus.o parser.o main.o
>
> make[2]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
>
> make -C menuconfig \
>
> 
> MENUCONFIG_CFG_PATH=/usr/local//share/opensips//menuconfig_templates/
> \
>
> MENUCONFIG_GEN_PATH=/usr/local//etc/opensips/
> MENUCONFIG_HAVE_SOURCES=0
>
> make[2]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
>
> gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
> -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition
> -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall
> -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\"
> -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\"
> -DMENUCONFIG_HAVE_SOURCES=0-c -o cfg.o cfg.c
>
> gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
> -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition
> -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall
> -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\"
> -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\"
> -DMENUCONFIG_HAVE_SOURCES=0-c -o curses.o curses.c
>
> gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
> -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition
> -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall
> -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\"
> -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\"
> -DMENUCONFIG_HAVE_SOURCES=0-c -o items.o items.c
>
> gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops
> -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition
> -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall
> -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\"

[OpenSIPS-Users] OpenSIPs 2.2.2 warnings during start service

2017-05-22 Thread suresh.talasaniya
Hi,

I'm currently seeing the warnings when I start opensips service;

Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
WARNING:core:handle_timer_job: timer job  has a 150 us
delay in execution
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
WARNING:core:handle_timer_job: timer job  has a 150 us delay
in execution
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
WARNING:core:handle_timer_job: timer job  has a 150 us delay
in execution
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
WARNING:core:handle_timer_job: utimer job  has a 229 us
delay in execution
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
INFO:core:do_action: max while loops are encountered
Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3088]:
WARNING:core:utimer_ticker: utimer task  already scheduled for
190 ms (now 2470 ms), it may over

I check my server load but it seems normal. I am facing this issue when I
hit 50 cps and 500 CC.

Can you please assist me how to resolve it ?



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPs-2-2-2-warnings-during-start-service-tp7607495.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

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


Re: [OpenSIPS-Users] OpenSIPS - Use Rate Limit module for Pike limiting

2017-05-22 Thread Bogdan-Andrei Iancu

Hi Liran,

the pike module is perfectly tailored for flood detection, it terms of 
efficiency, memory usage and feature set - the most important is the 
fact that pike module catches SIP requests and replies ; even more, it 
is able to "count" SIP message which do not reach the opensips routes or 
malformed messages.


Best regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/22/2017 12:34 PM, Aknin, Liran via Users wrote:

Hi,

With the flexibility of the Rate Limit module, that allows us to limit 
over customized pipes, we were thinking of using this module also for 
pike limiting, by defining a pipe per request source ip ($si).


We are already using Rate Limit module for a different use case, and 
considering using it also for pike, instead of using an additional 
Pike module.


We would like to hear your thoughts about the matter. Specifically if 
there are advantages of using the Pike module rather than customizing 
Rate Limit module for pike purposes.


Best regards,
Liran


___
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


Re: [OpenSIPS-Users] Call Pickup feature in Opensips 1.11

2017-05-22 Thread Bogdan-Andrei Iancu
There is no easy way to do it in 1.11 (except using some external script 
to help opensips in correlating the 2 calls - the inbound call and the 
callpickup call - via the management interface).


In 2.3 you can use the Event-based Routing (event_routing module) to do 
it - 
https://blog.opensips.org/2017/03/10/advanced-sip-scenarios-with-event-based-routing/


Regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/22/2017 05:16 PM, maatohewetbi wrote:

Can anyone explain how to make call pickup work in Opensips? In asterisk it
works ok, but I couldn't find any documentation about this feature in
Opensips.



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Call-Pickup-feature-in-Opensips-1-11-tp7607496.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

___
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


Re: [OpenSIPS-Users] Opensips, load_balancing and authentication process

2017-05-22 Thread Bogdan-Andrei Iancu

Hi Denis,

Just be sure :
1) during authentication, your proxy/registrar(s) allow to have cross 
challenging - one server is firing the auth challenge, but another one 
receives the reponse

2) the registrations are shared between all your registrar servers.

Otherwise, just give it a try and test ;)

Regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/18/2017 08:43 AM, Denis via Users wrote:

Hello!
I am sorry that it was early, but i could not find an answer for my 
question.
I want to ask for advice from community about how can i use Opensips 
as c "clean" Load_balancer for my project?

The scheme of the project is a classic.
Load_balancer ---> Proxy1/Register1
| |
| | mysql replication.
| |
|_> Proxy2/Register2
One load_balancer, two (or more) Proxies which have mysql replication 
relationship.
What do i mean about "clean"? I mean that it should ONLY act as a 
balancer. It should be entry point into my network and it should "live 
forever" (UPS, protected server, NO MySQL interaction dialing with 
transaction processing). It should not make any other action about 
call processing (besides TCP <-> UDP conversion). All actions (Call 
processing, authentication, Registration etc.) should "live" in Proxies.

So, my question is, can i do it?
Will Opensips work correctly in such scheme, including authentication 
procedure of the Call or Register processing?

Thank you for any help.
--
С уважением, Денис.
Best regards, Denis


___
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


Re: [OpenSIPS-Users] sdp

2017-05-22 Thread Bogdan-Andrei Iancu

Hi,

If you have an re-INVITE with active media, you just have to re-insert 
the rtpengine, exactly as you did it for the initial INVITE. This will 
properly handle the on-hold resume.


Regards,

Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 05/21/2017 04:24 AM, volga...@networklab.ca wrote:

Hello Bogdan-Andrei,
The issue with on hold RTP stream resume. I am not sure how to 
opensips should handle properly.

I code bellow provide partial solution.

volga629

On Tue, 16 May, 2017 at 4:38 AM, Bogdan-Andrei Iancu 
 wrote:

Hello Volga,

What exactly does not work for you ? the detection at SIP level of 
the hold resume ? the actual RTP resume ?


Best regards,
Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/15/2017 06:06 PM, volga...@networklab.ca wrote:

Hello Everyone,
Thank you

That extract ip correctly.

$var(cline-ip) = $(rb{sdp.line,c}{s.select,2, });

My issue that I am trying make opensips handle music on hold resume 
working properly.

I am not sure if possible do simpler way.


Relevant code

route[ONHOLD] {
if(is_method("INVITE|UPDATE") && has_body("application/sdp")) {
if(is_audio_on_hold()) {
if(search_body("a=sendonly") || 
search_body("a=inactive.")) {
$var(cline-ip) = 
$(rb{sdp.line,c}{s.select,2, });
xlog("L_INFO", "[$rm] On hold call 
SDP IP [$var(cline-ip)]\n");
if(!nat_uac_test("8") || 
$(var(cline-ip){s.select,1,.})==0) {
xlog("L_INFO", "[$rm] On 
hold call going from WAN SouceIP <$si> to LAN.\n");

rtpengine_offer("replace-origin external internal RTP/AVP ICE=remove");
t_on_reply("2");
}
}
}
}
}



volga629

On Mon, 15 May, 2017 at 5:23 AM, Bogdan-Andrei Iancu 
 wrote:

Hi Volga,

You can use the sdp transformation :
http://www.opensips.org/Documentation/Script-Tran-2-3#toc80

Regards,
Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/14/2017 06:28 AM, volga...@networklab.ca wrote:

Hello Everyone,
What good approach to test/detect 0.0.0.0 in sdp c IN = line ?
I don't see any functions to parse sdp properly.

volga629


___
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] Call Pickup feature in Opensips 1.11

2017-05-22 Thread maatohewetbi
Can anyone explain how to make call pickup work in Opensips? In asterisk it
works ok, but I couldn't find any documentation about this feature in
Opensips.



--
View this message in context: 
http://opensips-open-sip-server.1449251.n2.nabble.com/Call-Pickup-feature-in-Opensips-1-11-tp7607496.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

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


[OpenSIPS-Users] OpenSIPS Rate Limit module - set limit lower than 1 per second

2017-05-22 Thread Aknin, Liran via Users
Hi,

We see in the Rate Limit module documentation that the *limit* parameter
for the *rl_check* function is an integer and should be specified as
per-second, not per-timer_interval.

Is there a way to set the limit to a lower value than 1 per second, e.g "10
times per minute"?

Thanks and regards,
Liran
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS - Use Rate Limit module for Pike limiting

2017-05-22 Thread Aknin, Liran via Users
Hi,

With the flexibility of the Rate Limit module, that allows us to limit over
customized pipes, we were thinking of using this module also for pike
limiting, by defining a pipe per request source ip ($si).

We are already using Rate Limit module for a different use case, and
considering using it also for pike, instead of using an additional Pike
module.

We would like to hear your thoughts about the matter. Specifically if there
are advantages of using the Pike module rather than customizing Rate Limit
module for pike purposes.

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