Interface ILineManager
The LineManager keeps track of the lines in use.
Inherited Members
Namespace: ivrToolkit .Core.Interfaces
Assembly: ivrToolkit.Core.dll
Syntax
public interface ILineManager : IDisposable
Properties
| Edit this page View SourceVoiceProperties
Returns the voice properties definition.
Declaration
VoiceProperties VoiceProperties { get; }
Property Value
Type | Description |
---|---|
Voice |
Methods
| Edit this page View SourceGetLine()
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 |
---|---|
IIvr |
A class that represents the phone line |
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 |
---|---|
IIvr |
A class that represents the phone line |
ReleaseAll()
Releases all the voice lines.
Declaration
void ReleaseAll()
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 |