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





Reply via email to