Re: Gammu 1.37.4 / smsd hangs on CentOS 7?

gilberto dos santos alves <[email protected]> Mon, 24 Oct 2016 14:42:17 -0200
Newsgroups gmane.linux.drivers.gammu
Message-ID <CAP9G-NKSgOkZ2gM8K8MgwCTna9HUNWFBjOtQZNi2MMTLOkdvYg@mail.gmail.com>
[1] https://wammu.eu/docs/manual/smsd/config.html#message-filtering
[2]
https://en.wikipedia.org/wiki/Short_Message_Service_technical_realisation_(GSM)
Hi. Please look at your smsc number points. see [1] and find smsc number.
Many telecom operators have special handles for some receiving or sending
controls (like areas, other carriers, etc) be sure that is handling or left
over. if necessary use set smsc number for what you want. see [2].

--
gilberto dos santos alves
+55(11)9-8646-5049
sao paulo - sp - brasil





2016-10-24 8:43 GMT-02:00 Karl Pielorz <[email protected]>:

>
> Hi,
>
> We've been running Gammu under CentOS 7 recently - but the sms daemon keeps
> 'hanging'.
>
> Symptoms are - it'll start, in the logs you can 'see' it chatting to our
> Huawei USB modem, and running 'gammu-smsd-inject' can be used to send
> messages.
>
> After a 'random' amount of time (20 minutes? - maybe an hour or few) - the
> daemon stops 'noticing' there are SMS's to be sent.
>
> In the logs - we can still see it conversing with the modem (getting signal
> strength info, network info etc.) 'dmesg' etc. confirm the modem isn't
> hanging, or disappearing (i.e. off the USB bus).
>
> At this point 'kill' won't kill the daemon - you can 'kill -9' it - if you
> restart it, it fires up - chats to the modem, see's there's a message to
> send - and sends it. But then randomly 'hangs' again later.
>
> We're running 'CentOS Linux release 7.2.1511' - and I compiled Gammu 1.37.4
> from source.
>
> We're using a very simple conifg - with 'files' queues for in/out SMS'd etc
> (config is below).
>
> Any suggestions? - It doesn't seem to 'crash' - it just stops noticing
> there's stuff to send (and at that point a regular SIGTERM won't quit it -
> only a SIGKILL.
>
> I've found a few posts / articles about this - but nothing with any
> concrete fixes / relevant to the versions I'm running.
>
> Thanks,
>
> -Karl
>
>
> gammu.cfg:
>
> [gammu]
> port = /dev/ttyUSB2
> connection = at115200
> synchronizetime = yes
> logfile = /var/log/gammu-three.log
> logformat = textall
> debuglevel = 255
>
> StatusFrequency = 0
>
> [smsd]
> Service = files
> logfile = /var/log/gammu-three.log
> debuglevel = 255
> InboxPath = /var/spool/sms/inbox-three/
> OutboxPath = /var/spool/sms/outbox-three/
> SentSMSPath = /var/spool/sms/sent-three/
> ErrorSMSPath = /var/spool/sms/error-three/
> PhoneID = three
> ReceiveFrequency = 15
> Receive = true
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Gammu-users mailing list - https://lists.sourceforge.net/
> lists/listinfo/gammu-users
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users