Re: [SR-Users] Limiting concurrent calls

2012-09-15 Thread Alex Balashov
Htable is another popular method for those disposed less favourably to the dialog module.  -- Alex -- Sent from my Samsung mobile, and thus lacking in the refinement one might expect from a proper keyboard. Alex Balashov - Principal Evariste Systems LLC 235 E Ponce de Leon Ave Suite 106 De

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-11 Thread Timo Reimann
Hey Alex, On 10.10.2011 19:53, Alex Balashov wrote: > Not only that, but the fix is not trivial. Contrary to how it may > appear to a non-developer, this problem cannot be solved by just making > a little patch. > > Stateless replies have that name for a reason; they lack state. They > don't t

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Andreas Granig
Alex, We use our own kernel-based mediaproxy in our systems, so I can't tell much about rtpproxy, beside that our ngcp-mediaproxy-ng uses the same control protocol (or a basic sub-set of it, e.g. no recording or stream forking etc), so you can use it as drop-in replacement of rtpproxy. See http:/

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Alex Balashov
Andreas, Good to know. These tens of thousands of concurrent calls are bridged signaling-only, I assume? What about RTP relay performance? One of the reasons I've always liked rtpproxy is that it forwards quite a respectable number of streams concurrently, for a userspace process, and is e

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Andreas Granig
Alex, We've had huge performance and stability issues with SEMS in the past as well, but together with the Frafos guys we've brought version 1.4 with thread-pool enabled into a stable state for large-scale deployments. We're running it in production in various deployments with thousands of parall

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Alex Balashov
In theory, this sounds appealing. But we have had a lot of problems with SEMS performance and stability with a large number of calls. We are rather fond of the proxy-based approach because it works, and works well. -- This message was painstakingly thumbed out on my mobile, so apologies for b

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Juha Heinanen
Alex Balashov writes: > Stateless replies have that name for a reason; they lack state. They > don't trigger any TM callbacks that the dialog module can latch onto. > So, figuring out how to remove a dialog to which a stateless final > failure reply has been sent is actually quite difficult, and

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Alex Balashov
Not only that, but the fix is not trivial. Contrary to how it may appear to a non-developer, this problem cannot be solved by just making a little patch. Stateless replies have that name for a reason; they lack state. They don't trigger any TM callbacks that the dialog module can latch onto.

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Timo Reimann
On 10.10.2011 19:00, Jim Lucas wrote: > On 10/10/2011 9:20 AM, Iñaki Baz Castillo wrote: >> 2011/10/10 Jim Lucas : >>> On 10/8/2011 6:03 PM, Timo Reimann wrote: As explained by myself in Flyspray issue #146[1], a fix to this > problem is quite feasible. Overall, I believe that dialog

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Jim Lucas
On 10/10/2011 9:20 AM, Iñaki Baz Castillo wrote: > 2011/10/10 Jim Lucas : >> On 10/8/2011 6:03 PM, Timo Reimann wrote: >>> >>> As explained by myself in Flyspray issue #146[1], a fix to this problem is >>> quite feasible. Overall, I believe that dialog module usage should be more >>> robust and wor

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Iñaki Baz Castillo
2011/10/10 Jim Lucas : > On 10/8/2011 6:03 PM, Timo Reimann wrote: >> >> As explained by myself in Flyspray issue #146[1], a fix to this problem is >> quite feasible. Overall, I believe that dialog module usage should be more >> robust and work out of the box; that is, it shouldn't matter where you

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Henning Westerholt
On Monday 10 October 2011, Jim Lucas wrote: > > As explained by myself in Flyspray issue #146[1], a fix to this problem > > is quite feasible. Overall, I believe that dialog module usage should be > > more robust and work out of the box; that is, it shouldn't matter where > > you place dlg_manage()

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-10 Thread Jim Lucas
On 10/8/2011 6:03 PM, Timo Reimann wrote: > > As explained by myself in Flyspray issue #146[1], a fix to this problem is > quite feasible. Overall, I believe that dialog module usage should be more > robust and work out of the box; that is, it shouldn't matter where you place > dlg_manage(), things

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-08 Thread Timo Reimann
Am 08.10.2011 um 21:44 schrieb Iñaki Baz Castillo: > 2011/10/3 Jon Bonilla : >> Due to a couple of bugs in the dialog module I'd suggest you to run this code >> after the user auth has been successfull. You'll need to call dlg_manage() >> function first. >> >> The other bug makes the dialog not be

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-08 Thread Iñaki Baz Castillo
2011/10/3 Jon Bonilla : > Due to a couple of bugs in the dialog module I'd suggest you to run this code > after the user auth has been successfull. You'll need to call dlg_manage() > function first. > > The other bug makes the dialog not being freed if you send a sl reply > generated > by the prox

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-05 Thread Henning Westerholt
On Monday 03 October 2011, Uri Shacked wrote: > Thanks for the help. > > The idea of using SQLOPS for many things crossed my mind ButI am > using ACC with DB, Dialog with DB and so... isnt it too much? i mean for > load and capacity reasons? Hi Uri, this depends on your exact load situ

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-03 Thread Manwe
El Sun, 02 Oct 2011 21:03:38 -0500 Graham Wooden escribió: > Hi Uri, > > I just got done tailoring this exact concept with the dialog module (you may > have just read my posts). > Two tips here: Due to a couple of bugs in the dialog module I'd suggest you to run this code after the user auth

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-02 Thread Alex Balashov
Graham, Good deal. The one improvement I would suggest would be to use sqlops for custom DB queries as it is more flexible, and is the canonical way to do them now as of >= 1.5.0. avp_db_query() could go away at some point. -- This message was painstakingly thumbed out on my mobile, so apolog

Re: [SR-Users] limiting concurrent calls with dialog module

2011-10-02 Thread Graham Wooden
Hi Uri, I just got done tailoring this exact concept with the dialog module (you may have just read my posts). Here is how I am doing it, roughly, for me. I have two places where I am executing the 3rd section below (for outbound and inbound). Your mileage will vary. modparam("auth_db", "load_cr