Verbara.Sdk.Live 2.2.1

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

Verbara.Sdk.Live

Real-time domain objects for Asterisk PBX, built on AMI events.

Features

  • Live tracking of channels, queues, agents, and conferences
  • AsteriskServer aggregates all managers from a single AMI connection
  • AsteriskServerPool federates multiple servers with agent routing (100K+ agents)
  • Thread-safe with per-entity locks and ConcurrentDictionary
  • Lazy queries: GetAgentsByState(), GetChannelsByState(), GetQueuesForMember()
  • System.Diagnostics.Metrics for observable gauges (active channels, queue sizes)

Quick Start

var server = new AsteriskServer(connection, logger);
await server.StartAsync();

// Access live state
foreach (var channel in server.Channels.GetChannelsByState(ChannelState.Up))
    Console.WriteLine($"Active call: {channel.CallerId} -> {channel.Extension}");

// React to changes
server.Agents.AgentStateChanged += agent =>
    Console.WriteLine($"Agent {agent.AgentId}: {agent.State}");

Multi-Server

var pool = new AsteriskServerPool(connectionFactory, loggerFactory);
await pool.AddServerAsync("pbx-east", eastOptions);
await pool.AddServerAsync("pbx-west", westOptions);

// Federated routing
var server = pool.GetServerForAgent("Agent/1001");

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 (3)

Showing the top 3 NuGet packages that depend on Verbara.Sdk.Live:

Package Downloads
Verbara.Sdk.Sessions

Session Engine - call session correlation, state machines, and domain events

Verbara.Sdk.Hosting

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

Verbara.Sdk.Activities

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.1 270 5/23/2026
2.2.0 174 5/20/2026
2.1.2 172 5/8/2026
2.1.1 146 5/7/2026
2.1.0 740 5/7/2026
2.0.0 152 5/6/2026