| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package protocols :: Module sip |
|
Session Initialization Protocol.
Documented in RFC 2543.| Classes | |
|---|---|
Base |
Base class for SIP clients and servers. |
ILocator |
Allow looking up physical address for logical URL. |
InMemoryRegistry |
A simplistic registry for a specific domain. |
IRegistry |
Allows registration of logical->physical URL mapping. |
Message |
A SIP message. |
MessagesParser |
A SIP messages parser. |
Proxy |
SIP proxy. |
RegisterProxy |
A proxy that allows registration for a specific domain. |
Request |
|
Response |
|
URL |
A SIP URL. |
Via |
A SIP Via header. |
| Exceptions | |
|---|---|
LookupError |
Error doing lookup. |
RegistrationError |
Registration was not possible. |
| Function Summary | |
|---|---|
Clean a URL from a Request line. | |
Return (name, uri, params) for From/To/Contact header. | |
Return string into URL object. | |
Parse a Via header, returning Via class instance. | |
| Variable Summary | |
|---|---|
dict |
longHeaders = {'c': 'content-type', 'e': 'content-encodi...
|
dict |
shortHeaders = {'to': 't', 'content-length': 'l', 'conta...
|
dict |
statusCodes = {180: 'Ringing', 181: 'Call Is Being Forwa...
|
| Function Details |
|---|
cleanRequestURL(url)Clean a URL from a Request line. |
parseAddress(address, clean=0)Return (name, uri, params) for From/To/Contact header.
|
parseURL(url)Return string into URL object. URIs are of of form 'sip:user@example.com'. |
parseViaHeader(value)Parse a Via header, returning Via class instance. |
| Variable Details |
|---|
longHeaders
|
shortHeaders
|
statusCodes
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Sep 13 04:20:47 2003 | http://epydoc.sf.net |