MessageID of concatanated message

.NET library for SMPP protocol
Locked
andreasv
Posts: 6
Joined: Sat Jan 07, 2012 7:51 pm

MessageID of concatanated message

Post by andreasv » Sat Jan 07, 2012 10:12 pm

Hi,
I'm planning to purchase Inetlab.SMPP and now i'm trying the API.
I have a question about concatenation. I already have read all similar posts in the forum and i have tested your SmppClientDemo.

Is it possible, when i send a long message, to get a unique MessageID for this ? (I mean not seperate ID for each part)
When i'm using PrepareSubmit and then Submit or SubmitText i have many MessageIDs as there are the parts of the long message.

(The AddMessageSegmentToCollector / RetrieveFullMessage never worked for me. data.SegmentNumber is always 0 )

Thank you
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Re: MessageID of concatanated message

Post by alt » Tue Jan 10, 2012 8:20 am

Hi Andreas,

There is no MessageID for long message in SMPP protocol. In protocol there is only 1 or 2 bytes reference number which generated by originator
so that a segmented short message may be reassembled into a single original message. It can be as User Data Header value or TLV parameter value.
And this reference number is unique only in one SMPP session.

Regarding "data.SegmentNumber is always 0" we need to check if DeliverSm packet really has concatenated parameters.
Could you post here log of received bytes like in SmppClientDemo?
andreasv
Posts: 6
Joined: Sat Jan 07, 2012 7:51 pm

Re: MessageID of concatanated message

Post by andreasv » Fri Jan 13, 2012 7:33 pm

Hi alt,

I think i'm comfused yet. I will do some more tests on your examples and i will return. Thanks for your response.
Locked