Sending speed with route slow | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through April 13, 2018 ⬆ |
◄ ► |
Author | Message | |||
gensupport New member Username: Gensupport Post Number: 9 Registered: 12-2017 |
Hi, Currently, i'm testing send 10sms with route and without route. Sending without route is okay, can received 10sms immediately. But with route, I received 7sms then after 1-2 minutes received another 3sms. I only add parameter SMSCRoute for with route. May I know is it because android phone performance or limit for route? $postfields = array('Phone'=>"$phoneNo", 'Text'=>"$msg", 'SMSCRoute'=>"test"); | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8269 Registered: 10-2002 |
Hi, Look at the SMSOUT-yyyymmdd.LOG. During that period of time, are you seeing errors and retries? It is likely that the operator is limiting sending speed, resulting in errors and retries. There are INI file parameters that can limit sending speed attempts through any particular SMSC connection or modem. It is possible to manually edit the SMSGW.INI file, and under the settings header for a particular SMSC connection (e.g., [SMPP – server:port] or [NowSMSModem - name]), use the following setting to define a speed limit for that connection only using the SMSCSendLimit=x/y setting. The SMSCSendLimit=x/y setting can specify that the gateway will send no more than x messages per y seconds. If y is not specified, then the default is 1. For example, to limit a connection to 1 message every 5 seconds, specify SMSCSendLimit=1/5. To limit a connection to 3 messages per second, specify SMSCSendLimit=3 or SMSCSendLimit=3/1. -bn Bryce Norwood Now SMS/MMS Support | |||
gensupport New member Username: Gensupport Post Number: 10 Registered: 12-2017 |
Hi, I already set SMSCSendLimit=50/1 in SMSGW.INI file. Seems like the sending speed still same. By the way, we already purchased 5 modem license(for 5 android phones) and we expect 30SMS/minute per modem. Which means at least 150SMS/minute for 5 modems. But why it is still 63-64 SMS/minute for 5 modems as per testing? | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 5894 Registered: 08-2008 |
Hi, Bryce was suggesting using the SMSCSendLimit to limit (lower) sending speed, not raise it. And, he was suggesting this only if you are seeing errors and retries in the SMSOUT-yyyymmdd.LOG. Sending speed is highly variable, because it depends on how quickly the mobile operator will accept messages from the device. Signal strength, load at the operator SMSC, load at the local tower...all is a factor. Most operators are also using various techniques to prevent abuse, which can include limiting the number of messages accepted within a time period. Unless you are seeing very high CPU utilization...NowSMS is mostly just waiting. Only 1 message at a time can be sent per modem...NowSMS has to wait for the operator to acknowledge that it has received the previous message before the next message can be sent via that modem. A sustained pace of 30SMS/minute per modem is not realistic. There may be peak periods when the speed reaches or exceeds that pace. But ultimately, it is dependent on the operator/signal strength/network load/etc. -- Des NowSMS Support |