Re: multiple sms using EMS standard
Bruno Rodrigues <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <1039970622.4533.8.camel@localhost> |
On Seg, 2002-12-09 at 09:40, Dziugas Baltrunas wrote: > Hello, > > i would like to ask, is it possible to send two or free sms within a > sms-service group. > > currently, i'm interested in melody sending. the problem is that using > nokia binary format it is possible to encode 130 bytes of data and > usually melody fits in such size. but whenm using EMS, there is a > limitation of 128 bytes in order to encode and to send melody in iMelody > format. > (...) > but EMS allows to send multiple SMS using ceratin directives with UDH. i > would like to ask, is it possible to do such things with kannel. if not, i > think i would be interested to develope such thing. SMS Spliting with EMS should be done in application. It's too hard to be done in kannel, unless we implement the full EMS specification into it. Then, to send multiple sms's, you should use the UDH field to say how much parts and which message part you are sending. You should look at 00 UDH Function, and do something like: %00%03%00%02%01 %00-UDH Funcion 00 - Multiple messages %03-length %00-Message number (use, for example, a random for your message and should be the same value for each message part) %02%01 - one is the maximum parts, the other is the part number (I never remember which is each, but I guess it's MAX, Part number). So, you'll send something like (assuming it's max parts first) http://.....sendsms?...&udh=%XX%00%03%00%02%01%.... where XX is 5 + your message splitted part size > regards, > Dziugas Baltrunas -- Bruno Rodrigues <[email protected]>
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA9/LE+bMTNtJey1hkRAjUHAJoCI4GK0xAp5+RWB15DXE1yhmNeBQCgxQJO je+UvKH+9RKVSuNU8K075Xo= =vSvf -----END PGP SIGNATURE-----