Class IncomingTestCall
Class for handling a single NG9-1-1 test call. See Section 9 of NENA-STA-010.3b and RFC 6849. See The SipLib.TestCalls Namespace
Inherited Members
Namespace: SipLib.TestCalls
Assembly: SipLib.dll
Syntax
public class IncomingTestCall : QueuedActionWorkerTask
Constructors
| Edit this page View SourceIncomingTestCall(SIPRequest, SIPEndPoint, SipTransport, SdpAnswerSettings, IncomingTestCallSettings)
Constructor
Declaration
public IncomingTestCall(SIPRequest invite, SIPEndPoint remoteEndPoint, SipTransport transport, SdpAnswerSettings answerSettings, IncomingTestCallSettings testCallSettings)
Parameters
Type | Name | Description |
---|---|---|
SIPRequest | invite | INVITE request for a test call. |
SIPEndPoint | remoteEndPoint | Remote endpoint that sent the INVITE request. |
SipTransport | transport | SipTransport that the INVITE request was received on. |
SdpAnswerSettings | answerSettings | Settings that determine how to answer the test call INVITE requet. |
IncomingTestCallSettings | testCallSettings | Settings that determine how to handle the test call. |
Methods
| Edit this page View SourceDoTimedEvents()
Checks to see if its time to terminate the incoming test call.
Declaration
protected override void DoTimedEvents()
Overrides
| Edit this page View SourceShutdown()
This method must be called after the test call has ended or when the application is shutting down. If this method is called when the test call is still active, then the test call is terminated before shutting down.
Declaration
public override Task Shutdown()
Returns
Type | Description |
---|---|
Task |
Overrides
| Edit this page View SourceTestCallIsValid(SIPRequest)
Tests to see if an incoming test call is valid.
Declaration
public static bool TestCallIsValid(SIPRequest invite)
Parameters
Type | Name | Description |
---|---|---|
SIPRequest | invite | INVITE request. |
Returns
Type | Description |
---|---|
bool | Returns true if the INVITE request is a valid test call. Returns false if it is not. |
Events
| Edit this page View SourceTestCallEnded
Event that is fired with the incoming test call has ended.
Declaration
public event TestCallEndedDelegateType? TestCallEnded
Event Type
Type | Description |
---|---|
TestCallEndedDelegateType |