Asterisk.Sdk.Activities 1.15.3

Suggested Alternatives

Verbara.Sdk.Activities

dotnet add package Asterisk.Sdk.Activities --version 1.15.3
                    
NuGet\Install-Package Asterisk.Sdk.Activities -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.Activities" 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.Activities" Version="1.15.3" />
                    
Directory.Packages.props
<PackageReference Include="Asterisk.Sdk.Activities" />
                    
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.Activities --version 1.15.3
                    
#r "nuget: Asterisk.Sdk.Activities, 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.Activities@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.Activities&version=1.15.3
                    
Install as a Cake Addin
#tool nuget:?package=Asterisk.Sdk.Activities&version=1.15.3
                    
Install as a Cake Tool

Asterisk.Sdk.Activities

High-level call activity abstractions for Asterisk AGI — async state-machine-driven operations for common telephony workflows.

Installation

dotnet add package Asterisk.Sdk.Activities

Quick Start

// Inside a FastAGI script handler
["dial-out.agi"] = async channel =>
{
    await channel.AnswerAsync();

    var dial = new DialActivity(channel)
    {
        Target = new EndPoint("SIP/1001"),
        Timeout = TimeSpan.FromSeconds(30)
    };

    await dial.StartAsync();
    Console.WriteLine($"Dial result: {dial.DialStatus}"); // ANSWER, BUSY, NOANSWER, etc.

    if (dial.Status == ActivityStatus.Completed)
    {
        var hold = new HoldActivity(channel) { MusicOnHoldClass = "default" };
        await hold.StartAsync();
    }

    await channel.HangupAsync();
}

Features

  • DialActivity — originate outbound call; exposes DialStatus (ANSWER, BUSY, NOANSWER, CANCEL, CONGESTION)
  • HoldActivity — put a channel on music-on-hold with configurable class
  • BridgeActivity — bridge the current channel to a target channel by name
  • HangupActivity, PlayMessageActivity, QueueActivity, ParkActivity, BlindTransferActivity, MeetmeActivity, VoicemailActivity, ExternalMediaActivity
  • IActivity — common interface: StartAsync(), CancelAsync(), Status, StatusChanges (IObservable<ActivityStatus>)
  • Native AOT compatible

Documentation

See the main README for full 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 (1)

Showing the top 1 NuGet packages that depend on Asterisk.Sdk.Activities:

Package Downloads
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 138 4/27/2026 1.15.2 is deprecated because it is no longer maintained.
1.15.1 150 4/26/2026 1.15.1 is deprecated because it is no longer maintained.
1.15.0 195 4/20/2026 1.15.0 is deprecated because it is no longer maintained.
1.14.0 132 4/20/2026 1.14.0 is deprecated because it is no longer maintained.
1.13.0 129 4/20/2026 1.13.0 is deprecated because it is no longer maintained.
1.12.0 127 4/19/2026 1.12.0 is deprecated because it is no longer maintained.
1.11.1 147 4/19/2026 1.11.1 is deprecated because it is no longer maintained.
1.11.0 134 4/19/2026 1.11.0 is deprecated because it is no longer maintained.
1.10.2 126 4/18/2026 1.10.2 is deprecated because it is no longer maintained.
1.10.1 114 4/18/2026 1.10.1 is deprecated because it is no longer maintained.
1.10.0 135 4/18/2026 1.10.0 is deprecated because it is no longer maintained.
1.9.0 130 4/17/2026 1.9.0 is deprecated because it is no longer maintained.
1.8.1 131 4/16/2026 1.8.1 is deprecated because it is no longer maintained.
1.8.0 143 4/13/2026 1.8.0 is deprecated because it is no longer maintained.
1.7.0 127 4/13/2026 1.7.0 is deprecated because it is no longer maintained.
1.6.0 131 4/13/2026 1.6.0 is deprecated because it is no longer maintained.
1.5.5 136 4/9/2026 1.5.5 is deprecated because it is no longer maintained.
1.5.3 1,108 3/30/2026 1.5.3 is deprecated because it is no longer maintained.
1.5.2 145 3/30/2026 1.5.2 is deprecated because it is no longer maintained.
Loading failed