SMS Status

SMS Status SearchSearch
Author Message
Carl Aquino
New member
Username: Csharp

Post Number: 3
Registered: 02-2010
Posted on Monday, February 15, 2010 - 06:09 am:   

How can I check if the SMS was sent successfully or not? The program is working fine until people complained that they are not recieving SMS. When i check the output log from the server. "Unable to connect to SMPP server at IP.." and "Retry Pending - ERROR: Message Queue Full". I should be able to know if there are errors after I send the SMS. I am using Microsoft .NET VS2008 to run the SMS.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1799
Registered: 08-2008
Posted on Monday, February 15, 2010 - 10:49 pm:   

"Unable to connect to SMPP server at IP" means that NowSMS is having problems connecting to your SMS service provider. NowSMS will keep trying to reconnect, but no messages can be sent until the connection to the SMS service provider is re-established.

"Retry Pending - ERROR: Message Queue Full" means that your SMS service provider is not accepting your message because they believe a queue is full on their system.

Unfortunately, you need to ask your provider what this means for their service, as it means different things to different providers.

(It can means that you are sending messages faster than they can deliver them. It can mean that you have sent multiple messages to the same number, and it will not accept more messages for that number until they can deliver some of the previously submitted messages.)

The SMPP error code is ESME_RMSGQFUL. You should ask them why you are frequently receiving this error when submitting messages.

By default, when NowSMS sees an ESME_RMSGQFUL error, it keeps retrying for 24 hours before giving up.

As for how your program can check on SMS status, this is complicated.

You can ask for delivery reports, if your SMS service provider supports them. More information can be found here: http://support.nowsms.com/discus/messages/1/24078.html

However, I don't think that is what you need.

I think you need to talk to your SMS service provider to find out why these errors are happening.

An occasional "Unable to connect to SMPP server at IP" is usually ok. They might be resetting their server, or there may be a temporary internet glitch.

If it is repeated frequently, then you need to determine why. You can configure the e-mail alerts on the NowSMS "Service" page, which may be helpful. The "Error" alerts will tell you if there is an extended period where the SMSC connection is available (I think it waits about 5 minutes).

The "Warning" alerts will tell you when a message is rejected. But for these "Message Queue Full" errors, NowSMS will keep retrying for quite some time before finally rejecting the message ... because the error is considered a "temporary" condition.

I hope that helps.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1800
Registered: 08-2008
Posted on Monday, February 15, 2010 - 10:50 pm:   

For the SMSC connection status, you can also query it via HTTP. Some links with information:

http://blog.nowsms.com/2010/02/xml-status-query-for-smsc-connection.html
http://blog.nowsms.com/2009/02/xml-status-query-for-smsc-connection.html