Hi Bogdan,
Thanks for your reply.
I tried of acheiving the same as follows:
Enabled DB support for dialog module.
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.
If the count is equal to or greater than the limit value, just reply as 403, Forbidden.
I am about to finish this today and will let you know the results.
I just wanted an expert advice on if the logic is ok and efficient.
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.
Also is it possible to insert some custom value in this column to implement any further
logic.
Thanks,
w/regards,
Jayesh
----- Original Message ----
From: Bogdan-Andrei Iancu <bogdan(a)voice-system.ro>
To: Jayesh Nambiar <voip_freak(a)yahoo.co.in>
Cc: users(a)lists.openser.org
Sent: Monday, 31 March, 2008 5:34:05 PM
Subject: Re: [OpenSER-Users] dialog matching criteria
Hi Jayesh,
Such support is not available, but it is on the roadmap for 1.4.
Regards,
Bogdan
Jayesh Nambiar wrote:
Hi All,
Is there a way in dialog module that I can keep count of active
dialogs based on certain parameters like ruri, to_uri etc.
For example, if i need to do a check of active dialogs on a called
number which is 123456 and take certain actions if the number of
active dialogs to called number 123456 is greater than or equal to
certain integer value.
Is the above requirement a possibility in openser?
Any help regarding this will be highly appreciated.
Thanks in advance.
w/regards,
Jayesh
------------------------------------------------------------------------
Get the freedom to save as many mails as you wish. Click here to know
how.
<http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
Forgot the famous last words? Access your message archive online at
http://in.messenger.yahoo.com/webmessengerpromo.php