Hi,

I've seen people experiencing this problem with smslib. My SMS program is 
set up as outbound only. It runs on a machine that has a phone connected to 
it. From time to time, I get this message. I looked at the logs and it 
always happens with some SMS-STATUS report. Note that I'm not requesting 
status report when the SMS is sent i.e. I'm not setting it to "true" - 
setStatus().

161(cr)07911979869009044410D0C4660B7683C160300008414041210581228C0500033702010915093E09020917094D09300947093800200915094700200032003000310034000A091A09410928093E0935094000200918094B09370923093E092A0924094D0930000A092E0947090200200906092A0915094700200932093F090F00200915094D092F093E000A09390948003F0020091C093E09280928094700200915094700200932093F(cr)+CMGL:
 
11, 1,, 
135(cr)07911979869009044410D0C4660B7683C1603000084140412105002272050003370202090F000A0938093F0930094D092B0020090F09150020092E093F0938094D09210020091509490932000A09150930094709020020003100380030003000200032003000380020003200300032003000200028091F09490932000A092B094D0930094000290020092A09300021(cr)OK(cr)
421118 2014-04-15 13:56:53,399 [SMSLib-AsyncMessageProcessor : SMSServer] 
DEBUG org.smslib.modem.ModemGateway  - GTW: SMSServer: READ PDU: 
*079119492299997906000C911949708983884140214184632241402141846322421118 
*2014-04-15 
13:56:53,399 [SMSLib-AsyncMessageProcessor : SMSServer] ERROR 
org.smslib.modem.ModemGateway  - GTW: SMSServer: Unhandled SMS in inbox, 
skipping...
java.lang.ArrayIndexOutOfBoundsException: 32
    at org.ajwcc.pduUtils.gsm3040.PduParser.readByte(PduParser.java:41)
    at 
org.ajwcc.pduUtils.gsm3040.PduParser.parseSmsStatusReportMessage(PduParser.java:309)
    at 


If I decode the PDU (in bold) at 
http://www.diafaan.com/sms-tutorials/gsm-modem-tutorial/online-sms-status-report-pdu-decoder/
 
, it shows as "unknown". There appears to be a line break before 42118 as 
it appears in the logs. I don't understand why I'm getting status reports. 
Even if I'm getting one, my server is set up as an outbound gateway. Why is 
it looking in inbox and what is causing the exception?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/smslib/c09c12e5-132b-46bf-86eb-3c052bf1dab6%40googlegroups.com.

Reply via email to