[Serusers] SER and Radius, call control question.

Tom Gaudasinski cetus at internode.on.net
Fri Feb 11 12:38:34 CET 2005


What do you mean by the state of the call? Where in a sip header is that 
indicated?

Daniel-Constantin Mierla wrote:

> SER does not keep the state of the call, so it cannot cut the call. 
> You need a back-to-back user agent to do that. The previous mail was 
> about controlling the call before ringing the callee, based on 
> caller's profile.
>
> Vovida has an implementation of b2bua, but I never tried and I do not 
> know whether one can control it via Radius or not. To do it only with 
> ser you need to develop a new module to keep the state of the call.
>
> Daniel
>
> On 02/10/05 21:57, Tom Gaudasinski wrote:
>
>> 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?rev=1.3&content-type=text/vnd.viewcvs-markup 
>>>
>>>
>>> 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 at lists.iptel.org
>>>> http://lists.iptel.org/mailman/listinfo/serusers
>>>>
>>>
>>
>




More information about the sr-users mailing list