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

Author: Juha Heinanen <[email protected]>
Committer: Juha Heinanen <[email protected]>
Date:   Tue Sep  3 19:01:02 2013 +0300

apps/dsm: added @remote_party select

---

 apps/dsm/DSMCoreModule.cpp |    1 +
 apps/dsm/DSMModule.cpp     |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/apps/dsm/DSMCoreModule.cpp b/apps/dsm/DSMCoreModule.cpp
index a5866fe..3360a23 100644
--- a/apps/dsm/DSMCoreModule.cpp
+++ b/apps/dsm/DSMCoreModule.cpp
@@ -588,6 +588,7 @@ void log_selects(const string& l_arg, AmSession* sess,
   SELECT_LOG("callid");
   SELECT_LOG("local_uri");
   SELECT_LOG("remote_uri");
+  SELECT_LOG("remote_party");
 #undef SELECT_LOG
   _LOG((int)lvl, "FSM: selects end ---\n");
 }
diff --git a/apps/dsm/DSMModule.cpp b/apps/dsm/DSMModule.cpp
index 6a06dd6..cc34f58 100644
--- a/apps/dsm/DSMModule.cpp
+++ b/apps/dsm/DSMModule.cpp
@@ -129,6 +129,8 @@ string resolveVars(const string ts, AmSession* sess,
        return sess->dlg->getLocalUri();
       else if (s1 == "remote_uri")
        return sess->dlg->getRemoteUri();
+      else if (s1 == "remote_party")
+       return sess->dlg->getRemoteParty();
       else
        return string();
     } 

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

Reply via email to