In your dlr-url you can add ...&my-id=MY_ID&... and when calling the dlr-url make your app match for that MY_ID
Regards |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Mon, Jun 9, 2014 at 10:05 AM, spameden <spame...@gmail.com> wrote: > > > 2014-06-09 18:58 GMT+04:00 ha...@aeon.pk <ha...@aeon.pk>: > >> Isn't dlr-url fixed for all messages in kannel config? How will I set >> different identifier for different messages in it? > > > Config sets only default dlr_url for all messages (if you don't specify your > own). > > You can set dlr_url in sqlbox source code dynamically (TIP: use time/date > nanoseconds to generate it) and link to DLR messages through this field. > > This is the only field which is being saved when DLR comes. > >> >> >> >> On Mon, Jun 9, 2014 at 7:46 PM, spameden <spame...@gmail.com> wrote: >>> >>> >>> >>> >>> 2014-06-09 18:00 GMT+04:00 ha...@aeon.pk <ha...@aeon.pk>: >>> >>>> Hi, >>>> >>>> I'm trying to use foreign_id field in sendsms table to mark the outgoing >>>> message for DLR matching in return, however it's not working since kannel >>>> puts its own FID every time. >>>> >>>> How to put message identifier in kannel logs to track the message for >>>> returning DLRs? I mean, which field to use? >>>> >>>> Regards, >>>> Hamza >>> >>> >>> use dlr_url field. >>> >> >