NTA functions for stateless SIP processing. More...
#include <sofia-sip/nta.h>
Go to the source code of this file.
Defines | |
#define | NTA_STATELESS_H |
Defined when <sofia-sip/nta_stateless.h> has been included. | |
Functions | |
int | nta_msg_tsend (nta_agent_t *agent, msg_t *msg, url_string_t const *u, tag_type_t tag, tag_value_t value,...) |
Forward a request or response message. | |
int | nta_msg_mreply (nta_agent_t *agent, msg_t *reply, sip_t *sip, int status, char const *phrase, msg_t *req_msg, tag_type_t tag, tag_value_t value,...) |
Reply to a request message. | |
int | nta_msg_treply (nta_agent_t *self, msg_t *msg, int status, char const *phrase, tag_type_t tag, tag_value_t value,...) |
Reply to a request message. | |
int | nta_msg_ackbye (nta_agent_t *a, msg_t *msg) |
ACK and BYE an unknown 200 OK response to INVITE. |
NTA functions for stateless SIP processing.
#define NTA_STATELESS_H |
Defined when <sofia-sip/nta_stateless.h> has been included.
int nta_msg_ackbye | ( | nta_agent_t * | agent, | |
msg_t * | msg | |||
) |
ACK and BYE an unknown 200 OK response to INVITE.
A UAS may still return a 2XX series response to client request after the client transactions has been terminated. In that case, the UAC can not really accept the call. This function was used to accept and immediately terminate such a call.
int nta_msg_mreply | ( | nta_agent_t * | agent, | |
msg_t * | reply, | |||
sip_t * | sip, | |||
int | status, | |||
char const * | phrase, | |||
msg_t * | req_msg, | |||
tag_type_t | tag, | |||
tag_value_t | value, | |||
... | ||||
) |
Reply to a request message.
Reply to a request message.
int nta_msg_treply | ( | nta_agent_t * | agent, | |
msg_t * | req_msg, | |||
int | status, | |||
char const * | phrase, | |||
tag_type_t | tag, | |||
tag_value_t | value, | |||
... | ||||
) |
Reply to a request message.
agent | nta agent object | |
req_msg | request message | |
status | status code | |
phrase | status phrase (may be NULL if status code is well-known) | |
tag,value,... | optional additional headers terminated by TAG_END() |
0 | when succesful | |
-1 | upon an error |
int nta_msg_tsend | ( | nta_agent_t * | agent, | |
msg_t * | msg, | |||
url_string_t const * | u, | |||
tag_type_t | tag, | |||
tag_value_t | value, | |||
... | ||||
) |
Forward a request or response message.