Sufficit.Asterisk.FastAGI 1.26.319.1802

dotnet add package Sufficit.Asterisk.FastAGI --version 1.26.319.1802
                    
NuGet\Install-Package Sufficit.Asterisk.FastAGI -Version 1.26.319.1802
                    
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.FastAGI" Version="1.26.319.1802" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sufficit.Asterisk.FastAGI" Version="1.26.319.1802" />
                    
Directory.Packages.props
<PackageReference Include="Sufficit.Asterisk.FastAGI" />
                    
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.FastAGI --version 1.26.319.1802
                    
#r "nuget: Sufficit.Asterisk.FastAGI, 1.26.319.1802"
                    
#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.FastAGI@1.26.319.1802
                    
#: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.FastAGI&version=1.26.319.1802
                    
Install as a Cake Addin
#tool nuget:?package=Sufficit.Asterisk.FastAGI&version=1.26.319.1802
                    
Install as a Cake Tool

Sufficit.Asterisk.FastAGI

NuGet

Description

Sufficit.Asterisk.FastAGI provides a high-performance FastAGI server implementation for .NET applications, enabling Asterisk to delegate dialplan control to external applications efficiently. This library allows you to create complex, dynamic call logic using the full power of .NET while maintaining excellent performance and reliability.

Features

High-Performance Server

  • Asynchronous FastAGI server with high concurrency support
  • Connection pooling and efficient resource management
  • Script routing system for organizing call logic
  • Automatic request parsing and response formatting
  • Exception handling and error recovery
  • Comprehensive logging and diagnostics

Advanced Call Control

  • Full AGI command support - Answer, Dial, Playback, Record, etc.
  • DTMF handling - Wait for digits, get user input
  • Variable management - Get/Set channel variables
  • Call flow control - Conditional logic and branching
  • Database integration - Direct database access during calls
  • External API integration - REST calls during call processing

Flexible Architecture

  • Script-based routing - Map URLs to specific call handlers
  • Dependency injection support for business logic
  • Middleware pipeline for request/response processing
  • Custom authentication and authorization
  • Health monitoring and metrics collection

Framework Support

  • Multi-target framework support (.NET Standard 2.0, .NET 7, 8, 9)
  • ASP.NET Core integration for web-based scenarios
  • Background service support for standalone applications
  • Modern async/await patterns throughout

FastAGI vs Traditional AGI

FastAGI offers significant advantages over traditional AGI:

  • Network-based communication - No process spawning overhead
  • Connection pooling - Reuse connections for better performance
  • Scalability - Handle multiple concurrent calls efficiently
  • Language flexibility - Use any .NET language for call logic
  • Rich debugging - Full debugging capabilities in your IDE

Installation

dotnet add package Sufficit.Asterisk.FastAGI

Usage

For detailed usage examples and documentation, see USAGE.md.

License

This project is licensed under the MIT License.

References and Thanks

This project stands on the shoulders of giants in the Asterisk .NET community. We are deeply grateful to the original authors and contributors who paved the way:

Reference Projects

  • Asterisk.NET by roblthegreat - A foundational library that provided essential insights into AGI protocol implementation, command formatting, and response parsing patterns that informed our FastAGI architecture.

  • AsterNET by AsterNET Team - An excellent reference for AGI command implementations, channel variable handling, and network communication patterns with Asterisk servers.

These projects were crucial in understanding AGI protocol specifications, connection handling, and the intricacies of communicating with Asterisk over network sockets. Our implementation leverages this collective knowledge while introducing modern server architecture and performance optimizations.

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

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.26.319.1802 38 3/19/2026
1.26.314.1942 85 3/14/2026
1.26.114.2108 111 1/14/2026
1.25.930.2114 210 9/30/2025
1.25.904.1753 213 9/4/2025
1.25.827.1501 247 8/27/2025
1.25.826.2149 255 8/26/2025
1.25.824.3 161 8/24/2025
1.25.712.1726 166 7/12/2025
1.25.710.42 206 7/10/2025
1.25.628.2319 148 6/28/2025
1.25.611.1839 359 6/11/2025
1.25.611.1801 352 6/11/2025