This is a GSM gateway (Siemen TC35i) that can be operated with a garage door opening and closing device. The cause of the project is that the Beninca remote control very expensive but quickly wears out (breaks crack, etc.). I found out that I would use Arduino Mini Pro and a GSM module. Because a mobile is almost handy and only one remote control is in use. The remote control alignment does not want to prevent switching, so only a simple relay operates a remote control. The code is half simplicity, but it is not really elegant.There is no fault tolerance if there is no modem or something is wrong, there is no feedback. However, it only works with numbers that are included in the database. Neither SMS or any other call responds. The call is rejected at the same time (if there is a number in the database and if not if it is not in the database).
The code: https://pastebin.com/Y6p1mjy1