Show / Hide Table of Contents

Interface ILineManager

The LineManager keeps track of the lines in use.

Inherited Members
IDisposable.Dispose()
Namespace: ivrToolkit.Core.Interfaces
Assembly: ivrToolkit.Core.dll
Syntax
public interface ILineManager : IDisposable

Properties

| Edit this page View Source

VoiceProperties

Returns the voice properties definition.

Declaration
VoiceProperties VoiceProperties { get; }
Property Value
Type Description
VoiceProperties

Methods

| Edit this page View Source

GetLine()

Gets an available line. With SipSorcery, there is no need to specify a line number however, the line manager still uses them internally to manage them.

Declaration
IIvrLine GetLine()
Returns
Type Description
IIvrLine

A class that represents the phone line

| Edit this page View Source

GetLine(int)

Gets the line class that will do the line manipulation.

Declaration
IIvrLine GetLine(int lineNumber)
Parameters
Type Name Description
int lineNumber

The line number to connect to starting at 1

Returns
Type Description
IIvrLine

A class that represents the phone line

| Edit this page View Source

ReleaseAll()

Releases all the voice lines.

Declaration
void ReleaseAll()
| Edit this page View Source

ReleaseLine(int)

Releases a voice line and removes it from the list of used lines.

Declaration
void ReleaseLine(int lineNumber)
Parameters
Type Name Description
int lineNumber

The line number to release

Extension Methods

ValidationExtensions.ThrowIfNull<T>(T, string)
  • View Source
In this article
Back to top Generated by DocFX