12 Jan
2016
12 Jan
'16
6:30 a.m.
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 ?