Thanks alot Selenium Software for your reply ,
I am using SMPPSim version 2.6
I have set the esmm_class=64 but the message is Discarded ,
by the way is there any other parameters to set ?
bearer box logs
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP[SMPPSim]: Got PDU:
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP PDU 0xb36019f0 dump:
2012-11-12 09:12:15 [2224] [7] DEBUG: type_name: deliver_sm
2012-11-12 09:12:15 [2224] [7] DEBUG: command_id: 5 = 0x00000005
2012-11-12 09:12:15 [2224] [7] DEBUG: command_status: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: sequence_number: 15 = 0x0000000f
2012-11-12 09:12:15 [2224] [7] DEBUG: service_type: NULL
2012-11-12 09:12:15 [2224] [7] DEBUG: source_addr_ton: 1 = 0x00000001
2012-11-12 09:12:15 [2224] [7] DEBUG: source_addr_npi: 1 = 0x00000001
2012-11-12 09:12:15 [2224] [7] DEBUG: source_addr: "4477665544"
2012-11-12 09:12:15 [2224] [7] DEBUG: dest_addr_ton: 1 = 0x00000001
2012-11-12 09:12:15 [2224] [7] DEBUG: dest_addr_npi: 1 = 0x00000001
2012-11-12 09:12:15 [2224] [7] DEBUG: destination_addr: "9900"
2012-11-12 09:12:15 [2224] [7] DEBUG: esm_class: 64 = 0x00000040
2012-11-12 09:12:15 [2224] [7] DEBUG: protocol_id: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: priority_flag: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: schedule_delivery_time: NULL
2012-11-12 09:12:15 [2224] [7] DEBUG: validity_period: NULL
2012-11-12 09:12:15 [2224] [7] DEBUG: registered_delivery: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: replace_if_present_flag: 0 =
0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: data_coding: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: sm_default_msg_id: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: sm_length: 13 = 0x0000000d
2012-11-12 09:12:15 [2224] [7] DEBUG: short_message:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3601b70:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 13
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 14
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 05 00 03 51 04 01 54 68 65
20 63 61 74 ...Q..The cat
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP PDU dump ends.
2012-11-12 09:12:15 [2224] [7] WARNING: SMPP[SMPPSim]: Mallformed addr
`9900', generally expected at least 7 digits.
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP[SMPPSim]: UDH length read as 6
2012-11-12 09:12:15 [2224] [7] DEBUG: Got part 1 [ref 81, total parts 4] of
message from +4477665544. Dump follows:
2012-11-12 09:12:15 [2224] [7] DEBUG: Msg object at 0xb3602330:
2012-11-12 09:12:15 [2224] [7] DEBUG: type: sms
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.sender:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3600ea8:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 11
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 12
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 2b 34 34 37 37 36 36 35 35 34
34 +4477665544
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.receiver:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3600ed0:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 5
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 6
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 2b 39 39 30 30
+9900
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.udhdata:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3600df8:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 6
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 7
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 05 00 03 51 04 01
...Q..
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.msgdata:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3600e20:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 7
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 8
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 54 68 65 20 63 61 74
The cat
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.time: 1352700735
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.smsc_id:
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string at 0xb3600e48:
2012-11-12 09:12:15 [2224] [7] DEBUG: len: 7
2012-11-12 09:12:15 [2224] [7] DEBUG: size: 8
2012-11-12 09:12:15 [2224] [7] DEBUG: immutable: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: data: 53 4d 50 50 53 69 6d
SMPPSim
2012-11-12 09:12:15 [2224] [7] DEBUG: Octet string dump ends.
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.smsc_number:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.foreign_id:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.service:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.account:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.id:
00ae02d8-908d-4a2a-bfc9-3ebb7990f1d3
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.sms_type: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.mclass: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.mwi: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.coding: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.compress: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.validity: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.deferred: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.dlr_mask: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.dlr_url:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.pid: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.alt_dcs: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.rpi: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.charset:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.boxc_id:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.binfo:
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.msg_left: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.split_parts: (nil)
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.priority: 0
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.resend_try: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: sms.resend_time: -1
2012-11-12 09:12:15 [2224] [7] DEBUG: Msg object ends.
2012-11-12 09:12:15 [2224] [7] WARNING: Duplicate message part 1, ref 81,
from +4477665544, to +9900. Discarded!
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP[SMPPSim]: Sending PDU:
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP PDU 0xb3600d10 dump:
2012-11-12 09:12:15 [2224] [7] DEBUG: type_name: deliver_sm_resp
2012-11-12 09:12:15 [2224] [7] DEBUG: command_id: 2147483653 = 0x80000005
2012-11-12 09:12:15 [2224] [7] DEBUG: command_status: 0 = 0x00000000
2012-11-12 09:12:15 [2224] [7] DEBUG: sequence_number: 15 = 0x0000000f
2012-11-12 09:12:15 [2224] [7] DEBUG: message_id: NULL
2012-11-12 09:12:15 [2224] [7] DEBUG: SMPP PDU dump ends.
smpp logs
2012.11.12 09:12:03 953 INFO 20 : ENQUIRE_LINK:
2012.11.12 09:12:03 954 INFO 20 Hex dump (16) bytes:
2012.11.12 09:12:03 954 INFO 20 00000010:00000015:00000000:00000027:
2012.11.12 09:12:03 954 INFO 20
2012.11.12 09:12:03 954 INFO 20
cmd_len=16,cmd_id=21,cmd_status=0,seq_no=39
2012.11.12 09:12:03 954 INFO 20
2012.11.12 09:12:03 954 INFO 20 :ENQUIRE_LINK_RESP:
2012.11.12 09:12:03 954 INFO 20 Hex dump (16) bytes:
2012.11.12 09:12:03 954 INFO 20 00000010:80000015:00000000:00000027:
2012.11.12 09:12:03 954 INFO 20
2012.11.12 09:12:03 955 INFO 20
cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=39
2012.11.12 09:12:03 955 INFO 20
2012.11.12 09:12:04 174 INFO 14 : ENQUIRE_LINK:
2012.11.12 09:12:04 174 INFO 14 Hex dump (16) bytes:
2012.11.12 09:12:04 174 INFO 14 00000010:00000015:00000000:00000028:
2012.11.12 09:12:04 174 INFO 14
2012.11.12 09:12:04 174 INFO 14
cmd_len=16,cmd_id=21,cmd_status=0,seq_no=40
2012.11.12 09:12:04 174 INFO 14
2012.11.12 09:12:04 175 INFO 14 :ENQUIRE_LINK_RESP:
2012.11.12 09:12:04 175 INFO 14 Hex dump (16) bytes:
2012.11.12 09:12:04 175 INFO 14 00000010:80000015:00000000:00000028:
2012.11.12 09:12:04 175 INFO 14
2012.11.12 09:12:04 175 INFO 14
cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=40
2012.11.12 09:12:04 175 INFO 14
2012.11.12 09:12:15 98 INFO 22 DELIVER_SM:
2012.11.12 09:12:15 98 INFO 22 Hex dump (60) bytes:
2012.11.12 09:12:15 98 INFO 22 0000003C:00000005:00000000:0000000F:
2012.11.12 09:12:15 98 INFO 22 00010134:34373736:36353534:34000101:
2012.11.12 09:12:15 98 INFO 22 39393030:00400000:00000000:00000D05:
2012.11.12 09:12:15 98 INFO 22 00035104:01546865:20636174:
2012.11.12 09:12:15 98 INFO 22
cmd_len=0,cmd_id=5,cmd_status=0,seq_no=15,service_type=,source_addr_ton=1
2012.11.12 09:12:15 99 INFO 22
source_addr_npi=1,source_addr=4477665544,dest_addr_ton=1,dest_addr_npi=1
2012.11.12 09:12:15 99 INFO 22
destination_addr=9900,esm_class=64,protocol_ID=0,priority_flag=0
2012.11.12 09:12:15 99 INFO 22
schedule_delivery_time=,validity_period=,registered_delivery_flag=0
2012.11.12 09:12:15 99 INFO 22
replace_if_present_flag=0,data_coding=0,sm_default_msg_id=0,sm_length=13
2012.11.12 09:12:15 99 INFO 22 short_message=QThe cat
2012.11.12 09:12:15 99 INFO 22
2012.11.12 09:12:15 99 INFO 22 addressIsServicedByReceiver(9900)
2012.11.12 09:12:15 99 INFO 22 InboundQueue: empty - waiting
2012.11.12 09:12:15 114 INFO 20 : DELIVER_SM_RESP:
2012.11.12 09:12:15 114 INFO 20 Hex dump (17) bytes:
2012.11.12 09:12:15 114 INFO 20 00000011:80000005:00000000:0000000F:
2012.11.12 09:12:15 114 INFO 20 00
2012.11.12 09:12:15 114 INFO 20
cmd_len=17,cmd_id=-2147483643,cmd_status=0,seq_no=15,system_id=
2012.11.12 09:12:15 114 INFO 20 DelayedInboundQueue: now contains 0
object(s)
2012.11.12 09:12:15 115 INFO 20
kannel access logs
empty
<http://kannel.6189.n7.nabble.com/file/n27330/Screenshot-6.png>
<http://kannel.6189.n7.nabble.com/file/n27330/Screenshot-7.png>
--
View this message in context:
http://kannel.6189.n7.nabble.com/Udh-always-0-and-can-not-send-long-messages-using-SMPPSim-tp27314p27330.html
Sent from the Kannel - User mailing list archive at Nabble.com.