Hello! Is there a way to get exact number of SMS splits sent from kannel to the SMSC as a result of the single sendsms request? I'm aware that when one sets
immediate-sendsms-reply = true kannel will add ' Message splits: X' to HTTP reply body. However, this setting marked as a 'backward compatibility flag' in the user's guide - so I assume it can disappear in future releases. Also (even more important), in this mode sender loses significant part of the confidence that HTTP accept means SMS accept: in this mode HTTP accept only means that smsbox has accepted the message while by default (immediate-sendsms-reply = false) HTTP accept means that the message has reached at least bearerbox. And the last but not least concern: the X in above-mentioned 'Message splits: X' part of HTTP reply gets calculated as a return value of the sms_split() call from send_message() (gw/smsbox.c); but then message splits get reassembled back to the single message, which goes to the bearerbox and then re-splitted there. I see no guarantee that sms_split() call within smsbox.c and sms_split() call in smscconn.c will produce the same number of splits. So I would say this way can't be considered as reliable. So is there actually reliable way to get number of SMS splits sent via sendsms request? IMHO the most logical place for it could be DLR of type DLR_SMSC_SUCCESS - but I see no proper escape code to get the number of splits. Also I've got related question - am I understand correctly that for splitted SMS kannel requests DLR from SMSC only for the first split, and this cannot be changed via configuration parameters? -- Sincerely, Dmitry nic-hdl: LYNX-RIPE
