[freeside-users] Suspend Function

Jack D. Martin Jr. jack.d.martin at magicwisp.com
Wed Mar 4 09:29:54 PST 2009


I am looking at that - and see on the export config page the field.  What
is the exact sysntax?  Anything else have to be done?  This could make
things quite easy.

I assume the syntax on the sqlexport is radiusgroupname(suspendreason)

Is that correct???  Lots of assumption there - I can't find any
documentation on that function.

Jack Martin
Magic Wireless Internet Service Providers LLC
P.O. Box 278
104 W. Main
Oilton, OK 74052
www.magicwisp.com

> Jack D. Martin Jr. wrote:
>> I am using Freeside for a very small ISP, and love the tools it
>> provides.
>> On the suspend however I have a question.  When I suspend a customers
>> internet package, it goes to the radius server and changes their
>> password
>> to a random password.  What I would like for it to do is to assign them
>> to
>> a different group.  This allows my radius server to allocate a different
>> IP that I can re-direct to a webpage explaining to them why they are not
>> able to surf the internet.  Can somebody tell me if this is possible,
>> and
>> how to go about it if it is?
>>
>
> I believe that's supported in the SQL-RADIUS export, although I have not
> used that feature.  From looking at the code for Freeside 1.7.3 for
> FS/FS/part_export/sql_radius.pm and the online demo, it appears that you
> have to set "Radius group mapping to reason (via template user)" in the
> export configuration, and set up a template user with the required
> RADIUS groups, and also a suspend reason.
>
> Presumably when you suspend the user and give the corresponding reason,
> the SQL RADIUS export finds the RADIUS groups in the template user and
> applies them to the user you're suspending.
>
> I hope this helps.
>
> Regards,
>
> 	Richard Siddall
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>




More information about the freeside-users mailing list