OK, that means I have to include the dlr-url in every http request? Regards, Mike Nwaogu Tel: 234_802_325_6437
________________________________ From: Alvaro Cornejo <cornejo.alv...@gmail.com> To: Mike Nwaogu <michael_nwa...@yahoo.com> Cc: Garth Patil <garthpa...@gmail.com>; users@kannel.org Sent: Fri, October 29, 2010 3:12:43 PM Subject: Re: Associating a DLR with the original message The best way is to add your own unique Id to the dlr-url and have kannel call that url when a dlr arrives see ug for detailed info |-----------------------------------------------------------------------------------------------------------------| 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.NET www.smsglobal.com.mx y www.pravcom.com On Fri, Oct 29, 2010 at 9:01 AM, Mike Nwaogu <michael_nwa...@yahoo.com> wrote: Thanks for your answer, so you're saying I can change the patch and use the smsc id instead or how do I know the message I sent just now has received a DLR and that the status belongs to the message I sent? > > > Regards, >Mike Nwaogu >Tel: 234_802_325_6437 > > > > > ________________________________ From: Alvaro Cornejo <cornejo.alv...@gmail.com> >To: Mike Nwaogu <michael_nwa...@yahoo.com> >Cc: Garth Patil <garthpa...@gmail.com>; users@kannel.org >Sent: Fri, October 29, 2010 2:48:02 PM > >Subject: Re: Associating a DLR with the original message > > > >The id you get with the patch is the one created by kannel for its own >process. >The one that comes from the smsc is the smsc id. That is why kannel queries >its >database for the id/msisdn when receiving an dlr > > > >|-----------------------------------------------------------------------------------------------------------------| > >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.NET www.smsglobal.com.mx y >www.pravcom.com > > > >On Fri, Oct 29, 2010 at 6:00 AM, Mike Nwaogu <michael_nwa...@yahoo.com> wrote: > >Quick question Garth, >>I noticed that the message id I store when I send isn't the same one the DLR >>comes back with, how do I reconcile this? >> >> Regards, >>Mike Nwaogu >> >> >> >> >> >> >> ________________________________ From: Garth Patil <garthpa...@gmail.com> >>To: users@kannel.org >>Cc: Mike Nwaogu <michael_nwa...@yahoo.com> >>Sent: Thu, October 28, 2010 4:44:56 PM >>Subject: Re: Associating a DLR with the original message >> >> >>This is the patch I used to get the id: >> >>--- gateway-1.4.3-orig/gw/smsbox.c 2009-01-12 08:46:57.000000000 -0800 >>+++ gateway-1.4.3/gw/smsbox.c 2009-08-26 14:08:50.000000000 -0700 >>@@ -192,11 +192,15 @@ >> switch (msg->ack.nack) { >> case ack_success: >> status = HTTP_ACCEPTED; >>- answer = octstr_create("0: Accepted for delivery"); >>+ //answer = octstr_create("0: Accepted for delivery"); >>+ answer = octstr_create("0: Accepted for delivery: "); >>+ octstr_append(answer, os); >> break; >> case ack_buffered: >> status = HTTP_ACCEPTED; >>- answer = octstr_create("3: Queued for later delivery"); >>+ //answer = octstr_create("3: Queued for later delivery"); >>+ answer = octstr_create("3: Queued for later delivery: "); >>+ octstr_append(answer, os); >> break; >> case ack_failed: >> status = HTTP_FORBIDDEN; >> >> >>On Thu, Oct 28, 2010 at 7:02 AM, Mike Nwaogu <michael_nwa...@yahoo.com> wrote: >> >> >>> >>> >>>Hello Yall, >>>Alejandro posted something on this patch last year. >>>on the above subject, I'd like to know how to achieve this patch using the >>>same >>>kannel version 1.4.3 >>>I want my send-sms service to reply like so "0: Accepted for delivery: >>>c8d487ac-181f-4f2e-97d7-ffb7abfe99b9" >>> >>>where "c8d487ac-181f-4f2e-97d7-ffb7abfe99b9" is the message ID as created by >>>kannel. >>> >>>How do I achieve this? >>> >>>Regards, >>>Mike Nwaogu >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> > >