#include <server.h>
|
static const char * | getScheme (void) |
|
static void | getInterface (struct sockaddr *iface, const struct sockaddr *dest) |
|
static session * | create (voip::context_t context, voip::call_t cid, voip::did_t did, voip::tid_t tid) |
|
static session * | create (voip::context_t context, call *cr, voip::call_t cid) |
|
static void | destroy (session *s) |
|
static void | destroy (call *cr) |
|
static void | disjoin (call *cr) |
|
static void | detach (session *s) |
|
static void | clear (session *s) |
|
static void | close (session *s) |
|
static session * | access (voip::call_t cid) |
|
static char * | sipAddress (struct sockaddr_internet *addr, char *buf, const char *user=NULL, size_t size=MAX_URI_SIZE) |
|
static char * | sipPublish (struct sockaddr_internet *addr, char *buf, const char *user=NULL, size_t size=MAX_URI_SIZE) |
|
static char * | sipContact (struct sockaddr_internet *addr, char *buf, const char *user=NULL, const char *display=NULL, size_t size=MAX_URI_SIZE) |
|
static Socket::address * | getAddress (const char *uri, Socket::address *addr=NULL) |
|
static void | siplog (voip::msg_t msg) |
|
static void | enableDumping (void) |
|
static void | clearDumping (void) |
|
static void | disableDumping (void) |
|
static void | refer (session *session, voip::event_t sevent) |
|
static void | infomsg (session *session, voip::event_t sevent) |
|
static void | setDialog (session *session, voip::did_t did) |
|
static int | getDialog (session *session) |
|
static void | release (MappedCall *map) |
|
static MappedCall * | get (void) |
|
static bool | forward (stack::call *cr) |
|
static int | inviteRemote (stack::session *session, const char *uri, const char *digest=NULL) |
|
static int | inviteLocal (stack::session *session, registry::mapped *rr, destination_t dest) |
|
static timeout_t | ringTimeout (void) |
|
static timeout_t | cfnaTimeout (void) |
|
static timeout_t | resetTimeout (void) |
|
static unsigned | inviteExpires (void) |
|
static void | bind (unsigned short port) |
|
static void | bind (const char *addr) |
|
static void | setPublic (void) |
|
Definition at line 218 of file server.h.
sipwitch::stack::stack |
( |
| ) |
|
static void* sipwitch::service::callback::alloc |
( |
service * |
cfgp, |
|
|
size_t |
size |
|
) |
| |
|
inlinestaticprotectedinherited |
static void sipwitch::service::callback::bind |
( |
unsigned short |
port | ) |
|
|
inlinestaticinherited |
void callback::bind |
( |
const char * |
addr | ) |
|
|
staticinherited |
void callback::cdrlog |
( |
cdr * |
call | ) |
|
|
protectedvirtualinherited |
static timeout_t sipwitch::stack::cfnaTimeout |
( |
void |
| ) |
|
|
inlinestatic |
bool sipwitch::stack::check |
( |
void |
| ) |
|
|
privatevirtual |
void sipwitch::stack::clear |
( |
session * |
s | ) |
|
|
static |
void sipwitch::stack::clearDumping |
( |
void |
| ) |
|
|
static |
void sipwitch::stack::close |
( |
session * |
s | ) |
|
|
static |
void sipwitch::stack::destroy |
( |
session * |
s | ) |
|
|
static |
void sipwitch::stack::destroy |
( |
call * |
cr | ) |
|
|
static |
void sipwitch::stack::detach |
( |
session * |
s | ) |
|
|
static |
void sipwitch::stack::disableDumping |
( |
void |
| ) |
|
|
static |
void sipwitch::stack::disjoin |
( |
call * |
cr | ) |
|
|
static |
static char* sipwitch::service::callback::dup |
( |
service * |
cfgp, |
|
|
const char * |
s |
|
) |
| |
|
inlinestaticprotectedinherited |
void sipwitch::stack::enableDumping |
( |
void |
| ) |
|
|
static |
void callback::errlog |
( |
shell::loglevel_t |
level, |
|
|
const char * |
text |
|
) |
| |
|
protectedvirtualinherited |
Socket::address * sipwitch::stack::getAddress |
( |
const char * |
uri, |
|
|
Socket::address * |
addr = NULL |
|
) |
| |
|
static |
int sipwitch::stack::getDialog |
( |
session * |
session | ) |
|
|
static |
void sipwitch::stack::getInterface |
( |
struct sockaddr * |
iface, |
|
|
const struct sockaddr * |
dest |
|
) |
| |
|
static |
const char * sipwitch::stack::getScheme |
( |
void |
| ) |
|
|
static |
static unsigned sipwitch::stack::inviteExpires |
( |
void |
| ) |
|
|
inlinestatic |
int sipwitch::stack::inviteRemote |
( |
stack::session * |
session, |
|
|
const char * |
uri, |
|
|
const char * |
digest = NULL |
|
) |
| |
|
static |
bool sipwitch::service::callback::is_active |
( |
void |
| ) |
const |
|
inlineprotectedinherited |
static bool sipwitch::service::callback::is_configured |
( |
void |
| ) |
|
|
inlinestaticprotectedinherited |
void callback::publish |
( |
service * |
cfg | ) |
|
|
protectedvirtualinherited |
void sipwitch::stack::release |
( |
void |
| ) |
|
|
private |
void sipwitch::stack::reload |
( |
service * |
cfg | ) |
|
|
privatevirtual |
static timeout_t sipwitch::stack::resetTimeout |
( |
void |
| ) |
|
|
inlinestatic |
static timeout_t sipwitch::stack::ringTimeout |
( |
void |
| ) |
|
|
inlinestatic |
static void sipwitch::service::callback::setPublic |
( |
void |
| ) |
|
|
inlinestaticinherited |
char * sipwitch::stack::sipAddress |
( |
struct sockaddr_internet * |
addr, |
|
|
char * |
buf, |
|
|
const char * |
user = NULL , |
|
|
size_t |
size = MAX_URI_SIZE |
|
) |
| |
|
static |
static char* sipwitch::stack::sipContact |
( |
struct sockaddr_internet * |
addr, |
|
|
char * |
buf, |
|
|
const char * |
user = NULL , |
|
|
const char * |
display = NULL , |
|
|
size_t |
size = MAX_URI_SIZE |
|
) |
| |
|
static |
char * sipwitch::stack::sipPublish |
( |
struct sockaddr_internet * |
addr, |
|
|
char * |
buf, |
|
|
const char * |
user = NULL , |
|
|
size_t |
size = MAX_URI_SIZE |
|
) |
| |
|
static |
void sipwitch::stack::snapshot |
( |
FILE * |
fp | ) |
|
|
privatevirtual |
void sipwitch::stack::start |
( |
service * |
cfg | ) |
|
|
privatevirtual |
void sipwitch::stack::stop |
( |
service * |
cfg | ) |
|
|
privatevirtual |
bool sipwitch::service::callback::active_flag |
|
protectedinherited |
String sipwitch::stack::agent |
|
private |
String sipwitch::stack::anon |
|
private |
timeout_t sipwitch::stack::cfna_timer |
|
private |
unsigned callback::count = 0 |
|
staticprotectedinherited |
bool sipwitch::stack::dumping |
|
private |
const char* sipwitch::stack::iface |
|
private |
bool sipwitch::stack::incoming |
|
private |
unsigned sipwitch::stack::invite_expires |
|
private |
const char* volatile sipwitch::stack::localnames |
|
private |
bool sipwitch::stack::outgoing |
|
private |
unsigned sipwitch::stack::priority |
|
private |
const char* volatile sipwitch::stack::proxy |
|
private |
const char* volatile sipwitch::stack::published |
|
private |
timeout_t sipwitch::stack::reset_timer |
|
private |
const char* volatile sipwitch::stack::restricted |
|
private |
timeout_t sipwitch::stack::ring_timer |
|
private |
unsigned sipwitch::service::callback::runlevel |
|
protectedinherited |
LinkedObject * callback::runlevels = {NULL, NULL, NULL, NULL} |
|
staticprotectedinherited |
int sipwitch::stack::send101 |
|
private |
char callback::session_uuid |
|
staticprotectedinherited |
stack sipwitch::stack::sip |
|
static |
volatile char * callback::sip_contact = NULL |
|
staticprotectedinherited |
const char * callback::sip_domain = NULL |
|
staticprotectedinherited |
int callback::sip_family = AF_INET |
|
staticprotectedinherited |
const char * callback::sip_iface = NULL |
|
staticprotectedinherited |
unsigned short callback::sip_port = 5060 |
|
staticprotectedinherited |
unsigned callback::sip_prefix = 0 |
|
staticprotectedinherited |
int callback::sip_protocol = IPPROTO_UDP |
|
staticprotectedinherited |
bool callback::sip_public = false |
|
staticprotectedinherited |
volatile char * callback::sip_publish = NULL |
|
staticprotectedinherited |
unsigned callback::sip_range = 0 |
|
staticprotectedinherited |
const char * callback::sip_realm = "unknown" |
|
staticprotectedinherited |
const char * callback::sip_tlsca = "/etc/ssl/ca.pem" |
|
staticprotectedinherited |
const char * callback::sip_tlscert = "/etc/ssl/sipwitch.pem" |
|
staticprotectedinherited |
const char * callback::sip_tlsdev = "/dev/random" |
|
staticprotectedinherited |
const char * callback::sip_tlsdh = "/etc/ssl/dh1024.pem" |
|
staticprotectedinherited |
const char * callback::sip_tlskey = "/etc/ssl/private/sipwitch.key" |
|
staticprotectedinherited |
int callback::sip_tlsmode = 0 |
|
staticprotectedinherited |
const char * callback::sip_tlspwd = "" |
|
staticprotectedinherited |
size_t sipwitch::stack::stacksize |
|
private |
String sipwitch::stack::system |
|
private |
unsigned sipwitch::stack::threading |
|
private |
volatile int sipwitch::stack::timing |
|
private |
const char* volatile sipwitch::stack::trusted |
|
private |
The documentation for this class was generated from the following files: