Show / Hide Table of Contents

Class SIPPacketMangler

Inheritance
System.Object
SIPPacketMangler
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)
System.Object.ToString()
Namespace: SIPSorcery.SIP.App
Assembly: SIPSorcery.dll
Syntax
public class SIPPacketMangler

Methods

| Improve this Doc View Source

GetRequestIPAddress(SIPRequest)

Declaration
public static IPAddress GetRequestIPAddress(SIPRequest sipRequest)
Parameters
Type Name Description
SIPRequest sipRequest
Returns
Type Description
System.Net.IPAddress
| Improve this Doc View Source

MangleSDP(String, String, out Boolean)

Declaration
public static string MangleSDP(string sdpBody, string publicIPAddress, out bool wasMangled)
Parameters
Type Name Description
System.String sdpBody
System.String publicIPAddress
System.Boolean wasMangled
Returns
Type Description
System.String
| Improve this Doc View Source

MangleSIPRequest(SIPRequest)

Mangles private IP addresses in a SIP request replacing them with the IP address the packet was received on.

Declaration
public static void MangleSIPRequest(SIPRequest sipRequest)
Parameters
Type Name Description
SIPRequest sipRequest

The unmangled SIP request.

| Improve this Doc View Source

MangleSIPResponse(SIPResponse, SIPEndPoint)

Mangles private IP addresses in a SIP response replacing them with the IP address the packet was received on.

Declaration
public static void MangleSIPResponse(SIPResponse sipResponse, SIPEndPoint remoteEndPoint)
Parameters
Type Name Description
SIPResponse sipResponse

The unmangled SIP response.

SIPEndPoint remoteEndPoint

Extension Methods

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