Asterisk.Sdk.Ari 1.15.3

Suggested Alternatives

Verbara.Sdk.Ari

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

Asterisk.Sdk.Ari

Asterisk REST Interface (ARI) client for .NET 10 with Native AOT support.

Features

  • REST client for all 8 ARI resources (Channels, Bridges, Playbacks, Recordings, Endpoints, Applications, Sounds, DeviceStates)
  • WebSocket event streaming with 46 event types
  • AOT-safe JSON serialization via System.Text.Json source generation
  • Automatic reconnection with exponential backoff
  • AudioSocket server for real-time audio streaming
  • System.Diagnostics.Metrics for observability

Quick Start

var client = new AriClient(Options.Create(new AriClientOptions
{
    BaseUrl = "http://pbx.example.com:8088",
    Username = "admin",
    Password = "secret",
    Application = "myapp"
}), logger);

await client.ConnectAsync();

// Subscribe to events
client.Subscribe(Observer.Create<AriEvent>(evt =>
{
    if (evt is StasisStartEvent start)
        Console.WriteLine($"Channel entered Stasis: {start.Channel?.Name}");
}));

// REST operations
var channels = await client.Channels.ListAsync();
var bridge = await client.Bridges.CreateAsync("mixing", "mybridge");
await client.Bridges.AddChannelAsync(bridge.Id!, channels[0].Id!);

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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 Asterisk.Sdk.Ari:

Package Downloads
Asterisk.Sdk.Activities

Activities - high-level telephony operations: Dial, Hold, Transfer, Park, Bridge, Conference

Asterisk.Sdk.Hosting

Asterisk.Sdk.Hosting - DI extensions and meta-package referencing all Asterisk SDK sub-packages

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.15.3 167 5/3/2026 1.15.3 is deprecated because it is no longer maintained.
1.15.2 148 4/27/2026 1.15.2 is deprecated because it is no longer maintained.
1.15.1 160 4/26/2026 1.15.1 is deprecated because it is no longer maintained.
1.15.0 202 4/20/2026 1.15.0 is deprecated because it is no longer maintained.
1.14.0 154 4/20/2026 1.14.0 is deprecated because it is no longer maintained.
1.13.0 149 4/20/2026 1.13.0 is deprecated because it is no longer maintained.
1.12.0 141 4/19/2026 1.12.0 is deprecated because it is no longer maintained.
1.11.1 139 4/19/2026 1.11.1 is deprecated because it is no longer maintained.
1.11.0 146 4/19/2026 1.11.0 is deprecated because it is no longer maintained.
1.10.2 141 4/18/2026 1.10.2 is deprecated because it is no longer maintained.
1.10.1 136 4/18/2026 1.10.1 is deprecated because it is no longer maintained.
1.10.0 170 4/18/2026 1.10.0 is deprecated because it is no longer maintained.
1.9.0 143 4/17/2026 1.9.0 is deprecated because it is no longer maintained.
1.8.1 133 4/16/2026 1.8.1 is deprecated because it is no longer maintained.
1.8.0 166 4/13/2026 1.8.0 is deprecated because it is no longer maintained.
1.7.0 138 4/13/2026 1.7.0 is deprecated because it is no longer maintained.
1.6.0 135 4/13/2026 1.6.0 is deprecated because it is no longer maintained.
1.5.5 174 4/9/2026 1.5.5 is deprecated because it is no longer maintained.
1.5.3 1,130 3/30/2026 1.5.3 is deprecated because it is no longer maintained.
1.5.2 156 3/30/2026 1.5.2 is deprecated because it is no longer maintained.
Loading failed