<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> </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 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> </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> </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 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> </P>
<P>Thanks,</P>
<P> </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 <bogdan@voice-system.ro><BR>To: Jayesh Nambiar <voip_freak@yahoo.co.in><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>> Hi All,<BR>> Is there a way in dialog module that I can keep count of active <BR>> dialogs based on certain parameters like ruri, to_uri etc.<BR>> For example, if i need to do a check of active dialogs on a called <BR>> number which is 123456 and take certain actions if the number of <BR>> active dialogs to called number 123456 is greater than or equal to <BR>> certain integer value.<BR>> <BR>> Is the above requirement a
possibility in openser?<BR>> Any help regarding this will be highly appreciated.<BR>> <BR>> Thanks in advance.<BR>> <BR>> w/regards,<BR>> Jayesh<BR>><BR>> ------------------------------------------------------------------------<BR>> Get the freedom to save as many mails as you wish. Click here to know <BR>> how. <BR>> <<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>> <BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> Users mailing list<BR>> <A href="mailto:Users@lists.openser.org" ymailto="mailto:Users@lists.openser.org">Users@lists.openser.org</A><BR>> <A
href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target=_blank>http://lists.openser.org/cgi-bin/mailman/listinfo/users</A><BR>> <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>