Search found 984 matches

by alt
Thu Sep 23, 2021 5:54 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: how to decode PDU
Replies: 1
Views: 15615

Re: how to decode PDU

This format is GSM PDU . The Inetlab.SMPP library supports only SMPP PDU.
by alt
Mon Sep 13, 2021 2:05 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Smpp Client load balancing deployment
Replies: 1
Views: 15328

Re: Smpp Client load balancing deployment

When provider limits your SMPP traffic, it doesn't make sense to implement load balancing for this direction. In most cases you need only one process that reads messages from queue and sends to the provider. The messages from clients you can also push into queue in broker for routing process or dire...
by alt
Thu Sep 09, 2021 12:05 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPP logger trigger extra connections
Replies: 1
Views: 15258

Re: SMPP logger trigger extra connections

The connection is triggered from outside. Internal SmppConnection object writes these log events when some TCP client connects/disconnects with your server.
The format {localIP}:{localPort} => {remoteIp}:{remotePort} is used to represent the connection in the log event.
by alt
Tue Sep 07, 2021 6:55 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Multiple Smpp client classes
Replies: 2
Views: 18561

Re: Multiple Smpp client classes

Hi, It depends on your application architecture. At first step you may start all clients in single process on the single server. You can design your project code, so that it will be easy to migrate to "multiple sources" way and eventually run each client in its own docker container with configuratio...
by alt
Tue Sep 07, 2021 6:40 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Running two SMMP Server on the same Computer
Replies: 1
Views: 15191

Re: Running two SMMP Server on the same Computer

No, it is not the license restriction.

I think it is a firewall problem on the machine.
by alt
Thu Aug 12, 2021 7:59 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPP connection issue in VB.Net WinForms application
Replies: 1
Views: 15192

Re: SMPP connection issue in VB.Net WinForms application

Hello Anil, This is common problem MethodAsync().GetAwaiter().GetResult() lead to dead lock in windows form application . I hope this article helps you to solve the issue. Understanding Async, Avoiding Deadlocks in C# Short answer: rewrite your classes to async await methods that return Task. See ho...
by alt
Thu Aug 12, 2021 7:48 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: evConnected event?
Replies: 2
Views: 18599

Re: evConnected event?

Hello Asaf, ConnectAsync method returns true when connection is successful and false when not. So your application knows the connection result. You can also check client.Status property, it should be Open when connected and Close when disconnected. When you use connection recovery feature you need t...
by alt
Mon Aug 09, 2021 7:07 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPP Server
Replies: 1
Views: 15278

Re: SMPP Server

You need to create two SmppServer instances, one for normal connection and second for secure connection on different TCP port. You can attach to both instances the same event handler methods.
by alt
Tue Aug 03, 2021 7:20 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: wrong message length custom user data header
Replies: 2
Views: 18748

Re: wrong message length custom user data header

It is not correct to use User Data Header concatenation and MessagePayload parameter. You need to use SAR TLV Parameters with MessagePayload.
https://docs.inetlab.com/smpp/v2.9/arti ... ation.html
by alt
Sun Jul 25, 2021 12:30 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Do I need to create task for multi-client?
Replies: 1
Views: 15247

Re: Do I need to create task for multi-client?

Which task do you mean?

SmppClient represents one SMPP session with SMS provider. Therefore if you need to establish multiple sessions with one or many providers you need to create the same number of SmppClient instances.
by alt
Mon Jul 19, 2021 4:34 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: own messageID issue on long (multipart) Messages
Replies: 3
Views: 33616

Re: own messageID issue on long (multipart) Messages

If you want to set MessageId for the SubmitSmResp in the method OnFullMessageReceived you need: 1. to disable response sending as it described in the link above in the server_evClientSubmitSm method; submitSm.Response = null; 2. to create responses in the OnFullMessageReceived method for each args.P...
by alt
Mon Jul 19, 2021 9:33 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: own messageID issue on long (multipart) Messages
Replies: 3
Views: 33616

Re: own messageID issue on long (multipart) Messages

In the server_evClientSubmitSm event handler method the property submitSm.Response defines the response on the SubmitSm request. Library sends this response after the method is executed. For the MessageComposer this doesn't work. You can disable automatically response sending and send it with SendRe...
by alt
Mon Jul 19, 2021 9:24 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: $ and @ characters data coding
Replies: 5
Views: 28745

Re: $ and @ characters data coding

If you want to send "$£¥€" as 0x24A3A5A4 in Default data coding, you need to change the mapping this way: client.EncodingMapper.MapEncoding(DataCodings.Default, new System.Text.Encoding(1252)); and when you send the message you need to use DataCodings.Default . The same way you can set the encoding ...
by alt
Fri Jul 16, 2021 10:54 am
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: $ and @ characters data coding
Replies: 5
Views: 28745

Re: $ and @ characters data coding

You need to change .NET encoding for Latin1 data coding in the client encoding mapper:

Code: Select all

client.EncodingMapper.MapEncoding(DataCodings.Latin1, new Inetlab.SMPP.Encodings.GSMEncoding());