eXosip2_options(3)

πŸ“¦ version 5.3.0, in epel 9

eXosip2_options β€” the OPTIONS glow-up πŸ¦‹

okay bestie, welcome to eXosip2_options, brought to you by libeXosip2 πŸ’… this page is all about OPTIONS and UA capabilities management, and yes it’s giving very β€œsmall page, very important SIP business” energy. no cap.


✨ NAME ✨

eXosip2_options β€” eXosip2 OPTIONS and UA capabilities Management 🌸


πŸŽ€ SYNOPSIS πŸŽ€

Functions

okay so here are the function signatures, exactly as they are, no edits, no vibes-based rewriting of the code itself:

int eXosip_options_build_request (struct eXosip_t *excontext,
    osip_message_t **options, const char *to, const char *from, const
    char *route)
int eXosip_options_send_request (struct eXosip_t *excontext,
    osip_message_t *options)
int eXosip_options_build_answer (struct eXosip_t *excontext, int tid,
    int status, osip_message_t **answer)
int eXosip_options_send_answer (struct eXosip_t *excontext, int tid, int
    status, osip_message_t *answer)

🫧 Detailed Description 🫧

okay so this section is literally empty in the original β€” no extra details, no secret lore, just a blank spot and main character energy. moving on πŸ’–


πŸ’… Function Documentation πŸ’…

✨ eXosip_options_build_request ✨

Build a default OPTIONS message. yes bestie, it’s doing exactly what it says on the label πŸŽ€

int eXosip_options_build_request (struct eXosip_t *excontext,
    osip_message_t **options, const char *to, const char *from, const
    char *route)

Parameters

  • excontext β€” eXosip_t instance.
  • options β€” Pointer for the SIP request to build.
  • to β€” SIP url for callee.
  • from β€” SIP url for caller.
  • route β€” Route header for INVITE. (optional)

🌈 eXosip_options_send_request 🌈

Send an OPTIONS request. slay, deliver that message πŸ’Œ

int eXosip_options_send_request (struct eXosip_t *excontext,
    osip_message_t *options)

Parameters

  • excontext β€” eXosip_t instance.
  • options β€” SIP OPTIONS message to send.

πŸ¦‹ eXosip_options_build_answer πŸ¦‹

Build answer for an OPTIONS request. construction era, but make it SIP ✨

int eXosip_options_build_answer (struct eXosip_t *excontext, int tid,
    int status, osip_message_t **answer)

Parameters

  • excontext β€” eXosip_t instance.
  • tid β€” id of OPTIONS transaction.
  • status β€” status for SIP answer to build.
  • answer β€” The SIP answer to build.

πŸ’œ eXosip_options_send_answer πŸ’œ

Send answer for an OPTIONS request. reply era, bestie πŸ’¬

int eXosip_options_send_answer (struct eXosip_t *excontext, int tid, int
    status, osip_message_t *answer)

Parameters

  • excontext β€” eXosip_t instance.
  • tid β€” id of OPTIONS transaction.
  • status β€” status for SIP answer to send.
  • answer β€” The SIP answer to send. (default will be sent if NULL)

πŸ‘‘ Author πŸ‘‘

this page was generated automatically by Doxygen for libeXosip2 from the source code β€” not hand-written, it’s giving autogenerated icon behavior πŸ’«


πŸ’– and that’s the whole page, bestie! Version 5.3.0, dated Thu May 18 2023, generated automatically by Doxygen for libeXosip2 from the source code. bye bestie! πŸŽ€

πŸ“¦ where this page comes from