Re: include numbers problem
Angga Lisdiyanto <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAEEKgNNaDpPwjau9diytp-d0OS5w_FuvL1N5Ko_FMeg5ps-HoA@mail.gmail.com> |
About infinite loop, a long time ago i got same problem. The cause is my MySQL trigger scripts in inbox table is wrong. So, one messages was becone infinite loop until i delete my trigger. 2016-03-04 18:57 GMT+07.00, Michal Čihař <[email protected]>: > Dne 28.2.2016 v 15:58 Marek napsal(a): >> Hi, i have gammu-smsd 1.33.0 on rasbian jessie, system is update to >> current. All is ok, but... My config >> >> # Configuration file for Gammu SMS Daemon >> >> [gammu] >> device = /dev/ttyUSB0 >> connection = at >> logformat = textalldate >> >> #[include_numbers] >> #number1 = +421907xxxxxx >> >> [smsd] >> service = files >> RunOnReceive = /var/spool/gammu/script/script.sh >> pin = 0000 >> logfile = /var/log/gammu.log >> debuglevel = 0 >> >> inboxpath = /var/spool/gammu/inbox/ >> outboxpath = /var/spool/gammu/outbox/ >> sentsmspath = /var/spool/gammu/sent/ >> errorsmspath = /var/spool/gammu/error/ >> >> in source file is sample config file >> >> # When uncomment this section and insert numbers here, smsd will process >> # incoming sms only from numbers written here (incoming sms from all >> other >> # numbers will be deleted) >> #[include_numbers] >> #number1 = 1234 >> >> when i set include number and receive sms from number in include numbers, >> so system receive sms and all is ok. But i receive sms from another number >> and gammu-smsd write in log this line "Read 0 messages" and every 2 >> seconds repeat it. SMS is on SIM card, gammu-smsd dont receive this >> mesage. But dont delete it. Even if in manua is " (incoming sms from all >> other numbers will be deleted)" When i comment include numbers, restart >> gammu-smsd, then system receive this SMS from SIM. I upgrade system to >> debian-testing and i have gammu 1.37.0 and problem remained. Only in log >> is only one line. "Read 0 messages" What is problem. I want receive sms >> only from one number, other sms from other number i want deleting >> >> gammu-smsd 1.33.0 >> >> Sun 2016/02/28 13:58:37 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:39 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:41 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:43 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:45 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:47 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:49 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:51 gammu-smsd[2121]: Read 0 messages >> Sun 2016/02/28 13:58:53 gammu-smsd[2121]: Read 0 messages >> >> gammu-smsd 1.37.0 >> >> Sun 2016/02/28 14:48:00 gammu-smsd[624]: Starting run on receive: >> /var/spool/gammu/script/script.sh >> IN20160228_144753_00_+421907xxxxxx_00.txt >> Sun 2016/02/28 14:48:00 gammu-smsd[586]: Process finished successfully >> Sun 2016/02/28 14:48:45 gammu-smsd[586]: Read 0 messages >> Sun 2016/02/28 14:50:31 gammu-smsd[586]: Terminating communication... > > What's exactly problem with 1.37.0 here? The infinite loop issue you see > with 1.33.0 was fixed in 1.36.0. > > > -- > Michal Čihař | http://cihar.com | http://blog.cihar.com > > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users