Hi all, I've been checking the SMS codes that generates kannel and I've found out that when kannel is seding a WAP-PUSH that requires at least 2 SMSs it sends the chunks out of order. You can see in the notes below how the second chunk is sent first and the first chunk second.
According to the standard GSM 3.40 the sequence number of the current short message shall contain a value in the range 0 to 255 indicating the sequence number of a particular short message within the concatenated short message. The value shall start at 1 and increment by one for every short message sent within the concatenated short message. >From all this seems to me it could be a bug in kannel when sending WAP-PUSH with several chunks --> AT+CMGS=60^M <-- > --> 0051000B914396560463F90004A72E0B05040B8423F0000301020273742066726F6D204 -- ------------ -- ---- -- ----[---SMS PAYLOAD-.. | | | | | | | | s t f r o m | phone nº DCS | UDHL=11 | | Seq 2 | UDL=46 | TWO chucks default smsc Concatenated SMS --> ^Z <-- > <-- +CMGS: 25 <-- OK --> AT+CMGS=154^M <-- > --> 0051000B914396560463F90004A78C0B05040B8423F00003010201010641AE871580736F -- ------------ -- ---- -- ----[----------------- | | | | | | | | ? ? A < ç ? ? s o | phone nº DCS | UDHL=11 | | Seq 1 | UDL=140 | TWO chucks default smsc Concatenated SMS Regards Javier