Search found 987 matches

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: 23291

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: 62

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
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: 29655

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: 22113

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: 20729

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: 25221

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: 31931

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: 31931

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: 58145

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: 58145

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?
by alt
Thu Mar 09, 2023 7:31 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SubmitAsync never ends
Replies: 8
Views: 58145

Re: SubmitAsync never ends

After waiting for 6 minutes, it still didn't end
Is the ResponseTimeout longer than 6 minutes in your application? If the response is not received within this time, the library should generate a response with the status SMPPCLIENT_RCVTIMEOUT.
by alt
Thu Mar 02, 2023 6:39 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SubmitAsync never ends
Replies: 8
Views: 58145

Re: SubmitAsync never ends

Hi aordonez,

Is library logging is enabled in your application? Could you send me at least ERROR and WARN log records?
by alt
Mon Feb 13, 2023 1:23 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Adding Headers to smpp client before bind
Replies: 6
Views: 47100

Re: Adding Headers to smpp client before bind

CUAP ( China Mobile USSD Application Protocol ) is HTTP-based protocol.
Inetlab.SMPP doesn't support this.