Please post configuration.
BR,
Nikos
----- Original Message -----
From: gianluca moretti
To: [email protected] ; [email protected]
Sent: Wednesday, May 05, 2010 7:59 PM
Subject: RE: Problem with SMS longer than 160
This is the sendsms line
http://172.31.70.117:13013/cgi-bin/sendsms?username=tester&password=foobar&coding=0&from=xxxxxxxx&to=xx111137&text=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.%28Toplam+borcunuz+64067.6+TL%29.+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.&validity=1440&dlr-mask=27&dlr-url=http%3A//172.31.70.117%3A7003/SMSReceivingServlet/info%3FSMSC_REPORT=%25A%26SEQUENCE_NUMBER=2359111111111111111172007%26LOG_FLAG=Y%26DELIVERY_FLAG=Y%26CAMP_ID=Camp1%26EXPIRATION_DATE=20101205+12%3A00%3A00.000%26SMSC_TIMESTAMP=%25t%26SMS_ID=%25F%26TEXT=Hattiniza+ait+64067.6+TL+tutarinda+odenmemis+fatura+bulunmaktadir.(Toplam+borcunuz+64067.6+TL).+Odeme+yapmamaniz+halinde+hattiniz+kisitlanacaktir.+Odeme+yaptiysaniz+bu+mesaji+dikkate+almayiniz.%26SMS_SENT_TYPE=PARAM%26PARA_PER_ID=22222237%26REQUEST_DATE=20100430+12%3A00%3A00.000%26SHORT_NUMBER=%25P%26DLR_STATUS=%25d%26MSISDN=%25p%26SERVICE_NUMBER=XXXXXXXX%26
From further investigation come up this; with concat = true the message-id
paramter is null from Kannel during the DLR receivng.
Ciao
From: [email protected]
To: [email protected]; [email protected]
Subject: Re: Problem with SMS longer than 160
Date: Wed, 5 May 2010 17:25:52 +0300
Hi,
SMPP doesn't have much to do with HTTP. You obviously refer to DLRs. In
order to get DLRs you need to specify dlr-mask in your request. Furthermore
you need also dlr-url if you want an HTTP GET for your final DLR. Even then,
the DLR can arrive after a couple of days. However, kannel should insert
into the DB an entry as soon as an ACK is received in submit_sm_resp.
Assuming that this is an MT your are trying to send, what is your sendsms
line?
BR,
Nikos
----- Original Message -----
From: gianluca moretti
To: [email protected]
Sent: Wednesday, May 05, 2010 4:36 PM
Subject: Problem with SMS longer than 160
I have set the concatenation true on Kannel to send text messages longer
than 160 chars.
Even if Kannel receives the SMPP ACK, no HTTP request is sent.
Follows Kannel log of send and SMPP ACK:
2010-05-05 16:19:52 [20720] [9] DEBUG: boxc_receiver: sms received
2010-05-05 16:19:52 [20720] [9] DEBUG: new split_parts created 0x1cb4bbc0
2010-05-05 16:19:52 [20720] [9] DEBUG: send_msg: sending msg to boxc:
<smsbox_1>
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP[test]: Sending PDU:
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:52 [20720] [6] DEBUG: type_name: submit_sm
2010-05-05 16:19:52 [20720] [6] DEBUG: command_id: 4 = 0x00000004
2010-05-05 16:19:52 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sequence_number: 35411 = 0x00008a53
2010-05-05 16:19:52 [20720] [6] DEBUG: service_type: NULL
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr_ton: 5 = 0x00000005
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr_npi: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr: "SOURCE"
2010-05-05 16:19:52 [20720] [6] DEBUG: dest_addr_ton: 2 = 0x00000002
2010-05-05 16:19:52 [20720] [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2010-05-05 16:19:52 [20720] [6] DEBUG: destination_addr: "123456789"
2010-05-05 16:19:52 [20720] [6] DEBUG: esm_class: 67 = 0x00000043
2010-05-05 16:19:52 [20720] [6] DEBUG: protocol_id: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: priority_flag: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: schedule_delivery_time: NULL
2010-05-05 16:19:52 [20720] [6] DEBUG: validity_period: "100506131952000+"
2010-05-05 16:19:52 [20720] [6] DEBUG: registered_delivery: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: replace_if_present_flag: 0 =
0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: data_coding: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sm_length: 159 = 0x0000009f
2010-05-05 16:19:52 [20720] [6] DEBUG: short_message:
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string at 0x2aaaac028de0:
2010-05-05 16:19:52 [20720] [6] DEBUG: len: 159
2010-05-05 16:19:52 [20720] [6] DEBUG: size: 1024
2010-05-05 16:19:52 [20720] [6] DEBUG: immutable: 0
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 05 00 03 13 02 01 48 61 74
74 69 6e 69 7a 61 20 ......Hattiniza
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 69 74 20 36 34 30 36 37
2e 36 20 54 4c 20 74 ait 64067.6 TL t
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 75 74 61 72 69 6e 64 61 20
6f 64 65 6e 6d 65 6d utarinda odenmem
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 69 73 20 66 61 74 75 72 61
20 62 75 6c 75 6e 6d is fatura bulunm
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 6b 74 61 64 69 72 2e 28
54 6f 70 6c 61 6d 20 aktadir.(Toplam
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 62 6f 72 63 75 6e 75 7a 20
36 34 30 36 37 2e 36 borcunuz 64067.6
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 20 54 4c 29 2e 20 4f 64 65
6d 65 20 79 61 70 6d TL). Odeme yapm
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 6d 61 6e 69 7a 20 68 61
6c 69 6e 64 65 20 68 amaniz halinde h
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 74 74 69 6e 69 7a 20 6b
69 73 69 74 6c 61 6e attiniz kisitlan
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 63 61 6b 74 69 72 2e 20
4f 64 65 6d 65 20 acaktir. Odeme
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string dump ends.
2010-05-05 16:19:52 [20720] [6] DEBUG: more_messages_to_send: 1 =
0x00000001
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU dump ends.
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP[test]: Sending PDU:
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:52 [20720] [6] DEBUG: type_name: submit_sm
2010-05-05 16:19:52 [20720] [6] DEBUG: command_id: 4 = 0x00000004
2010-05-05 16:19:52 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sequence_number: 35412 = 0x00008a54
2010-05-05 16:19:52 [20720] [6] DEBUG: service_type: NULL
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr_ton: 5 = 0x00000005
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr_npi: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: source_addr: "SOURCE"
2010-05-05 16:19:52 [20720] [6] DEBUG: dest_addr_ton: 2 = 0x00000002
2010-05-05 16:19:52 [20720] [6] DEBUG: dest_addr_npi: 1 = 0x00000001
2010-05-05 16:19:52 [20720] [6] DEBUG: destination_addr: "123456789"
2010-05-05 16:19:52 [20720] [6] DEBUG: esm_class: 67 = 0x00000043
2010-05-05 16:19:52 [20720] [6] DEBUG: protocol_id: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: priority_flag: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: schedule_delivery_time: NULL
2010-05-05 16:19:52 [20720] [6] DEBUG: validity_period: "100506131952000+"
2010-05-05 16:19:52 [20720] [6] DEBUG: registered_delivery: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: replace_if_present_flag: 0 =
0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: data_coding: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sm_length: 46 = 0x0000002e
2010-05-05 16:19:52 [20720] [6] DEBUG: short_message:
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string at 0x2aaaac028e50:
2010-05-05 16:19:52 [20720] [6] DEBUG: len: 46
2010-05-05 16:19:52 [20720] [6] DEBUG: size: 1024
2010-05-05 16:19:52 [20720] [6] DEBUG: immutable: 0
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 05 00 03 13 02 02 79 61 70
74 69 79 73 61 6e 69 ......yaptiysani
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 7a 20 62 75 20 6d 65 73 61
6a 69 20 64 69 6b 6b z bu mesaji dikk
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 61 74 65 20 61 6c 6d 61 79
69 6e 69 7a 2e ate almayiniz.
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string dump ends.
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU dump ends.
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP[test]: Got PDU:
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:52 [20720] [6] DEBUG: type_name: submit_sm_resp
2010-05-05 16:19:52 [20720] [6] DEBUG: command_id: 2147483652 = 0x80000004
2010-05-05 16:19:52 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:52 [20720] [6] DEBUG: sequence_number: 35411 = 0x00008a53
2010-05-05 16:19:52 [20720] [6] DEBUG: message_id:
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string at 0x2aaaac029c20:
2010-05-05 16:19:52 [20720] [6] DEBUG: len: 23
2010-05-05 16:19:52 [20720] [6] DEBUG: size: 24
2010-05-05 16:19:52 [20720] [6] DEBUG: immutable: 0
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 63 65 79 6c 61 6e 74 73 74
31 32 37 33 30 36 35 test1273065
2010-05-05 16:19:52 [20720] [6] DEBUG: data: 35 39 32 30 35 39 32
5920592
2010-05-05 16:19:52 [20720] [6] DEBUG: Octet string dump ends.
2010-05-05 16:19:52 [20720] [6] DEBUG: SMPP PDU dump ends.
2010-05-05 16:19:53 [20720] [6] DEBUG: SMPP[test]: Got PDU:
2010-05-05 16:19:53 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:53 [20720] [6] DEBUG: type_name: submit_sm_resp
2010-05-05 16:19:53 [20720] [6] DEBUG: command_id: 2147483652 = 0x80000004
2010-05-05 16:19:53 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:53 [20720] [6] DEBUG: sequence_number: 35412 = 0x00008a54
2010-05-05 16:19:53 [20720] [6] DEBUG: message_id:
2010-05-05 16:19:53 [20720] [6] DEBUG: Octet string at 0x2aaaac029bd0:
2010-05-05 16:19:53 [20720] [6] DEBUG: len: 23
2010-05-05 16:19:53 [20720] [6] DEBUG: size: 24
2010-05-05 16:19:53 [20720] [6] DEBUG: immutable: 0
2010-05-05 16:19:53 [20720] [6] DEBUG: data: 63 65 79 6c 61 6e 74 73 74
31 32 37 33 30 36 35 test1273065
2010-05-05 16:19:53 [20720] [6] DEBUG: data: 35 39 32 30 35 39 33
5920593
2010-05-05 16:19:53 [20720] [6] DEBUG: Octet string dump ends.
2010-05-05 16:19:53 [20720] [6] DEBUG: SMPP PDU dump ends.
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP[test]: Sending enquire link:
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:54 [20720] [6] DEBUG: type_name: enquire_link
2010-05-05 16:19:54 [20720] [6] DEBUG: command_id: 21 = 0x00000015
2010-05-05 16:19:54 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:54 [20720] [6] DEBUG: sequence_number: 35413 = 0x00008a55
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP PDU dump ends.
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP[test]: Got PDU:
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP PDU 0x2aaaac0288e0 dump:
2010-05-05 16:19:54 [20720] [6] DEBUG: type_name: enquire_link_resp
2010-05-05 16:19:54 [20720] [6] DEBUG: command_id: 2147483669 = 0x80000015
2010-05-05 16:19:54 [20720] [6] DEBUG: command_status: 0 = 0x00000000
2010-05-05 16:19:54 [20720] [6] DEBUG: sequence_number: 35413 = 0x00008a55
2010-05-05 16:19:54 [20720] [6] DEBUG: SMPP PDU dump ends.
After the SMPP ACK I cannot find log about query on Kannel DB like:
DEBUG: SMPP[SMPPSim1] handle_pdu, got DLR
DEBUG: DLR[oracle]: Looking for DLR smsc=SMPPSim1, ts=0, dst=123456789,
type=1
DEBUG: SQL has 1 columns
DEBUG: alloc size=8
DEBUG: retrieve data_size
DEBUG: alloc size=3
DEBUG: sql: SELECT mask, service, url, source, destination, boxc FROM dlr
WHERE smsc=:1 AND ts=:2 AND destination=:3 AND ROWNUM < 2
DEBUG: SQL has 6 columns
DEBUG: alloc size=48
DEBUG: retrieve data_size
DEBUG: alloc size=23
DEBUG: alloc size=41
DEBUG: alloc size=1001
DEBUG: oracle_malloc called size=4240 @19077ee0
DEBUG: alloc size=41
DEBUG: alloc size=41
DEBUG: alloc size=41
Have you any idea on the reason why smsbox doesn’t handle this SMPP ACK?
Messenger Radio. La radio che si fa cliccare!
Un mondo di personalizzazioni per Messenger, PC e cellulare