Show / Hide Table of Contents

Class SIPRouteSet

Inheritance
System.Object
SIPRouteSet
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIPSorcery.SIP
Assembly: SIPSorcery.dll
Syntax
public class SIPRouteSet

Properties

| Improve this Doc View Source

BottomRoute

Declaration
public SIPRoute BottomRoute { get; }
Property Value
Type Description
SIPRoute
| Improve this Doc View Source

Length

Declaration
public int Length { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

TopRoute

Declaration
public SIPRoute TopRoute { get; }
Property Value
Type Description
SIPRoute

Methods

| Improve this Doc View Source

AddBottomRoute(SIPRoute)

Declaration
public void AddBottomRoute(SIPRoute route)
Parameters
Type Name Description
SIPRoute route
| Improve this Doc View Source

GetAt(Int32)

Declaration
public SIPRoute GetAt(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
SIPRoute
| Improve this Doc View Source

ParseSIPRouteSet(String)

Declaration
public static SIPRouteSet ParseSIPRouteSet(string routeSet)
Parameters
Type Name Description
System.String routeSet
Returns
Type Description
SIPRouteSet
| Improve this Doc View Source

PopRoute()

Declaration
public SIPRoute PopRoute()
Returns
Type Description
SIPRoute
| Improve this Doc View Source

PushRoute(SIPRoute)

Declaration
public void PushRoute(SIPRoute route)
Parameters
Type Name Description
SIPRoute route
| Improve this Doc View Source

PushRoute(IPEndPoint, SIPSchemesEnum, SIPProtocolsEnum)

Declaration
public void PushRoute(IPEndPoint socket, SIPSchemesEnum scheme, SIPProtocolsEnum protcol)
Parameters
Type Name Description
System.Net.IPEndPoint socket
SIPSchemesEnum scheme
SIPProtocolsEnum protcol
| Improve this Doc View Source

PushRoute(String)

Declaration
public void PushRoute(string host)
Parameters
Type Name Description
System.String host
| Improve this Doc View Source

RemoveBottomRoute()

Declaration
public void RemoveBottomRoute()
| Improve this Doc View Source

ReplaceRoute(String, String)

If a route set is travelling from the public side of a proxy to the private side it can be required that the Record-Route set is modified.

Declaration
public void ReplaceRoute(string origSocket, string replacementSocket)
Parameters
Type Name Description
System.String origSocket

The socket string in the original route set that needs to be replace.

System.String replacementSocket

The socket string the original route is being replaced with.

| Improve this Doc View Source

Reversed()

Declaration
public SIPRouteSet Reversed()
Returns
Type Description
SIPRouteSet
| Improve this Doc View Source

SetAt(Int32, SIPRoute)

Declaration
public void SetAt(int index, SIPRoute sipRoute)
Parameters
Type Name Description
System.Int32 index
SIPRoute sipRoute
| Improve this Doc View Source

ToString()

Declaration
public string ToString()
Returns
Type Description
System.String

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX