Functions

tm/tm.c File Reference

TM :: Module API (core). More...

#include "defs.h"
#include <stdio.h>
#include <string.h>
#include <netdb.h>
#include "../../sr_module.h"
#include "../../dprint.h"
#include "../../error.h"
#include "../../ut.h"
#include "../../script_cb.h"
#include "../../usr_avp.h"
#include "../../mem/mem.h"
#include "../../route_struct.h"
#include "../../route.h"
#include "../../cfg/cfg.h"
#include "../../globals.h"
#include "../../timer_ticks.h"
#include "../../mod_fix.h"
#include "config.h"
#include "sip_msg.h"
#include "h_table.h"
#include "t_hooks.h"
#include "tm_load.h"
#include "ut.h"
#include "t_reply.h"
#include "uac.h"
#include "t_fwd.h"
#include "t_lookup.h"
#include "t_stats.h"
#include "callid.h"
#include "t_cancel.h"
#include "t_fifo.h"
#include "timer.h"
#include "t_msgbuilder.h"
#include "select.h"
#include "t_serial.h"
#include "rpc_uac.h"
Include dependency graph for tm/tm.c:

Go to the source code of this file.

Functions


Detailed Description

Definition in file tm/tm.c.


Function Documentation

int t_check_trans ( struct sip_msg msg  ) 

to a transaction.

Returns:
-1 (not), 1 (reply, e2e ack or cancel for an existing transaction), 0 (request retransmission, ack to negative reply or ack to local transaction) Note: the e2e ack matching works only for local e2e acks or for transactions with E2EACK* callbacks installed (but even in this case matching E2EACKs on proxied transaction is not entirely reliable: if the ACK is delayed the proxied transaction might be already deleted when it reaches the proxy (wait_timeout))

Definition at line 1949 of file tm/tm.c.