MO and MT are not related. This is not a problem of kannel, but of SMS
in general. If your telco sends you such a ID, they are simply
guessing which MO is related to which MT, but neither mobile phones
nor the SS7 protocol (this protocol is used for the "over the air
connection") know such a field.
MT and DLR are related over the SMSC message id. To relate the MT with
the DLR in your software, you can set your own unique ID inside the
DLR request.
Regards
Falko
Am 30.12.2008 um 10:12 schrieb Nikos Balkanas:
Internally kannel matches DLRs to messages using a unique message
ID. I don't know how you can get that. However, bear in mind that
although a single sender can send a lot of MOs, these are to
different recipients, therefore "to".
BR,
Nikos
----- Original Message ----- From: "sangprabv" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: "Kannel User" <[email protected]>
Sent: Tuesday, December 30, 2008 11:05 AM
Subject: Re: Message ID from SMPP MO
I don't see the solution here. How can you analyze just using
sender and
receiver parameters? 1 sender may sent many MO, then how do you
know the
MT for each MO if just using sender and receiver information. We
need a
key which connect MO-MT-DLR, so we can analyze correctly.
Unfortunatelly
AFAIK, Kannel has no built in function to do it. Using foreign_id may
help, but not all telco send message id in their MO. Currently I have
done the generate UUID in the MO if telco not send message id, but
it is
only available in HTTP SMSC, I still look for how to implement it in
other protocol, such as SMPP. And if you generate unique number in
from
field, it will mess your MT message to telco, since the 'from'
field is
usually used to define the source address. TIA.
Willy
"Life, loathe it or ignore it, you can't like it." -- Marvin,
"Hitchhiker's Guide to the Galaxy"
-----Original Message-----
From: Nikos Balkanas <[email protected]>
To: sangprabv <[email protected]>, Kannel User <[email protected]>
Subject: Re: Message ID from SMPP MO
Date: Tue, 30 Dec 2008 10:34:26 +0200
Mailer: Microsoft Outlook Express 6.00.2900.3138
Using the "from" and "to" fields. These contain phone numbers in
the case of
MO, and can contain a uniquely generated number in the "from" field
in the
case of MT.
BR,
Nikos
----- Original Message ----- From: "sangprabv" <[email protected]>
To: "Kannel User" <[email protected]>
Sent: Tuesday, December 30, 2008 9:39 AM
Subject: Message ID from SMPP MO
Hi,
Is it true that all MO using SMPP protocol never carries Message ID?
Then how to analyze between MO-MT-DLR? How to connect/relate it?
TIA.
Willy
You are standing on my toes.