twisted.protocols.sip module documentationtwisted.protocols
          View Source
          
        
      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. | 
| Class | URL | A SIP URL. | 
| 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 | 
Parse a Via header.
| Returns | The parsed version of this header. (type: Via) | |
Return string into URL object.
URIs are of form 'sip:user@example.com'.
Return (name, uri, params) for From/To/Contact header.
| Parameters | clean | remove unnecessary info, usually for From and To headers. |