Page 1 of 1

Sending some ID in SubmitSM and getting back

Posted: Thu Sep 17, 2009 6:45 am
by manishds
Hi

I am sending Messages through SMPP. I need to send some unique id while sending SubmitSM req to Server. And then getting that unique id while receiving response during client.query.

Basically i want to send an ID (bigint) and later on update the database on the basis of that ID.

Thanks

Posted: Thu Sep 24, 2009 10:56 am
by ashish45
i am looking to do something simillar .. was wondering if you have found a work around or a solution ?

Posted: Fri Sep 25, 2009 12:23 pm
by araxno
Hi I am doing something like that and I use SubmitSm.sequence.You can get sequence number on Submit Response.

Posted: Sat Sep 26, 2009 2:06 am
by ashish45
then how do i track responses for a particular message.. i mean if someone replies to a message then how will i track - which reply belongs to which message ?

Posted: Wed Sep 30, 2009 10:28 am
by araxno
When you submit,You can insert submitResp.MessageId to database or something and when delivery receipt receives messagetext.Substring(3, 40) is messageId. By the way this method is what I use.I don't know is there shorter way.

Posted: Wed Sep 30, 2009 11:06 am
by araxno
Sorry I think I misunderstood. I don't know about reply's id but you can use msisdn but I know does it help you.

Posted: Thu Oct 01, 2009 3:26 pm
by alt
I think there is no way to do it.
When somebody replies to a message you must receive DeliverSm packet which does not have any information connected to your previous SubmitSm packet.
Anyway you need to talk with SMSC administrator. May be they support it somehow in TLV options.
may be option
"user_message_reference" - A reference assigned by the originating SME to the short message.