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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sufficit.Asterisk.Shared" Version="1.25.825.1916" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sufficit.Asterisk.Shared" Version="1.25.825.1916" />
                    
Directory.Packages.props
<PackageReference Include="Sufficit.Asterisk.Shared" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sufficit.Asterisk.Shared --version 1.25.825.1916
                    
#r "nuget: Sufficit.Asterisk.Shared, 1.25.825.1916"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Sufficit.Asterisk.Shared@1.25.825.1916
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sufficit.Asterisk.Shared&version=1.25.825.1916
                    
Install as a Cake Addin
#tool nuget:?package=Sufficit.Asterisk.Shared&version=1.25.825.1916
                    
Install as a Cake Tool

Sufficit.Asterisk.Shared

NuGet

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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