I have created a alert action and call to smgSend.c file.
i compiled smgSend.c to smgSend
When I run this script manually "**/bin/smgSend "hello" 01234567789**", it works fine.
In bin directory have 2 files: smgSend.c and smgSend
content of commands.conf file in local directory below: