Hi Bogdan, thanks a lot. Looks really pretty with the example you showed.
My problem is that, depending on the amount of concurrent calls a user can do, the user belongs to a different group in radius. Imagine a user belonging to the group 'pots' has a simultaneous call limit of 1, a user belonging to the group 'isdn' has a limit of 2 concurrent calls... All rate information/customer attributes is/are stored in the radius and we want to keep it like this. So I think I've to get the information about how many calls the user can do out of the radius into SER to use the example. Any idea how to do that? Regards, Robert -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Thursday, March 05, 2009 12:49 PM To: [email protected] Cc: [email protected] Subject: Re: [OpenSIPS-Users] Restrict Simultaneous-Use Hi Robert, You do not need Radius for this. OpenSIPS can do this by itself. See a nice tutorial on this topic: http://www.opensips.org/index.php?n=Resources.DocsTutConcurrentCalls Regards, Bogdan Robert Borz wrote: > Hi, > > currently I'm using a FreeRADIUS server for authentication and billing > purposes. Now I want to restrict the count of simultaneous calls a user can > do. For this I implemented it with the "Simultaneous-Use" check in FreeRADIUS > and it works fine, for outgoing calls initiated from my customers. Just > trying to initiate a second call when one is still up, the request is > rejected (Proxy authorization fails for the new call). > > But incoming calls from the PSTN come in over an Asterisk machine. There's no > proxy authorization for invites from the Asterisk, just a from_gw() check. So > how I can restrict the amount of simultaneous calls per user for incoming > _and_ outgoing calls? > > Any hint would be really appreciated... > > > Regards, > Robert > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
