|
@@ -868,7 +868,7 @@ int run_failure_handlers(struct cell *t, struct sip_msg *rpl,
|
|
|
t->on_negative=0;
|
|
|
if (exec_pre_script_cb(&faked_req, FAILURE_CB_TYPE)>0) {
|
|
|
/* run a reply_route action if some was marked */
|
|
|
- if (run_top_route(failure_rt.rlist[on_failure], &faked_req)<0)
|
|
|
+ if (run_top_route(failure_rt.rlist[on_failure], &faked_req, 0)<0)
|
|
|
LOG(L_ERR, "ERROR: run_failure_handlers: Error in run_top_route\n");
|
|
|
exec_post_script_cb(&faked_req, FAILURE_CB_TYPE);
|
|
|
}
|
|
@@ -1976,7 +1976,7 @@ int reply_received( struct sip_msg *p_msg )
|
|
|
/* Pre- and post-script callbacks have already
|
|
|
* been execueted by the core. (Miklos)
|
|
|
*/
|
|
|
- if (run_top_route(onreply_rt.rlist[t->on_reply], p_msg)<0)
|
|
|
+ if (run_top_route(onreply_rt.rlist[t->on_reply], p_msg, 0)<0)
|
|
|
LOG(L_ERR, "ERROR: on_reply processing failed\n");
|
|
|
/* transfer current message context back to t */
|
|
|
if (t->uas.request) t->uas.request->flags=p_msg->flags;
|
|
@@ -2108,7 +2108,7 @@ trans_not_found:
|
|
|
* Pre- and post-script callbacks have already
|
|
|
* been execueted by the core. (Miklos)
|
|
|
*/
|
|
|
- return run_top_route(onreply_rt.rlist[goto_on_sl_reply], p_msg);
|
|
|
+ return run_top_route(onreply_rt.rlist[goto_on_sl_reply], p_msg, 0);
|
|
|
} else {
|
|
|
/* let the core forward the reply */
|
|
|
return 1;
|