Module: sip-router Branch: master Commit: be55b963a2543a791f128ab1cc4c3a8c4e70b172 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=be55b963...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sat Apr 17 11:56:01 2010 +0200
core: removed K compat mode for onsend route
- no conditions around drop flag - part of work to remove config compat modes, as per irc devel meeting discussions
---
onsend.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/onsend.h b/onsend.h index eb5569b..d8511c2 100644 --- a/onsend.h +++ b/onsend.h @@ -90,8 +90,7 @@ static inline int run_onsend(struct sip_msg* orig_msg, struct dest_info* dst, orig_msg->fwd_send_flags=fwd_snd_flags_bak; orig_msg->rpl_send_flags=rpl_snd_flags_bak; exec_post_script_cb(orig_msg, ONSEND_CB_TYPE); - if((sr_cfg_compat==SR_COMPAT_KAMAILIO) - && (ret==0) && !(ra_ctx.run_flags&DROP_R_F)){ + if((ret==0) && !(ra_ctx.run_flags&DROP_R_F)){ ret = 1; } } else {