deliver_sm

.NET library for SMPP protocol
Locked
jeanlouis
Posts: 2
Joined: Thu Mar 03, 2011 3:19 pm

deliver_sm

Post by jeanlouis » Fri Mar 04, 2011 12:46 pm

Hi,
One of the SMSC send send deliver_sem receipt with a source_addr which is set to null (byte value is 00).
This is allowed in SMPP3.4, but this causes a probleme when 1 want to get data.Receipt.MessageId : it appears to be null !

Receipt.ToString() gives:id: sub:000 dlvrd:000 submit date:0101010000 done date:0101010000 stat:DELIVRD err: Text:

Here is the PDU
INFO 1 PduLogger
2011-03-03 00:01:16,891 - PDU <-- SMSC
000---015 00 00 00 9f 00 00 00 05 00 00 00 00 02 ff 60 04 ...?.........?`.
016---031 00 00 00 00 01 01 33 33 38 38 00 04 00 00 00 00 ......3388......
032---047 00 00 00 00 7a 69 64 3a 30 34 31 36 34 39 34 36 ....zid:04164946
048---063 32 34 20 73 75 62 3a 30 30 30 20 64 6c 76 72 64 24 sub:000 dlvrd
064---079 3a 30 30 30 20 73 75 62 6d 69 74 20 64 61 74 65 :000 submit date
080---095 3a 31 31 30 33 30 33 30 30 30 30 20 64 6f 6e 65 :1103030000 done
096---111 20 64 61 74 65 3a 31 31 30 33 30 33 30 30 30 31 date:1103030001
112---127 20 73 74 61 74 3a 44 45 4c 49 56 52 44 20 65 72 stat:DELIVRD er
128---143 72 3a 30 30 30 20 54 65 78 74 3a ed b7 1b 44 2f r:000 Text:??.D/
144---158 cf e9 ff ff ff ff ff ff ff ff ff ff ff ff ff ???????????????

How can I do to get correct fields of Receipt (apart scanning data bytes and format them) ?
Locked