Sufficit.Asterisk.Shared
1.25.825.1916
dotnet add package Sufficit.Asterisk.Shared --version 1.25.825.1916
NuGet\Install-Package Sufficit.Asterisk.Shared -Version 1.25.825.1916
<PackageReference Include="Sufficit.Asterisk.Shared" Version="1.25.825.1916" />
<PackageVersion Include="Sufficit.Asterisk.Shared" Version="1.25.825.1916" />
<PackageReference Include="Sufficit.Asterisk.Shared" />
paket add Sufficit.Asterisk.Shared --version 1.25.825.1916
#r "nuget: Sufficit.Asterisk.Shared, 1.25.825.1916"
#:package Sufficit.Asterisk.Shared@1.25.825.1916
#addin nuget:?package=Sufficit.Asterisk.Shared&version=1.25.825.1916
#tool nuget:?package=Sufficit.Asterisk.Shared&version=1.25.825.1916
Sufficit.Asterisk.Shared
Description
Sufficit.Asterisk.Shared
provides shared components, extensions, and utilities used across the Sufficit Asterisk ecosystem. This library serves as the common foundation that prevents code duplication and ensures consistency throughout all Asterisk-related projects in the Sufficit platform.
Features
Core Shared Components
- Common data models for telephony entities (calls, channels, peers)
- Shared interfaces for service contracts and abstractions
- Extension methods for enhanced type functionality
- Utility classes for common operations
- Constants and enums for Asterisk-specific values
- Validation helpers for data integrity
Telephony Shared Models
- Call information models and DTOs
- Channel state representations
- SIP/IAX registration models
- Queue and agent data structures
- CDR (Call Detail Record) shared models
- Configuration data transfer objects
Cross-Project Integration
- Service abstractions used by multiple projects
- Event models shared between AMI and AGI components
- Configuration interfaces for consistent settings
- Logging abstractions and adapters
- Health check shared components
- Metrics and monitoring shared contracts
Framework Support
- Multi-target framework support (.NET Standard 2.0, .NET 7, 8, 9)
- Dependency injection ready interfaces and implementations
- ASP.NET Core integration helpers
- Modern async/await patterns in shared contracts
Performance Considerations
- Efficient shared types with value types for high-performance scenarios
- Memory-efficient extensions with Span-based parsing
- Object pooling for frequently used objects
- Thread-safe operations where applicable
Installation
dotnet add package Sufficit.Asterisk.Shared
Usage
For detailed usage examples and documentation, see USAGE.md.
License
This project is licensed under the MIT License.
References and Thanks
This shared library builds upon the collective wisdom of the Asterisk .NET community. We acknowledge and thank the pioneering projects that shaped our understanding:
Reference Projects
Asterisk.NET by roblthegreat - Provided fundamental insights into common Asterisk data structures, validation patterns, and shared utilities that are essential across different integration approaches.
AsterNET by AsterNET Team - Offered excellent examples of shared components, extension methods, and common patterns that promote code reusability across AMI and AGI implementations.
These projects illuminated the importance of shared components in maintaining consistency and reducing duplication across complex telephony systems. Our implementation extends these concepts with modern .NET practices and comprehensive utility functions.
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 was computed. 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 is compatible. 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
- Microsoft.AspNetCore.Http.Connections.Common (>= 9.0.8 && < 10.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Identity.Stores (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Options (>= 9.0.8 && < 10.0.0)
- Sufficit.Asterisk.Core (>= 1.25.824.3)
- Sufficit.Asterisk.Utils (>= 1.25.825.30)
- Sufficit.Utils (>= 1.25.824.1341)
- System.Text.Json (>= 9.0.8 && < 10.0.0)
- System.Threading.Channels (>= 9.0.8 && < 10.0.0)
-
net7.0
- Microsoft.AspNetCore.Http.Connections.Common (>= 7.0.20 && < 8.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0 && < 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0 && < 8.0.0)
- Microsoft.Extensions.Identity.Stores (>= 7.0.20 && < 8.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0 && < 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1 && < 8.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 7.0.0 && < 8.0.0)
- Microsoft.Extensions.Options (>= 7.0.1 && < 8.0.0)
- Sufficit.Asterisk.Core (>= 1.25.824.3)
- Sufficit.Asterisk.Utils (>= 1.25.825.30)
- Sufficit.Utils (>= 1.25.824.1341)
- System.Text.Json (>= 8.0.5 && < 9.0.0)
- System.Threading.Channels (>= 8.0.0 && < 10.0.0)
-
net8.0
- Microsoft.AspNetCore.Http.Connections.Common (>= 8.0.19 && < 10.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2 && < 10.0.0)
- Microsoft.Extensions.Identity.Stores (>= 8.0.19 && < 10.0.0)
- Microsoft.Extensions.Logging (>= 8.0.1 && < 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3 && < 10.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 8.0.1 && < 10.0.0)
- Microsoft.Extensions.Options (>= 8.0.2 && < 10.0.0)
- Sufficit.Asterisk.Core (>= 1.25.824.3)
- Sufficit.Asterisk.Utils (>= 1.25.825.30)
- Sufficit.Utils (>= 1.25.824.1341)
- System.Text.Json (>= 8.0.6 && < 10.0.0)
- System.Threading.Channels (>= 9.0.8 && < 10.0.0)
-
net9.0
- Microsoft.AspNetCore.Http.Connections.Common (>= 9.0.8 && < 10.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Identity.Stores (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Logging.Configuration (>= 9.0.8 && < 10.0.0)
- Microsoft.Extensions.Options (>= 9.0.8 && < 10.0.0)
- Sufficit.Asterisk.Core (>= 1.25.824.3)
- Sufficit.Asterisk.Utils (>= 1.25.825.30)
- Sufficit.Utils (>= 1.25.824.1341)
- System.Text.Json (>= 9.0.8 && < 10.0.0)
- System.Threading.Channels (>= 9.0.8 && < 10.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Sufficit.Asterisk.Shared:
Package | Downloads |
---|---|
Sufficit.Asterisk.Manager
Package Description |
|
Sufficit.Asterisk.FastAGI
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.25.825.1916 | 233 | 8/25/2025 |
1.25.806.1917 | 222 | 8/6/2025 |
1.25.715.1625 | 290 | 7/15/2025 |
1.25.715.1406 | 208 | 7/15/2025 |
1.25.712.1726 | 103 | 7/12/2025 |
1.25.710.2051 | 187 | 7/10/2025 |
1.25.710.42 | 182 | 7/10/2025 |
1.25.628.2214 | 284 | 6/28/2025 |
1.25.611.1856 | 339 | 6/11/2025 |
1.25.611.1801 | 340 | 6/11/2025 |
1.25.611.1747 | 327 | 6/11/2025 |