carta
eXosip2_message(3)

eXosip2_message3

Exosip2 request outside of dialog

Detailed Description

Function Documentation

int eXosip_message_build_request (struct eXosip_t * excontext, osip_message_t ** message, const char * method, const char * to, const char * from, const char * route)

Build a default request message.

This method will be updated to send any message outside of dialog In this later case, you'll specify the method to use in the second argument.

Parameters:

excontext eXosip_t instance.
message Pointer for the SIP request to build.
method request method. (like 'MESSAGE' or 'PING'...)
to SIP url for callee.
from SIP url for caller.
route Route header for request. (optional)

int eXosip_message_send_request (struct eXosip_t * excontext, osip_message_t * message)

Send an request.

Parameters:

excontext eXosip_t instance.
message SIP request to send.

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

Build answer for a request.

Parameters:

excontext eXosip_t instance.
tid id of transaction.
status status for SIP answer to build.
answer The SIP answer to build.

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

Send answer for a request.

Parameters:

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

History

  • Debian 10 (Buster) to Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)
  • Debian 4.0 (Etch)

Author

Generated automatically by Doxygen for libeXosip2 from the source code.

From libexosip2-dev 4.1.0-2.1 in Debian 10 (Buster). Parsed by carta from the page's man source.