eXosip2_registration(3)

πŸ“¦ version 5.3.0, in epel 9

πŸ’– eXosip2_registration πŸ’–

okay so bestie, welcome to the libeXosip2 corner of the world ✨ this is the page for eXosip2_registration β€” aka eXosip2 REGISTER and Registration Management. yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together 🫢


✨ NAME ✨

eXosip2_registration β€” eXosip2 REGISTER and Registration Management 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

Functions

int eXosip_register_build_initial_register (struct eXosip_t *excontext, const char *from, const char *proxy, const char *contact, int expires, osip_message_t **reg)
int eXosip_register_build_initial_register_withqvalue (struct eXosip_t *excontext, const char *from, const char *proxy, const char *contact, int expires, const char *qvalue, osip_message_t **reg)
int eXosip_register_build_register (struct eXosip_t *excontext, int rid, int expires, osip_message_t **reg)
int eXosip_register_send_register (struct eXosip_t *excontext, int rid, osip_message_t *reg)
int eXosip_register_remove (struct eXosip_t *excontext, int rid)

πŸŽ€ Detailed Description πŸŽ€

literally the whole thing πŸ’… this page covers the REGISTER flow in eXosip2 β€” building requests, sending them, and cleaning up registrations. keep scrolling, the function docs are right below πŸ‘‡

πŸ‘‘ Function Documentation πŸ‘‘

int eXosip_register_build_initial_register (...) ⭐

Build initial REGISTER request.

this is your first ever REGISTER, the main character entrance ✨

Parameters

  • excontext β€” eXosip_t instance. (your context bestie)
  • from β€” SIP url for caller.
  • proxy β€” Proxy used for registration.
  • contact β€” Contact address. (optional)
  • expires β€” The expires value for registration.
  • reg β€” The SIP request to build.

int eXosip_register_build_initial_register_withqvalue (...) πŸ¦‹

Build initial REGISTER request with qvalue for contact.

same as above but now we're being fancy and specifying the qvalue for the contact πŸ’…

Parameters

  • excontext β€” eXosip_t instance.
  • from β€” SIP url for caller.
  • proxy β€” Proxy used for registration.
  • contact β€” Contact address. (optional)
  • expires β€” The expires value for registration.
  • qvalue β€” The qvalue value for contact header.
  • reg β€” The SIP request to build.

int eXosip_register_build_register (...) 🌈

Build a new REGISTER request for an existing registration.

not your first rodeo anymore β€” this one's for a registration that already exists πŸ”₯

Parameters

  • excontext β€” eXosip_t instance.
  • rid β€” A unique identifier for the registration context
  • expires β€” The expires value for registration.
  • reg β€” The SIP request to build.

int eXosip_register_send_register (...) πŸ’œ

Send a REGISTER request for an existing registration.

built it, now yeet it into the network πŸ“¨

Parameters

  • excontext β€” eXosip_t instance.
  • rid β€” A unique identifier for the registration context
  • reg β€” The SIP request to build. (NULL for default REGISTER)

int eXosip_register_remove (...) πŸ™ˆ

Remove existing registration without sending REGISTER.

ghosting your registration, no goodbye message, no REGISTER sent, just gone πŸ’€

Parameters

  • excontext β€” eXosip_t instance.
  • rid β€” A unique identifier for the registration context

🌸 Author 🌸

Generated automatically by Doxygen for libeXosip2 from the source code. (not a human, not a bestie, just a doc generator doing its thing 😭)


Version 5.3.0 β€” Thu May 18 2023 β€” that's the tea, the manual name is libeXosip2, and this page is eXosip2_registration(3). go forth and REGISTER, queen πŸ‘‘πŸ’–
πŸ“¦ where this page comes from