|
static void | lock (context_t ctx) |
|
static void | unlock (context_t ctx) |
|
static bool | make_request_message (context_t ctx, const char *method, const char *to, const char *from, msg_t *msg, const char *route=NULL) |
|
static bool | make_response_message (context_t ctx, tid_t tid, int status, msg_t *msg) |
|
static void | send_request_message (context_t ctx, msg_t msg) |
|
static void | send_response_message (context_t ctx, tid_t tid, int status, msg_t msg=NULL) |
|
static bool | make_options_response (context_t ctx, tid_t tid, int status, msg_t *msg) |
|
static void | send_options_response (context_t ctx, tid_t tid, int status, msg_t msg=NULL) |
|
static bool | make_invite_request (context_t ctx, const char *to, const char *from, const char *subject, msg_t *msg, const char *route=NULL) |
|
static call_t | send_invite_request (context_t ctx, msg_t msg) |
|
static bool | make_answer_response (context_t ctx, tid_t tid, int status, msg_t *msg) |
|
static void | send_answer_response (context_t ctx, tid_t tid, int status, msg_t msg=NULL) |
|
static void | release_call (context_t ctx, call_t cid, did_t did) |
|
static bool | make_dialog_request (context_t ctx, did_t did, const char *method, msg_t *msg) |
|
static bool | make_dialog_notify (context_t ctx, did_t did, int status, msg_t *msg) |
|
static bool | make_dialog_update (context_t ctx, did_t did, msg_t *msg) |
|
static bool | make_dialog_refer (context_t ctx, did_t did, const char *to, msg_t *msg) |
|
static bool | make_dialog_info (context_t ctx, did_t did, msg_t *msg) |
|
static bool | make_dialog_options (context_t ctx, did_t did, msg_t *msg) |
|
static void | send_dialog_message (context_t ctx, did_t did, msg_t msg) |
|
static bool | make_ack_message (context_t ctx, did_t did, msg_t *msg) |
|
static void | send_ack_message (context_t ctx, did_t did, msg_t msg=NULL) |
|
static bool | make_prack_message (context_t ctx, tid_t tid, msg_t *msg) |
|
static void | send_prack_message (context_t ctx, tid_t tid, msg_t msg) |
|
static reg_t | make_registry_request (context_t ctx, const char *uri, const char *s, const char *c, unsigned exp, msg_t *msg) |
|
static void | send_registry_request (context_t ctx, reg_t rid, msg_t msg) |
|
static bool | release_registry (context_t ctx, reg_t rid) |
|
static void | add_authentication (context_t ctx, const char *user, const char *secret, const char *realm, bool automatic=false) |
|
static void | default_action (context_t ctx, event_t ev) |
|
static void | automatic_action (context_t ctx) |
|
static bool | publish (context_t ctx, const char *uri, const char *contact, const char *event, const char *duration, const char *type, const char *body) |
|
static event_t | get_event (context_t ctx, timeout_t timeout) |
|
static void | call_reference (context_t ctx, call_t cid, void *route) |
|
static void | free_message_request (context_t ctx, voip::msg_t msg) |
|
static void | release_event (event_t ev) |
|
static void | option (context_t ctx, int opt, const void *value) |
|
static bool | listen (context_t ctx, int proto=IPPROTO_UDP, const char *iface=NULL, unsigned port=5060, bool tls=false) |
|
static void | create (context_t *ctx, const char *agent, int family=AF_INET) |
|
static void | release (context_t ctx) |
|
static void | show (msg_t msg) |
|
static void | header (msg_t msg, const char *key, const char *value) |
|
static void | attach (msg_t msg, const char *type, const char *body) |
|
static void | attach (msg_t msg, const char *type, const char *body, size_t size) |
|
static void | server_allows (voip::msg_t msg) |
|
static void | server_accepts (voip::msg_t msg) |
|
static void | server_supports (voip::msg_t msg, const char *txt) |
|
static void | server_requires (voip::msg_t msg, const char *txt) |
|
Definition at line 45 of file voip.h.