Represents SIP server transactions.
The ServerTransactionclass defines a SIP server transaction object located on a SIP proxy or user agent server (UAS).
A ServerTransactioninstance is generated as the ServerTransaction property, available on the RequestReceivedEventArgs object dispatched to a specific method by the MSPL script filter. (For more information, see the Dispatch MSPL built-in function.) There are no public constructors for this class.
The request being serviced by this server transaction can be forwarded by calling CreateBranch () () () () , which will create an associated ClientTransaction . To fork a message, CreateBranchcan be called for each fork. The collection of branches for this server transaction can be obtained as a BranchCollection object by referencing the Branches property. Requests are sent by calling SendRequest(Request) on each branch.
To send a response for the request the server transaction was created to service, call with the Response object created by calling CreateResponse(Int32) on the Request object available in the Request property.
The ServerTransactionclass is derived from the Transaction class.
Assembly: ServerAgent(in ServerAgent.dll)
Server transactions are used by UASs and proxies.