eX_call.h(3)

πŸ“¦ version 5.3.0, in epel 9

πŸ¦‹ 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