That's not what Rene had in mind. You can use any dlr-mask you like. But to
match DLRs with MTs you need to do it with dlr-url. When you push the SMS
you type:
/cgi-bin/sendsms?from=...&to=....&text=....&dlr-mask=...&dlr-url=http://mydlr.php?...&msgid=1&....
Of course dlr-url has to be urlencoded. msgid you increment each time you
push an MT. Then you know which msgid goes with what SMS you send and you
can match the DLR received with msgid and SMS.
BR,
Nikos
----- Original Message -----
From: T.K.Thapa
To: Rene Kluwen
Cc: Kannel list
Sent: Friday, September 10, 2010 6:21 AM
Subject: RE: SQL Box Question
Hello,
I don't understand completely.
While submitting sms to smsbox i am using dlr-mask=7 and i am not using
dlr-url. Do you mean that i should change dlr-mask=7 to dlr-mask=31 and put
any id in dlr-url?
Please explain.
Regards
Tapan Thapa
--- On Thu, 9/9/10, Rene Kluwen <[email protected]> wrote:
From: Rene Kluwen <[email protected]>
Subject: RE: SQL Box Question
To: "'T.K.Thapa'" <[email protected]>, "'Kannel list'"
<[email protected]>
Date: Thursday, 9 September, 2010, 11:57 PM
If you use the proper dlr mask, then you can map the sent messages by means
of dlr_url.
This may be a http url but alternatively, it can be any id if you don’t
mean smsbox.
== Rene
From: [email protected] [mailto:[email protected]] On Behalf
Of T.K.Thapa
Sent: Thursday, 09 September, 2010 19:34
To: Kannel list
Subject: SQL Box Question
Hello,
I was just checking sqlbox with bearerbox and smsbox to log all sent
messages. I have seen that in sent_sms table there is no relation (Like
message id mapping) between MT and DLR. Is it normal behaviour? If yes then
can you please suggest how will i map sent messages to DLR?
Regards
Tapan Thapa