using RegisteredDelivery

Smpp v3.4 client

Moderator: alt

Locked
araxno
Posts: 21
Joined: Thu Jul 30, 2009 12:35 pm

using RegisteredDelivery

Post by araxno » Wed Aug 19, 2009 12:34 pm

Hi
I set RegisteredDelivery to 1.So now I think I am able to get delivery receipt.But I am complicated about how can I catch receipt,does it handles deliver_Sm event?If it is how can I understand that incoming message is receipt not sms?
Thanks
araxno
Posts: 21
Joined: Thu Jul 30, 2009 12:35 pm

Post by araxno » Thu Aug 20, 2009 1:30 pm

SmppClient.GetMessageText returns this string;
id:702620601812507743660561000-14638065481918 sub:001 dlvrd:001 submit date:0908201919 done date:0908201919 stat:DELIVRD err:000 Text:DA

Can I get message id from this string.Otherwise how can I understand which message's receipt is this string?

Also firstly I hope an answer.I don't care it helps or not :)
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Post by alt » Mon Aug 24, 2009 4:01 pm

id - The message ID allocated to the message by the SMSC when originally submitted.

sub - Number of short messages originally
submitted.

dlvrd - Number of short messages delivered.

submit date - The time and date at which the short message
was submitted. The format is :YYMMDDhhmm

done date - The time and date at which the short message
reached it’s final state.

stat - The final status of the message.

err - this may hold a Network specific error code or an SMSC error code for
the attempted delivery of the message.

text - The first 20 characters of the short message.

Can you post here dump of deliver_sm packet? You can get it from SmppClientDemo log. I think this packet should have TLV value with message id reference.
Locked