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

Author: Carsten Bock <[email protected]>
Committer: Carsten Bock <[email protected]>
Date:   Thu Feb  9 10:25:06 2012 +0100

Revert previous commit.
Rewriting URI can be done from Call-Contral anyway, so no functionality needed 
here.

Thanks to Stefan for pointing that out!

---

 apps/sbc/SBC.cpp              |   14 --------------
 core/ampi/SBCCallControlAPI.h |    4 ----
 2 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/apps/sbc/SBC.cpp b/apps/sbc/SBC.cpp
index fb8909f..b1ffc43 100644
--- a/apps/sbc/SBC.cpp
+++ b/apps/sbc/SBC.cpp
@@ -1381,20 +1381,6 @@ bool SBCDialog::CCStart(const AmSipRequest& req) {
          saveCallTimer(cc_timer_id, timeout);
          cc_timer_id++;
        } break;
-       case SBC_CC_SET_RURI_ACTION: {
-         if (ret[i].size() < 1 ||
-             !isArgCStr(ret[i][SBC_CC_SET_RURI]) || 
-              !strlen(ret[i][SBC_CC_SET_RURI].asCStr())
-                ) {
-           ERROR("in call control module '%s' - RURI action parameters 
missing/wrong: '%s'\n",
-                 cc_if.cc_name.c_str(), AmArg::print(ret[i]).c_str());
-           continue;
-         }
-          DBG("in call control module '%s' - SBC_CC_SET_RURI_ACTION - setting 
URI to '%s'\n",
-            cc_if.cc_name.c_str(), ret[i][SBC_CC_SET_RURI].asCStr());
-          call_profile.ruri = string(ret[i][SBC_CC_SET_RURI].asCStr());
-       } break;
-
        default: {
          ERROR("unknown call control action: '%s'\n", 
AmArg::print(ret[i]).c_str());
          continue;
diff --git a/core/ampi/SBCCallControlAPI.h b/core/ampi/SBCCallControlAPI.h
index 06da65f..163823c 100644
--- a/core/ampi/SBCCallControlAPI.h
+++ b/core/ampi/SBCCallControlAPI.h
@@ -24,7 +24,6 @@
 #define SBC_CC_DROP_ACTION              0
 #define SBC_CC_REFUSE_ACTION            1
 #define SBC_CC_SET_CALL_TIMER_ACTION    2
-#define SBC_CC_SET_RURI_ACTION          3
 
 // index in action parameter:
 #define SBC_CC_ACTION              0
@@ -37,9 +36,6 @@
 //     set timer
 #define SBC_CC_TIMER_TIMEOUT       1
 
-//   set RURI from CC
-#define SBC_CC_SET_RURI            1
-
 /** post an SBCCallTimerEvent to an SBC call in order to set or reset call 
timer */
 #define SBCCallTimerEvent_ID -563
 struct SBCCallTimerEvent : public AmEvent {

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

Reply via email to