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 » Thu Sep 17, 2009 6:45 am

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 » Thu Sep 24, 2009 10:56 am

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 » Fri Sep 25, 2009 12:23 pm

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 » Sat Sep 26, 2009 2:06 am

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 » Wed Sep 30, 2009 10:28 am

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 » Wed Sep 30, 2009 11:06 am

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: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Thu Oct 01, 2009 3:26 pm

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