<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><P>Hi Bogdan,</P>
<P>Thanks for your reply.</P>
<P>I tried of acheiving the same as follows:</P>
<P>&nbsp;</P>
<P>Enabled DB support for dialog module.</P>
<P>If the called number is 123456, I first query the dialog table to retreive the count on to_uri&nbsp;and compare it with a certain limit value.</P>
<P>If the count is equal to or greater than the limit value, just reply as 403, Forbidden.</P>
<P>&nbsp;</P>
<P>I am about to finish this today and will let you know the results.</P>
<P>I just wanted an expert advice on if the logic is ok and efficient.</P>
<P>&nbsp;</P>
<P>Also there is a column in the dialog table which is caller_route_set and callee_route_set, can someone please tell me from&nbsp;where these values are retreived from as it stays blank while checking the dlg_list.</P>
<P>Also is it possible to insert some custom value in this column to implement any further logic.</P>
<P>&nbsp;</P>
<P>Thanks,</P>
<P>&nbsp;</P>
<P>w/regards,</P>
<P>Jayesh</P>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Bogdan-Andrei Iancu &lt;bogdan@voice-system.ro&gt;<BR>To: Jayesh Nambiar &lt;voip_freak@yahoo.co.in&gt;<BR>Cc: users@lists.openser.org<BR>Sent: Monday, 31 March, 2008 5:34:05 PM<BR>Subject: Re: [OpenSER-Users] dialog matching criteria<BR><BR>Hi Jayesh,<BR><BR>Such support is not available, but it is on the roadmap for 1.4.<BR><BR>Regards,<BR>Bogdan<BR><BR>Jayesh Nambiar wrote:<BR>&gt; Hi All,<BR>&gt; Is there a way in dialog module that I can keep count of active <BR>&gt; dialogs based on certain parameters like ruri, to_uri etc.<BR>&gt; For example, if i need to do a check of active dialogs on a called <BR>&gt; number which is 123456 and take certain actions if the number of <BR>&gt; active dialogs to called number 123456 is greater than or equal to <BR>&gt; certain integer value.<BR>&gt;&nbsp; <BR>&gt; Is the above requirement a
 possibility in openser?<BR>&gt; Any help regarding this will be highly appreciated.<BR>&gt;&nbsp; <BR>&gt; Thanks in advance.<BR>&gt;&nbsp; <BR>&gt; w/regards,<BR>&gt; Jayesh<BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt; Get the freedom to save as many mails as you wish. Click here to know <BR>&gt; how. <BR>&gt; &lt;<A href="http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/" target=_blank>http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/</A>&gt; <BR>&gt;<BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Users mailing list<BR>&gt; <A href="mailto:Users@lists.openser.org" ymailto="mailto:Users@lists.openser.org">Users@lists.openser.org</A><BR>&gt; <A
 href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target=_blank>http://lists.openser.org/cgi-bin/mailman/listinfo/users</A><BR>&gt;&nbsp; <BR><BR></DIV><BR></DIV></div><br>


      <!--4--><hr size=1></hr> 5, 50, 500, 5000 - Store N number of mails in your inbox. <a href="http://in.rd.yahoo.com/tagline_mail_4/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Click here.</a></body></html>