libeXosip2
5.3.0
|
eXosip API More...
#include <eXosip2/eX_setup.h>
#include <eXosip2/eX_register.h>
#include <eXosip2/eX_call.h>
#include <eXosip2/eX_options.h>
#include <eXosip2/eX_subscribe.h>
#include <eXosip2/eX_message.h>
#include <eXosip2/eX_publish.h>
#include <osipparser2/osip_parser.h>
#include <osipparser2/sdp_message.h>
#include <time.h>
Data Structures | |
struct | eXosip_event |
Typedefs | |
typedef struct eXosip_event | eXosip_event_t |
Functions | |
int | eXosip_add_authentication_info (struct eXosip_t *excontext, const char *username, const char *userid, const char *passwd, const char *ha1, const char *realm) |
int | eXosip_remove_authentication_info (struct eXosip_t *excontext, const char *username, const char *realm) |
int | eXosip_clear_authentication_info (struct eXosip_t *excontext) |
int | eXosip_default_action (struct eXosip_t *excontext, eXosip_event_t *je) |
void | eXosip_automatic_action (struct eXosip_t *excontext) |
int | eXosip_insubscription_automatic (struct eXosip_t *excontext, eXosip_event_t *evt) |
int | eXosip_generate_random (char *buf, int buf_size) |
int | eXosip_hexa_generate_random (char *buf, int buf_size, char *str1, char *str2, char *str3) |
int | eXosip_byte_generate_random (char *buf, int buf_size) |
sdp_message_t * | eXosip_get_remote_sdp (struct eXosip_t *excontext, int did) |
sdp_message_t * | eXosip_get_local_sdp (struct eXosip_t *excontext, int did) |
sdp_message_t * | eXosip_get_previous_local_sdp (struct eXosip_t *excontext, int did) |
sdp_message_t * | eXosip_get_remote_sdp_from_tid (struct eXosip_t *excontext, int tid) |
sdp_message_t * | eXosip_get_local_sdp_from_tid (struct eXosip_t *excontext, int tid) |
sdp_message_t * | eXosip_get_sdp_info (osip_message_t *message) |
sdp_connection_t * | eXosip_get_audio_connection (sdp_message_t *sdp) |
sdp_media_t * | eXosip_get_audio_media (sdp_message_t *sdp) |
sdp_connection_t * | eXosip_get_video_connection (sdp_message_t *sdp) |
sdp_media_t * | eXosip_get_video_media (sdp_message_t *sdp) |
sdp_connection_t * | eXosip_get_connection (sdp_message_t *sdp, const char *media) |
sdp_media_t * | eXosip_get_media (sdp_message_t *sdp, const char *media) |
void | eXosip_event_free (eXosip_event_t *je) |
eXosip_event_t * | eXosip_event_wait (struct eXosip_t *excontext, int tv_s, int tv_ms) |
eXosip_event_t * | eXosip_event_get (struct eXosip_t *excontext) |
int | eXosip_event_geteventsocket (struct eXosip_t *excontext) |
eXosip API
eXosip is a high layer library for rfc3261: the SIP protocol. It offers a simple API to make it easy to use. eXosip2 offers great flexibility for implementing SIP endpoint like:
If you need to implement proxy or complex SIP applications, you should consider using osip instead.
Here are the eXosip capabilities:
REGISTER to handle registration. INVITE/BYE to start/stop VoIP sessions. INFO to send DTMF within a VoIP sessions. OPTIONS to simulate VoIP sessions. re-INVITE to modify VoIP sessions. REFER/NOTIFY to transfer calls. MESSAGE to send Instant Message. SUBSCRIBE/REFER/NOTIFY to handle presence capabilities. any other request to handle what you want (outside dialogs)!
<P<blockquote>
Structure for event description.