We cannot receive concatenated Unicode messages from mobile subscribers.
It is all ok with overloaded messages+tlv_part, but with standard concotenated messages with UDH there is a problem - all of incoming sms-parts received like separate messages.
We use LongMessageReceiver. Se log below.
>>>
13:38:02 SmppDispatcher. : Received header from SMSC
13:38:02 SmppDispatcher. : 000000BE0000000500000000000067F2
13:38:02 SmppDispatcher. : Header sequence number is 26610
13:38:02 SmppDispatcher. : Received request: DeliverShortMessage
13:38:02 SmppDispatcher. : Received body
13:38:02 SmppDispatcher. : 3000010139393633313239373530303200000132323233004000000000000008008C0500030F0201002C043A043E0442043404
40043C043004340438002E043C0440002E043C044004440449044C043C044004340439002E043C0440044C04440449044C043C04400020043404410438002E0430043C044C04
480444043C0430043404400438002E0430043D044004350438043C04400448044C002004400438043C0438043C044004480444044F
13:38:02 SmppConnection : Callback - to
13:38:02 SmppConnection : Callback - from
13:38:02 SmppConnection : Callback - message
13:38:02 SmppConnection : UDH Bytes:00030F0201
13:38:02 SmppConnection : Remaining Bytes:002C043A043E044204340440043C043004340438002E043C0440002E043C044004440449044C043C0440043
40439002E043C0440044C04440449044C043C04400020043404410438002E0430043C044C04480444043C0430043404400438002E0430043D044004350438043C04400448044
C002004400438043C0438043C044004480444044F
13:38:02 SmppConnection : Data coding scheme is: 8
13:38:02 SmppConnection : Is it default: false
13:38:02 SmppConnection : RECEIVED UNICODE. using ucs2Alphabet to get String
13:38:02 SmppConnection : Callback - PID/DCS/UDHI
13:38:02 SmppConnection : MESSAGE ESM CLASS is :64
13:38:02 SmppConnection : Version is 52
13:38:02 SmppConnection : Callback - receive() called
13:38:02 SmppConnection : Callback - calling API
13:38:02 SmppConnection : Is apiListener null ie.ncl.msg.SyncReceiver@21b6d
13:38:02 Smpp : The time taken to process the last message is currently 0 seconds.
13:38:02 SmppDispatcher. : Waiting for smpp header
13:38:02 SmppSender. : 0 Next request is: ie.ncl.sms.smpp.G@8a0923
13:38:02 SmppSender. : 0 Processing a 'ie.ncl.sms.smpp.G' request
13:38:02 SmppSender. : 0 Sending response
13:38:02 SmppSender. : 0 Write header & body
13:38:02 SmppSender. : 0 Send header
13:38:02 SmppSender. : 0 000000128000000500000000000067F2
13:38:02 SmppSender. : 0 Send body
13:38:02 SmppSender. : 0 3000
13:38:02 SmppSender. : 0 Done (throttling is 0)
13:38:02 SmppSender. : 0 Unacked Queue Size: 100 Sent requests 0
13:38:02 SmppSender. : 0 Pending requests: 0
13:38:02 SmppSender. : 0 Waiting for request..(next link check in 7906 ms)
13:38:08 SmppDispatcher. : Received header from SMSC
13:38:08 SmppDispatcher. : 000000540000000500000000000067F5
13:38:08 SmppDispatcher. : Header sequence number is 26613
13:38:08 SmppDispatcher. : Received request: DeliverShortMessage
13:38:08 SmppDispatcher. : Received body
13:38:08 SmppDispatcher. : 300001013939363331323937353030320000013232323300400000000001000800220500030F02020434043800200442043800
2E043D044004350448044C04400438043C
13:38:08 SmppConnection : Callback - to
13:38:08 SmppConnection : Callback - from
13:38:08 SmppConnection : Callback - message
13:38:08 SmppConnection : UDH Bytes:00030F0202
13:38:08 SmppConnection : Remaining Bytes:04340438002004420438002E043D044004350448044C04400438043C
13:38:08 SmppConnection : Data coding scheme is: 8
13:38:08 SmppConnection : Is it default: false
13:38:08 SmppConnection : RECEIVED UNICODE. using ucs2Alphabet to get String
13:38:08 SmppConnection : Callback - PID/DCS/UDHI
Last edited by ALX on Tue Aug 22, 2006 10:41 am; edited 1 time in total
Posted: Tue Aug 22, 2006 11:14 am
ALX
Joined: 22 Aug 2006
Posts: 4
forget to mention, that we use synchronous receiver.
By default Swiftnote does not reassemble messages
Posted: Tue Aug 22, 2006 1:30 pm
Administrator
Site Admin
Joined: 11 Aug 2004
Posts: 237
By default Swiftnote does not reassemble messages. Wrap the sender in the LongMessageReceiver object.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum