Hello,

We have some problems with sending messages via GSM Modem (smsc=at)
when recipient number is invalid (nonexisting). Normally we should
get DLR REJECTED or UNDELIVERED but instead of it in logs we have CMS
ERROR: +CMS ERROR: 500 and message is being queued and kannel try to resend
it within one minute with CMS ERROR: 500 again and again (in loop). After
each try modem is being disconnected and connects again.

Messages sent to valid (existing) numbers are being delivered without
any problems.

I've found that this could be SIM operator specified problem because
some other operator accepts messages to nonexisting numbers returning
DLR REJECTED. But most of operators (SIM cards) we use doesn't accepts
at all messages to nonexisting returning an CMS error 500.

Is it possible to set some option to discard messages with CMS ERROR:
500 (with invalid recipient number) instead of queuing them and
resending again with the same results? Or maybe there is some other
solution to disallow queuing messages sent to invalid number?

Here is a part of bearerbox logs:

2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: TP-Validity-Period: 24.0 hours
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: --> AT+CMGS=18^M
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: <-- >
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: send command status: 1
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: --> 
0031000B918405896745F30000A704F4F29C0E
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: --> ^Z
2010-05-10 09:40:02 [2344] [9] DEBUG: AT2[modem]: <-- >
2010-05-10 09:40:23 [2344] [9] DEBUG: AT2[modem]: send command status: -1
2010-05-10 09:40:32 [2344] [9] DEBUG: AT2[modem]: <-- +CMS ERROR: 500
2010-05-10 09:40:32 [2344] [9] ERROR: AT2[modem]: CMS ERROR: +CMS ERROR: 500
2010-05-10 09:40:32 [2344] [9] ERROR: AT2[modem]: CMS ERROR: Unknown error. -> 
maybe Sim storage is full? I'll have a look at it. (500)

Thank you for helping us.

-- 
Best regards
 Tomasz


Reply via email to