101 int eXosip_add_authentication_info (
struct eXosip_t *excontext,
const char *username,
const char *userid,
const char *passwd,
const char *ha1,
const char *realm);
Structure for SIP Message (REQUEST and RESPONSE).
user is successfully registred.
ACK received for 200ok to INVITE.
announce a server failure
announce a server failure
announce new NOTIFY request
sdp_message_t * eXosip_get_sdp_info(osip_message_t *message)
Get local SDP body for the given message.
Structure for event description.
int did
unique id for SIP dialogs
void eXosip_event_free(eXosip_event_t *je)
Free ressource in an eXosip event.
int eXosip_default_action(struct eXosip_t *excontext, eXosip_event_t *je)
Initiate some default actions:
sdp_media_t * eXosip_get_audio_media(sdp_message_t *sdp)
Get audio media information for call.
announce a global failure
sdp_connection_t * eXosip_get_video_connection(sdp_message_t *sdp)
Get video connection information for call.
int eXosip_insubscription_automatic(struct eXosip_t *excontext, eXosip_event_t *evt)
Automatic internal handling of dialog package.
announce processing by a remote app
announce a 1xx for request.
announce a request failure
announce new incoming request.
announce a global failure
announce a 1xx for request.
sdp_connection_t * eXosip_get_connection(sdp_message_t *sdp, const char *media)
Get media connection information for call.
eXosip transfer outside of calls API
announce new incoming request.
int cid
unique id for SIP calls (but multiple dialogs!)
SDP connection definition.
int ss_status
current Subscription-State for subscription
int nid
unique id for incoming subscriptions
int eXosip_event_geteventsocket(struct eXosip_t *excontext)
This socket receive some data yhen an event happens internally.
int eXosip_remove_authentication_info(struct eXosip_t *excontext, const char *username, const char *realm)
Remove authentication credentials.
announce a request failure
int eXosip_add_authentication_info(struct eXosip_t *excontext, const char *username, const char *userid, const char *passwd, const char *ha1, const char *realm)
Add authentication credentials.
void eXosip_automatic_refresh(struct eXosip_t *excontext)
Initiate some automatic actions:
eXosip options request API
sdp_message_t * eXosip_get_remote_sdp_from_tid(struct eXosip_t *excontext, int tid)
Get remote SDP body for the latest INVITE of call.
announce new incoming SUBSCRIBE.
int sid
unique id for outgoing subscriptions
osip_message_t * request
request within current transaction
announce a server failure
announce a new INVITE within call
eXosip_event_t * eXosip_event_get(struct eXosip_t *excontext)
Wait for next eXosip event.
announce that call has been cancelled
announce no answer within the timeout
eXosip_event_t * eXosip_event_wait(struct eXosip_t *excontext, int tv_s, int tv_ms)
Wait for an eXosip event.
sdp_message_t * eXosip_get_local_sdp(struct eXosip_t *excontext, int did)
Get local SDP body for the latest INVITE of call.
eXosip_event_type
Structure for event type description.
int eXosip_generate_random(char *buf, int buf_size)
Generate random string:
sdp_message_t * eXosip_get_remote_sdp(struct eXosip_t *excontext, int did)
Get remote SDP body for the latest INVITE of call.
void eXosip_automatic_action(struct eXosip_t *excontext)
Initiate some automatic actions:
sdp_connection_t * eXosip_get_audio_connection(sdp_message_t *sdp)
Get audio connection information for call.
a BYE was received for this call
sdp_message_t * eXosip_get_previous_local_sdp(struct eXosip_t *excontext, int did)
Get local SDP body for the previous latest INVITE of call.
announce a global failure
oSIP SIP Parser additionnal Routines
osip_message_t * ack
ack within current transaction
eXosip subscribe request API
int ss_reason
current Reason status for subscription
int tid
unique id for transactions (to be used for answers)
sdp_media_t * eXosip_get_video_media(sdp_message_t *sdp)
Get video media information for call.
char textinfo[256]
text description of event
int rid
unique id for registration
osip_message_t * response
last response within current transaction
eXosip_event_type_t type
type of the event
sdp_media_t * eXosip_get_media(sdp_message_t *sdp, const char *media)
Get media information for call.
announce a request failure
enum eXosip_event_type eXosip_event_type_t
sdp_message_t * eXosip_get_local_sdp_from_tid(struct eXosip_t *excontext, int tid)
Get local SDP body for the latest INVITE of call.
void * external_reference
external reference (for calls)
int eXosip_clear_authentication_info(struct eXosip_t *excontext)
Clear all authentication credentials stored in eXosip.
eXosip publish request API