Re: [OpenSIPS-Users] Concurrent call limit per account

2014-06-25 Thread Bogdan-Andrei Iancu

CC'ing the list, so Brett can take his share ;)

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

On 25.06.2014 15:36, Schneur Rosenberg wrote:

Thanks Bogdan and Brett


On Wed, Jun 25, 2014 at 12:46 PM, Bogdan-Andrei Iancu 
mailto:bog...@opensips.org>> wrote:


Hi Schneur,

For the limitation part, take a look at this:
http://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation

On caching, see:
http://www.opensips.org/Documentation/Tutorials-MemoryCaching

Regards,

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

On 24.06.2014 20:00, Schneur Rosenberg wrote:

Hi Bogdan

I would like to set a concurrent call limit on a per account
basis, I will be using the get_profile_size function from the
dialog module I was wondering where can I set the acccountcode (a
static profile name per account) etc.


I can create a table with all the users and the proper account
code, but that would require running a avp_db_query on every call
which is something I would like to avoid, is there any way I can
save a certain value for a subscriber that would be stored in memory?


thanks in advance

S. Rosenberg



___
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] Concurrent call limit per account

2014-06-25 Thread Bogdan-Andrei Iancu

Hi Schneur,

For the limitation part, take a look at this:
http://www.opensips.org/Documentation/Tutorials-ConcurrentCallsLimitation

On caching, see:
http://www.opensips.org/Documentation/Tutorials-MemoryCaching

Regards,

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

On 24.06.2014 20:00, Schneur Rosenberg wrote:

Hi Bogdan

I would like to set a concurrent call limit on a per account basis, I 
will be using the get_profile_size function from the dialog module I 
was wondering where can I set the acccountcode (a static profile name 
per account) etc.



I can create a table with all the users and the proper account code, 
but that would require running a avp_db_query on every call which is 
something I would like to avoid, is there any way I can save a certain 
value for a subscriber that would be stored in memory?



thanks in advance

S. Rosenberg



___
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] Concurrent call limit per account

2014-06-24 Thread Brett Nemeroff
The cached modules are pretty good for this sort of thing. Check those out.


On Tue, Jun 24, 2014 at 12:00 PM, Schneur Rosenberg <
rosenberg11...@gmail.com> wrote:

> Hi Bogdan
>
> I would like to set a concurrent call limit on a per account basis, I will
> be using the get_profile_size function from the dialog module I was
> wondering where can I set the acccountcode (a static profile name per
> account) etc.
>
>
> I can create a table with all the users and the proper account code, but
> that would require running a avp_db_query on every call which is something
> I would like to avoid, is there any way I can save a certain value for a
> subscriber that would be stored in memory?
>
>
> thanks in advance
>
> S. Rosenberg
>
> ___
> 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