I am using windows server for SMS Server i have installed active xpert..

I want to make my ubuntu as sms server, for exmaple sms should be saved in mysql and script or software send sms to receipent please tell me how i make sms server in ubuntu with mysql support?