Subject: | could not instance message |
The module fails to instance some messages.
The first 3 messages are SMS status notifications, if the SMS has arrived.
The last 2 are SMS from the provider telling, that i have voicemail
messages.
First the output with debug enabled:
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug Messages=+CMGL:
1,1,,25^M0791947101670000064B0C91947159621604607041329003806070413290438000^M+CMGL:
2,1,,25^M0791947101670000064C0C91947159621604607041321192806070413211338000^M+CMGL:
3,1,,25^M0791947101670000064D0C91947159621604607041320552806070413205928000^M+CMGL:
4,1,"Mobilbox-Inland",103^M0791947100150200040481331141007030421120020064DABA1C5494A7DDEEB2BCEE3EEB408A69BA0C4287C56537C8FD1EA3413290BB5C2F839CE1315A9E1EA3E9653728ED0625D1F2B21CD47C8BD36CF11BEF0229B47539282836CBC3E732E8BE47B3CB6ED0345D068966B3584C04^M+CMGL:
5,1,"Mobilbox-Inland",98^M079194710015020004048133114100703042908021005ECDB738CD16BFF12C90BB5CD78164A0A05B5E37974120908CF682CD5E3218EC0682E574309C0B14149BE5E17319D44ED341A2D92C1613B140ED341D245AD172B15B4C5693CD66B19808946E8382F5393BEC2603^M^MOK
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug data[] = +CMGL: 1,1,,25
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info could not instance message +CMGL: 1,1,,25
0791947101670000064B0C91947159621604607041329003806070413290438000!
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug data[] = +CMGL: 2,1,,25
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info could not instance message +CMGL: 2,1,,25
0791947101670000064C0C91947159621604607041321192806070413211338000!
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug data[] = +CMGL: 3,1,,25
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info could not instance message +CMGL: 3,1,,25
0791947101670000064D0C91947159621604607041320552806070413205928000!
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug data[] = +CMGL: 4,1,"Mobilbox-Inland",103
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info could not instance message +CMGL: 4,1,"Mobilbox-Inland",103
0791947100150200040481331141007030421120020064DABA1C5494A7DDEEB2BCEE3EEB408A69BA0C4287C56537C8FD1EA3413290BB5C2F839CE1315A9E1EA3E9653728ED0625D1F2B21CD47C8BD36CF11BEF0229B47539282836CBC3E732E8BE47B3CB6ED0345D068966B3584C04!
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
debug data[] = +CMGL: 5,1,"Mobilbox-Inland",98
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info could not instance message +CMGL: 5,1,"Mobilbox-Inland",98
079194710015020004048133114100703042908021005ECDB738CD16BFF12C90BB5CD78164A0A05B5E37974120908CF682CD5E3218EC0682E574309C0B14149BE5E17319D44ED341A2D92C1613B140ED341D245AD172B15B4C5693CD66B19808946E8382F5393BEC2603!
Sat Mar 31 13:17:46 2007 /usr/local/torsten/gsm-sms/getsms.pl
info found 0 messages on SIM. Reading.
Now decoding with PDUSpy:
0791947101670000064B0C91947159621604607041329003806070413290438000
PDU LENGTH IS 33 BYTES
ADDRESS OF DELIVERING SMSC
NUMBER IS : +491710760000
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)
MESSAGE HEADER FLAGS
MESSAGE TYPE : SMS STATUS REPORT
MSGS WAITING IN SC : NO
RESULT OF A : SMS SUBMIT
MSG REFERENCE NR. : 75 (0x4B)
RECIPIENTS ADDRESS
NUMBER IS : +491795266140
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)
SMSC TIMESTAMP : 14.07.06 23:09 GMT+2,00
DISCHARGE TIMESTAMP : 14.07.06 23:09 GMT+2,00
STATUS OF MESSAGE : (0) TRANSACTION COMPLETED
THIS MEANS : SM received by SME
0791947100150200040481331141007030421120020064DABA1C5494A7DDEEB2BCEE3EEB408A69BA0C4287C56537C8FD1EA3413290BB5C2F839CE1315A9E1EA3E9653728ED0625D1F2B21CD47C8BD36CF11BEF0229B47539282836CBC3E732E8BE47B3CB6ED0345D068966B3584C04
PDU LENGTH IS 111 BYTES
ADDRESS OF DELIVERING SMSC
NUMBER IS : +491700512000
TYPE OF NR. : International
NPI : ISDN/Telephone (E.164/163)
MESSAGE HEADER FLAGS
MESSAGE TYPE : SMS DELIVER
MSGS WAITING IN SC : NO
SEND STATUS REPORT : NO
USER DATA HEADER : NO UDH
REPLY PATH : NO
ORIGINATING ADDRESS
NUMBER IS : 3311
TYPE OF NR. : Unknown
NPI : ISDN/Telephone (E.164/163)
PROTOCOL IDENTIFIER (0x41)
PROTOCOL USED : REPLACE SM type 1
DATA CODING SCHEME (0x00)
AUTO-DELETION : OFF
COMPRESSION : OFF
MESSAGE CLASS : NONE
ALPHABET USED : 7bit default
SMSC TIMESTAMP : 24.03.07 11:02 GMT
USER DATA PART OF SM
USER DATA LENGTH : 100 septets
USER DATA (TEXT) : Zur Erinnerung:
Sie haben noch 2 neue Nachrichten in
Ihrer Mobilbox.
Zur Abfrage wählen Sie "3311"