miconda commented on this pull request.
@@ -1494,7 +1494,7 @@ static enum rps
t_should_relay_response( struct cell *Trans , int new_code,
#endif
/* 1xx and 2xx except 100 will be relayed */
Trans->uac[branch].last_received=new_code;
- *should_relay= new_code==100? -1 : branch;
+ *should_relay= (new_code=100 && !cfg_get(tm, tm_cfg, relay_100)) ? -1 :
branch;
Should it still be `new_code==100` in the condition or I am missing something?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1534#pullrequestreview-122859738