Module: sip-router
Branch: master
Commit: daeb7834431ccc598ce95cba97925cd0fef83ead
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=daeb783…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Sep 30 18:08:16 2014 +0200
test/unit: 2.sh updated to work with latest kamailio
---
test/unit/2.cfg | 5 ++---
test/unit/2.sh | 3 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/unit/2.cfg b/test/unit/2.cfg
index 113754a..d2d7d8a 100644
--- a/test/unit/2.cfg
+++ b/test/unit/2.cfg
@@ -1,5 +1,5 @@
debug=2
-loadpath "../../modules/:../../modules_k/"
+mpath="../../modules/"
loadmodule "../../modules/tm/tm.so"
loadmodule "tmx"
loadmodule "acc"
@@ -48,7 +48,7 @@ loadmodule "registrar"
loadmodule "permissions"
loadmodule "pdt"
loadmodule "pv"
-loadmodule "../../modules/mediaproxy/mediaproxy.so"
+loadmodule "../../modules/rtpproxy/rtpproxy.so"
loadmodule "xlog"
loadmodule "../../modules/pdb/pdb.so"
@@ -57,7 +57,6 @@ modparam("mi_datagram", "socket_name",
"/tmp/kamailio.sock")
modparam("dialog", "dlg_flag", 10)
modparam("dialog", "db_mode", 2)
##modparam("tm", "fr_inv_timer_avp", "$avp(i:704)")
-modparam("^auth$|lcr", "rpid_avp", "$avp(i:302)")
modparam("sms", "modems", "Nokia
[d=/dev/ttyS1;b=9600;m=new;l=30] ")
modparam("sms", "networks", "D1 [m=10] ;d2[ m=20]")
modparam("sms", "links", "NOKIA[D1;d2]")
diff --git a/test/unit/2.sh b/test/unit/2.sh
index f0b09b9..4301aa2 100755
--- a/test/unit/2.sh
+++ b/test/unit/2.sh
@@ -37,6 +37,7 @@ touch dispatcher.list
echo "loadmodule \"$SR_DIR/modules/db_mysql/db_mysql.so\"" >>
$CFG
echo "modparam(\"dispatcher\", \"list_file\",
\"$SR_DIR/$TEST_DIR/dispatcher.list\")" >> $CFG
+echo -e "\nrequest_route {\n ;\n}" >> $CFG
# start
$BIN -w . -f $CFG > /dev/null
@@ -48,4 +49,4 @@ $KILL
mv $CFG.bak $CFG
rm -f dispatcher.list
-exit $ret
\ No newline at end of file
+exit $ret