• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • SipLib.Body
      • BodyParser
      • ContentTypes
      • MessageContentsContainer
      • MultipartBinaryBodyBuilder
      • SipBodyBuilder
    • SipLib.Channels
      • AcceptCertificateDelegate
      • AcceptConnectionDelegate
      • DscpSettings
      • LogInvalidSipMessageDelegate
      • LogSipRequestDelegate
      • LogSipResponseDelegate
      • Qos
      • SIPChannel
      • SIPConnection
      • SIPConnectionDisconnectedDelegate
      • SIPConnectionsEnum
      • SIPMessageReceivedDelegate
      • SIPTCPChannel
      • SIPTLSChannel
      • SIPUDPChannel
      • SipConnectionFailedDelegate
      • SipRequestReceivedDelegate
      • SipResponseReceivedDelegate
      • SipTransactionCompleteDelegate
      • WindowsQos
    • SipLib.Collections
      • ThreadSafeGenericList<T>
    • SipLib.Core
      • ByteBufferInfo
      • CallProperties
      • Crypto
      • HTTPDigest
      • IPSocket
      • SIPAuthenticationHeader
      • SIPAuthorisationDigest
      • SIPAuthorisationHeadersEnum
      • SIPCallInfoHeader
      • SIPConstants
      • SIPContactHeader
      • SIPEndPoint
      • SIPEscape
      • SIPFrag
      • SIPFromHeader
      • SIPGeolocationHeader
      • SIPHeader
      • SIPHeaders
      • SIPMessage
      • SIPMessageTypesEnum
      • SIPMethods
      • SIPMethodsEnum
      • SIPPaiHeader
      • SIPParameters
      • SIPPpiHeader
      • SIPProtocolsEnum
      • SIPProtocolsType
      • SIPReplacesParameter
      • SIPRequest
      • SIPResponse
      • SIPResponseStatusCodes
      • SIPResponseStatusCodesEnum
      • SIPRoute
      • SIPRouteSet
      • SIPSchemesEnum
      • SIPSchemesType
      • SIPToHeader
      • SIPURI
      • SIPUserField
      • SIPValidationException
      • SIPValidationFieldsEnum
      • SIPViaHeader
      • SIPViaSet
      • SipUtils
      • TypeExtensions
    • SipLib.Dtls
      • AlertLevelsEnum
      • AlertTypesEnum
      • DtlsClientUdpTransport
      • DtlsServerUdpTransport
      • DtlsSrtpClient
      • DtlsSrtpServer
      • DtlsSrtpTransport
      • DtlsUtils
      • IDtlsSrtpPeer
      • IPacketTransformer
      • ITransformEngine
      • NetConvert
      • RTCDtlsFingerprint
      • RawPacket
      • SrtcpCryptoContext
      • SrtpPolicy
      • SrtpTransformEngine
      • SrtpTransformer
    • SipLib.Logging
      • SipLogger
    • SipLib.Media
      • ALawDecoder
      • ALawEncoder
      • AudioDestination
      • AudioDestinationDelegate
      • AudioSampleData
      • AudioSamplesReadyDelegate
      • AudioSource
      • Band
      • DtmfDigitReceivedDelegate
      • FileAudioSource
      • G722Codec
      • G722CodecState
      • G722Decoder
      • G722Encoder
      • G722Flags
      • HighResolutionTimer
      • HighResolutionTimerDelegate
      • IAudioDecoder
      • IAudioEncoder
      • IAudioSampleSource
      • MediaPortManager
      • MediaPortSettings
      • MediaTypes
      • MsrpEncryptionEnum
      • MuLawDecoder
      • MuLawEncoder
      • PcmaDecoder
      • PcmaEncoder
      • PcmuDecoder
      • PcmuEncoder
      • PortRange
      • RtpEncryptionEnum
    • SipLib.Msrp
      • ByteRangeHeader
      • CpimMessage
      • MsrpCompletionStatus
      • MsrpConnection
      • MsrpConnectionStatusDelegate
      • MsrpMessage
      • MsrpMessageDeliveryFailedDelegate
      • MsrpMessageReceivedDelegate
      • MsrpMessageSentDelegate
      • MsrpMessageType
      • MsrpPathHeader
      • MsrpStatusHeader
      • MsrpStreamParser
      • MsrpTextMessageReceivedDelegate
      • MsrpUri
      • ReportReceivedDelegate
    • SipLib.Network
      • IpUtils
    • SipLib.RealTimeText
      • RttCharactersReceivedDelegate
      • RttParameters
      • RttReceiver
      • RttRtpSendDelegate
      • RttSender
    • SipLib.Rtp
      • ByePacket
      • DtlsHandshakeFailedDelegate
      • DtmfEventEnum
      • DtmfPacket
      • JitterStatistics
      • MeanOpinionScore
      • ReceiveStatisticsReadyDelegate
      • ReceiverReport
      • ReportBlock
      • RtcpCompoundPacket
      • RtcpHeader
      • RtcpPacketReceivedDelegate
      • RtcpPacketSentDelegate
      • RtcpPacketType
      • RtpChannel
      • RtpPacket
      • RtpPacketReceivedDelegate
      • RtpPacketSentDelegate
      • RtpReceiveStatistics
      • RtpUtils
      • SdesChunk
      • SdesItem
      • SdesItemType
      • SdesPacket
      • SenderInfo
      • SenderReport
    • SipLib.RtpCrypto
      • AesFunctions
      • CryptoAttribute
      • CryptoContext
      • CryptoSuites
      • InlineParams
      • MasterKeys
      • RocVals
      • RocValues
      • SRtpErrorsEnum
      • SRtpUtils
      • SessionKeys
      • SrtpDecryptor
      • SrtpEncryptor
      • SrtpLabelItem
      • SrtpTransformBase
    • SipLib.Sdp
      • ConnectionData
      • MediaDescription
      • MediaDirectionEnum
      • Origin
      • RtpMapAttribute
      • Sdp
      • SdpAnswerSettings
      • SdpAttribute
      • SdpUtils
      • SetupType
    • SipLib.Threading
      • QueuedActionWorkerTask
    • SipLib.Transactions
      • ClientInviteTransaction
      • ClientNonInviteTransaction
      • ServerInviteTransaction
      • ServerNonInviteTransaction
      • SipTimers
      • SipTransactionBase
      • SipTransport
      • TransactionRequestReceivedDelegate
      • TransactionResponseReceivedDelegate
      • TransactionStateEnum
      • TransactionTerminationReasonEnum
    • SipLib.Video
      • H264Depacketiser
      • H264Packetiser
      • H264Packetiser.H264Nal
      • H264RtpReceiver
      • H264RtpSender
      • RtpSendDelegate
      • RtpVP8Header
      • VP8RtpReceiver
      • VP8RtpSender
      • VideoRtpReceiver
      • VideoRtpSender

    Class SIPConstants

    Defines various constants used for SIP

    Inheritance
    object
    SIPConstants
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SipLib.Core
    Assembly: SipLib.dll
    Syntax
    public class SIPConstants

    Fields

    | Edit this page View Source

    CRLF

    SIP message line terminator

    Declaration
    public const string CRLF = "\r\n"
    Field Value
    Type Description
    string
    | Edit this page View Source

    DEFAULT_MAX_FORWARDS

    Default value for the Max-Forwards SIP header

    Declaration
    public const int DEFAULT_MAX_FORWARDS = 70
    Field Value
    Type Description
    int
    | Edit this page View Source

    DEFAULT_SIPS_WEBSOCKET_PORT

    Default SIP port number for the secure Web Sockets transport

    Declaration
    public const ushort DEFAULT_SIPS_WEBSOCKET_PORT = 443
    Field Value
    Type Description
    ushort
    | Edit this page View Source

    DEFAULT_SIP_PORT

    Default SIP port number for UDP and TCP

    Declaration
    public const int DEFAULT_SIP_PORT = 5060
    Field Value
    Type Description
    int
    | Edit this page View Source

    DEFAULT_SIP_TLS_PORT

    Default SIP port number for TLS

    Declaration
    public const int DEFAULT_SIP_TLS_PORT = 5061
    Field Value
    Type Description
    int
    | Edit this page View Source

    DEFAULT_SIP_WEBSOCKET_PORT

    Default SIP port number for the Web Sockets transport

    Declaration
    public const ushort DEFAULT_SIP_WEBSOCKET_PORT = 80
    Field Value
    Type Description
    ushort
    | Edit this page View Source

    HEADER_DELIMITER_CHAR

    SIP header delimiter character

    Declaration
    public const char HEADER_DELIMITER_CHAR = ':'
    Field Value
    Type Description
    char
    | Edit this page View Source

    SIP_BRANCH_MAGICCOOKIE

    Magic cookie for the branch parameter in a Via header

    Declaration
    public const string SIP_BRANCH_MAGICCOOKIE = "z9hG4bK"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SIP_DEFAULT_FROMURI

    Default URI for the From header

    Declaration
    public const string SIP_DEFAULT_FROMURI = "sip:thisis@anonymous.invalid"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SIP_FULLVERSION_STRING

    SIP full version string

    Declaration
    public const string SIP_FULLVERSION_STRING = "SIP/2.0"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SIP_LOOSEROUTER_PARAMETER

    SIP loose routing parameter

    Declaration
    public const string SIP_LOOSEROUTER_PARAMETER = "lr"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SIP_MAJOR_VERSION

    SIP major version

    Declaration
    public const int SIP_MAJOR_VERSION = 2
    Field Value
    Type Description
    int
    | Edit this page View Source

    SIP_MAXIMUM_RECEIVE_LENGTH

    Any SIP messages over this size will generate an error

    Declaration
    public const int SIP_MAXIMUM_RECEIVE_LENGTH = 200000
    Field Value
    Type Description
    int
    | Edit this page View Source

    SIP_MINOR_VERSION

    SIP minor version

    Declaration
    public const int SIP_MINOR_VERSION = 0
    Field Value
    Type Description
    int
    | Edit this page View Source

    SIP_REGISTER_REMOVEALL

    Remove all registrations

    Declaration
    public const string SIP_REGISTER_REMOVEALL = "*"
    Field Value
    Type Description
    string
    | Edit this page View Source

    SIP_VERSION_STRING

    SIP protocol identifier

    Declaration
    public const string SIP_VERSION_STRING = "SIP"
    Field Value
    Type Description
    string

    Methods

    | Edit this page View Source

    GetDefaultPort(SIPProtocolsEnum)

    Gets the default SIP port for the protocol.

    Declaration
    public static int GetDefaultPort(SIPProtocolsEnum protocol)
    Parameters
    Type Name Description
    SIPProtocolsEnum protocol

    The transport layer protocol to get the port for.

    Returns
    Type Description
    int

    The default port to use.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX