#include "../../usr_avp.h"#include "../../dset.h"#include "../../dprint.h"#include "../../qvalue.h"#include "../../parser/contact/parse_contact.h"#include "rd_filter.h"#include "rd_funcs.h"

Go to the source code of this file.
Defines | |
| #define | DEFAULT_Q_VALUE 10 |
| #define | MAX_CONTACTS_PER_REPLY 16 |
Functions | |
| int | get_redirect (struct sip_msg *msg, int maxt, int maxb, struct acc_param *reason, unsigned int bflags) |
| static int | shmcontact2dset (struct sip_msg *req, struct sip_msg *shrpl, long max, struct acc_param *reason, unsigned int bflags) |
| static int | sort_contacts (contact_t *ct_list, contact_t **ct_array, qvalue_t *q_array) |
| #define DEFAULT_Q_VALUE 10 |
| #define MAX_CONTACTS_PER_REPLY 16 |
| int get_redirect | ( | struct sip_msg * | msg, | |
| int | maxt, | |||
| int | maxb, | |||
| struct acc_param * | reason, | |||
| unsigned int | bflags | |||
| ) |
Definition at line 47 of file rd_funcs.c.
References cell::first_branch, ua_client::last_received, LM_CRIT, LM_DBG, LM_ERR, max, sip_msg::new_uri, cell::nr_of_outgoings, rd_tmb, ua_client::reply, shmcontact2dset(), tm_binds::t_gett, T_NULL_CELL, T_UNDEFINED, and cell::uac.
Referenced by w_get_redirect2().
| static int shmcontact2dset | ( | struct sip_msg * | req, | |
| struct sip_msg * | shrpl, | |||
| long | max, | |||
| struct acc_param * | reason, | |||
| unsigned int | bflags | |||
| ) | [static] |
Definition at line 170 of file rd_funcs.c.
References acc_db_table, append_branch(), sip_msg::contact, FAKED_REPLY, FL_SHM_CLONE, free_contact(), free_hdr_field_lst(), HDR_CONTACT_T, sip_msg::last_header, LM_DBG, LM_ERR, MAX_CONTACTS_PER_REPLY, sip_msg::msg_flags, sip_msg::new_uri, hdr_field::next, NULL, parse_contact(), parse_headers(), hdr_field::parsed, rd_acc_fct, and sort_contacts().
Referenced by get_redirect().
| static int sort_contacts | ( | contact_t * | ct_list, | |
| contact_t ** | ct_array, | |||
| qvalue_t * | q_array | |||
| ) | [static] |
Definition at line 109 of file rd_funcs.c.
References param::body, DEFAULT_Q_VALUE, _str::len, LM_DBG, LM_ERR, MAX_CONTACTS_PER_REPLY, contact::next, contact::q, run_filters(), _str::s, str2q(), and contact::uri.
Referenced by shmcontact2dset().
1.5.6