FreeRadius exec module not working

Arash Shams ara4sh at hotmail.com
Tue Jan 12 12:30:08 CET 2016


Hello 

i have a simple curl command get 2 arguments and send sms with them so i create a bash script "sendsms.sh" and create a exec module with that 

exec sendwelsms {
        wait = no
        program = "/root/sendsms.sh '%{User-Name} %{Huntgroup-Name}'"
        input_pairs = request
        shell_escape = yes
        output = file
}


i passed %{User-Name} as $1 and %{Huntgroup-Name} as $2 to that script .
i put sendwelsms to end of postscript at accounting section and i want to every time  a user logged this script executed 

now its not working any suggestion ? 

 		 	   		  


More information about the Freeradius-Users mailing list