Julien Buratto wrote:
I've seen that a lot of people was wondering if it was possible for
kannel to query the smpp server asking for the dlr status of a specific id.
When I set the DLR-MASK the dlr is correctly saved in the database, but
my operator ask me to do a query_sm for the id in order to fetch the DLR
status.
Anyone has a patch for this ?
Ideal would be that for every enquire_link kannel send, also query the
dlr database and query_sm for stored dlrs...
Hi Julien,
now, the DLR mechanism is (like the generic sending and receiving) abstracted
for all supported SMSC protocols. Unfortunatly others, like EMI/UCP don't have
that query mechanism, so we need to abstract to the most common part.
Why should you actively query? The DLR mask allows you to set a signaling mask
so that the SMSC has to inform you about events. So they should send you DLRs
for the events you define via the mask.
There is no patch AFAIK for Kannel that adds query_sm PDU support. BTW, there is
also no support on the smsbox side to allow such a "what is the state of the
message" query.
You last sentence makes no sense in the way SMPP is designed? We don't need to
pull the state of every msg in the DLR table we have. The SMSC is in the role to
indicate the DLR event that take place. And that's how it is usually done.
If your SMPP provider does not signal on their own, but requires you to query_sm
all the time for all msgs you temporary look for. Then they are implementing
SMPP in a way that it is not intended.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------