Re: include numbers problem

Michal Čihař <[email protected]>
Newsgroups gmane.linux.drivers.gammu
Message-ID <[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
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJW2XgoAAoJEPSqIp1NWMJFGLMQAKN8dj8V8I/rWeQdTXaODbF5
O+E8wttCVd6afqAsskqQjM5knQ+ZG/GFRBiRKC1AhIIbxS6Tdr1bJJxGgbZ0SIvc
LscljpiCrN3xNpbt3rv6kE2yMB0qKSuCCBVztUEZDDGVdBOuFFQx44jLa1SZCbY0
q709aZ9CV8iAdV6zC9QDHBJXNNzbNpIecBBzEbfuvLV2UDmUSojZDHHztVUofpag
Va3ioDwAV8Wbxo8EVC5FkEGPVM9wakcMtZjSj5kflTApdQTfMEypa1KGAu27pOwI
XVKBSBiUoE30drl88n6jfRlrcCS0pO4LkD481reZylPFLl7iZbqipMGmpqObEQaT
GCuVUjIvGuK35eFhDRJZ8ArNX1oKf2ZTGEWP5X0EXmZ/0iwHQTTe5sCpoxzM4tlR
VaCUZDgOW7qVGbMdKklNGXeLQKvLbi7nHF6klabgtat21sQ4JIYIcgQlHKwLYp+L
yUCBIg1SUAaxSIYr0uPfiNGibB0ZH6v8x0sFyRUfZnlkAlkfWY69IUT5aEP7kAmY
mT4ZPvHyuidZ96hartpfB9nWBTbsxIkdpXDtZrUIzkp1Bpmk8ky61Jehbqy/KJ+o
4dXioge2q1/5hOnLWWttr+1ZrZNa3SeWu1nCLTsqfG0eYv5eEV2qasqbLa1QhNUj
iGdnMgkX5aEyOFUBRHEq
=58gQ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.