SkillAgentSearch skills...

IvrToolkit

A toolkit for writing Interactive Voice Response Applications. It requires an ivrToolkit.Plugin of your choice. I recommend ivrToolkit.Plugin.SipSorcery. There are also plugins for Dialogic SIP and Analog but those require a Dialogic driver.

Install / Use

/learn @ivrToolkit/IvrToolkit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ivrToolkit

An IVR toolkit library for dotNet developers wanting to write telephony applications. Plugins include a SipSorcery plugin, a Dialogic SIP plugin and a Dialogic analog board plugin. I recommend the ivrToolkit.Plugin.SipSorcery plugin because it is 100% c# and doesn't require any drivers.

https://www.ivrToolkit.com

.NET Core Unit Tests

Example

// this is one way to set up your properties, with a property file
var sipVoiceProperties = new SipVoiceProperties(loggerFactory, "voice.properties");

// instantiate the plugin you want to use
using var sipPlugin = new SipSorceryPlugin(loggerFactory, sipVoiceProperties);

// choose a TTS Engine (not a requirement, you could just play wav files)
var ttsFactory = new AzureTtsFactory(loggerFactory, sipVoiceProperties);

// create a line manager
using var lineManager = new LineManager(loggerFactory, sipVoiceProperties, sipPlugin, ttsFactory);

// grab a line
var line = lineManager.GetLine();

// dial out
var callAnalysis = await line.DialAsync(phoneNumber, 0, cancellationToken);
if (callAnalysis == CallAnalysis.Connected)
{
    // say something
    await line.PlayTextToSpeech("Hello World!", cancellationToken);
}

License

GitHub

Documentation

https://ivrtoolkit.com/Documentation/GetStarted/Intro/

Support

https://github.com/ivrToolkit/ivrToolkit/issues

Nuget

https://nuget.org/profiles/ivrToolkit

Example Source Code

https://github.com/ivrToolkit/ivrToolkit/tree/develop/Examples

View on GitHub
GitHub Stars8
CategoryContent
Updated6mo ago
Forks3

Languages

C#

Security Score

82/100

Audited on Sep 1, 2025

No findings