Deliver_sm Submit Date and Done Date Missing Seconds Part

.NET library for SMPP protocol
Locked
vineet
Posts: 28
Joined: Sat May 06, 2017 7:06 pm

Deliver_sm Submit Date and Done Date Missing Seconds Part

Post by vineet » Tue Sep 11, 2018 8:02 am

Hi,

The deliver_sm is sending the following receipt

id:d111f7b8-9643-4ecf-b1ca-ce4bf95fbb0d sub:000 dlvrd:000 submit date:1809111327 done date:1809111327 stat:REJECTD err:1003 text:This is a test

I always send submit date and done date with datetime property but it always take removes the second part.

I need to send as YYMMDDHHMMSS is there any option to enable this.

thanks
alt
Site Admin
Posts: 988
Joined: Tue Apr 25, 2006 9:45 am

Re: Deliver_sm Submit Date and Done Date Missing Seconds Part

Post by alt » Mon Oct 01, 2018 7:25 pm

Hi vineet,

SMPP Protocol Specification v3.4 defines Delivery Receipt format as
“id:IIIIIIIIII sub:SSS dlvrd:DDD submit date:YYMMDDhhmm done date:YYMMDDhhmm stat:DDDDDDD err:E Text: . . . . . . . . .”

I wouldn't change this. Some other clients won't be able to parse it.
Locked