Session Initialization Protocol.

Documented in RFC 2543. [Superseded by 3261]

Variable PORT Undocumented
Variable shortHeaders Undocumented
Variable longHeaders Undocumented
Variable statusCodes Undocumented
Variable specialCases Undocumented
Function dashCapitalize Capitalize a string, making sure to treat '-' as a word separator
Function unq Undocumented
Class Via A Via is a SIP Via header, representing a segment of the path taken by the request.
Function parseViaHeader Parse a Via header.
Function parseURL Return string into URL object.
Function cleanRequestURL Clean a URL from a Request line.
Function parseAddress Return (name, uri, params) for From/To/Contact header.
Class SIPError Undocumented
Class RegistrationError Registration was not possible.
Class Message A SIP message.
Class Request A Request for a URI
Class Response A Response to a URI Request
Class MessagesParser A SIP messages parser.
Class Base Base class for SIP clients and servers.
Interface IContact A user of a registrar or proxy
Class Registration Undocumented
Interface IRegistry Allows registration of logical->physical URL mapping.
Interface ILocator Allow looking up physical address for logical URL.
Class Proxy SIP proxy.
Interface IAuthorizer No interface docstring; 2/2 methods documented
Class RegisterProxy A proxy that allows registration for a specific domain.
Class InMemoryRegistry A simplistic registry for a specific domain.
Variable _absent Undocumented
(type: int)
shortHeaders =
(type: Dict[str, str])
longHeaders =
(type: Dict)
statusCodes =
(type: Dict[int, str])
specialCases =
(type: Dict[str, str])
def dashCapitalize(s): (source)

Capitalize a string, making sure to treat '-' as a word separator

def unq(s): (source)
_absent =
def parseViaHeader(value): (source)

Parse a Via header.

ReturnsThe parsed version of this header. (type: Via)
def parseURL(url, host=None, port=None): (source)

Return string into URL object.

URIs are of form ''.

def cleanRequestURL(url): (source)

Clean a URL from a Request line.

def parseAddress(address, host=None, port=None, clean=0): (source)

Return (name, uri, params) for From/To/Contact header.

Parameterscleanremove unnecessary info, usually for From and To headers.
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.