Browse code

sbc b/f: allow to disable session timers in A leg

thanks Herve Couplet for reporting and providing the fix

Václav Kubart authored on 09/04/2014 08:18:18
Showing 1 changed files
... ...
@@ -794,7 +794,7 @@ void SBCCallLeg::onInvite(const AmSipRequest& req)
794 794
   call_profile.sst_enabled = ctx.replaceParameters(call_profile.sst_enabled, 
795 795
 						   "enable_session_timer", req);
796 796
 
797
-  if ((call_profile.sst_aleg_enabled == "yes") ||
797
+  if ((call_profile.sst_aleg_enabled == "yes") &&
798 798
       (call_profile.sst_enabled == "yes")) {
799 799
 
800 800
     call_profile.eval_sst_config(ctx,req,call_profile.sst_a_cfg);