If %F is not provided by the SMSC then the whole thing would not work
anyway, as kannel will not be able to find the matching pending DLR
record in order to get the DLR URL. If it is there, then there can not
be a timing issue.
The different formating issue, well I don't know if %F is populated
after the "msg-id-type" rules are applied, but doing the conversion
should be easy enough since each SMSC behaves in just one way all the time.
I believe the only way you can have what you are asking for is to use a
DLR URL like:
http://localhost/dlr.php?BATCHID=1234&MSISDN=%p&SMSCMSGID=%F&status=%d
<http://localhost/dlr.php?id=12312312&status=%d>
I suggest you try this and let us know if it does not work.
Kyriacos
On 12/03/2014 15:40, spameden wrote:
2014-03-12 14:31 GMT+04:00 mydi...@gmail.com
<mailto:mydi...@gmail.com> <mydi...@gmail.com <mailto:mydi...@gmail.com>>:
Thanks for your reply Kyriacos.
%F is SMSC provided. It could be delayed, it could be changing
format (depending on each SMSC), it could indicate who my SMSC is,
it could have different format. Like any standard provided, and
normal SMSC, I must provide my own ID and be able to update status
(type) based on that ID. You know what I mean?
I can not request users to give their own messageID (not only
technically is extra work and development for each of them, but no
provider does that).
What is everyone else using Kannel doing? I am just thrilled to
know...
Again, you need to pass your OWN variable with identificator, e.g.:
dlr_url = url_encode('http://localhost/dlr.php?id=12312312&status=%d
read this - http://www.kannel.org/pipermail/users/2010-July/011875.html
Thank you,
Ali.
On 12/03/2014 09:15, Kyriacos/Netsmart wrote:
So,
If in your DLR url you request %F ? Wouldn't that just do what
you need?
Provide the same ID back to you for all DLRs relating to one MT?
Regards,
Kyriacos
--
Kyriacos Sakkas
Development Team
Netsmart
Tel: + 357 22 452565
Fax: + 357 22 452566
Email: kyria...@netsmart.com.cy
http://www.netsmart.com.cy
Taking Business to a New Level!
** Confidentiality Notice: The information contained in this email
message may be privileged, confidential and protected from disclosure.
If you are not the intended recipient, any dissemination, distribution,
or copying of this email message is strictly prohibited.
If you think that you have received this email message in error, please
email the sender at kyria...@netsmart.com.cy **