Hi

You are mixing things.

0: Accespted for delivery is a KANNEL answer to your sms-box call. It
is NOT message status.

DLR-2 is the message status FROM your SMSC and the log shows kannel is
calling your dlr_url
(http://localhost/playsms//index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&slid=300&uid=1)

Therefore your index.php is responsible of updating the message status
in whatever database you use. If this is not happening, then you
should debug your index.php

BTW looks like there is a double slash in your dlr-url: ...playsms//index.php...

Regards

Alvaro


On 9/17/12, Sashi2012 <[email protected]> wrote:
>
>
> Dear Alvaro,
>
> See below the bearerbox log where i am getting type=2 (SMS failure DLR).
>
>
> 2012-09-18 10:15:58 [705] [7] DEBUG:      data: 69 64 3a 30 31 36 30 37 38
> 33 30 36 30 20 73 75   id:0160783060 su
> 2012-09-18 10:15:58 [705] [7] DEBUG:      data: 62 6d 69 74 20 64 61 74 65
> 3a 31 32 30 39 31 38   bmit date:120918
> 2012-09-18 10:15:58 [705] [7] DEBUG:      data: 30 39 35 38 20 64 6f 6e 65
> 20 64 61 74 65 3a 31   0958 done date:1
> 2012-09-18 10:15:58 [705] [7] DEBUG:      data: 32 30 39 31 38 30 39 35 38
> 20 73 74 61 74 3a 44   209180958 stat:D
> 2012-09-18 10:15:58 [705] [7] DEBUG:      data: 45 4c 49 56 52 44
>
> ELIVRD
> 2012-09-18 10:15:58 [705] [7] DEBUG:    Octet string dump ends.
> 2012-09-18 10:15:58 [705] [7] DEBUG: SMPP PDU dump ends.
> 2012-09-18 10:15:58 [705] [7] DEBUG: SMPP[B] handle_pdu, got DLR
> 2012-09-18 10:15:58 [705] [7] DEBUG: SMPP[B]: Couldnot parse DLR string
> sscanf way,fallback to old way. Please report!
> 2012-09-18 10:15:58 [705] [7] DEBUG: DLR[internal]: Looking for DLR smsc=B,
> ts=160783060, dst=97577101010, type=2
> 2012-09-18 10:15:58 [705] [7] DEBUG: DLR[internal]: created DLR message for
> URL
> <http://localhost/playsms//index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&slid=300&uid=1>
> 2012-09-18 10:15:58 [705] [7] DEBUG: SMPP[B]: Sending PDU:
> 2012-09-18 10:15:58 [705] [7] DEBUG: SMPP PDU 0x9d040c0 dump:
> 2012-09-18 10:15:58 [705] [7] DEBUG:   type_name: deliver_sm_resp
> 2012-09-18 10:15:58 [705] [7] DEBUG:   command_id: 2147483653 = 0x80000005
> 2012-09-18 10:15:58 [705] [7] DEBUG:   command_status: 0 = 0x00000000
>
>
> Though the SMS is delivered to the end user and DLR is sent from SMSC to
> kannel i am getting type=2 DLR. Please help.
>
> Thank you.
> Sashi
>
>
>
>
> Alvaro Cornejo wrote:
>>
>> Hi
>>
>> This is a normal error since kannel 1st try to "decode" dlr using
>> sscanf; if not it uses standard way. Therefore you can safely ignore
>> those errors.
>>
>> BTW, 1.4.3 is quiet old version. You might want to use latest SVN; it
>> is production ready.
>>
>> Regards
>>
>> Alvaro
>>
>>
>> On 9/17/12, Sashi2012 <[email protected]> wrote:
>>>
>>> Dear Users,
>>>
>>> I have configured kannel gateway 1.4.3 and have SMPP3.4 connectivity.
>>> I can successfully send and receive SMS but the issue is with the
>>> delivery
>>> report.
>>> In the bearerbox log i get "Couldnot parse DLR string sscanf
>>> way,fallback
>>> to
>>> old way. Please report!" Though the SMS is successfully delivered to the
>>> user i get the above msg.
>>> Please help me.
>>>
>>> The delivery report format from SMSC towards the Kannel that i see in
>>> the
>>> bearer box log is as below:
>>>
>>> id:0159745126 submit date:1209121038 done date:1209121038 stat:DELIVRD
>>>
>>> i wait for you valuable advise on this.
>>>
>>> Thank you.
>>> Sashi
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Kannel-%2B-SMPP3.4-DLR-issue-tp34422011p34422011.html
>>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>>
>>
>> --
>> |-----------------------------------------------------------------------------------------------------------------|
>> 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
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/Kannel-%2B-SMPP3.4-DLR-issue-tp34422011p34445663.html
> Sent from the Kannel - User mailing list archive at Nabble.com.
>
>
>


-- 
|-----------------------------------------------------------------------------------------------------------------|
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

Reply via email to