Ok, so you're saying that the only way to do this is through the auth
module? Any chance there can be something along the lines of a prepaid
system done with SER? a constant query to radius and when call credits
are exhausted, radius tells SER to cut the call?
Daniel-Constantin Mierla wrote:
you can group the users so you know who is allowed to
call or not a
certain destination. For RADIUS you have to use group_radius to check
user group membership. An example of how to allow/deny local, long
distance, international calls you can find in the examples directory
-- online on cvs at:
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/examples/pstn.cfg?…
It uses the group module with database backend -- you would need to
replace module "group" with "group_radius".
acc_*() methods are only for accounting purposes.
Daniel
On 02/10/05 20:30, Tom Gaudasinski wrote:
Greetings,
I'd like to know a few things. First, can SER control whether a
call is connected or not through radius? For example, SER contacts
radius and radius returns whether the user is allowed to make the
call or not, then SER dials out or not depending on the answer. So
this could be per destination and per user, some users not being able
to call to certain destinations. Is this possible? If so, could
someone provide a small example. Also I'd like to know what
acc_rad_request() returns, is it a bool? What is it's purpose, does
it help with the formentioned problem, or is this acc_rad only to do
with CDR style data dumping?
Thank you.
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers