Asterisk.Sdk – Modern .NET SDK for building telephony platforms (AMI, ARI, FastAGI)

Hello everyone,

I would like to share a project I have been working on called Asterisk.Sdk.

It is a modern .NET SDK designed to help developers build telephony platforms on top of Asterisk more easily.

The goal of the project is not only to provide protocol clients, but to offer a complete developer platform for building applications such as:

• Contact centers
• IVR systems
• Telephony microservices
• Voice bots
• SIP platforms
• Telephony integrations with business systems

Currently the SDK provides support for:

• AMI client
• ARI client
• FastAGI server
• Runtime state tracking (channels, queues, agents, conferences)
• Activities for call workflows
• Multi-server support
• Health checks and reconnect strategies
• Native AOT compatibility for lightweight deployments

Example usage:

var call = await telephony.DialAsync(agent, customer);

await call.TransferAsync(queue);

await call.StartRecording();

The idea is to provide higher-level abstractions so developers do not need to manage channels, bridges, and protocol events manually.

The project is open source and I would really appreciate feedback from the Asterisk community, especially regarding:

• scalability
• production deployments
• integration patterns
• features that might be missing

GitHub repository:

If anyone is interested in testing it or contributing ideas, feedback is very welcome.

Thank you!

1 Like

Dotnet seems like quite a longwinded language — almost like Java.

A lot of things can be done with less code in Python.