Skip to content

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

@fahnix

Description

@fahnix

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions