[OpenSIPS-Users] Maximun calls for each user

Duane Larson duane.larson at gmail.com
Sun Oct 7 22:19:42 CEST 2012


It is possible.  You would need to use AVPOPS per user and define a max
call number.  Then you would use get_profile_size() to check how many calls
there.  You just need to play with it.  I am able to do what you are
wanting to do.

On Sun, Oct 7, 2012 at 3:14 PM, Engineer voip <forvoip4 at gmail.com> wrote:

> Hi,
> Yes, but what i do if i want to define a number of calls for each user?
> For example: 5 calls of user A and 10 calls for user B.
>
> 2012/10/7 Duane Larson <duane.larson at gmail.com>
>
>> I think this is what you want.  Since you are using OpenSIPS 1.8 some
>> things might be a little different but not by much.
>>
>> http://www.opensips.org/Resources/DocsTutConcurrentCalls
>>
>>
>>
>> On Sun, Oct 7, 2012 at 1:45 PM, Engineer voip <forvoip4 at gmail.com> wrote:
>>
>>> Hello All,
>>> I use opensips 1.8 and i want to limite a maximum calls for each user
>>> enregistred on my opensips Server.
>>> Someone has an idea to do that please ?
>>>
>>> --
>>>
>>> Best Regards.
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>> --
>> --
>> *--*--*--*--*--*
>> Duane
>> *--*--*--*--*--*
>> --
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> --
>
> Best Regards.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121007/fdb427a2/attachment.htm>


More information about the Users mailing list