Re: [PATCH] Sending catenated messages in incorrect order

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
I'm -1 for this patch and -100 for that SMSC.

There's no reason for an SMSC even to look at those informations. The  
SMSC does have no need to reassemble the parts of that SMS so it  
should just blindly transport every individual part. You should shout  
at the guy running this braindamaged SMSC (is it maybe from comverse?)


On 10.11.2005, at 09:42, Oded Arbel wrote:

> On Thursday 10 November 2005 10:20, Stipe Tolj wrote:
>> Enver ALTIN wrote:
>>> Hey,
>>>
>>> I've been stuggling to find out why some catenated messages  
>>> submitted by
>>> Kannel were getting rejected by our EMI SMSC. Apparently the  
>>> problem was
>>> the supersmart SMSC expecting catenated messages to arrive in proper
>>> order. It was getting rejected if we send the second part of the  
>>> 3-piece
>>> splitted SMS before the first part, for example.
>>>
>>> I said easy :) After some hours(!) of overnight code reading to  
>>> learn
>>> where exactly the big message gets splitted and where are the  
>>> splitted
>>> parts stored; I noticed that smsc/smsc_emi.c is making full use  
>>> of the
>>> new priority queue implementation and messages get ordered  
>>> according to:
>>>
>>>     1. Msg->sms.priority (Apparently only EMI and AT uses this)
>>>     2. Msg->sms.time
>
>> now, I'm +0 on this patch.
>
>> Others, please comment?
>
> Just something that bugged me - according to the two above  
> mentioned criteria,
> I don't see why SAR (segmentation and reassembly) messages get to  
> different
> places on the queue. Surely several parts of a SAR message will  
> have the same
> priority and same time, so they should be sent in the order they were
> introduced into the queue. If this is not the case, then I suggest  
> that this
> problem would be fixed instead of doing high level content analysis on
> outgoing messages.
>
> --
> Oded
>


Andreas Fink
Fink Consulting GmbH

---------------------------------------------------------------
Tel: +41-61-6666332 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  [email protected]
Homepage: http://www.finkconsulting.com
---------------------------------------------------------------

ICQ: 101946485 MSN: [email protected] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201  5CBD D040 3E71 4DAF 68BB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.