Re: Only one DLR requested for multi-part messages?

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
the reason for this is because the user has submitted ONE long sms.
it would get confusing for receiving multiple  delivery reports for  
ONE long sms submitted
if the user splits the parts himself, then those are multiple  
individual SMS's for kannel and each will receive its own delivery  
report.

it could be handled better but its tricky as you then have to track  
all multiple parts together and wait for all to be received before  
submitting a dlr to the user.
As those 3 parts might have been sent over different SMSC's due to  
loadsharing for example, this has to be done in smsbox. DLR reporting  
currently is done in bearerbox so reassembly of DLR's in smsbox is  
something totally new and would require storage there as well.

not impossible to do though.

On 01.02.2007, at 07:16, Giulio Harding wrote:

> At line 277 of gw/sms.c (from CVS 2007-01-31) there is this comment  
> and code, which only requests one DLR for a multi-part message:
>
>         /*
>          * if its a DLR request message getting split,
>          * only ask DLR for the first one
>          */
>         if ((msgno > 1) && DLR_IS_ENABLED(part->sms.dlr_mask)) {
>             octstr_destroy(part->sms.dlr_url);
>             part->sms.dlr_url = NULL;
>             part->sms.dlr_mask = 0;
>         }
>
> Why is this the case? Wouldn't you want to get a DLR for each part  
> of the multi-part message to determine whether the entire message  
> arrived (and would then be able to be reassembled on the handset)  
> or not?
>
> --
> Giulio Harding
> Systems Administrator
>
> m.Net Corporation
> Level 2, 16 Leigh Street
> Adelaide SA 5000, Australia
>
> Tel: +61 8 8210 2041
> Fax: +61 8 8211 9620
> Mobile: 0432 876 733
> MSN: [email protected]
>
> http://www.mnetcorporation.com
>
>
>
>





Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  [email protected]
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: [email protected] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
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.