dlg_handlers.h File Reference

#include "../../parser/msg_parser.h"
#include "../../str.h"
#include "../../pvar.h"
#include "../tm/t_hooks.h"
#include "dlg_timer.h"

Include dependency graph for dlg_handlers.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MAX_DLG_RR_PARAM_NAME   32
#define SEQ_MATCH_FALLBACK   1
#define SEQ_MATCH_NO_ID   2
#define SEQ_MATCH_STRICT_ID   0

Functions

void destroy_dlg_handlers (void)
int dlg_new_dialog (struct sip_msg *msg, struct cell *t)
void dlg_onreq (struct cell *t, int type, struct tmcb_params *param)
void dlg_onroute (struct sip_msg *req, str *rr_param, void *param)
void dlg_ontimeout (struct dlg_tl *tl)
void init_dlg_handlers (char *rr_param, int dlg_flag, pv_spec_t *timeout_avp, int default_timeout, int seq_match_mode)
int pv_get_dlg_lifetime (struct sip_msg *msg, pv_param_t *param, pv_value_t *res)
int pv_get_dlg_status (struct sip_msg *msg, pv_param_t *param, pv_value_t *res)


Define Documentation

#define MAX_DLG_RR_PARAM_NAME   32

Definition at line 39 of file dlg_handlers.h.

Referenced by mod_init().

#define SEQ_MATCH_FALLBACK   1

Definition at line 43 of file dlg_handlers.h.

Referenced by mod_init().

#define SEQ_MATCH_NO_ID   2

Definition at line 44 of file dlg_handlers.h.

Referenced by dlg_new_dialog(), dlg_onroute(), mod_init(), and w_dlg_manage().

#define SEQ_MATCH_STRICT_ID   0

Definition at line 42 of file dlg_handlers.h.

Referenced by dlg_onroute(), and mod_init().


Function Documentation

void destroy_dlg_handlers ( void   ) 

Definition at line 112 of file dlg_handlers.c.

References shutdown_done.

Referenced by mod_destroy().

int dlg_new_dialog ( struct sip_msg msg,
struct cell t 
)

void dlg_onreq ( struct cell t,
int  type,
struct tmcb_params param 
)

Definition at line 414 of file dlg_handlers.c.

References current_dlg_pointer, dlg_flag, dlg_new_dialog(), sip_msg::flags, NULL, and tmcb_params::req.

Referenced by mod_init().

void dlg_onroute ( struct sip_msg req,
str rr_param,
void *  param 
)

void dlg_ontimeout ( struct dlg_tl tl  ) 

void init_dlg_handlers ( char *  rr_param,
int  dlg_flag,
pv_spec_t timeout_avp,
int  default_timeout,
int  seq_match_mode 
)

Definition at line 97 of file dlg_handlers.c.

References default_timeout, dlg_flag, _str::len, _str::s, and seq_match_mode.

Referenced by mod_init().

int pv_get_dlg_lifetime ( struct sip_msg msg,
pv_param_t param,
pv_value_t res 
)

int pv_get_dlg_status ( struct sip_msg msg,
pv_param_t param,
pv_value_t res 
)


Generated on Tue May 22 16:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6