Re: split sms
Paul Juliano <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
What are these special characters that needs to be escaped? And how would I determine if the message if 8 or 7 bit encoded? I am sending pure text messages only. The reason why i want the sms split up 160 characters per message is that I place 1/3 on the first 3 charcters, then 2/3 on characters 161 to 163, and 3/3 on characters 321 to 323. When the user receives the message separately, he'll see the x/3 at the start of every message. Anybody have an idea on how to correctly implement this? Thanks. Oded Arbel wrote: > > My guess is that it would attempt to send 160 character in each message > until there will remain less then 160 messages to sent, in which case it > will send them all in one message (shorter then 160 characters). also > note that the size of the messages is dependant on the encoding - for > example, with some SMSCs 8 bit encoded messages can only have 140 > characters in them. also with 7 bit encoded messages, some characters > will have to be "escaped" causing each "special character" to consume > two septets, thereby cause a message with one such special character to > have the maximum size of 159 characters, with two such special > characters the max size will be 158 and so on. > > -- > Oded Arbel > m-Wise Inc. > [email protected] > > To laugh often and love much; to win the respect of intelligent people > and the affection of children; > to earn the appreciation of honest critics and endure the betrayal of > false friends; to appreciate beauty, to find the best in others; to > leave the world a bit better, whether by a healthy child, a garden > patch, or a redeemed social condition; to know that even one life has > breathed easier because you have lived. This is to have succeeded. > -- Ralph Waldo Emerson > > > -----Original Message----- > > From: Paul Juliano [mailto:[email protected]] > > Sent: Monday, March 11, 2002 11:50 AM > > To: [email protected] > > Subject: split sms > > > > > > Hi, > > > > How does smsbox split a message? I have this URL that returns > > a maximum > > of 480 characters. I also set the max-messages in kannel.conf to 3. > > When smsbox receives the result from my URL, I would assume > > that it will > > split the result equally. Thus, the result would be 3 messages with > > each containing 160 characters. However, this doesn't happen > > everytime. Sometimes, it's divided equally, sometimes it's not. > > > > Thanks. > > > >