Hi,
We are running openeser version 1.2.2. Currently we have defined 3 groups of subscribers. We have a requirement of limiting max number of concurrent calls per group. For example, 10 maximum number of concurrent ( incoming /outgoing ) calls for subscribers belonging to group 1. How do we go about it. Any sample config will be appreciated.
thanks,
dhekial
_________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072...
Rana Dhekial wrote:
Hi,
We are running openeser version 1.2.2. Currently we have defined 3 groups of subscribers. We have a requirement of limiting max number of concurrent calls per group. For example, 10 maximum number of concurrent ( incoming /outgoing ) calls for subscribers belonging to group 1. How do we go about it. Any sample config will be appreciated.
As far as I know, there is no inherent mechanism for doing this in OpenSER.
You are going to have to keep state for each SIP transaction going to a particular subscriber group - perhaps using a database. Using request and reply routes, be able to store calls in progress. Then, count them to enforce the cap.
El Jueves, 17 de Julio de 2008, Rana Dhekial escribió:
Hi,
We are running openeser version 1.2.2. Currently we have defined 3 groups of subscribers. We have a requirement of limiting max number of concurrent calls per group. For example, 10 maximum number of concurrent ( incoming /outgoing ) calls for subscribers belonging to group 1. How do we go about it. Any sample config will be appreciated.
OpenSer is a stateful proxy, not a call-stateful. This is: OpenSer knows about SIP transactions but not about SIP dialogs (calls), so there is no an ellegant way to know the number of current dialogs.
Also note that a dialog could start through OpenSer (first INVITE) and continue out of OpenSer (if OpenSer doesn't add "Record-Route" headers).
Anyway there is "dialog" module that can help with it but AFAIK it is much complete in 1.3.X version.
Iñaki Baz Castillo wrote:
El Jueves, 17 de Julio de 2008, Rana Dhekial escribió:
Hi,
We are running openeser version 1.2.2. Currently we have defined 3 groups of subscribers. We have a requirement of limiting max number of concurrent calls per group. For example, 10 maximum number of concurrent ( incoming /outgoing ) calls for subscribers belonging to group 1. How do we go about it. Any sample config will be appreciated.
OpenSer is a stateful proxy, not a call-stateful. This is: OpenSer knows about SIP transactions but not about SIP dialogs (calls), so there is no an ellegant way to know the number of current dialogs.
Also note that a dialog could start through OpenSer (first INVITE) and continue out of OpenSer (if OpenSer doesn't add "Record-Route" headers).
Anyway there is "dialog" module that can help with it but AFAIK it is much complete in 1.3.X version.
There might be some merit to crafting a module that allows one to hash a concurrent open INVITE dialog state and then obtain a count based on some user-defined key. It has to be user-defined because many use cases will have many different requirements for how to enforce call limits; some will want to do it based on DID, some will want to do it based on underlying Contact, some will have various "subscriber groups" as the original poster does, etc.
Check the new profile functionality in the dialog module for the upcoming 1.4 release: http://www.openser.org/docs/modules/1.4.x/dialog.html#id2506814
Regards, Ovidiu Sas
On Thu, Jul 17, 2008 at 5:37 PM, Rana Dhekial dhekial@msn.com wrote:
Hi,
We are running openeser version 1.2.2. Currently we have defined 3 groups of subscribers. We have a requirement of limiting max number of concurrent calls per group. For example, 10 maximum number of concurrent ( incoming /outgoing ) calls for subscribers belonging to group 1. How do we go about it. Any sample config will be appreciated.
thanks,
dhekial
With Windows Live for mobile, your contacts travel with you. Connect on the go. _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users