.TH "eXosip2_message" 3 "Thu Dec 15 2016" "Version 4.1.0" "libeXosip2" \" -*- nroff -*- .ad l .nh .SH NAME eXosip2_message \- eXosip2 request outside of dialog .SS "Functions" .in +1c .ti -1c .RI "int \fBeXosip_message_build_request\fP (struct eXosip_t *excontext, osip_message_t **message, const char *method, const char *to, const char *from, const char *route)" .br .ti -1c .RI "int \fBeXosip_message_send_request\fP (struct eXosip_t *excontext, osip_message_t *message)" .br .ti -1c .RI "int \fBeXosip_message_build_answer\fP (struct eXosip_t *excontext, int tid, int status, osip_message_t **answer)" .br .ti -1c .RI "int \fBeXosip_message_send_answer\fP (struct eXosip_t *excontext, int tid, int status, osip_message_t *answer)" .br .in -1c .SH "Detailed Description" .PP .SH "Function Documentation" .PP .SS "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\&. .PP 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\&. .PP \fBParameters:\fP .RS 4 \fIexcontext\fP eXosip_t instance\&. .br \fImessage\fP Pointer for the SIP request to build\&. .br \fImethod\fP request method\&. (like 'MESSAGE' or 'PING'\&.\&.\&.) .br \fIto\fP SIP url for callee\&. .br \fIfrom\fP SIP url for caller\&. .br \fIroute\fP Route header for request\&. (optional) .RE .PP .SS "int eXosip_message_send_request (struct eXosip_t * excontext, osip_message_t * message)" Send an request\&. .PP \fBParameters:\fP .RS 4 \fIexcontext\fP eXosip_t instance\&. .br \fImessage\fP SIP request to send\&. .RE .PP .SS "int eXosip_message_build_answer (struct eXosip_t * excontext, int tid, int status, osip_message_t ** answer)" Build answer for a request\&. .PP \fBParameters:\fP .RS 4 \fIexcontext\fP eXosip_t instance\&. .br \fItid\fP id of transaction\&. .br \fIstatus\fP status for SIP answer to build\&. .br \fIanswer\fP The SIP answer to build\&. .RE .PP .SS "int eXosip_message_send_answer (struct eXosip_t * excontext, int tid, int status, osip_message_t * answer)" Send answer for a request\&. .PP \fBParameters:\fP .RS 4 \fIexcontext\fP eXosip_t instance\&. .br \fItid\fP id of transaction\&. .br \fIstatus\fP status for SIP answer to send\&. .br \fIanswer\fP The SIP answer to send\&. (default will be sent if NULL) .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libeXosip2 from the source code\&.