I meanwhile installed gammu in two different raspberry pi (2 and 3), and it works fine - but only for rather exactly 30 minutes. The daemon (according to top) continues, but no sms is sent or received. A shutdown -r command or a reboot allows to exchange sms - but again only for 30 minutes. I am using a Huawei USB dongle. The whole thing works fine when I ask the Raspi by a cron-job to restart every 30 minutes, but I'm losing then all data of my Python program...
I did a search for many days in Internet. There was the same question asked by someone else in forum-rapsberry.de. Unfortunately unanswered. I kindly ask for help here.