Marcin
Marcin

Reputation: 1203

SMS via SMPP: How to determine number of parts in multipart sms

Im' sending sms messages via EasySmpp library (http://sourceforge.net/projects/easysmpp/). In case of messages over 160 characters long it internally uses data_sm command.

The question is how can I determine number of parts of sms message that arrives to the phone. My operator charges me per part so obviously I need that information.

Of course I can count it myself (message length / 160 or message length / 70 in case of UTF-8), but is there a better solution? Maybe smpp has a field for this?

m.

Upvotes: 0

Views: 978

Answers (1)

Mark
Mark

Reputation: 362

I had similar discussion with our SMS gateway provider yesterday. This is explained in detail here http://en.wikipedia.org/wiki/Short_Message_Service#Message_size

Upvotes: 1

Related Questions