nguyenbahuong / smslib

Automatically exported from code.google.com/p/smslib
0 stars 0 forks source link

Getting CMS Error 512 while sending a SMS after some time of application start #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a application and wait for 4 to 18 hour.
2. Afer this time when application try to send SMS it give err "CMS Error 
512"

What is the expected output? What do you see instead?

Application should send a SMS.
I get below log for same 
5276438 [Thread-0] WARN org.smslib  - CMS Error 512: Retrying...
5262142 [Thread-0] ERROR org.smslib  - CMS Error 512: Quit retrying, 
message los
t...
===========================================================================
====
<< MESSAGE DUMP >>
---------------------------------------------------------------------------
----
 Gateway Id:
 Type: Outbound
 Encoding: 7-bit
 Date: Thu Dec 06 12:03:07 GMT+05:30 2007
 Originator: null
 Recipient: 9810782288
 Text: Welcome to Airtel 121. Reply with your choice:
1. Your Account
2. Postpaid Tariff Plans
3. Roaming
4. Services
 SMSC Ref No: null
 Dispatch Date: null
 Message Status: FAILED
 Validity Period (Hours): -1
 Status Report: false
 Source / Destination Ports: -1 / -1
 Flash SMS: false

I am using windows OS on JavaComm library. My Application is able send and 
recieve SMS at same time.

Please give me some hint how to over come this problem/limitation

Regards,
Sanjeev Singh 

Original issue reported on code.google.com by sanjeevm...@gmail.com on 6 Dec 2007 at 9:48

GoogleCodeExporter commented 9 years ago
Hi,

Are you using the international notation (with the '+') in your messages?
From the dump, I see that the recipient number does not start with this.

Please check and let me know.

Original comment by T.Delenikas on 6 Dec 2007 at 9:55

GoogleCodeExporter commented 9 years ago
Can you also tell what modem are you using? As far as I know, CMS error codes 
above 
500 are manufacturer-dependent.

For siemens modems 512 means user abort, 
for falcom modems 512 has meaning: "MM establishment failure (for SMS)".

Original comment by tomek.ce...@gmail.com on 6 Dec 2007 at 10:23

GoogleCodeExporter commented 9 years ago

Original comment by T.Delenikas on 6 Dec 2007 at 10:24

GoogleCodeExporter commented 9 years ago
No feedback given.

Original comment by T.Delenikas on 15 Dec 2007 at 8:29