Ok, Kannel auto-splits long messages, even gives each message a unique id -
aka uuid_generate(part->sms.id);
Using SMPP, each submit_sm is acked with the submit_sm_resp, so we want and
get SMSC DLR.
But in shared.c
       /*
         * 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;
        }

so this bit of code is no good for us.

The system generating sms, doesn't know how many splits occur, and doesn't
know how many to expect,
kannel could have this information,and does ????
finally the SMSC seems to return a single DLR for success/fail of the
concatenated mesgs.
sure we could count each SMSC delivered DLR after changing the code in
shared.c - not sure how reliable that is,
I think the DLR information should include the number of message splits,
info such as  #1of2,#2of3,#3of3 would be excellent.
Might have to add another attribute to Msg, to record the total number of
splits, and the sequence no.






Reply via email to