Multiple concatenated SMSs processing logic

Multiple concatenated SMSs processing logic SearchSearch
Author Message
os
New member
Username: Ostatelecomcom

Post Number: 1
Registered: 04-2016
Posted on Thursday, April 28, 2016 - 02:22 pm:   

Dear Nowsms team,

when i submit a long arabic SMS (divided into 4 parts), and fastly submit another long arabic SMS but smaller lenfth (divided into 3 parts), the nowsms handle the 2 SMSs as below log :

2016-04-28 12:41:34,SAR-20xxxxxxx-6e-4-1.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da14a3e;Binary=1;DCS=8;UDH=0500036E0401;Dat a=....
2016-04-28 12:41:34,SAR-20xxxxxxx-6f-3-1.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da19e3e;Binary=1;DCS=8;UDH=0500036F0301;Dat a=....
2016-04-28 12:41:36,SAR-20xxxxxxx-6e-4-2.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da4563e;Binary=1;DCS=8;UDH=0500036E0402;Dat a=....
2016-04-28 12:41:36,SAR-20xxxxxxx-6f-3-2.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da49a3e;Binary=1;DCS=8;UDH=0500036F0302;Dat a=...
2016-04-28 12:41:37,SAR-20xxxxxxx-6e-4-3.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da8fe3e;Binary=1;DCS=8;UDH=0500036E0403;Dat a=...
2016-04-28 12:41:37,SAR-20xxxxxxx-6f-3-3.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5da96a3e;Binary=1;DCS=8;UDH=0500036F0303;Dat a=...
2016-04-28 12:41:38,SAR-20xxxxxxx-6e-4-4.req,127.0.0.1,20xxxxxxx,OK -- SMPP - x.x.x.x.:0000,Sender=xxxx;SMSCMsgId=5dac363e;Binary=1;DCS=8;UDH=0500036E0404;Dat a=...

so as you can see from the log the 3 parts SMS has been delivered to SMSC before the 4 parts SMS, while the 4 part SMS has been submitted first.

Note: we are using Async mode.

is there's any solution to deliver the first 4 part SMS first then deliver the 3 part.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5632
Registered: 08-2008
Posted on Tuesday, May 03, 2016 - 11:31 pm:   

Hi,

That is unusual.

What is the NowSMS version?

Are there multiple SMSC connections? Are there multiple transmit sessions to the same SMSC?


--
Des
NowSMS Support
os
New member
Username: Ostatelecomcom

Post Number: 2
Registered: 04-2016
Posted on Wednesday, May 04, 2016 - 11:11 am:   

Dear Des,

thanks for your response, is this really unusual?, I've expected that this is a normal nowsms behavior, is the normal behavior is to finish the 4 parts of the first SMS then start with the 3 parts of the second SMS?


nowsms version is V2006.03.09

and there's only on SMSC connection with one session.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5634
Registered: 08-2008
Posted on Thursday, May 05, 2016 - 01:46 pm:   

It is unusual.

The normal behavior is to finish the 4 parts of the first SMS then start with the 3 parts of the second SMS. It can't be guaranteed (especially if the inbound is SMPP and the submitting client is slow sending the parts), but there are a number of checks to keep the parts together.

That said, unless there is a typo in your message, you are running a software version that is over 10 years old.

Reading back through support notes of the last 10 years ago, I can see that changes were made in 2007 to specifically address this issue for SMPP async mode.

--
Des
NowSMS Support