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
using RegisteredDelivery
Moderator: alt
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
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
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.
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.