Search found 990 matches

by alt
Mon Dec 09, 2024 1:25 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SendSpeedLimit has no effect
Replies: 1
Views: 11413

Re: SendSpeedLimit has no effect

Hi, In this context, "message" refers to a single SubmitSm PDU. To evaluate performance, you can use the following metrics: _smppClient.Metrics.Sent.Request.PerSecond; //or _smppClient.Metrics.Sent.Request.AvgPerSecond; For more details about built-in metrics, please visit the https://docs.inetlab.c...
by alt
Mon Dec 09, 2024 1:02 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: MessageComposer in SMPP Server
Replies: 1
Views: 8625

Re: MessageComposer in SMPP Server

Hi Luis, Yes, you can create a single instance of the MessageComposer class for the SMPP server. The class is thread-safe, allowing you to add different messages concurrently. The composer uses a combination of the source address, destination address, and message reference number as a unique key for...
by alt
Mon Dec 09, 2024 12:16 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Adding optional TLV parameters to payload
Replies: 1
Views: 17479

Re: Adding optional TLV parameters to payload

Hi Ben,

The code is correct.

I would check the captured PDUs in wireshark.

If you still has this issue please write me to e-mail support@
by alt
Wed Apr 24, 2024 4:47 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Obtain the client IP over the proxy
Replies: 3
Views: 96364

Re: Obtain the client IP over the proxy

You need to enable ProxyProtocolEnabled for the client in the handler method for the event evClientConnected smppServer.evClientConnected += (sender, client) => { client.ProxyProtocolEnabled = true; }; after that the RemoteEndPoint of the client returns the IP address behind the proxy.
by alt
Wed Apr 24, 2024 4:35 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPPServer SendSpeed limit below than the remote and receiving ESME_RMSGQFUL
Replies: 1
Views: 37118

Re: SMPPServer SendSpeed limit below than the remote and receiving ESME_RMSGQFUL

SendSpeedLimit can only help to prevent the throttling error ESME_RTHROTTLED

When you get the Message Queue Full error status ESME_RMSGQFUL, you have to limit the number of SMPP requests waiting for response with the property SendQueueLimit
by alt
Wed Apr 24, 2024 4:29 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Coding issue using SMPP Server sending DLR do client.
Replies: 1
Views: 37336

Re: Coding issue using SMPP Server sending DLR do client.

You can use

Code: Select all

 DeliverAsync(..).ContinueWith(..)
See example
by alt
Fri Sep 15, 2023 12:51 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: System.ArgumentOutOfRangeException : Too long (Parameter 'S')
Replies: 1
Views: 67529

Re: System.ArgumentOutOfRangeException : Too long (Parameter 'S')

It looks like the property ScheduledDeliveryTime or ValidityPeriod has incorrect value in SubmirSm instance. Could you help me to reproduce the error? I think the same exception should be thrown when you set the values for SubmitSm instance and try to serialize it ver byteArray = submitSm.Serialze(_...
by alt
Tue Jul 25, 2023 9:54 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Dynamic encode and convertion to UTF-8
Replies: 1
Views: 58898

Re: Dynamic encode and convertion to UTF-8

Hello, Inetlab.SMPP library provides two extension methods CanBeDecoded , CanBeEncoded https://docs.inetlab.com/smpp/v2.9/api/Inetlab.SMPP.Encodings.EncodingExtensions.html With these methods you can check if text can be encoded with specified encoding or if the byte array can be decoded with the en...
by alt
Mon Jul 24, 2023 10:03 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: UserData Length Error sending DeliveryReceipt UCS2
Replies: 1
Views: 59355

Re: UserData Length Error sending DeliveryReceipt UCS2

Hi didimo,

Why do you need to send Delivery Receipt in UCS2 data coding?
Library sends DLR as single PDU. The Receipt you created is to long. Maybe you have to remove receipt.Text or make it shorter.
by alt
Thu Jul 13, 2023 12:12 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Matching Message Id form SubmitSm (hex) with delivery notification (decimal)
Replies: 2
Views: 74097

Re: Matching Message Id form SubmitSm (hex) with delivery notification (decimal)

Hi arip, 1) This is an issue on the SMPP provider. Both MessageIds must use the same format for correlation purpose. 2) This approach may function properly when dealing with a single SystemId, as long as the SMPP provider remembers the SMPP session on which the SUBMIT_SM was received. By utilizing t...
by alt
Thu May 25, 2023 10:56 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Why multiple submit_sm-resp in one packet
Replies: 3
Views: 92323

Re: Why multiple submit_sm-resp in one packet

for the SmppServer you can change this option with code

Code: Select all

_server.ConnectionOptions.SinglePDUinTCPPacket = true;
by alt
Thu May 25, 2023 9:41 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Why multiple submit_sm-resp in one packet
Replies: 3
Views: 92323

Re: Why multiple submit_sm-resp in one packet

Hello ritik,

You can disable this feature with following code:

Code: Select all

bool conected = await _client.ConnectAsync(new SmppConnectionOptions
            {
                RemoteEndPoint = remoteEndPoint,
                SinglePDUinTCPPacket = true
            });
by alt
Wed Mar 15, 2023 4:30 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SubmitAsync never ends
Replies: 8
Views: 180297

Re: SubmitAsync never ends

If all the responses are present in the library log, then they have been processed correctly.
It looks like there is a deadlock in your application. Is it a Windows Forms or an ASP.NET application?

I hope this article helps. Understanding Async, Avoiding Deadlocks in C#
by alt
Tue Mar 14, 2023 5:04 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SubmitAsync never ends
Replies: 8
Views: 180297

Re: SubmitAsync never ends

Can you find the response in the library log with the same sequence?
I mean the log event starting with "PDU Received:"

Do you use Wait() or .Result for Async methods?