reg_mod.h File Reference

SIP registrar module - interface. More...

#include "../../parser/msg_parser.h"
#include "../../qvalue.h"
#include "../../usr_avp.h"
#include "../usrloc/usrloc.h"
#include "../sl/sl_api.h"

Include dependency graph for reg_mod.h:

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

Go to the source code of this file.

Defines

#define CALLID_MAX_SIZE   255
#define CONTACT_MAX_SIZE   255
#define DOMAIN_MAX_SIZE   128
#define PATH_MODE_LAZY   1
#define PATH_MODE_OFF   0
#define PATH_MODE_STRICT   2
#define RECEIVED_MAX_SIZE   255
#define REG_SAVE_ALL_FL   ((1<<3)-1)
#define REG_SAVE_MEM_FL   (1<<0)
#define REG_SAVE_NORPL_FL   (1<<1)
#define REG_SAVE_REPL_FL   (1<<2)
#define UA_MAX_SIZE   255
#define USERNAME_MAX_SIZE   64

Variables

stat_varaccepted_registrations
int_str aor_avp_name
unsigned short aor_avp_type
int append_branches
int case_sensitive
float def_q
int default_expires
qvalue_t default_q
int max_contacts
int max_expires
int method_filtering
int min_expires
int nat_flag
int path_enabled
int path_mode
int path_use_params
int_str rcv_avp_name
unsigned short rcv_avp_type
str rcv_param
str realm_prefix
int received_avp
int_str reg_callid_avp_name
unsigned short reg_callid_avp_type
int reg_use_domain
stat_varrejected_registrations
int retry_after
struct sl_binds slb
int sock_flag
str sock_hdr_name
int tcp_persistent_flag
usrloc_api_t ul


Detailed Description

SIP registrar module - interface.

Definition in file reg_mod.h.


Define Documentation

#define CALLID_MAX_SIZE   255

Definition at line 58 of file reg_mod.h.

Referenced by pack_ci().

#define CONTACT_MAX_SIZE   255

Definition at line 54 of file reg_mod.h.

Referenced by check_contacts().

#define DOMAIN_MAX_SIZE   128

Definition at line 57 of file reg_mod.h.

Referenced by extract_aor().

#define PATH_MODE_LAZY   1

Definition at line 62 of file reg_mod.h.

#define PATH_MODE_OFF   0

Definition at line 63 of file reg_mod.h.

Referenced by send_reply().

#define PATH_MODE_STRICT   2

Definition at line 61 of file reg_mod.h.

Referenced by send_reply().

#define RECEIVED_MAX_SIZE   255

Definition at line 55 of file reg_mod.h.

Referenced by check_contacts(), and pack_ci().

#define REG_SAVE_ALL_FL   ((1<<3)-1)

Definition at line 68 of file reg_mod.h.

Referenced by save_fixup().

#define REG_SAVE_MEM_FL   (1<<0)

Definition at line 65 of file reg_mod.h.

Referenced by save(), and save_fixup().

#define REG_SAVE_NORPL_FL   (1<<1)

Definition at line 66 of file reg_mod.h.

Referenced by save().

#define REG_SAVE_REPL_FL   (1<<2)

Definition at line 67 of file reg_mod.h.

Referenced by save().

#define UA_MAX_SIZE   255

Definition at line 59 of file reg_mod.h.

Referenced by pack_ci().

#define USERNAME_MAX_SIZE   64

Definition at line 56 of file reg_mod.h.

Referenced by extract_aor().


Variable Documentation

Definition at line 139 of file reg_mod.c.

Referenced by save().

Definition at line 118 of file reg_mod.c.

Referenced by extract_aor().

unsigned short aor_avp_type

Definition at line 117 of file reg_mod.c.

Referenced by extract_aor(), and mod_init().

If set to 1, lookup will put all contacts found in msg structure

Definition at line 96 of file reg_mod.c.

Referenced by lookup().

If set to 1, username in aor will be case sensitive

Definition at line 97 of file reg_mod.c.

Referenced by extract_aor().

float def_q

Default expires value in seconds

Definition at line 63 of file pua.c.

Referenced by calc_contact_expires(), child_init(), get_expires_hf(), and mod_init().

Default q value multiplied by 1000

Definition at line 95 of file reg_mod.c.

Referenced by calc_contact_q(), and mod_init().

Maximum number of contacts per AOR (0=no checking)

Definition at line 103 of file reg_mod.c.

Referenced by child_init(), insert_contacts(), test_max_contacts(), and update_contacts().

Maximum expires the phones are allowed to use in seconds, use 0 to switch expires checking off

Definition at line 126 of file presence.c.

Referenced by calc_contact_expires(), child_init(), handle_publish(), handle_subscribe(), and mod_init().

if the looked up contacts should be filtered based on supported methods

Definition at line 105 of file reg_mod.c.

Minimum expires the phones are allowed to use in seconds use 0 to switch expires checking off

Definition at line 62 of file pua.c.

Referenced by calc_contact_expires(), hashT_clean(), mod_init(), publ_build_hdr(), and subs_build_hdr().

int nat_flag

if the Path HF should be handled

Definition at line 106 of file reg_mod.c.

Referenced by pack_ci(), and send_reply().

int path_mode

if the Path HF should be inserted in the reply.

  • STRICT (2): always insert, error if no support indicated in request
  • LAZY (1): insert only if support indicated in request
  • OFF (0): never insert

Definition at line 107 of file reg_mod.c.

Referenced by send_reply().

if the received- and nat-parameters of last Path uri should be used to determine if UAC is nat'ed

Definition at line 112 of file reg_mod.c.

Referenced by build_path_vector().

Definition at line 127 of file reg_mod.c.

unsigned short rcv_avp_type

Definition at line 126 of file reg_mod.c.

Definition at line 137 of file reg_mod.c.

Referenced by build_contact(), and calc_buf_len().

Prefix to strip from realm

strip off auto-generated realm

Prefix to strip from realm

Definition at line 107 of file auth_mod.c.

Referenced by extract_aor(), and strip_realm().

Definition at line 123 of file reg_mod.c.

Referenced by registered().

unsigned short reg_callid_avp_type

Definition at line 122 of file reg_mod.c.

Referenced by mod_init(), and registered().

Definition at line 129 of file reg_mod.c.

Referenced by extract_aor(), and mod_init().

Definition at line 140 of file reg_mod.c.

Referenced by save().

The value of Retry-After HF in 5xx replies

Definition at line 104 of file reg_mod.c.

Referenced by add_retry_after(), and send_reply().

struct sl_binds slb

SL binds

Definition at line 88 of file auth_mod.c.

int sock_flag

Definition at line 133 of file reg_mod.c.

Referenced by mod_init(), and pack_ci().

Definition at line 134 of file reg_mod.c.

Referenced by get_sock_hdr().

if the TCP connection should be kept open

Definition at line 98 of file reg_mod.c.

Referenced by insert_contacts(), mod_init(), and update_contacts().

Structure containing pointers to usrloc functions

Definition at line 101 of file reg_mod.h.


Generated on Thu May 24 10:00:42 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6