Search found 987 matches
- 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: 66693
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.
- 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: 20357
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
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
- 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: 20516
Re: Coding issue using SMPP Server sending DLR do client.
You can use
See example
Code: Select all
DeliverAsync(..).ContinueWith(..)
- 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: 50240
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(_...
- 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: 41843
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...
- 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: 41737
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.
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.
- 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: 50483
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...
- 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: 63340
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;
- 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: 63340
Re: Why multiple submit_sm-resp in one packet
Hello ritik,
You can disable this feature with following code:
You can disable this feature with following code:
Code: Select all
bool conected = await _client.ConnectAsync(new SmppConnectionOptions
{
RemoteEndPoint = remoteEndPoint,
SinglePDUinTCPPacket = true
});
- Fri Apr 14, 2023 10:13 am
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: Obtain the client IP over the proxy
- Replies: 3
- Views: 66693
Re: Obtain the client IP over the proxy
Does the Proxy supports Proxy protocol https://www.haproxy.com/blog/haproxy/proxy-protocol/ ?
- Wed Mar 15, 2023 4:30 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SubmitAsync never ends
- Replies: 8
- Views: 120784
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#
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#
- Tue Mar 14, 2023 5:04 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SubmitAsync never ends
- Replies: 8
- Views: 120784
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?
I mean the log event starting with "PDU Received:"
Do you use Wait() or .Result for Async methods?
- Thu Mar 09, 2023 7:31 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SubmitAsync never ends
- Replies: 8
- Views: 120784
Re: SubmitAsync never ends
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.After waiting for 6 minutes, it still didn't end
- Thu Mar 02, 2023 6:39 pm
- Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
- Topic: SubmitAsync never ends
- Replies: 8
- Views: 120784
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?
Is library logging is enabled in your application? Could you send me at least ERROR and WARN log records?
- 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: 93443
Re: Adding Headers to smpp client before bind
CUAP ( China Mobile USSD Application Protocol ) is HTTP-based protocol.
Inetlab.SMPP doesn't support this.
Inetlab.SMPP doesn't support this.