May be ispconfig3 It is a complex idea that has many dependencies, but if achieved .... will do SMS server very famous ... or maybe it's too complicated ... ???
it will be really nice if it can be used as GSM gateway .... to send and receive SMS ...
there are a lot of cheap gsm modem modules as SIM900 and SIM800L on ebay and aliexpres these days (about $10 ...