|
@@ -82,8 +82,8 @@ static str rr_param; /*!< record-route parameter for matching */
|
|
static int dlg_flag; /*!< flag for dialog tracking */
|
|
static int dlg_flag; /*!< flag for dialog tracking */
|
|
static pv_spec_t *timeout_avp; /*!< AVP for timeout setting */
|
|
static pv_spec_t *timeout_avp; /*!< AVP for timeout setting */
|
|
static int default_timeout; /*!< default dialog timeout */
|
|
static int default_timeout; /*!< default dialog timeout */
|
|
-static int seq_match_mode; /*!< dlg_match mode */
|
|
|
|
static int shutdown_done = 0; /*!< 1 when destroy_dlg_handlers was called */
|
|
static int shutdown_done = 0; /*!< 1 when destroy_dlg_handlers was called */
|
|
|
|
+extern int seq_match_mode; /*!< dlg_match mode */
|
|
extern int detect_spirals;
|
|
extern int detect_spirals;
|
|
|
|
|
|
extern struct rr_binds d_rrb; /*!< binding to record-routing module */
|
|
extern struct rr_binds d_rrb; /*!< binding to record-routing module */
|
|
@@ -113,11 +113,9 @@ static unsigned int CURR_DLG_ID = 0xffffffff; /*!< current dialog id */
|
|
* \param dlg_flag_p dialog flag
|
|
* \param dlg_flag_p dialog flag
|
|
* \param timeout_avp_p AVP for timeout setting
|
|
* \param timeout_avp_p AVP for timeout setting
|
|
* \param default_timeout_p default timeout
|
|
* \param default_timeout_p default timeout
|
|
- * \param seq_match_mode_p matching mode
|
|
|
|
*/
|
|
*/
|
|
void init_dlg_handlers(char *rr_param_p, int dlg_flag_p,
|
|
void init_dlg_handlers(char *rr_param_p, int dlg_flag_p,
|
|
- pv_spec_t *timeout_avp_p ,int default_timeout_p,
|
|
|
|
- int seq_match_mode_p)
|
|
|
|
|
|
+ pv_spec_t *timeout_avp_p ,int default_timeout_p)
|
|
{
|
|
{
|
|
rr_param.s = rr_param_p;
|
|
rr_param.s = rr_param_p;
|
|
rr_param.len = strlen(rr_param.s);
|
|
rr_param.len = strlen(rr_param.s);
|
|
@@ -126,7 +124,6 @@ void init_dlg_handlers(char *rr_param_p, int dlg_flag_p,
|
|
|
|
|
|
timeout_avp = timeout_avp_p;
|
|
timeout_avp = timeout_avp_p;
|
|
default_timeout = default_timeout_p;
|
|
default_timeout = default_timeout_p;
|
|
- seq_match_mode = seq_match_mode_p;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|