[sr-dev] git:master: Fixed loading of tm module in test

Marius Zbihlei marius.zbihlei at 1and1.ro
Wed Oct 14 12:14:29 CEST 2009


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

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Wed Oct 14 13:13:15 2009 +0300

Fixed loading of tm module in test
Fixed variable name ($fU instead of $fu)
Test now runs ok

---

 test/unit/12.cfg |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/unit/12.cfg b/test/unit/12.cfg
index d1e11c7..1fcc96d 100644
--- a/test/unit/12.cfg
+++ b/test/unit/12.cfg
@@ -2,8 +2,8 @@ log_stderror=yes
 listen=127.0.0.1
 loadpath "../../modules_k/"
 loadmodule "../../modules/db_mysql/db_mysql.so"
-loadmodule "sl"
 loadmodule "../../modules/tm/tm.so"
+loadmodule "sl"
 loadmodule "rr"
 loadmodule "maxfwd"
 loadmodule "textops"
@@ -94,7 +94,7 @@ route[39] {
 		$avp(i:82)=$(pu{uri.domain});
 		$avp(i:83)=$pu;
 		xlog("L_ERR", "Getting identity from P-Preferred-Identity header\n");
-	} else if ($fu) {
+	} else if ($fU) {
 		$avp(i:81)=$(fu{uri.user});
 		$avp(i:82)=$(fu{uri.domain});
 		$avp(i:83)=$fu;




More information about the sr-dev mailing list