Hi dlr 8 means message has been submitted to smsc (and accepted by it) dlr 1 means message has been delivered to phone (and stored either in SIM or phone memory)
Also; some operators does not provide all dlr status; however as stated on my previous mail. kannel is in fact receiving the dlr with type=1 as seen in your smsc log. The issue is that it does not find a match in its dlr table to track it back. Can you post a full log of a transaction from submitting to kannel to last dlr ? not only the log from smsc but smsbox log. In this last log you should see kannel calig dlr-url and dlr matching. It might be that kannel is deleting record when receiving dlr 8 thus when receiving dlr 1 the record for that message is gone. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| 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 Thu, Aug 21, 2014 at 4:27 PM, Alejandro Mussi <alemu...@gmail.com> wrote: > Still not working. Tried msg-id-type = 0x01 and still not working. Also > putting dlr-mask before dlr-url on the param sequence. > > The thing is that i do receive the dlr when type=8 and type=16 but kannel > does not send me dlr with type=1. > > If the message has been delivered to the phone.. should i have to receive > 2 dlr-url? for example type 8 and type 1 or just type 1? > > Best > > > > > On Thu, Aug 21, 2014 at 4:13 PM, Alvaro Cornejo <cornejo.alv...@gmail.com> > wrote: > >> Hi >> >> Re-reading your original question I saw that, in fact, you do receive the >> dlr. >> >> 2014-08-21 12:33:22 [2202] [7] DEBUG: DLR[internal]: Looking for DLR >> smsc=tigo, ts=11e22675ee6, dst=595981414913, type=1 >> >> >> However kannel is unable to track it back to original message: >> >> 2014-08-21 12:33:22 [2202] [7] WARNING: DLR[internal]: DLR from >> SMSC<tigo> for DST<595981414913> not found. >> >> 2014-08-21 12:33:22 [2202] [7] ERROR: SMPP[tigo]: got DLR but could not >> find message or was not interested in it id<11e22675ee6> dst<595981414913>, >> type<1> >> >> >> This usually means that the the message id type is wrong. >> >> Check variable msg-id-type in user guide and set it accordingly. >> >> Regards >> >> Alvaro >> >> >> >> |-----------------------------------------------------------------------------------------------------------------| >> 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 Thu, Aug 21, 2014 at 3:03 PM, Alvaro Cornejo <cornejo.alv...@gmail.com >> > wrote: >> >>> Hi >>> >>> Sorry you are right. Can you test this: >>> >>> &dlr-mask=31&dlr-url= >>> http://localhost/sms/api/dlr.php?myId=1212%26type%3D%25d >>> >>> >>> >>> >>> >>> Basically type should >>> >>> >>> >>> |-----------------------------------------------------------------------------------------------------------------| >>> 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 Thu, Aug 21, 2014 at 2:34 PM, spameden <spame...@gmail.com> wrote: >>> >>>> >>>> >>>> >>>> 2014-08-21 23:03 GMT+04:00 Alejandro Mussi <alemu...@gmail.com>: >>>> >>>> Hi Alvaro, >>>>> >>>>> If i replace, it does not send dlr at all. According to the manual the >>>>> dlr-mask is not an param in the dlr-url. >>>>> >>>>> Best >>>>> >>>> >>>> You're correct. >>>> >>>> Problem is with your SMSC provider. As long as you see only 8 and 16, >>>> first status means ACK and sent by kannel itself, 16 means sms was >>>> forbidden by your SMSC provider, so contact them and resolve with them. >>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Aug 21, 2014 at 1:37 PM, Alvaro Cornejo < >>>>> cornejo.alv...@gmail.com> wrote: >>>>> >>>>>> Hi Alejandro >>>>>> >>>>>> Change %26type%3D%25d&dlr-mask=31 with %26type%3D25%26dlr-mask%3D31 >>>>>> >>>>>> Note that what you request as dlr is not necessarily what you will >>>>>> receive. Carriers define which dlr status will they forward. Some disable >>>>>> intermediate status, some allow all of them. >>>>>> >>>>>> Regards >>>>>> >>>>>> Alvaro >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> |-----------------------------------------------------------------------------------------------------------------| >>>>>> 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 Thu, Aug 21, 2014 at 11:22 AM, Alejandro Mussi <alemu...@gmail.com >>>>>> > wrote: >>>>>> >>>>>>> Hi guys, >>>>>>> >>>>>>> My kannel is not sending my dlr-url when type=1. I get it when >>>>>>> type=16 and type=8. >>>>>>> >>>>>>> Here is what log saids: >>>>>>> >>>>>>> 2014-08-21 12:33:22 [2202] [7] DEBUG: DLR[internal]: Looking for DLR >>>>>>> smsc=tigo, ts=11e22675ee6, dst=595981414913, type=1 >>>>>>> >>>>>>> 2014-08-21 12:33:22 [2202] [7] WARNING: DLR[internal]: DLR from >>>>>>> SMSC<tigo> for DST<595981414913> not found. >>>>>>> >>>>>>> 2014-08-21 12:33:22 [2202] [7] ERROR: SMPP[tigo]: got DLR but could >>>>>>> not find message or was not interested in it id<11e22675ee6> >>>>>>> dst<595981414913>, type<1> >>>>>>> >>>>>>> >>>>>>> Here is my config files >>>>>>> >>>>>>> >>>>>>> # SMS USER GROUP >>>>>>> >>>>>>> >>>>>>> group = sendsms-user >>>>>>> >>>>>>> username = xxx >>>>>>> >>>>>>> password = yyy >>>>>>> >>>>>>> concatenation = true >>>>>>> >>>>>>> max-messages = 3 >>>>>>> >>>>>>> max-messages = 10 >>>>>>> >>>>>>> >>>>>>> Here is the call to kannel >>>>>>> >>>>>>> >>>>>>> http://localhost:13013/cgi-bin/sendsms?username=xxx&password=yyy&to=+595981414913&from=1244&binfo=CCHUR&text=Prueba+de+envio+sms+2&smsc=tigo&dlr-url=http%3A%2F%2Flocalhost%2Fsms%2Fapi%2Fdlr.php%3FmyId%3D1212%26type%3D%25d&dlr-mask=31 >>>>>>> Thanks for the help >>>>>>> >>>>>>> Alejandro >>>>>>> -- >>>>>>> --------------------------------------------------------- >>>>>>> Alejandro Mussi Campos Cervera >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> --------------------------------------------------------- >>>>> Alejandro Mussi Campos Cervera >>>>> >>>> >>>> >>> >> > > > -- > --------------------------------------------------------- > Alejandro Mussi Campos Cervera >