Re: [OpenSIPS-Users] Delay requests to avoid CPS provider's CPS limits

2016-03-28 Thread Bogdan-Andrei Iancu
Hi Mateusz, You have 2 approaches: 1) send the calls to the carriers as you get them (same rate) - 90 calls will be rejected and you can capture that in failure route (I guess they will use a given reply code to indicate rejection when exceeding cps); in failure route, do a async sleep (or us

Re: [OpenSIPS-Users] Delay requests to avoid CPS provider's CPS limits

2016-03-27 Thread Daniel Zanutti
Hi Did you take a look at async function of opensips 2.0? I think you may insert some delay with this. Em 27/03/2016 7:03 PM, "Mateusz Bartczak" escreveu: > Hi > > I'm looking for a solution to nicely handle call spikes > > The issue is like this: > > I have customer generating 100 calls every 1

[OpenSIPS-Users] Delay requests to avoid CPS provider's CPS limits

2016-03-27 Thread Mateusz Bartczak
Hi I'm looking for a solution to nicely handle call spikes The issue is like this: I have customer generating 100 calls every 10 seconds. Not during 10 seconds, but exactly every 10 seconds I get 100 calls in one second, next 9 seconds nothing and then next 100 calls... On the other side, I hav