Coder Social home page Coder Social logo

smpp.net's People

Contributors

markjulmar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smpp.net's Issues

Support for .net core

Hi, I have a .net core 2.0 project and I'm planning to implement SMS functionality. is this package will wokr in .net core 2.0?

1 How do I send a text msg to my phone? 2 Is there any data that should be stored in a database?

Pretty impressive! Just finished reviewing the lib.. took a few days.. lots of files, plus I reviewed the SMPP 5.0 spec PDF & started building a PDU model to help me grasp this work. It must've taken some serious time.

Inside [IdentityConfig.cs] there's a spot to setup an SMS service, which will allow the system to validate the text numbers. That's what I'd like to use this for & I'd like to send a test email to my phone to test it.

public class SmsService : IIdentityMessageService
{
public Task SendAsync(IdentityMessage message)
{
// Plug in your SMS service here to send a text message.

        return Task.FromResult(0);
    }
}

I also wondered about database storage of info. Is there any way to store failures automatically, so I can compare codes to what is already in the app? What data type would you use in SQL Server for storing data & from what object would you store it? Basically, is there anything that would be useful longterm for debugging or for a user by storing data in a db?

I also have an errorLog table in my db, so if there are errors to collect I'd like to put them there. but I could create a new table for the texting if need be.

Error in Esme GUI

Firstly, I needed to modify this so it worked with non-US phone numbers but I successfully managed to send an SMS to my UK mobile.

Anyway, on completion, the Esme GUI app attempts to convert the Message ID in the response to an integer on the basis that it comes back in some kind of Base. However, my provider returns a GUID for the message id so this line of code crashes:

string decimalMessageId = Convert.ToInt64(submitResp.MessageID, submitResponseMessageIdBase_).ToString();

Several source files missing

Several source files missing causing the compilation to fail.

Smpp.NET\Elements\dest_subaddress.cs' could not be found.
Smpp.NET\Elements\message_payload.cs' could not be found.
Smpp.NET\Elements\ussd_service_op.cs' could not be found.
Smpp.NET\Elements\validity_period.cs' could not be found.
Smpp.NET\Elements\sar_msg_ref_num.cs' could not be found.
Smpp.NET\Pdu\submit_sm_multi_resp.cs' could not be found.
Smpp.NET\Elements\dest_network_id.cs' could not be found.

How to handle exception while sending 500 messages for an interval of 10 sec

We are sending 500 messages for an interval of 10 sec but while observing the sending report those messages which are not sent from our end has no information of submit_sm and destination address due to which we are not being able to handle the exception of such failure message since sequence numbers are duplicate due which it became more complicated. Please suggest us how we handle the case while sending huge message at a time. There will be only message called error sending message 20.

TestEsme project is not working

I tried to run the TestEsme project but I get the exception:

System.Net.Sockets.SocketException: 'No connection could be made because the target machine actively refused it 127.0.0.1:8080'

How come the test project doesn't actually start a server? Is this really a complete example?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.