And here is complete log of failing message: > ./ssms.sh /dev/ttyUSB0 115200 > "123456789012345678901234567890123456789012345678W" DEBUG [2010-04-08 20:59:48,251] c.o.e.s.s.SmsChannel#start:41 - sms channel open INFO [2010-04-08 20:59:48,269] c.o.e.s.s.SmsChannel#logInfo:49 - SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org INFO [2010-04-08 20:59:48,270] c.o.e.s.s.SmsChannel#logInfo:49 - Version: 3.4.5 INFO [2010-04-08 20:59:48,270] c.o.e.s.s.SmsChannel#logInfo:49 - JRE Version: 1.6.0 INFO [2010-04-08 20:59:48,270] c.o.e.s.s.SmsChannel#logInfo:49 - JRE Impl Version: 1.6.0-b09 INFO [2010-04-08 20:59:48,271] c.o.e.s.s.SmsChannel#logInfo:49 - O/ S: Linux / i386 / 2.6.18-128.1.10.el5 DEBUG [2010-04-08 20:59:48,274] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. DEBUG [2010-04-08 20:59:48,275] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:48,275] c.o.e.s.s.SmsChannel#logDebug:61 - DelayQueueManager running... DEBUG [2010-04-08 20:59:48,275] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. DEBUG [2010-04-08 20:59:48,276] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. DEBUG [2010-04-08 20:59:48,276] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:48,276] c.o.e.s.s.SmsChannel#logDebug:61 - NotifyQueueManager running... DEBUG [2010-04-08 20:59:48,277] c.o.e.s.s.SmsChannel#logDebug:61 - Running... INFO [2010-04-08 20:59:48,277] c.o.e.s.s.SmsChannel#logInfo:49 - GTW: modem./dev/ttyusb0: Starting gateway, using Generic AT Handler. INFO [2010-04-08 20:59:48,278] c.o.e.s.s.SmsChannel#logInfo:49 - GTW: modem./dev/ttyusb0: Opening: /dev/ttyUSB0 @115200 DEBUG [2010-04-08 20:59:48,305] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. DEBUG [2010-04-08 20:59:48,305] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. DEBUG [2010-04-08 20:59:48,306] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:48,306] c.o.e.s.s.SmsChannel#logDebug:61 - ** disabled ** DEBUG [2010-04-08 20:59:48,307] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: ModemReader thread started. DEBUG [2010-04-08 20:59:48,308] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: AsyncNotifier thread started. DEBUG [2010-04-08 20:59:48,309] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: AsyncMessageProcessor thread started. DEBUG [2010-04-08 20:59:48,309] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:49,311] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :(27) DEBUG [2010-04-08 20:59:49,513] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :+++ DEBUG [2010-04-08 20:59:49,715] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :ATZ(cr) DEBUG [2010-04-08 20:59:49,917] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:50,919] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :ATZ(cr) DEBUG [2010-04-08 20:59:51,121] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :ATE0(cr) DEBUG [2010-04-08 20:59:51,323] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:52,325] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CPIN?(cr) DEBUG [2010-04-08 20:59:52,328] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: +CPIN: READY DEBUG [2010-04-08 20:59:52,328] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :+CPIN: READY(cr) DEBUG [2010-04-08 20:59:52,328] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :ATE0(cr) DEBUG [2010-04-08 20:59:52,530] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:53,532] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CLIP=1(cr) DEBUG [2010-04-08 20:59:53,536] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:53,536] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:53,537] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+COPS=0(cr) DEBUG [2010-04-08 20:59:53,549] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:53,550] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:53,550] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :ATE0(cr) DEBUG [2010-04-08 20:59:53,752] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:54,754] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CREG?(cr) OKBUG [2010-04-08 20:59:54,757] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: +CREG: 0,1 DEBUG [2010-04-08 20:59:54,757] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :+CREG: 0,1(cr)OK(cr) INFO [2010-04-08 20:59:54,758] c.o.e.s.s.SmsChannel#logInfo:49 - GTW: modem./dev/ttyusb0: GSM: Registered to home network. DEBUG [2010-04-08 20:59:54,758] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CMEE=1(cr) DEBUG [2010-04-08 20:59:54,760] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:54,760] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:54,760] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CPMS=?(cr) DEBUG [2010-04-08 20:59:54,763] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: +CPMS: ("ME","MT","SM","SR"), ("ME","MT","SM","SR"),("MEOK"MT","SM","SR") DEBUG [2010-04-08 20:59:54,763] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :+CPMS: ("ME","MT","SM","SR"), ("ME","MT","SM","SR"),("ME","MT","SM","SR")(cr)OK(cr) INFO [2010-04-08 20:59:54,764] c.o.e.s.s.SmsChannel#logInfo:49 - GTW: modem./dev/ttyusb0: MEM: Storage Locations Found: MESMSR DEBUG [2010-04-08 20:59:54,764] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CNMI=?(cr) OKBUG [2010-04-08 20:59:54,766] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: +CNMI: (0,1,2),(0,1,2,3),(0,2), (0,1,2),(0,1) DEBUG [2010-04-08 20:59:54,767] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :+CNMI: (0,1,2),(0,1,2,3),(0,2),(0,1,2), (0,1)(cr)OK(cr) DEBUG [2010-04-08 20:59:54,768] c.o.e.s.s.SmsChannel#logDebug:61 - CNMI: Found best match: 2 DEBUG [2010-04-08 20:59:54,768] c.o.e.s.s.SmsChannel#logDebug:61 - CNMI: Found best match: 1 DEBUG [2010-04-08 20:59:54,768] c.o.e.s.s.SmsChannel#logDebug:61 - CNMI: Found best match: 0 DEBUG [2010-04-08 20:59:54,768] c.o.e.s.s.SmsChannel#logDebug:61 - CNMI: Found best match: 2 DEBUG [2010-04-08 20:59:54,769] c.o.e.s.s.SmsChannel#logDebug:61 - CNMI: Found best match: 0 DEBUG [2010-04-08 20:59:54,769] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CNMI=2,1,0,2,0(cr) DEBUG [2010-04-08 20:59:54,773] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:54,774] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:54,774] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CMGF=0(cr) DEBUG [2010-04-08 20:59:54,776] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:54,776] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:54,777] c.o.e.s.s.SmsChannel#logDebug:61 - NotifyQueueManager end... DEBUG [2010-04-08 20:59:54,777] c.o.e.s.s.SmsChannel#logDebug:61 - Initialized. INFO [2010-04-08 20:59:54,778] c.o.e.s.s.SmsChannel#logInfo:49 - GTW: modem./dev/ttyusb0: Gateway started. DEBUG [2010-04-08 20:59:54,778] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:54,879] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:54,879] c.o.e.s.s.SmsChannel#logDebug:61 - NotifyQueueManager running... DEBUG [2010-04-08 20:59:54,880] c.o.e.s.s.SmsChannel#logDebug:61 - NotifyQueueManager end... DEBUG [2010-04-08 20:59:54,981] c.o.e.s.s.SmsChannel#logDebug:61 - Running... DEBUG [2010-04-08 20:59:54,981] c.o.e.s.s.SmsChannel#logDebug:61 - NotifyQueueManager running... DEBUG [2010-04-08 20:59:55,296] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CMMS=2(cr) DEBUG [2010-04-08 20:59:55,299] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: OK DEBUG [2010-04-08 20:59:55,300] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :OK(cr) DEBUG [2010-04-08 20:59:55,306] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: ================================================= << SmsSubmitPdu >> Raw Pdu: 07918361130001F011000C918361149224710000FF3131D98C56B3DD7039584C36A3D56C375C0E1693CD6835DB0D9783C564335ACD76C3E56031D98C56B3DD7057
SMSC Address: [Length: 7 (07) octets, Type: 91 (10010001), Address: 38163100100] First Octet: 11 [TP-MTI: (SMS-SUBMIT), TP-RD: (allow duplicates), TP- VPF: (validity format, integer, TP-SRR: (No Status Report), TP-UDHI: (no UDH)] Message Reference: 00 Destination Address: [Length: 12 (0C), Type: 91 (10010001), Address: 381641294217] TP-PID: 00 (00000000) TP-DCS: 00 (7-bit GSM Alphabet) (00000000) TP-VPF: 10584 hours User Data Length: 49 (31) septets User Data (pdu) : 31D98C56B3DD7039584C36A3D56C375C0E1693CD6835DB0D9783C564335ACD76C3E56031D98C56B3DD7057 User Data (decoded): [123456789012345678901234567890123456789012345678W] ================================================= DEBUG [2010-04-08 20:59:55,307] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: Sending Pdu: 07918361130001F011000C918361149224710000FF3131D98C56B3DD7039584C36A3D56C375C0E1693CD6835DB0D9783C564335ACD76C3E56031D98C56B3DD7057 DEBUG [2010-04-08 20:59:55,307] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND :AT+CMGS=57(cr) DEBUG [2010-04-08 20:59:55,509] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: clearBuffer() called. DEBUG [2010-04-08 20:59:56,511] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: SEND : 07918361130001F011000C918361149224710000FF3131D98C56B3DD7039584C36A3D56C375C0E1693CD6835DB0D9783C564335ACD76C3E56031D98C56B3DD7057 DEBUG [2010-04-08 20:59:56,515] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: BUFFER: +CMS ERROR: 304 DEBUG [2010-04-08 20:59:56,515] c.o.e.s.s.SmsChannel#logDebug:61 - GTW: modem./dev/ttyusb0: RECV :+CMS ERROR: 304(cr) WARN [2010-04-08 20:59:56,515] c.o.e.s.s.SmsChannel#logWarn:55 - GTW: modem./dev/ttyusb0: CMS Error 304: Retrying... -- You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
