in a few words -
you can set avp's as the profile params in the dialog module (that module works great for me) that way you wont need to set more than one profile. and for every call use it.
or just use $shv() and +1 or -1 every INVITE, CANCEL, BYE or failure reply.
hope it helps,
Uri
Hi,
I need to limit the number of concurrent calls go through kamailio.
Its a simple set up(Not per user basis, a global limit will suffice).
I know i need to employ dialog module. But i'm a little confused about
profiles. I thought for simple application like this, i may be able to
use profile altogether.
Any code snippet to limit number of concurrent calls will be very helpful.
Thanks in advance.
--
-aft