<DIV><FONT color=#000000 size=2>Thanks for your reply.But&nbsp;I have another question, I used &nbsp;active_dialogs&nbsp;</FONT><FONT color=#000000 size=2> in the cfg file as this:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2>if (is_method("INVITE")) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ($stat(active_dialogs)&gt;=1){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_send_reply("503", "Service Unavailable");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR></FONT></DIV>
<DIV><FONT color=#000000 size=2>
<DIV><FONT color=#000000 size=2>But it seems not right. </FONT></DIV>
<DIV><FONT color=#000000 size=2>I use sipp to test the limit ,but when the value of active_dialogs</FONT><FONT color=#000000 size=2>&nbsp;aim to the number I set ,</FONT></DIV>
<DIV><FONT color=#000000 size=2>opensips sent 503,but&nbsp; the value of active_dialogs<FONT color=#000000 size=2>&nbsp;</FONT>sitll increase. </FONT></DIV>
<DIV><FONT color=#000000 size=2>So&nbsp;I want to know how the value of this paramer come</FONT><FONT color=#000000 size=2>from.</FONT></DIV>
<DIV><FONT color=#000000 size=2>Or is there something wrong in my cfg document?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>Jing</DIV></DIV></FONT><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------&nbsp;原始邮件&nbsp;------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Schneur Rosenberg [via OpenSIPS (Open SIP Server)]"&lt;<a href="/user/SendEmail.jtp?type=node&node=7592371&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;; </div><div><b>发送时间:</b> 2014年7月14日(星期一) 下午2:08</div><div><b>收件人:</b> "jing "&lt;<a href="/user/SendEmail.jtp?type=node&node=7592371&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;; </div><div><b>主题:</b> Re: Dialog Concurrency Control Issue.</div></div><div><br></div><P dir=ltr>Very simple, before creating a new dialog check how many open dialogs exist.</P>
<DIV class=gmail_quote>On Jul 14, 2014 9:05 AM, "jing" &lt;<A href="/user/SendEmail.jtp?type=node&amp;node=7592369&amp;i=0" rel="nofollow" target=_blank link="external">[hidden email]</A>&gt; wrote:<BR type="attribution">
<BLOCKQUOTE style="BORDER-LEFT: #cccccc 2px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 1em; PADDING-RIGHT: 1em; PADDING-TOP: 0px" class=gmail_quote>hi,Bogdan<BR><BR><BR>&nbsp;I want to limit the total number of active dialogs ,what should I do ?<BR><BR>I found there are many questions about "Concurrent calls limitation " based<BR>on per user, it's not what I need.<BR><BR>I appreciate your advice very much, &nbsp;more detailed the better.<BR><BR>Thanks,<BR>Regards,<BR>jing<BR><BR><BR><BR>--<BR>View this message in context: <A href="http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Concurrency-Control-Issue-tp6172931p7592368.html" rel="nofollow" target=_blank link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Concurrency-Control-Issue-tp6172931p7592368.html</A><BR>Sent from the OpenSIPS - Users mailing list archive at Nabble.com.<BR><BR>_______________________________________________<BR>Users mailing list<BR><A href="/user/SendEmail.jtp?type=node&amp;node=7592369&amp;i=1" rel="nofollow" target=_blank link="external">[hidden email]</A><BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target=_blank link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR></BLOCKQUOTE></DIV><BR>_______________________________________________ <BR>Users mailing list <BR><A href="/user/SendEmail.jtp?type=node&amp;node=7592369&amp;i=2" rel="nofollow" target=_blank link="external">[hidden email]</A> <BR><A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target=_blank link="external">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR><BR><BR>
<HR color=#cccccc SIZE=1 noShade>

<DIV style="FONT: 12px tahoma, geneva, helvetica, arial, sans-serif; COLOR: #444">
<DIV style="FONT-WEIGHT: bold">If you reply to this email, your message will be added to the discussion below:</DIV><A href="http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Concurrency-Control-Issue-tp6172931p7592369.html" target=_blank rel="nofollow" link="external">http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Concurrency-Control-Issue-tp6172931p7592369.html</A> </DIV>
<DIV style="MARGIN-TOP: 0.4em; FONT: 11px/1.5em tahoma, geneva, helvetica, arial, sans-serif; COLOR: #666">To unsubscribe from Dialog Concurrency Control Issue., <A href="" target=_blank rel="nofollow" link="external">click here</A>.<BR><A style="FONT: 9px serif" href="http://opensips-open-sip-server.1449251.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" target=_blank link="external">NAML</A> </DIV>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/Dialog-Concurrency-Control-Issue-tp7592371.html">回复: Dialog Concurrency Control Issue.</a><br/>
Sent from the <a href="http://opensips-open-sip-server.1449251.n2.nabble.com/OpenSIPS-Users-f1449235.html">OpenSIPS - Users mailing list archive</a> at Nabble.com.<br/>