PlaySMS have serios bug!


(Mapiiiaji) #1

If send massage to wrong number, next massage don’t be send to correct recipient and in /var/log/gammu/smsd.log log file always be appear lines:

Sat 2018/06/16 19:30:10 gammu-smsd[15456]: SMS sent on device: "/dev/ttyUSB0" status=500, reference=-1
Sat 2018/06/16 19:30:10 gammu-smsd[15456]: Error getting send status of message: Unknown error. (UNKNOWN[27])
Sat 2018/06/16 19:31:11 gammu-smsd[15456]: Found 1 sms to "+7516814654897" with text "aaaa @admin" cod 3 lgt 11 udh: t 1 l 0 dlr: 1 fls: -1
Sat 2018/06/16 19:31:11 gammu-smsd[15456]: New message to send: OUTA20180616_142027_00_+7516814654897_32100011100010.txtd
Sat 2018/06/16 19:31:41 gammu-smsd[15456]: SMS sent on device: "/dev/ttyUSB0" status=500, reference=-1
Sat 2018/06/16 19:31:41 gammu-smsd[15456]: Error getting send status of message: Unknown error. (UNKNOWN[27])
Sat 2018/06/16 19:32:42 gammu-smsd[15456]: Found 1 sms to "+7516814654897" with text "aaaa @admin" cod 3 lgt 11 udh: t 1 l 0 dlr: 1 fls: -1
Sat 2018/06/16 19:32:42 gammu-smsd[15456]: New message to send: OUTA20180616_142027_00_+7516814654897_32100011100010.txtd
Sat 2018/06/16 19:33:12 gammu-smsd[15456]: SMS sent on device: "/dev/ttyUSB0" status=500, reference=-1
Sat 2018/06/16 19:33:12 gammu-smsd[15456]: Error getting send status of message: Unknown error. (UNKNOWN[27])
Sat 2018/06/16 19:34:12 gammu-smsd[15456]: Found 1 sms to "+7516814654897" with text "aaaa @admin" cod 3 lgt 11 udh: t 1 l 0 dlr: 1 fls: -1
Sat 2018/06/16 19:34:12 gammu-smsd[15456]: New message to send: OUTA20180616_142027_00_+7516814654897_32100011100010.txtd
Sat 2018/06/16 19:34:39 gammu-smsd[15456]: SMS sent on device: "/dev/ttyUSB0" status=500, reference=-1
Sat 2018/06/16 19:34:39 gammu-smsd[15456]: Error getting send status of message: Unknown error. (UNKNOWN[27])

Please help me, how solve this problem? Thanks


(Mapiiiaji) #2

Anton, this bug is actual in new release (1.4.2).


(Anton Raharja) #3

How to reproduce the bug ? Send 3 numbers, with number 1 wrong number ? What do you mean by wrong number ? I mean is that some kind of format ? Like a number with non-digit ?

anton


(Mapiiiaji) #4

Suppose this situation: when entering a number, I made a mistake and missed one digit. If this situation occurs, i.e. Gammu will write the above lines and subsequent submissions will not be processed until the file with the wrong number is manually removed from the outbox folder


(Anton Raharja) #5

Do you think its gammu issue or playSMS issue ? Have you tested with other gateway? Please try to dev gateway.

anton


(Mapiiiaji) #6

The problem is related to playSMS! The problem is solved by deleting the file from the directory: /var/spool/gammu/outbox. And all other letters that have been formed will begin to be delivered.

No, I didn’t use any other gateways.


(Anton Raharja) #7

The file on that directory supposed to be moved by gammu, not playSMS. Even the log shown error on Gammu side only.

Try route outgoing SMS using other gateway, for example dev (so that you don’t need to do alot of work, just configure certain test numbers including wrong numbers to use dev gateway). See what happen when you do the same test.

If when using dev gateway you do not experience the same issue, then the issue is in Gammu, not playSMS.

anton


(Mapiiiaji) #8

Got it! I’ll try, thanks for the tip! I unsubscribe.