Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with delivery reports - gammu 1.4 #452

Open
docdave911 opened this issue Mar 17, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@docdave911
Copy link

commented Mar 17, 2019

HI, I wonder if anyone can help me? I am running gammu 1.4 under windows, with Huawei K4505.

Great program, really useful, and all working just fine, except for delivery reports - config file is:

Delivery report configuration

deliveryreport = sms
deliveryreportdelay = 10

Messages sent with deliveryreport set to 'yes' as well.

But no sms are created, and when I try changing config to log, no entries in log file either.

Debug log shows that SMS reports appear to be received, but not processed.... I have attached a full copy of the report, but put in what seems to be the relevant section seems to be:

There seem to be quite alot of repeated actions in the full log, which might be normal (?) and no obvious errors....

If anyone can help me with this I would be very grateful; I have done alot of searching, and delivery reports can be an issue, but I cant see where to go from here...

Many thanks.. David.

Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Entering GSM_GetSMSStatus
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Getting SIM SMS status
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: SENDING frame type 0x00/length 0x12/18
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 22"|0D ".
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 1 "AT+CPMS="SM","SM""
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 2 "+CPMS: 0,10,0,10,0,10"
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 3 "OK"
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Checking line: OK
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: AT reply state: 1
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: RECEIVED frame type 0x00/length 0x31/49
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|311|300|2C, "...+CPMS: 0,10,
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 300|2C,|311|300|2C,|300|2C,|311|300|0D |0A |0D |0A |4FO|4BK|0D 0,10,0,10....OK.
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 0A .
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: SMS status received
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsing +CPMS: 0,10,0,10,0,10 with +CPMS: @i, @i, @0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsed int 0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsed int 10
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Used : 0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Size : 10
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Getting phone SMS status
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: SENDING frame type 0x00/length 0x12/18
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 22"|0D ".
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 1 "AT+CPMS="ME","ME""
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 2 "+CPMS: 0,16,0,16,0,10"
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 3 "OK"
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Checking line: OK
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: AT reply state: 1
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: RECEIVED frame type 0x00/length 0x31/49
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|311|366|2C, "...+CPMS: 0,16,
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 300|2C,|311|366|2C,|300|2C,|311|300|0D |0A |0D |0A |4FO|4BK|0D 0,16,0,10....OK.
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: 0A .
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: SMS status received
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsing +CPMS: 0,16,0,16,0,10 with +CPMS: @i, @i, @0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsed int 0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Parsed int 16
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Used : 0
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Size : 16
Sun 2019/03/17 11:41:31 gammu-smsd: gammu: Leaving GSM_GetSMSStatus
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Entering GSM_GetSMSStatus
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Getting SIM SMS status
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: SENDING frame type 0x00/length 0x12/18
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 22"|0D ".
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 1 "AT+CPMS="SM","SM""
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 2 "+CPMS: 0,10,0,10,0,10"
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 3 "OK"
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Checking line: OK
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: AT reply state: 1
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: RECEIVED frame type 0x00/length 0x31/49
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|53S|4DM|22"|2C,|22"|53S|4DM AT+CPMS="SM","SM
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|311|300|2C, "...+CPMS: 0,10,
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 300|2C,|311|300|2C,|300|2C,|311|300|0D |0A |0D |0A |4FO|4BK|0D 0,10,0,10....OK.
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 0A .
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: SMS status received
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsing +CPMS: 0,10,0,10,0,10 with +CPMS: @i, @i, @0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsed int 0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsed int 10
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Used : 0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Size : 10
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Getting phone SMS status
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: SENDING frame type 0x00/length 0x12/18
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 22"|0D ".
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 1 "AT+CPMS="ME","ME""
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 2 "+CPMS: 0,16,0,16,0,10"
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 3 "OK"
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Checking line: OK
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: AT reply state: 1
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: RECEIVED frame type 0x00/length 0x31/49
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 41A|54T|2B+|43C|50P|4DM|53S|3D=|22"|4DM|45E|22"|2C,|22"|4DM|45E AT+CPMS="ME","ME
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 22"|0D |0D |0A |2B+|43C|50P|4DM|53S|3A:|20 |300|2C,|311|366|2C, "...+CPMS: 0,16,
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 300|2C,|311|366|2C,|300|2C,|311|300|0D |0A |0D |0A |4FO|4BK|0D 0,16,0,10....OK.
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: 0A .
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: SMS status received
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsing +CPMS: 0,16,0,16,0,10 with +CPMS: @i, @i, @0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsed int 0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Parsed int 16
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Used : 0
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Size : 16
Sun 2019/03/17 11:41:46 gammu-smsd: gammu: Leaving GSM_GetSMSStatus

smsdlog.txt


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@docdave911

This comment has been minimized.

Copy link
Author

commented Mar 19, 2019

Update: I think I have found the answer. o2 network in uk does not support delivery reports, so have to force one by typing *0# before the text in the message. Iwill see if this work.s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.