multiple sms using EMS standard
Dziugas Baltrunas <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
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.
here is how UDH should be formed:
$melody = "*5g2.*5e3*5d2*4g3*4g3*4a4*4a3*4a3.*4g3*4b2r2."; // just an example
for ($i=0; $i < strlen($melody); $i++) {
$mel .= sprintf("%02X", ord($melody[$i]));
}
$len[1] = sprintf("%02X", (strlen($melody)) + 6);
$len[2] = sprintf("%02X", (strlen($melody)) + 1);
$udh = $len[1] . '130101' . '0C' . $len[2] . '00' . $mel; // it shows that we will use UPI and send iMelody
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.
regards,
Dziugas Baltrunas