according to documentation https://docs.inetlab.com/smpp/v2.9/arti ... ceipt.html it should be easy to tie together sent message with delivery receipt, but I am not getting the same ids
Code: Select all
IList<SubmitSm> list = builder.Create(_client).ToList<SubmitSm>();
foreach(var item in list)
{
item.Header.Sequence =_client.SequenceGenerator.NextSequenceNumber();
log.Info($"TEST: id:{message.Id}:{item.Header.Sequence}");
}
var response = await _client.SubmitAsync(list);
foreach (SubmitSmResp resp in response)
{
log.Info($"TEST2: id:{message.Id}:{resp.MessageId}");
}
.....
private void client_evDeliverSm(object sender, DeliverSm data)
{
if (data.MessageType == MessageTypes.SMSCDeliveryReceipt)
{
log.Info($"TEST3: id:{data.Receipt.MessageId}");
}
}
TEST: id:1234:2
TEST2: id:1234:04D665E3
TEST3: id:0080993137
Am I doing something wrong or is this some kind of a bug.
version of component is: inetlab.SMPP.2.9.14