Search found 749 matches

by alt
Tue Jul 16, 2019 7:42 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Submit Batch SMS hangs
Replies: 1
Views: 54

Re: Submit Batch SMS hangs

Hi aordonez,

What library version do you use now?
by alt
Mon Jul 08, 2019 8:38 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMS.ForDeliver in a bulk
Replies: 6
Views: 116

Re: SMS.ForDeliver in a bulk

Sorry, you are right should be List<DeliverSm>.

You need to create PDUs from SMS builder:
pduToSubmit.AddRange(dlrBuilder.Create(client));
by alt
Sun Jul 07, 2019 11:39 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMS.ForDeliver in a bulk
Replies: 6
Views: 116

Re: SMS.ForDeliver in a bulk

public async Task SubmitAll() { List<SubmitSm> pduToSubmit = new List<SubmitSm>(); foreach (string internalId in internalIds) { var pduList = SMS.ForDeliver().......Create(client); pduToSubmit.AddRange(pduList ); } var allResponses = await client.Deliver(pduToSubmit).ConfigureAwait(false); }
by alt
Sun Jul 07, 2019 11:30 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: server_evClientSubmitSm and concat message
Replies: 3
Views: 64

Re: server_evClientSubmitSm and concat message

Do you mean that client receives only one SubmitSmResp in Submit(IBuilder) method ?
by alt
Sun Jul 07, 2019 11:18 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: long messages not sent with ReferenceNumber
Replies: 4
Views: 86

Re: long messages not sent with ReferenceNumber

Inetlab.SMPP.LicenseManager.SetLicense method returns true if license is valid.

Inetlab.SMPP.LicenseManager.Status returns text information about license validity.
by alt
Thu Jul 04, 2019 7:46 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: long messages not sent with ReferenceNumber
Replies: 4
Views: 86

Re: long messages not sent with ReferenceNumber

1. You need to look at Product Version in Inetlab.SMPP.dll file properties in "Details" tab. Version.png 2. Yes, it was a bug with ReferenceNumber. Library should generate next reference number when it submits PDU from SMS builder and ReferenceNumber = 0. As workaround you can use following code: va...
by alt
Wed Jul 03, 2019 6:27 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMS.ForDeliver in a bulk
Replies: 6
Views: 116

Re: SMS.ForDeliver in a bulk

client.Deliver method accept also a collection of DeliverSm PDUs. You can create all PDUs with SMS.ForDeliver()...Create(client);, add all PDU in the collection and send it with one call of Deliver method. This method sends all DeliverSm PDUs to the client and waits for all responses. When all respo...
by alt
Wed Jul 03, 2019 6:19 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Abort incoming SubmitSm with CommandStatus on SmppServer
Replies: 1
Views: 54

Re: Abort incoming SubmitSm with CommandStatus on SmppServer

Hi Jan, When server receives SubmitSm it triggers the event evClientSubmitSm. You can only reject SubmitSm and send SubmitSmResp with non-OK status. I'm not sure what you mean with "returns a DLR". Does your server application sends DeliverSm command to the client with the same MessageId as in non-O...
by alt
Mon Jun 24, 2019 5:09 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Incorrect message length of 1st PDU
Replies: 2
Views: 205

Re: Incorrect message length of 1st PDU

Hi Dermot,

Thank you for reporting and sorry for the delayed response.

This issue should be fixed in v.2.6.12
https://www.nuget.org/packages/Inetlab. ... eta-190623

Please check it and let me know if you have another issues.
by alt
Mon Jun 24, 2019 5:04 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: 160 chars bug
Replies: 3
Views: 151

Re: 160 chars bug

Please check if this issue is fixed in v2.6.12
https://www.nuget.org/packages/Inetlab. ... eta-190623
by alt
Mon Jun 24, 2019 4:59 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: How to set SequenceNumber?
Replies: 9
Views: 319

Re: How to set SequenceNumber?

if you always receive delivery receipt for submitted message, you can wait for it and then process the result. public static async Task<IEnumerable<DeliverSm>> SendBatchAndWaitForDelivery(this SmppClient client, IEnumerable<SubmitSm> list) { ConcurrentDictionary<string, TaskCompletionSource<DeliverS...
by alt
Mon Jun 24, 2019 4:21 pm
Forum: Inetlab.SMPP v1.1 & v1.2
Topic: Message getting truncated
Replies: 2
Views: 176

Re: Message getting truncated

It can be limit on SMPP server side.
Let's make sure that library sends what you are expecting.

Can you provide a network trace from library log or wireshark?
https://docs.inetlab.com/smpp/v2/articles/tracing.html

You can send files on support@ email.
by alt
Sun Jun 23, 2019 5:13 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: How to set SequenceNumber?
Replies: 9
Views: 319

Re: How to set SequenceNumber?

You can create a task method that processes MessageId from SubmitSmResp right after submit, without waiting when you receive all 100 responses. public async Task SendSMS(SubmitSm sm) { SubmitSmResp resp = await _client.Submit(sm); // Store MessageId _repository.Save(resp.MessageId,...); } public asy...
by alt
Sun Jun 23, 2019 4:01 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: 160 chars bug
Replies: 3
Views: 151

Re: 160 chars bug

Could you please show the text for 160 chars case?

Which configuration do you use for EncodingMapper? Do you use GSMEncoding or GSMPackedEncoding?
by alt
Sun Jun 23, 2019 1:33 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: How to set SequenceNumber?
Replies: 9
Views: 319

Re: How to set SequenceNumber?

In SMPP protocol same sequence number have only SMPP command and corresponding response. f.i SubmitSm and SubmitSmResp. Incoming SMS from mobile phone in DeliverSm has its own sequence number from SMPP server. When you receive delivery receipt you should receive same MessageId in submitSmResp.Messag...