Module: sems
Branch: master
Commit: 7eb8e79d5315c578f13eb0d85589ae16768306fb
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=7eb8e79d5315c578f13eb0d85589ae16768306fb

Author: Václav Kubart <[email protected]>
Committer: Václav Kubart <[email protected]>
Date:   Wed Apr  9 10:18:18 2014 +0200

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

thanks Herve Couplet for reporting and providing the fix

---

 apps/sbc/SBCCallLeg.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/apps/sbc/SBCCallLeg.cpp b/apps/sbc/SBCCallLeg.cpp
index 9185a4a..97cd53f 100644
--- a/apps/sbc/SBCCallLeg.cpp
+++ b/apps/sbc/SBCCallLeg.cpp
@@ -794,7 +794,7 @@ void SBCCallLeg::onInvite(const AmSipRequest& req)
   call_profile.sst_enabled = ctx.replaceParameters(call_profile.sst_enabled, 
                                                   "enable_session_timer", req);
 
-  if ((call_profile.sst_aleg_enabled == "yes") ||
+  if ((call_profile.sst_aleg_enabled == "yes") &&
       (call_profile.sst_enabled == "yes")) {
 
     call_profile.eval_sst_config(ctx,req,call_profile.sst_a_cfg);

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to