Search found 995 matches

by alt
Wed Oct 19, 2022 7:22 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SourceAddress encoding issue
Replies: 4
Views: 145796

Re: SourceAddress encoding issue

for example:

Code: Select all

_client.EncodingMapper.AddressEncoding = Encoding.ASCII;
by alt
Fri Oct 14, 2022 4:28 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: How to handle exception of deliver_sm processing with Inetlab.SMPP?
Replies: 1
Views: 78908

Re: How to handle exception of deliver_sm processing with Inetlab.SMPP?

If SmppClient instance is not subscribed to evDeliverSm event the ESME_RINVCMDID will be returned.
If the handler of the event evDeliverSm is failed the ESME_RSYSERR will be returned and the error is written into the library log

You can always use try catch in the event handler method to handle ...
by alt
Wed Sep 07, 2022 8:21 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Remote side has dropped connection
Replies: 5
Views: 171234

Re: Remote side has dropped connection

The smpp session will be dropped when unsuccess response status in EnquireLink is received.

In your case the server could be busy with your messages and the EnquireLinkResp is sent later than 19 seconds. The library already processed the timeout and returned the SMPPCLIENT_RCVTIMEOUT.

The detailed ...
by alt
Wed Aug 31, 2022 5:50 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Remote side has dropped connection
Replies: 5
Views: 171234

Re: Remote side has dropped connection

What value have you set for the property ResponseTimeout in SmppClient instance?

The EnquireLink PDU is sent only in idle time. It means it will be sent in 20 seconds after last received PDU from the remote side.

Could you provide more detailed logs?
by alt
Mon Aug 29, 2022 8:26 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Remote side has dropped connection
Replies: 5
Views: 171234

Re: Remote side has dropped connection

Hi aordonez,

What library version are you using?
by alt
Wed Aug 17, 2022 9:14 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Can I reject connection in the SmppServer
Replies: 1
Views: 83248

Re: Can I reject connection in the SmppServer

Yes, you can deny the connections. You need to check client.RemoteEndPoint in the evClientConnected event.
by alt
Wed Aug 03, 2022 7:18 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Using Wireshark with TLS1.2 connection
Replies: 3
Views: 127854

Re: Using Wireshark with TLS1.2 connection

This code can help you to get the MessageId from the TLV parameters.

Code: Select all

 
 var parameter = deliverSm.Parameters.Of<ReceiptedMessageIdParameter>().FirstOrDefault();
 string messageId =  parameter.MessageId;
 
by alt
Tue Aug 02, 2022 4:36 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Using Wireshark with TLS1.2 connection
Replies: 3
Views: 127854

Re: Using Wireshark with TLS1.2 connection

There no way to get the MasterSecret from the .NET SslStream.

You can enable verbose logging for the library and find "Received data:" records with received PDUs in hex format.

The data can be decoded on the website https://www.sysop.fr/smpp-decoder/
by alt
Mon Jun 13, 2022 4:01 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: SMPP Server receivied Strange characters
Replies: 1
Views: 80424

Re: SMPP Server receivied Strange characters

Dear Jesri,

It can be the wrong DATA_CODING to .NET encoding mapping.
https://docs.inetlab.com/smpp/v2.9/arti ... oding.html

I need to check the SUBMIT_SM PDU you received from the client. Please send the Wireshark file to the support@ .
by alt
Mon Jun 06, 2022 5:05 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Scandinavian characters in incoming messages
Replies: 3
Views: 128208

Re: Scandinavian characters in incoming messages

Hi,

What value has data_coding field in the DELIVER_SM PDU?
I would use the same data_coding in the SUBMIT_SM PDU and set appropriate .NET Encoding in the EncodingMapper for the client.

https://docs.inetlab.com/smpp/v2.9/arti ... oding.html
by alt
Thu May 19, 2022 9:28 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Sending BIND on receipt of an OUTBIND
Replies: 3
Views: 121241

Re: Sending BIND on receipt of an OUTBIND

The outbind was incomplete in the Inetlab.SMPP library.

The version 2.9.18 has additional classes for this feature:

- SmppOutbindClient class that can establish SMPP session with ESME using Outbind command.
- SmppOutbindServerClient class, that passed down to the evClientOutBind event in the ...
by alt
Mon May 16, 2022 5:00 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Client server connection using proxy
Replies: 2
Views: 102128

Re: Client server connection using proxy

Hi,

What kind of proxy are you going to use? SOCKS5?
by alt
Mon Mar 14, 2022 4:13 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Multiple Clients bind to an SMPP server
Replies: 1
Views: 80355

Re: Multiple Clients bind to an SMPP server

Hello ojukwu24

For now 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 and attach event handler method to all instances.
by alt
Wed Mar 09, 2022 9:57 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: USSD implementation issue
Replies: 2
Views: 101664

Re: USSD implementation issue

It depends on the USSD service implementation on the provider side. I would ask the provider support how it should be sent. When you have an answer, I can help you to complete this with Inetlab.SMPP library.
The answer can be also that the message text is limited to 140 octets.

You can try to send ...
by alt
Thu Jan 20, 2022 5:02 pm
Forum: Inetlab.SMPP v2.x (.NET Standard, .NET Core)
Topic: Insert the second part into DoneDate dlrBuilder
Replies: 1
Views: 82085

Re: Insert the second part into DoneDate dlrBuilder

Hi

The date and time format is defined in the SMPP protocol specification.
Screenshot 2022-01-20 175937.png
Screenshot 2022-01-20 175937.png (65.59 KiB) Viewed 82080 times