Thanks for your reply , 
I Have followed your instruction in last reply , 
I have successed  to send long messages by splitting them and send them as
hexadecimal but am still  facing one main issue which is udh = 0 (received
by kannel) which means that concatenation process
can not be done since udh=0 , it will be consider as a single message,

so in our case the message which we splited it to 4 messages will be
considered as four separated messages .

as i know for splited messages the udh received by kannel should not be 0 

in our above example the udh received by kannel should be as the following :
[udh:050003510401]  "The cat "
[udh:050003510402]  " in the hat"
[udh:050003510403]  "sat "
[udh:050003510404]  "on the mat"

my key question why am not getting udh as above since am sending long
message which is splitted to 4 parts.

in summary i want to get udh other then 0 in case the message is
long(splitted into parts)

smpp logs
2012.11.11 15:35:02 9   INFO    20 00000010:00000015:00000000:000002CC:
2012.11.11 15:35:02 9   INFO    20 
2012.11.11 15:35:02 9   INFO    20
cmd_len=16,cmd_id=21,cmd_status=0,seq_no=716
2012.11.11 15:35:02 9   INFO    20  
2012.11.11 15:35:02 9   INFO    20 :ENQUIRE_LINK_RESP:
2012.11.11 15:35:02 9   INFO    20 Hex dump (16) bytes:
2012.11.11 15:35:02 10  INFO    20 00000010:80000015:00000000:000002CC:
2012.11.11 15:35:02 10  INFO    20 
2012.11.11 15:35:02 10  INFO    20
cmd_len=0,cmd_id=-2147483627,cmd_status=0,seq_no=716
2012.11.11 15:35:02 10  INFO    20  
2012.11.11 15:35:28 420 INFO    22 DELIVER_SM:
2012.11.11 15:35:28 420 INFO    22 Hex dump (60) bytes:
2012.11.11 15:35:28 420 INFO    22 0000003C:00000005:00000000:00000001:
2012.11.11 15:35:28 420 INFO    22 00010134:34373736:36353534:34000101:
2012.11.11 15:35:28 421 INFO    22 39393030:00000000:00000000:00000D05:
2012.11.11 15:35:28 421 INFO    22 00035104:01546865:20636174:
2012.11.11 15:35:28 421 INFO    22
cmd_len=0,cmd_id=5,cmd_status=0,seq_no=1,service_type=,source_addr_ton=1
2012.11.11 15:35:28 421 INFO    22
source_addr_npi=1,source_addr=4477665544,dest_addr_ton=1,dest_addr_npi=1
2012.11.11 15:35:28 422 INFO    22
destination_addr=9900,esm_class=0,protocol_ID=0,priority_flag=0
2012.11.11 15:35:28 422 INFO    22
schedule_delivery_time=,validity_period=,registered_delivery_flag=0
2012.11.11 15:35:28 422 INFO    22
replace_if_present_flag=0,data_coding=0,sm_default_msg_id=0,sm_length=13
2012.11.11 15:35:28 422 INFO    22 short_message=^E^@^CQ^D^AThe cat
2012.11.11 15:35:28 422 INFO    22  
2012.11.11 15:35:28 422 INFO    22 addressIsServicedByReceiver(9900)
2012.11.11 15:35:28 424 INFO    20 : DELIVER_SM_RESP:
2012.11.11 15:35:28 424 INFO    22 InboundQueue: empty  - waiting
2012.11.11 15:35:28 425 INFO    20 Hex dump (17) bytes:
2012.11.11 15:35:28 425 INFO    20 00000011:80000005:00000000:00000001:
2012.11.11 15:35:28 425 INFO    20 00
2012.11.11 15:35:28 425 INFO    20
cmd_len=17,cmd_id=-2147483643,cmd_status=0,seq_no=1,system_id=^@
2012.11.11 15:35:28 425 INFO    20 DelayedInboundQueue: now contains 0
object(s)
2012.11.11 15:35:28 426 INFO    20  
2012.11.11 15:35:38 759 INFO    22 DELIVER_SM:
2012.11.11 15:35:38 759 INFO    22 Hex dump (64) bytes:
2012.11.11 15:35:38 760 INFO    22 00000040:00000005:00000000:00000002:
2012.11.11 15:35:38 760 INFO    22 00010134:34373736:36353534:34000101:
2012.11.11 15:35:38 760 INFO    22 39393030:00000000:00000000:00001105:
2012.11.11 15:35:38 761 INFO    22 00035104:0220696E:20746865:20686174:
2012.11.11 15:35:38 761 INFO    22 
2012.11.11 15:35:38 761 INFO    22
cmd_len=0,cmd_id=5,cmd_status=0,seq_no=2,service_type=,source_addr_ton=1
2012.11.11 15:35:38 761 INFO    22
source_addr_npi=1,source_addr=4477665544,dest_addr_ton=1,dest_addr_npi=1
2012.11.11 15:35:38 762 INFO    22
destination_addr=9900,esm_class=0,protocol_ID=0,priority_flag=0
2012.11.11 15:35:38 762 INFO    22
schedule_delivery_time=,validity_period=,registered_delivery_flag=0
2012.11.11 15:35:38 762 INFO    22
replace_if_present_flag=0,data_coding=0,sm_default_msg_id=0,sm_length=17
2012.11.11 15:35:38 762 INFO    22 short_message=^E^@^CQ^D^B in the hat
2012.11.11 15:35:38 762 INFO    22  
2012.11.11 15:35:38 762 INFO    22 addressIsServicedByReceiver(9900)
2012.11.11 15:35:38 764 INFO    22 InboundQueue: empty  - waiting
2012.11.11 15:35:38 764 INFO    20 : DELIVER_SM_RESP:
2012.11.11 15:35:38 764 INFO    20 Hex dump (17) bytes:
2012.11.11 15:35:38 765 INFO    20 00000011:80000005:00000000:00000002:
2012.11.11 15:35:38 765 INFO    20 00
2012.11.11 15:35:38 765 INFO    20
cmd_len=17,cmd_id=-2147483643,cmd_status=0,seq_no=2,system_id=^@
2012.11.11 15:35:38 765 INFO    20 DelayedInboundQueue: now contains 0
object(s)
2012.11.11 15:35:38 765 INFO    20  
2012.11.11 15:35:47 826 INFO    22 DELIVER_SM:
2012.11.11 15:35:47 826 INFO    22 Hex dump (57) bytes:
2012.11.11 15:35:47 827 INFO    22 00000039:00000005:00000000:00000003:
2012.11.11 15:35:47 827 INFO    22 00010134:34373736:36353534:34000101:
2012.11.11 15:35:47 827 INFO    22 39393030:00000000:00000000:00000A05:
2012.11.11 15:35:47 827 INFO    22 00030A04:03207361:74
2012.11.11 15:35:47 828 INFO    22
cmd_len=0,cmd_id=5,cmd_status=0,seq_no=3,service_type=,source_addr_ton=1
2012.11.11 15:35:47 828 INFO    22
source_addr_npi=1,source_addr=4477665544,dest_addr_ton=1,dest_addr_npi=1
2012.11.11 15:35:47 828 INFO    22
destination_addr=9900,esm_class=0,protocol_ID=0,priority_flag=0
2012.11.11 15:35:47 828 INFO    22
schedule_delivery_time=,validity_period=,registered_delivery_flag=0
2012.11.11 15:35:47 828 INFO    22
replace_if_present_flag=0,data_coding=0,sm_default_msg_id=0,sm_length=10
2012.11.11 15:35:47 828 INFO    22 short_message=^E^@^C
^D^C sat
2012.11.11 15:35:47 828 INFO    22  
2012.11.11 15:35:47 829 INFO    22 addressIsServicedByReceiver(9900)
2012.11.11 15:35:47 829 INFO    22 InboundQueue: empty  - waiting
2012.11.11 15:35:47 830 INFO    20 : DELIVER_SM_RESP:
2012.11.11 15:35:47 830 INFO    20 Hex dump (17) bytes:
2012.11.11 15:35:47 831 INFO    20 00000011:80000005:00000000:00000003:
2012.11.11 15:35:47 831 INFO    20 00
2012.11.11 15:35:47 831 INFO    20
cmd_len=17,cmd_id=-2147483643,cmd_status=0,seq_no=3,system_id=^@
2012.11.11 15:35:47 831 INFO    20 DelayedInboundQueue: now contains 0
object(s)
2012.11.11 15:35:47 831 INFO    20  
2012.11.11 15:35:58 297 INFO    24 Processing 0 messages in the delayed
inbound queue
2012.11.11 15:35:58 561 INFO    22 DELIVER_SM:
2012.11.11 15:35:58 561 INFO    22 Hex dump (64) bytes:
2012.11.11 15:35:58 561 INFO    22 00000040:00000005:00000000:00000004:
2012.11.11 15:35:58 561 INFO    22 00010134:34373736:36353534:34000101:
2012.11.11 15:35:58 561 INFO    22 39393030:00000000:00000000:00001105:
2012.11.11 15:35:58 562 INFO    22 00035104:04206F6E:20746865:206D6174:
2012.11.11 15:35:58 562 INFO    22 
2012.11.11 15:35:58 562 INFO    22
cmd_len=0,cmd_id=5,cmd_status=0,seq_no=4,service_type=,source_addr_ton=1
2012.11.11 15:35:58 562 INFO    22
source_addr_npi=1,source_addr=4477665544,dest_addr_ton=1,dest_addr_npi=1
2012.11.11 15:35:58 562 INFO    22
destination_addr=9900,esm_class=0,protocol_ID=0,priority_flag=0
2012.11.11 15:35:58 562 INFO    22
schedule_delivery_time=,validity_period=,registered_delivery_flag=0
2012.11.11 15:35:58 562 INFO    22
replace_if_present_flag=0,data_coding=0,sm_default_msg_id=0,sm_length=17
2012.11.11 15:35:58 563 INFO    22 short_message=^E^@^CQ^D^D on the mat
2012.11.11 15:35:58 563 INFO    22  
2012.11.11 15:35:58 563 INFO    22 addressIsServicedByReceiver(9900)
2012.11.11 15:35:58 563 INFO    22 InboundQueue: empty  - waiting
2012.11.11 15:35:58 564 INFO    20 : DELIVER_SM_RESP:
2012.11.11 15:35:58 564 INFO    20 Hex dump (17) bytes:
2012.11.11 15:35:58 564 INFO    20 00000011:80000005:00000000:00000004:
2012.11.11 15:35:58 564 INFO    20 00
2012.11.11 15:35:58 565 INFO    20
cmd_len=17,cmd_id=-2147483643,cmd_status=0,seq_no=4,system_id=^@
2012.11.11 15:35:58 565 INFO    20 DelayedInboundQueue: now contains 0
object(s)
2012.11.11 15:35:58 565 INFO    20  




kannel.log
2012-11-11 15:35:28 Receive SMS [SMSC:SMPPSim] [SVC:] [ACT:] [BINF:] [FID:]
[from:+4477665544] [to:+9900] [flags:-1:0:-1:0:-1] [msg:17:[email protected]
cat] [udh:0:]
2012-11-11 15:35:38 Receive SMS [SMSC:SMPPSim] [SVC:] [ACT:] [BINF:] [FID:]
[from:+4477665544] [to:+9900] [flags:-1:0:-1:0:-1] [msg:20:[email protected]..$ in the
hat] [udh:0:]
2012-11-11 15:35:47 Receive SMS [SMSC:SMPPSim] [SVC:] [ACT:] [BINF:] [FID:]
[from:+4477665544] [to:+9900] [flags:-1:0:-1:0:-1] [msg:14:..@....... sat]
[udh:0:]
2012-11-11 15:35:58 Receive SMS [SMSC:SMPPSim] [SVC:] [ACT:] [BINF:] [FID:]
[from:+4477665544] [to:+9900] [flags:-1:0:-1:0:-1] [msg:21:[email protected].... on the
mat] [udh:0:]











--
View this message in context: 
http://kannel.6189.n7.nabble.com/Udh-always-0-and-can-not-send-long-messages-using-SMPPSim-tp27314p27323.html
Sent from the Kannel - User mailing list archive at Nabble.com.

Reply via email to