Sufficit.Asterisk.Core
1.26.505.1450
dotnet add package Sufficit.Asterisk.Core --version 1.26.505.1450
NuGet\Install-Package Sufficit.Asterisk.Core -Version 1.26.505.1450
<PackageReference Include="Sufficit.Asterisk.Core" Version="1.26.505.1450" />
<PackageVersion Include="Sufficit.Asterisk.Core" Version="1.26.505.1450" />
<PackageReference Include="Sufficit.Asterisk.Core" />
paket add Sufficit.Asterisk.Core --version 1.26.505.1450
#r "nuget: Sufficit.Asterisk.Core, 1.26.505.1450"
#:package Sufficit.Asterisk.Core@1.26.505.1450
#addin nuget:?package=Sufficit.Asterisk.Core&version=1.26.505.1450
#tool nuget:?package=Sufficit.Asterisk.Core&version=1.26.505.1450
Sufficit.Asterisk.Core
Description
Sufficit.Asterisk.Core is the foundational library for all Asterisk-related operations in the Sufficit ecosystem. It provides essential data models, interfaces, events, and configuration classes that serve as the building blocks for AMI connections, FastAGI servers, and telephony applications. This library is designed to be framework-agnostic and multi-target, supporting everything from .NET Standard 2.0 for legacy applications to the latest .NET 9 for modern cloud-native services.
Features
Core Components
- Manager Events - Comprehensive event models for all Asterisk AMI events
- Manager Actions - Action classes for AMI command execution
- Connection Interfaces - Abstractions for AMI and AGI connections
- Configuration Models - Settings classes for connection parameters
- Extension Methods - Utility methods for common operations
- Multi-Framework Support - .NET Standard 2.0, .NET 6, 7, 8, 9
Event System
- Type-safe event handling with strongly-typed event classes
- Event inheritance hierarchy for efficient event processing
- Custom event registration support
- Event metadata including timestamps and system information
Configuration Management
- Connection parameters with validation
- Reconnection policies with progressive backoff
- SSL/TLS support configuration
- Timeout and retry settings
Multi-Target Framework Support
| Framework | Use Case | Benefits |
|---|---|---|
| .NET Standard 2.0 | Legacy applications, Xamarin | Maximum compatibility |
| .NET 6 | Long-term support applications | Stable, supported until 2024 |
| .NET 7 | Current applications | Performance improvements |
| .NET 8 | Modern LTS applications | Latest LTS with best performance |
| .NET 9 | Cutting-edge applications | Latest features and optimizations |
Installation
**.NET CLI:**dotnet add package Sufficit.Asterisk.Core **Package Manager Console:**Install-Package Sufficit.Asterisk.Core Package References:<PackageReference Include="Sufficit.Asterisk.Core" Version="1.*" />
Usage
For detailed usage examples and documentation, see USAGE.md.
License
This project is licensed under the MIT License.
References and Thanks
This project builds upon the excellent foundation provided by several open-source Asterisk .NET libraries. We would like to express our sincere gratitude to the original authors and contributors:
Reference Projects
Asterisk.NET by roblthegreat - One of the original Asterisk .NET implementations that served as initial inspiration and reference for AMI protocol handling.
AsterNET by AsterNET Team - A comprehensive Asterisk .NET library that provided valuable insights into event parsing, action implementations, and connection management patterns.
These projects were instrumental in understanding Asterisk protocols, best practices, and .NET integration patterns. While Sufficit.Asterisk.Core has been developed from the ground up with modern .NET practices and our specific architectural requirements, we acknowledge the valuable learning and inspiration drawn from these pioneering efforts.
Made with ❤️ by the Sufficit Team
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 9.0.15 && < 10.0.0)
-
net6.0
- System.Text.Json (>= 8.0.5 && < 9.0.0)
-
net7.0
- System.Text.Json (>= 8.0.5 && < 9.0.0)
-
net9.0
- System.Text.Json (>= 9.0.15 && < 10.0.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Sufficit.Asterisk.Core:
| Package | Downloads |
|---|---|
|
Sufficit.Blazor
Package Description |
|
|
Sufficit.AsterNET
Sufficit.AsterNET |
|
|
Sufficit.Asterisk.Manager
Package Description |
|
|
Sufficit.Telephony.EventsPanel
Package Description |
|
|
Sufficit.AsterNETFork
Sufficit.AsterNETFork |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.505.1450 | 116 | 5/5/2026 |
| 1.26.503.2252 | 341 | 5/3/2026 |
| 1.26.327.2020 | 746 | 3/27/2026 |
| 1.26.319.1812 | 697 | 3/19/2026 |
| 1.26.314.1942 | 299 | 3/14/2026 |
| 1.26.213.705 | 1,310 | 2/13/2026 |
| 1.25.1009.1745 | 1,279 | 10/9/2025 |
| 1.25.826.2150 | 1,646 | 8/26/2025 |
| 1.25.825.1916 | 344 | 8/25/2025 |
| 1.25.824.3 | 1,295 | 8/24/2025 |
| 1.25.728.2133 | 757 | 7/28/2025 |
| 1.25.715.1625 | 391 | 7/15/2025 |
| 1.25.712.1726 | 479 | 7/12/2025 |
| 1.25.710.2051 | 714 | 7/10/2025 |
| 1.25.710.42 | 522 | 7/10/2025 |
| 1.25.630.1922 | 525 | 6/30/2025 |
| 1.25.628.2207 | 551 | 6/28/2025 |
| 1.25.612.2240 | 445 | 6/12/2025 |
| 1.25.611.1804 | 598 | 6/11/2025 |
| 1.25.611.1802 | 396 | 6/11/2025 |