Hi All,

This is log of my SMSC:

2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP[mysmsc1]: Manually forced source
addr ton = 0, source add npi = 1
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP[mysmsc1]: Manually forced dest
addr ton = 1, dest add npi = 1
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP[mysmsc1]: Sending PDU:
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP PDU 0x20142b18 dump:
2014-07-11 20:43:06 [4528] [6] DEBUG:   type_name: submit_sm
2014-07-11 20:43:06 [4528] [6] DEBUG:   command_id: 4 = 0x00000004
2014-07-11 20:43:06 [4528] [6] DEBUG:   command_status: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   sequence_number: 2 = 0x00000002
2014-07-11 20:43:06 [4528] [6] DEBUG:   service_type: "CMT"
2014-07-11 20:43:06 [4528] [6] DEBUG:   source_addr_ton: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2014-07-11 20:43:06 [4528] [6] DEBUG:   source_addr: "517327"
2014-07-11 20:43:06 [4528] [6] DEBUG:   dest_addr_ton: 1 = 0x00000001
2014-07-11 20:43:06 [4528] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2014-07-11 20:43:06 [4528] [6] DEBUG:   destination_addr: "9039238251"
2014-07-11 20:43:06 [4528] [6] DEBUG:   esm_class: 3 = 0x00000003
2014-07-11 20:43:06 [4528] [6] DEBUG:   protocol_id: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   priority_flag: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   schedule_delivery_time: NULL
2014-07-11 20:43:06 [4528] [6] DEBUG:   validity_period: "140712011306000+"
2014-07-11 20:43:06 [4528] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2014-07-11 20:43:06 [4528] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   data_coding: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   sm_length: 11 = 0x0000000b
2014-07-11 20:43:06 [4528] [6] DEBUG:   short_message: "Hello World"
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP PDU dump ends.
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP[mysmsc1]: Got PDU:
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP PDU 0x20142b18 dump:
2014-07-11 20:43:06 [4528] [6] DEBUG:   type_name: submit_sm_resp
2014-07-11 20:43:06 [4528] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2014-07-11 20:43:06 [4528] [6] DEBUG:   command_status: 0 = 0x00000000
2014-07-11 20:43:06 [4528] [6] DEBUG:   sequence_number: 2 = 0x00000002
2014-07-11 20:43:06 [4528] [6] DEBUG:   message_id: "4051572d"
2014-07-11 20:43:06 [4528] [6] DEBUG: SMPP PDU dump ends.
2014-07-11 20:43:06 [4528] [6] DEBUG: DLR[mysql]: Adding DLR smsc=mysmsc1,
ts=4051572d, src=517327, dst=9039238251, mask=31, boxc=mysmsbox
2014-07-11 20:43:06 [4528] [6] DEBUG: sql: INSERT INTO dlr (smsc, ts,
source, destination, service, url, mask, boxc, status) VALUES ('mysmsc1',
'4051572d', '517327', '9039238251', 'mysendsmsuser1', '
http://localhost/BulkSMSApp/dlr.php?status=%F&myid=1111&type=%d', '31',
'mysmsbox', '0');
2014-07-11 20:43:06 [4528] [6] DEBUG: SMSC[mysmsc1]: creating DLR message
2014-07-11 20:43:06 [4528] [6] DEBUG: SMSC[mysmsc1]: DLR =
http://localhost/BulkSMSApp/dlr.php?status=%F&myid=1111&type=%d
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP[mysmsc1]: Got PDU:
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP PDU 0x20145468 dump:
2014-07-11 20:43:07 [4528] [6] DEBUG:   type_name: deliver_sm
2014-07-11 20:43:07 [4528] [6] DEBUG:   command_id: 5 = 0x00000005
2014-07-11 20:43:07 [4528] [6] DEBUG:   command_status: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   sequence_number: 29 = 0x0000001d
2014-07-11 20:43:07 [4528] [6] DEBUG:   service_type: "CMT"
2014-07-11 20:43:07 [4528] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2014-07-11 20:43:07 [4528] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2014-07-11 20:43:07 [4528] [6] DEBUG:   source_addr: "9039238251"
2014-07-11 20:43:07 [4528] [6] DEBUG:   dest_addr_ton: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2014-07-11 20:43:07 [4528] [6] DEBUG:   destination_addr: "517327"
2014-07-11 20:43:07 [4528] [6] DEBUG:   esm_class: 132 = 0x00000084
2014-07-11 20:43:07 [4528] [6] DEBUG:   protocol_id: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   priority_flag: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   schedule_delivery_time: NULL
2014-07-11 20:43:07 [4528] [6] DEBUG:   validity_period: NULL
2014-07-11 20:43:07 [4528] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   data_coding: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   sm_length: 114 = 0x00000072
2014-07-11 20:43:07 [4528] [6] DEBUG:   short_message:
2014-07-11 20:43:07 [4528] [6] DEBUG:    Octet string at 0x201455a8:
2014-07-11 20:43:07 [4528] [6] DEBUG:      len:  114
2014-07-11 20:43:07 [4528] [6] DEBUG:      size: 115
2014-07-11 20:43:07 [4528] [6] DEBUG:      immutable: 0
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 69 64 3a 31 30 37 39 30 37
32 35 35 37 20 73 75   id:1079072557 su
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 62 3a 30 30 31 20 64 6c 76
72 64 3a 30 30 31 20   b:001 dlvrd:001
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 73 75 62 6d 69 74 20 64 61
74 65 3a 31 34 30 37   submit date:1407
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 31 31 32 30 34 33 20 64 6f
6e 65 20 64 61 74 65   112043 done date
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 3a 31 34 30 37 31 31 32 30
34 33 20 73 74 61 74   :1407112043 stat
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 3a 44 45 4c 49 56 52 44 20
65 72 72 3a 6e 75 6c   :DELIVRD err:nul
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 6c 20 74 65 78 74 3a 48 65
6c 6c 6f 20 57 6f 72   l text:Hello Wor
2014-07-11 20:43:07 [4528] [6] DEBUG:      data: 6c
64                                             ld
2014-07-11 20:43:07 [4528] [6] DEBUG:    Octet string dump ends.
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP PDU dump ends.
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP[mysmsc1] handle_pdu, got DLR
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP[mysmsc1]: Couldnot parse DLR
string sscanf way,fallback to old way. Please report!
2014-07-11 20:43:07 [4528] [6] DEBUG: DLR[mysql]: Looking for DLR
smsc=mysmsc1, ts=1079072557, dst=9039238251, type=1
2014-07-11 20:43:07 [4528] [6] DEBUG: sql: SELECT mask, service, url,
source, destination, boxc FROM dlr WHERE smsc='mysmsc1' AND ts='1079072557';
2014-07-11 20:43:07 [4528] [6] DEBUG: no rows found
2014-07-11 20:43:07 [4528] [6] WARNING: DLR[mysql]: DLR from SMSC<mysmsc1>
for DST<9039238251> not found.
2014-07-11 20:43:07 [4528] [6] ERROR: SMPP[mysmsc1]: got DLR but could not
find message or was not interested in it id<1079072557> dst<9039238251>,
type<1>
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP[mysmsc1]: Sending PDU:
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP PDU 0x201456f8 dump:
2014-07-11 20:43:07 [4528] [6] DEBUG:   type_name: deliver_sm_resp
2014-07-11 20:43:07 [4528] [6] DEBUG:   command_id: 2147483653 = 0x80000005
2014-07-11 20:43:07 [4528] [6] DEBUG:   command_status: 0 = 0x00000000
2014-07-11 20:43:07 [4528] [6] DEBUG:   sequence_number: 29 = 0x0000001d
2014-07-11 20:43:07 [4528] [6] DEBUG:   message_id: NULL
2014-07-11 20:43:07 [4528] [6] DEBUG: SMPP PDU dump ends.


It creates a delivery report of my message.

So how to get this dlr receipt?

Thanks
Fakirchand Patidar


On Fri, Jul 11, 2014 at 8:33 PM, Spina Eduardo <[email protected]>
wrote:

>  Hi,
>
>
>
> I believe you can use variables on table 7-10  Parameters (Escape Codes).
>
>
>
> You have this example in the guide:
>
>
>
> http_header_add(push_headers, "X-Kannel-DLR-Url",
>
>                 "http://193.53.0.56:8001/notification-dlr?smsc-id=%i";
>
>                 "&status=%d&answer=%A&to=%P&from=%p&ts=%t");
>
>
>
>
>
> ---
>
> Eduardo Martins Spina
>
>
>
> *From:* users [mailto:[email protected]] *On Behalf Of *Fakirchand
> Patidar
> *Sent:* Friday, July 11, 2014 11:42 AM
> *To:* Antonis Spirou; [email protected]
> *Subject:* Re: How To Get Actual Delivery Report
>
>
>
> Hi Antonis & Group,
>
> Which parameters I'll send with this url "dlr-url=
> http://localhost/myapp/dlr.php";?
>
> I read user guide but i don't get parameters.
>
>
>
> Please reply me as soon as possible.
>
>
>
>
>
> On Fri, Jul 11, 2014 at 7:22 PM, Antonis Spirou <[email protected]>
> wrote:
>
> Hi,
>
> if you want to get the DLR report, then when you send the message to
> kannel you must set the variable "dlr-url=http://localhost/myapp/dlr.php";
> with the parameters you need to pass.
> You can find the parameters on the userguide.
>
> BR
>
> *Antonis Spirou*
> Systems Administrator
>
>   On 07/11/2014 04:31 PM, Fakirchand Patidar wrote:
>
>   Hi Group,
>
> I'm newbie at Kannel, so please help me.
>
>
>
> When I'm sending message through my application using Kannel gateway then
> I'm getting delivery receipt from SMSC but I don't know to get this receipt
> through kannel.
>
> Delivery receipt:
>
> [msg:132:id:c87297f4-49d0-487c-b400-a67a420d76f7 sub:001 dlvrd:001 submit
> date:140711163635 done date:140711182043 stat:DELIVRD err:000 text:]
>
> So how to get this delivery report by dlr-url="
> http://localhost/myapp/dlr.php";.
>
> Please also reply my previous queries regarding this issues with logs as
> soon as possible.
>
> I'm in a very trouble.
>
>
>
> Thank You Vary much In Advance.
>
> ---------------------------------
>
> *Thanks & Regards,*
>
> *Fakirchand Patidar*
>
>
>
>
>
> ---------------------------------
>
> *Thanks & Regards,*
>
> *Fakirchand Patidar*
>    ------------------------------
> This message and any attachments are intended solely for the addressees
> and may contain confidential information. Any unauthorized use or
> disclosure, either whole or partial, is prohibited.
> E-mails are susceptible to alteration. Our company shall not be liable for
> the message if altered, changed or falsified. If you are not the intended
> recipient of this message, please delete it and notify the sender.
> Although all reasonable efforts have been made to keep this transmission
> free from viruses, the sender will not be liable for damages caused by a
> transmitted virus.
>



-- 
---------------------------------

*Thanks & Regards,*
*Fakirchand Patidar*
Software Developer
Bulk24SMS Networks
Cell: +919754178790

Reply via email to