Thank you for your reply. I am sending the sms through send-sms cgi.
You see, the issue, like i said, is that I am sending multiple numbers request in one URL (that is why I can not define the message if in my MT request. Because in one url there is 100s of numbers. I also send dlr-mask and dlr-url. In my dlr-url php page I have the script inserting/updating the database. What happens though is type=1 of the same number, has different message-id (kannel internal messageid I mean), than type=8 of the same number.
So one number, two different message-ids. Thus, I have 2 records in my database, for the same number...
I hope I explained myself well now and you understood what my problem is. This issue I am reporting, happens in messages of 1 part (latin and less than 160 chars)
Any idea? Thank you, Ali. On 09/03/2014 21:57, spameden wrote:
You need to define msgid for each MT you submit through SMSC. That is the correct way to get proper status of each MT. You can achieve this by appending required parameter to dlr_url or adding msgid and task_id in the sqlbox's sent_sms table. %I i believe stands for internal kannel's message id, it could vary depending on the size of MT, if MT is longer than allowed by standard (e.g. >160 for latin1 or >60 for ucs-2) kannel would return multiple message ids for each part of MT. 2014-03-10 1:07 GMT+04:00 [email protected] <mailto:[email protected]> <[email protected] <mailto:[email protected]>>: No one can answer my question? I appreciate any replies.. Thank you! The issue is as below: I have setup kannel with an SMPP SMSc. For DLR-URL, when I submit my HTTP request via CGI, I have dlr-mask=31 and my urlencoded DLR-URL. Part of my DLR-URL, I need to receive the message ID from kannel (and please note I am submitting multiple numbers in the same HTTP request, so I can not have my own message id, because then it will be the same for all those numbers in one http request). So kannel is responsible to provide message id for EACH INDIVIDUAL number submitted to kannel. But what happens, I get one message ID when type=8 is received, and I get a different message id when type=1 is received. I use the tag "%I" for the message id from kannel. I can not use the tag "%F", because that is for my SMSc, and i can not/do not want to give this IDs to my client. Isn't kannel supposed to update the status of ONE MESSAGE according to different types? (I suppose YES) Then why is it giving a different message ID for the same number, but when type is being updated???? Thank you, Ali.
