SMS in queue

SMS in queue SearchSearch
Author Message
Omar
New member
Username: Kfsmart

Post Number: 6
Registered: 01-2008
Posted on Monday, November 10, 2008 - 02:15 pm:   

Hi,

From delivery reports I can know if sms delivered.undelivered.deleted,etc...
but how camn I know if the SMS still in the (nowsms)queue
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 225
Registered: 08-2008
Posted on Monday, November 10, 2008 - 06:36 pm:   

Hi Omar,

If you think about it ... you really don't know if the message is still in your operator's queue either.

If you are concerned about messages getting stuck in the NowSMS queue for extended periods of time, then the best thing to do is to configure the e-mail alerts that can alert you if there is a problem with an SMSC connection, or if the message queue builds up larger than a threshold that you configure.

The XMLStatus query option can also be useful for your own custom monitoring. If you are interested in this feature, it is described more in the following links: http://support.nowsms.com/discus/messages/1/24238.html http://support.nowsms.com/discus/messages/1/23704.html

--
Des
NowSMS Support
Omar
New member
Username: Kfsmart

Post Number: 7
Registered: 01-2008
Posted on Tuesday, November 11, 2008 - 04:46 am:   

thanks Des,but I'm asking if I can know programmatically if the SMS is still in nowsms queue,not the operator.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 226
Registered: 08-2008
Posted on Tuesday, November 11, 2008 - 03:42 pm:   

Hi Omar,

You cannot know that a particular SMS is still in the queue at NowSMS.

You can only know if there is a problem with an SMSC connection, or if the overall outbound message queue is larger than a threshold that you configure.

--
Des
NowSMS Support
Omar
New member
Username: Kfsmart

Post Number: 8
Registered: 01-2008
Posted on Wednesday, November 12, 2008 - 05:14 am:   

thanks Des,

quote
the overall outbound message queue is larger than a threshold that you configure.

what you mean the threshold of overall outboud?
and where can I configure?

I have 2 other questions:
first my operator permits me to send 5 SMS/sec,but I noticed from the smsout that only 2-3 SMS/sec are sent.what can I do?Is this the operator problem or fault configuration in my gateway?what can I do to improves the speed of sending.

2-I have 3 SMPPS from the same operrator?I 'm facing delaying in sending,as I told you in question 1 only 2-3 SMS/sec,Is better to divide the patch to the 3 SMPPs?
If yes,Is there some configuration must be done?

Tnaks in advance}
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 245
Registered: 08-2008
Posted on Wednesday, November 12, 2008 - 03:51 pm:   

Hi Omar,

Sorry if I wasn't clear.

On the "Service" page, there is a "Manage Alerts" button. This allows you to configure e-mail alerts if the number of messages in the outbound queue exceeds a specific number, which is often a good indicator that there is a problem.

Note that in order to get these e-mail alerts to work, you do need to activate the MMSC service, because that service is used for all SMTP functions, including e-mail sending.

Also, you might need to UNcheck "Enable SMTP Smart Mailer" in the "MMSC" configuration, and define your e-mail server as the "SMTP Relay Host" in order to get these alerts sent to you.

An alternative monitoring interface is polling the XML status interface, which is more advanced, and is described here: http://support.nowsms.com/discus/messages/1/23704.html

Regarding your other questions ...

Often, to get more than 2-3 SMS/sec in an SMPP environment, it is necessary to enable "SMPP Async Mode", which you can do via the "Advanced Settings" option under the "Properties" for the SMPP connection.

I generally recommend setting the window size to no more than twice the desired number of messages per second.

Note that if you enable async mode, NowSMS may push messages to the SMSC faster than the SMSC will allow. Some SMSCs do not handle this well and will start returning throttling errors which will slow things down. In that case, you may need to explicitly configure NowSMS to send no more than 5 messages per second on that connection. More information on this type of confugration is found here: http://blog.nowsms.com/2008/06/smsc-speed-limits.html

If your operator allows more connections, you can add the connection multiple times in NowSMS. That is no problem (you will see entries in the list where NowSMS appends "#2" to the SMPP host name ... that is normal).

HOWEVER ... if you add multiple connections ... this could increase throttling errors depending on how your operator limits your throughput.

I'd stick with one connection for now ... that is generally more than adequate for 5mps.

--
Des
NowSMS Support
Omar
New member
Username: Kfsmart

Post Number: 9
Registered: 01-2008
Posted on Thursday, November 13, 2008 - 06:22 am:   

thanks Des your reply and the articles you mentioned are so helpful.
I need more help...
I tried to enable "SMPP Async Mode" and I used window size "5" but I got "throttling errors".Is this means that enabling "SMPP Async Mode" is not a good way to use,or should I decrease the window size,although My operator gives me 5mps.
Second thing what is the maximum number must be in my queue?
Omar
New member
Username: Kfsmart

Post Number: 10
Registered: 01-2008
Posted on Thursday, November 13, 2008 - 06:58 am:   

Note:I found that my operator gives me up to 5 mps not exactly 5
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7680
Registered: 10-2002
Posted on Friday, November 14, 2008 - 12:04 am:   

Hi Omar,

Try using the SMSCSendLimit setting in SMSGW.INI, which Des referenced in the following link: http://blog.nowsms.com/2008/06/smsc-speed-limits.html

Here you can specify how many messages per how many seconds to send over the connection.

There is also information in that link about reducing the throttle error delay.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7681
Registered: 10-2002
Posted on Friday, November 14, 2008 - 12:08 am:   

Additional note ... if you continue to see a lot of throttle errors at lower speeds (like 9/2 for 4.5 messages per second, or 4/1), then it is possible that your provider does not want you to use async mode.

Some providers do not want you to submit another SMS message until they have processed the first one, and they use this as a way of preventing their system from being overloaded. That is why we default in NowSMS to not using async mode. But for higher speed throughput, async mode is almost always required ... but it does require that your provider can support it.

-bn