Sending some ID in SubmitSM and getting back

Smpp v3.4 client

Moderator: alt

Locked
manishds
Posts: 1
Joined: Thu Sep 17, 2009 6:39 am

Sending some ID in SubmitSM and getting back

Post 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
ashish45
Posts: 13
Joined: Wed Sep 23, 2009 5:58 am

Post by ashish45 »

i am looking to do something simillar .. was wondering if you have found a work around or a solution ?
araxno
Posts: 21
Joined: Thu Jul 30, 2009 12:35 pm

Post by araxno »

Hi I am doing something like that and I use SubmitSm.sequence.You can get sequence number on Submit Response.
ashish45
Posts: 13
Joined: Wed Sep 23, 2009 5:58 am

Post 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 ?
araxno
Posts: 21
Joined: Thu Jul 30, 2009 12:35 pm

Post 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.
araxno
Posts: 21
Joined: Thu Jul 30, 2009 12:35 pm

Post 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.
alt
Site Admin
Posts: 992
Joined: Tue Apr 25, 2006 9:45 am

Post 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.
Locked