Sending Concatenated SMS (with more than 160 chars) in text mode - sms

I have gone through the questions about sending multipart SMS in PDU format , I am looking for a way to send them in text mode, How can I do that using AT commands
Wikipedia - Concatenated SMS PDU Mode SMS

It is not possible to send multipart SMSs in text mode. You will have to use PDU mode. Because there should be a way to concatenate the compete text at the receiver end which is achievable with header part in pdu format,but not with text mode.

Related

Sending message sequence to Twilio

Hello , I want to send a set of messages to Twilio API with some parameters that make sure that they are concatenated and sent a one sms .
I've heard of some SegmentNum to use but with no documentation on it.
No need, Twilio handles the concatenation for you.
Does Twilio support concatenated SMS messages or messages over 160 characters?
"When sending concatenated SMS, Twilio will auto-segment long messages with a special header, which mobile carriers can use to reassemble the segments on the destination handset. Thus, concatenated SMS can appear as one single message on the receiving device."

Will concatenated sms be delivered always in the order sent out by a GSM handset?

As I know concatenated sms are split in GSM handset and delivered to network. Does GSM standard talk about order of these packets? Will it be always sent in order? That is first sequence packet first and next later?
My questions regarding this.
1. Does SMPP talk about order of long sms segments? Like is it possible for SP to get out of order messages?
2. Does GSM handset deliver long messages always in order or not?
"long sms" officially known as concatenated sms can and will turn up in any order. Therefore the receiving device / system must be able to cater for this. Concatenated sms come in the form of multiple sms. Encoded within is the part number and the total number of parts for the concatenated sms (you can search for information on the "UDH - User Data Header" to get more information).
So answering your questions:
1) There is no ordering in the sending / receiving of concatenated sms. Only information within each concatenated sms part which says which part it is and how big the complete concatenated sms is.
2) GSM handsets tend to send out in order. The order is lost usually during the store and forward process on the SMSC side. On a side note GSM handsets when receiving a concatenated sms build the sms once all parts are received.

Kannel not concatenating inbound multipart messages

Kannel doesn't seem to be buffering / concatenating inbound multipart messages.
So if I send a message from my cell phone that is longer than 160 chars (2 messages long) Kannel receives the first message and forwards it to my system, then receives the second part and forwards it to my system independently.
Is there are way to make sure multipart messages are concatenated properly in Kannel?
You can set in core group:
sms-combine-concatenated-mo = true

How to send SMS with more than 160 characters and enable the customer to receive as ONE SMS using GSMComm library

I'm developing SMS system using C# and using GSMCOMM free API(http://www.scampers.org/steve/sms/libraries.htm) to send SMS.
As the system can only send SMS less than 160 characters, I cut the LONG SMS into two messages and send them out.
The problem is that the customer will receive two SMS, which is quite irritating. Is there any way to enable customer to receive them as one SMS?
If using HTTP, you have to set the MLC to 2.
Message length control: determines system behavior when the message length exceeds limits set by the mobile operator.
0 – Reject the MT if message text > maximum allowed for the target operator.
1 – Truncate the MT if message text > maximum allowed for the target operator.
2 – Automatically create multiple MTs dividing the message text at the point(s) where message text length = maximum allowed for the target operator.

Error when sending long SMS message

I am doing a long SMS project but I have encountered some problems. I am able to send 2 SMS messages as one long message, but the text that appears doesn't seem to be right. I know there is an error at A0 indicating a 160 word so the SMS has a # word filling all the empty space. But what I mean is the actually SMS text is corrupted.
The 2 SMS I send:
AT+CMGS=28
0041000A9156186651270000A0050003000201E8F71D14969741F9771D
AT+CMGS=23
0041010A9156186651270000A0050003000202E8329BFD06
From what I can see the PDU is wrongly encoded. With concatenated SMS's you must include the UDH (so you also need to set in the SMS header octet the flag to say a UDH is included). And of course ensure that the message text starts on a septet boundary.
There are a few tutorials on the web:
http://www.dreamfabric.com/sms/
Which explain things in more detail and also in a very understandable way. I suggest you take at look a them and check the way you are encoding your messages.

Resources