Can't receive all delivery reports:

.NET library for SMPP protocol
Locked
lipu
Posts: 2
Joined: Sun Jun 23, 2013 1:17 pm

Can't receive all delivery reports:

Post by lipu » Mon Jul 08, 2013 3:51 am

I can’t receive all the delivery report from my Application, some are missing. But I checked with Wireshark (a network protocol analyzer) and found that all the delivery reports has been come to my laptop.
I’ve tried to receive the DRin following two ways:
#1. Firstly,
a) I bind the application in Transceiver Mode:
_client.BindAsync(systemId, passWord, ConnectionMode.Transceiver);
b) Submit_Sm is:
IList<SubmitSmResp> resp = _client.Submit(SMS.ForSubmit()
.From(srcAdr, srcTon, srcNpi)
.To(dstAdr, dstTon, dstNpi)
.Coding(coding)
.Text(dsSubscribers.Tables[0].Rows["SMS"].ToString())
.MessageInPayload()
.ExpireIn(TimeSpan.FromDays(2))
.DeliveryReceipt()
.AddParameter(0x1403, "free")
);
c) Delivery_Sm is:
private void client_evDeliverSm(object sender, DeliverSm data)
{

try
{
//Check if we received Delivery Receipt
if (data.MessageType == MessageTypes.SMSCDeliveryReceipt)
{
//Get MessageId of delivered message
string messageId = data.Receipt.MessageId;
MessageState deliveryStatus = data.Receipt.State;
_log.Info("Delivery Report:");
}
}
catch (Exception ex)
{
data.Response.Status = CommandStatus.ESME_RX_T_APPN;
_log.Error("Failed to process DeliverSm", ex);
}
}
Most of the delivery report I can’t receive in this way.

#2. Secondly, I’ve created two application: one for sending sms (Transmitter) and another is for receiving (Receiver).
Here I got the better performance however, all the delivery report I couldn’t receive.

For Sending sms, I’m using SMPP protocol and Clickatell SMS gateway.
Can anyone help me??
jfl
Posts: 7
Joined: Sun Oct 20, 2013 12:33 pm

Re: Can't receive all delivery reports:

Post by jfl » Sun Oct 20, 2013 12:42 pm

Hi, did you get an answer to this problem?
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: Can't receive all delivery reports:

Post by alt » Wed Oct 23, 2013 8:16 am

Usually issue with missing delivery receipt appears when two applications work with same SMPP account. Sometimes wrong application receive DeliverSm.
Locked