eX_call.h(3)
π¦ eX_call.h β the eXosip call API, bestie edition
Okay so this is the eX_call.h(3) page from the libeXosip2 manual, and ngl it's kind of a big deal if you're doing SIP call stuff. Sit down, grab a strawberry drink π, and let's get into it.
β¨ NAME β¨
eX_call.h β the eXosip call API. That's it, that's the vibe. π
πΈ SYNOPSIS πΈ
First, the imports, because you literally cannot function without them:
#include <osipparser2/osip_parser.h>
#include <osipparser2/sdp_message.h>
#include <time.h>
π Functions
Here's the whole squad, no cap β every single one, signatures exactly as they are:
int eXosip_call_set_reference (struct eXosip_t *excontext, int id, void
*reference)
void * eXosip_call_get_reference (struct eXosip_t *excontext, int cid)
int eXosip_call_build_initial_invite (struct eXosip_t *excontext,
osip_message_t **invite, const char *to, const char *from, const
char *route, const char *subject)
int eXosip_call_send_initial_invite (struct eXosip_t *excontext,
osip_message_t *invite)
int eXosip_call_build_request (struct eXosip_t *excontext, int did,
const char *method, osip_message_t **request)
int eXosip_call_build_ack (struct eXosip_t *excontext, int tid,
osip_message_t **ack)
int eXosip_call_send_ack (struct eXosip_t *excontext, int tid,
osip_message_t *ack)
int eXosip_call_build_refer (struct eXosip_t *excontext, int did, const
char *refer_to, osip_message_t **request)
int eXosip_call_build_info (struct eXosip_t *excontext, int did,
osip_message_t **request)
int eXosip_call_build_options (struct eXosip_t *excontext, int did,
osip_message_t **request)
int eXosip_call_build_update (struct eXosip_t *excontext, int did,
osip_message_t **request)
int eXosip_call_build_notify (struct eXosip_t *excontext, int did, int
subscription_status, osip_message_t **request)
int eXosip_call_send_request (struct eXosip_t *excontext, int did,
osip_message_t *request)
int eXosip_call_build_answer (struct eXosip_t *excontext, int tid, int
status, osip_message_t **answer)
int eXosip_call_send_answer (struct eXosip_t *excontext, int tid, int
status, osip_message_t *answer)
int eXosip_call_terminate (struct eXosip_t *excontext, int cid, int did)
int eXosip_call_terminate_with_reason (struct eXosip_t *excontext, int
cid, int did, const char *reason)
int eXosip_call_terminate_with_header (struct eXosip_t *excontext, int
cid, int did, const char *header_name, const char *header_value)
int eXosip_call_build_prack (struct eXosip_t *excontext, int tid,
osip_message_t *response1xx, osip_message_t **prack)
int eXosip_call_send_prack (struct eXosip_t *excontext, int tid,
osip_message_t *prack)
int eXosip_call_get_referto (struct eXosip_t *excontext, int did, char
*refer_to, size_t refer_to_len)
int eXosip_call_find_by_replaces (struct eXosip_t *excontext, char
*replaces)
Like, look at that list. Twenty-two functions. Slay. π
π Detailed Description π
eXosip call API β the whole point.
This file gives you the API you need to control calls. It's giving "backstage pass to the entire call lifecycle", honestly. You can use it to:
- build initial invite. π«Ά
- send initial invite. β¨
- build request within the call. π
- send request within the call. π¦
And bestie, this API can be used to build the following messages:
INVITE, INFO, OPTIONS, REFER, UPDATE, NOTIFY
That's the roster. Those are the six. Periodt. π₯
π Author π
Generated automatically by Doxygen for libeXosip2 from the source code. (So like, not a human author β the robots did this one. Iconic of them, honestly. π€π)
Not me ending the page β but yeah, that's the whole thing. Go build some invites. π
Version 5.3.0 β dated Thu May 18 2023 β straight from the libeXosip2 source code. Mwah, bye bestie! πππ¦
π¦ where this page comes from
- epel 9: libeXosip2-devel 5.3.0-2.el9 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms