I have huawei 1550 usb dongle. When I use it on Windows, I didn't have
any problem sending SMS.

Now, the production is linux (CENTOS). The problem is that *some*
message can't be sent - although everything worked just fine with
windows (!?). I am using SMSLib v3.4.5. And I am using SMSC number.
The other settings are all quite straight. Changing baud rate didnt
help.

For example, there is one 'welcome' message that can not be sent on
production system. Error is 304, but as far as i can tell, pdu is
correct. In fact, there is no difference between PDUs of messages that
can be sent and those that can not be sent (I am talking about
parameters, not message content).

Please take a look at the following log - and please give me some hint
how to fix this strange problem...

-------------------------------------------
50228 DEBUG [2010-04-08 10:09:36,257 Thread-15]
c.o.ecomm.service.sms.SmsSender#send:51 - send SMS
50228 DEBUG [2010-04-08 10:09:36,257 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :AT+CMMS=2(cr)
50230 DEBUG [2010-04-08 10:09:36,259 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: BUFFER: OK
50231 DEBUG [2010-04-08 10:09:36,260 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: RECV :OK(cr)
50232 DEBUG [2010-04-08 10:09:36,261 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: =================================================
<< SmsSubmitPdu >>
Raw Pdu:
07918361130001F011000C918361149224710000FF49C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E

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: 73 (49) septets
User Data (pdu) :
C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E
User Data (decoded): [Dobrodosli! Posaljite REG <IME> <PREZIME>
<GOD_RODJENJA> za registraciju.]
=================================================

50232 DEBUG [2010-04-08 10:09:36,261 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: Sending Pdu:
07918361130001F011000C918361149224710000FF49C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E
50232 DEBUG [2010-04-08 10:09:36,261 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :AT+CMGS=78(cr)
50434 DEBUG [2010-04-08 10:09:36,463 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: clearBuffer() called.
51436 DEBUG [2010-04-08 10:09:37,465 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :
07918361130001F011000C918361149224710000FF49C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E
51439 DEBUG [2010-04-08 10:09:37,468 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: BUFFER: +CMS ERROR: 304
51440 DEBUG [2010-04-08 10:09:37,469 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: RECV :+CMS ERROR: 304(cr)
51440 WARN  [2010-04-08 10:09:37,469 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logWarn:55 - GTW: modem./dev/ttyusb0:
CMS Error 304: Retrying...
53535 DEBUG [2010-04-08 10:09:39,564 QueueManager [modem./dev/
ttyusb0]] c.o.ecomm.service.sms.SmsChannel#logDebug:61 - Running...
54442 DEBUG [2010-04-08 10:09:40,471 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :AT+CMGS=78(cr)
54644 DEBUG [2010-04-08 10:09:40,673 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: clearBuffer() called.
55646 DEBUG [2010-04-08 10:09:41,675 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :
07918361130001F011000C918361149224710000FF49C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E
55649 DEBUG [2010-04-08 10:09:41,678 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: BUFFER: +CMS ERROR: 304
55650 DEBUG [2010-04-08 10:09:41,679 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: RECV :+CMS ERROR: 304(cr)
55650 WARN  [2010-04-08 10:09:41,679 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logWarn:55 - GTW: modem./dev/ttyusb0:
CMS Error 304: Retrying...
58537 DEBUG [2010-04-08 10:09:44,566 QueueManager [modem./dev/
ttyusb0]] c.o.ecomm.service.sms.SmsChannel#logDebug:61 - Running...
58652 DEBUG [2010-04-08 10:09:44,681 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :AT+CMGS=78(cr)
58854 DEBUG [2010-04-08 10:09:44,883 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: clearBuffer() called.
59856 DEBUG [2010-04-08 10:09:45,885 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: SEND :
07918361130001F011000C918361149224710000FF49C4B758FE26BFE7EC7408047DCFC36C759A5E06498B47102FD92CFA403CA8B4A84D368B3E10EFF82446A44FA2B2E854067D207D18242F9FD373BA3C3C4EABEB2E
59860 DEBUG [2010-04-08 10:09:45,889 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: BUFFER: +CMS ERROR: 304
59860 DEBUG [2010-04-08 10:09:45,889 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logDebug:61 - GTW: modem./dev/
ttyusb0: RECV :+CMS ERROR: 304(cr)
59860 ERROR [2010-04-08 10:09:45,889 Thread-15]
c.o.ecomm.service.sms.SmsChannel#logError:67 - GTW: modem./dev/
ttyusb0: CMS Error 304: Quit retrying, message lost...
59860 ERROR [2010-04-08 10:09:45,889 Thread-15]
c.o.ecomm.service.sms.SmsSender#send:59 - Unable to send
com.oblac.ecomm.comm.CommException: message was not sent!
----------------------------------------------------------------------------------------

Once again, some messages work, but some dont! This also happens
regardless of receivers mobile operator.

-- 
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.

Reply via email to