Thiago Rondon wrote: > Hello, > > I'm with a server openser running smoothly. > > - Users are authenticating. (MySQL) > - I succeeded in redirecting the calls to my "supplier" voip. > > But I can not control the number of minutes that each user can use, > that is, I would like to organize users by groups to say: > > -- Group A users can make connections/calls up to 2 minutes. > -- Group B users can make connections/calls up to 3 minutes.
You would need some way of tracking call state (perhaps via the dialog module, or otherwise a home-spun solution involving state logging) and having an outside SIP UAC issue a BYE for calls of certain categories after a certain period of time. OpenSER is not call-stateful and has no awareness of calls. It is also a proxy, not a UAC, so it cannot actually originate any new call legs or requests; it is entirely event-driven in that it acts solely on behalf of various endpoints. -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599 _______________________________________________ Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users