Search found 984 matches

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

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

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

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

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

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

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

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

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

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

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

Re: Adding Headers to smpp client before bind

CUAP ( China Mobile USSD Application Protocol ) is HTTP-based protocol.
Inetlab.SMPP doesn't support this.
by alt
Fri Feb 10, 2023 4:21 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Adding Headers to smpp client before bind
Replies: 6
Views: 29721

Re: Adding Headers to smpp client before bind

Is CUAP based on SMPP protocol?
by alt
Wed Feb 08, 2023 7:00 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Adding Headers to smpp client before bind
Replies: 6
Views: 29721

Re: Adding Headers to smpp client before bind

Hi jeremih

You cannot add optional TLV parameters to the Bind request, the SMPP protocol doesn't support this.

Why do you want to add the headers ?
by alt
Mon Jan 23, 2023 10:06 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Implement USSD with UAP
Replies: 1
Views: 14755

Re: Implement USSD with UAP

Hi,

USSD over SMPP is always vendor specific implementation. Try to start with the sample USSD project.