[freeside-users] Suspend Function

Julius Igugu ofasa at webcenta.net
Thu Mar 5 02:31:44 PST 2009


Hi,

You need to create a user Disconnect at magicwisp.com with service type 
Disconnect.

I tried this and it changes the radius group but still changes the 
password.

Best Regards.

Julius Igugu
Webcenta Wireless.


Jack D. Martin Jr. wrote:
> Created Suspend Reason:
>
> 9  	Non-Payment  	Non-Payment
>
> Created Service Definition with domsvc as magicwisp.com:
>
> 17   	 Disconnect  	 svc_acct  	 0 active
> 1: sqlradius to 12.169.xxx.xxx
> 	domsvc 	Fixed (unchangeable) 	8
> usergroup 	Fixed (unchangeable) 	Disco
>
> Edited the SQLRadius Export to have this in Radius group mapping to reason:
>
> Disconnect at magicwisp.com 9
>
> Did not work.  Anybody else have an idea?
>
>
> 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 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.
>>>
>>>       
>> I can't find any documentation on it either, other than what's in the
>> source files.  Unfortunately, I don't have time to set up an
>> installation of Freeside and FreeRADIUS to test the following.
>>
>> I believe what you have to do is:
>>
>> 1/ Create a suspend reason that you want to apply to users, say "No
>> payment received" in reason group "Non-payment".
>>
>> 2/ Create a svc_acct with the RADIUS groups you want to apply to
>> suspended users, say "nonpayment at magicwisp.com" with a group of "unpaid".
>>
>> 3/ In the "Radius group mapping to reason (via template user)" field of
>> the SQL-RADIUS export, enter precisely what it asks for: the svcnum,
>> username or username at domain name of your template user, a space or two,
>> and then the reasonnum or text of the corresponding suspend reason, e.g.
>> something like:
>> 	nonpayment at magicwisp.com 4
>> where 4 is the reason number of "No payment received".
>>
>> 4/ Associate the SQL-RADIUS export with the services you want to suspend.
>>
>> 5/ Make sure you use "No payment received" as the suspend reason
>> whenever you suspend customers.
>>
>> Presumably you can use the same template user for lots of suspend reasons.
>>
>> 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
>>
>>     
>
>
> _______________________________________________
> 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