Alex Thansk for quick answer.
I have not used profiles yet. I just observed some interesting stuff.
In route section if I put code as below I see $DLG_count value is being changed, but it does not look consistent.
*setflag(FLD_DLG); if (is_method("INVITE")) { * So if I put setflag before if check, $DLG_count I can see changing. Looks it is only incrementing, but not decrementing.
You have any idea, why it is behaving so.
Can somebody point me what is the best way to put a limit for maximum number of concurrent calls.
Regards Austin On Sun, Oct 30, 2011 at 7:25 AM, Alex Balashov abalashov@evaristesys.comwrote:
Have you tried using dialog profiles instead of $DLG_count?
-- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/
______________________________**_________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users