Class SrcManager
Class for managing SipRec Recording Client interfaces to multiple SIPREC Recorder Servers (SRS)
Inherited Members
Namespace: SipRecClient
Assembly: SipRecClient.dll
Syntax
public class SrcManager
Constructors
| Edit this page View SourceSrcManager(SipRecSettings, MediaPortManager, X509Certificate2, string, string, string, I3LogEventClientMgr, bool)
Constructor
Declaration
public SrcManager(SipRecSettings sipRecSettings, MediaPortManager portManager, X509Certificate2 certificate, string agencyID, string agentID, string elementID, I3LogEventClientMgr i3EventClientManager, bool enableLogging)
Parameters
Type | Name | Description |
---|---|---|
SipRecSettings | sipRecSettings | Settings for all SIPREC recording clients |
MediaPortManager | portManager | Used for allocating UDP and TCP ports for media streams. |
X509Certificate2 | certificate | X.509 certificate to use for SIP over TLS (SIPS) and MSRP over TLS (MSRPS). Required even if TLS is not currently in use. |
string | agencyID | Identity of the agency that is recording and logging calls |
string | agentID | Identity of the agent or call taker that is recording and logging calls. |
string | elementID | NG9-1-1 Element Identifier of the entity recording calls. |
I3LogEventClientMgr | i3EventClientManager | Used for logging NG9-1-1 events. Required if NG9-1-1 event logging is required. If not using NG9-1-1 event logging, pass in a default I3LogEventClientMgr object that contains an empty list of I3LogEventClient objects. |
bool | enableLogging | If true then I3 event logging is enabled |
Methods
| Edit this page View SourceHandleReInvite(SrcCallParameters)
Call this method when a call that is being recorded handles a re-INVITE.
Declaration
public void HandleReInvite(SrcCallParameters srcCallParameters)
Parameters
Type | Name | Description |
---|---|---|
SrcCallParameters | srcCallParameters | Parameters for the call |
Shutdown()
Shuts down the interface to each SIPREC recording server and releases all connections and resources.
Declaration
public Task Shutdown()
Returns
Type | Description |
---|---|
Task |
Start()
Start the interface to each SIPREC recording server
Declaration
public void Start()
StartRecording(SrcCallParameters)
Starts a recording session for each recording server for a new call.
Declaration
public void StartRecording(SrcCallParameters srcCallParameters)
Parameters
Type | Name | Description |
---|---|---|
SrcCallParameters | srcCallParameters | Parameters for the call |
StopRecording(string)
Stops the recording session for each recorder for a call.
Declaration
public void StopRecording(string strCallId)
Parameters
Type | Name | Description |
---|---|---|
string | strCallId | Call-ID for the call being recorded. |
Events
| Edit this page View SourceSrsStatusChanged
This event is fired when the status of one of the SIP Recording Servers changes.
Declaration
public event SrsStatusDelegate? SrsStatusChanged
Event Type
Type | Description |
---|---|
SrsStatusDelegate |