Re: include numbers problem
gilberto dos santos alves <[email protected]>
| Newsgroups | gmane.linux.drivers.gammu |
|---|---|
| Message-ID | <CAP9G-NL5tu29Lam1fL=hwkxhQ9F1G+sYH04xzLu_B4HW4B=ZwA@mail.gmail.com> |
hi. please work with [1] LogFormat parameter to handle what kind of messages you want, and [2] debuglevel 0 thru 255. [1] http://wammu.eu/docs/manual/config/index.html#gammurc [2] https://wammu.eu/docs/manual/smsd/config.html 2016-02-28 11:58 GMT-03:00 Marek <[email protected]>: > 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... > > Thanks > > > ------------------------------------------------------------------------------ > 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 > -- gilberto dos santos alves +55(11)9-8646-5049 sao paulo - sp - brasil ------------------------------------------------------------------------------ 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