Ensures that specified request has matching server transaction. If server transaction doesn't exist,
it will be created, otherwise existing transaction will be returned.

C# | Visual Basic | Visual C++ | F# |
public SIP_ServerTransaction EnsureServerTransaction( SIP_Flow flow, SIP_Request request )
Public Function EnsureServerTransaction ( flow As SIP_Flow, request As SIP_Request ) As SIP_ServerTransaction
public: SIP_ServerTransaction^ EnsureServerTransaction( SIP_Flow^ flow, SIP_Request^ request )
member EnsureServerTransaction : flow : SIP_Flow * request : SIP_Request -> SIP_ServerTransaction

- flow (SIP_Flow)
- SIP data flow which is used to receive request.
- request (SIP_Request)
- SIP request.

SIP_ServerTransaction
Returns matching transaction.
Returns matching transaction.

Exception | Condition |
---|---|
ArgumentNullException | Is raised when flow or request is null. |
InvalidOperationException | Is raised when request.Method is ACK request. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119