Hi, John!
The only limitation of the dialog profiles that I can think of is that
the counter cannot exceed the maximum value of unsigned int (4294967295).
Yes, dialog profiles can be used to count the number of active calls
with a specify "key" (as you require, the key can be a destination
number), even though there are thousands of concurrent calls.
The log_profile_hash_size is used to define the Hashtable size. The
larger the hashtable is, the fewer hash collisions you have. It does not
limit the number of profiles at all, it only affects the performance of
the hashtable. You can find more information here[1].
[1] http://en.wikipedia.org/wiki/Hash_table
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 08/21/2014 07:59 PM, John Quick wrote:
Hi,
Can anyone explain what the limits are on the number of "with value"
profiles that can safely be used in the dialog module?
For example, could dialog profiles be used to count the number of active
calls to every unique destination number when there might be thousands of
concurrent calls all to different numbers?
How does the parameter log_profile_hash_size work?
The default value of 4 surely cannot mean there is a limit of 16 "with
value" profiles. Or does it?
Thanks.
John Quick
Smartvox Limited
Web: www.smartvox.co.uk
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users