There is a peer-to-peer short message transfer protocol (SMPP), which is used for this by mobile operators. It works on a TCP / IP network. Sometimes the connection point is accessible via the Internet, sometimes you have to connect to their private network.
Of course, you must have some kind of agreement with a telecommunications company.
, , , .