Module: kamailio
Branch: master
Commit: 184392b54b1086c2b660668329fb6cb514de970e
URL:
https://github.com/kamailio/kamailio/commit/184392b54b1086c2b660668329fb6cb…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-01-02T12:49:53+01:00
tests: add many modules that where introduced in the last years to the 2.sh unit test
---
Modified: test/unit/2.cfg
---
Diff:
https://github.com/kamailio/kamailio/commit/184392b54b1086c2b660668329fb6cb…
Patch:
https://github.com/kamailio/kamailio/commit/184392b54b1086c2b660668329fb6cb…
---
diff --git a/test/unit/2.cfg b/test/unit/2.cfg
index 4fd962a1f3..1fbc4e4037 100644
--- a/test/unit/2.cfg
+++ b/test/unit/2.cfg
@@ -1,54 +1,92 @@
debug=2
-loadmodule "tm/tm.so"
+
+loadmodule "sl"
+loadmodule "tm"
loadmodule "tmx"
+loadmodule "pv"
+
loadmodule "acc"
loadmodule "alias_db"
+loadmodule "app_jsdt"
+#loadmodule "app_sqlang"
+loadmodule "async"
loadmodule "auth"
loadmodule "auth_db"
-loadmodule "avpops/avpops.so"
+loadmodule "auth_xkeys"
+loadmodule "avpops.so"
loadmodule "benchmark"
+loadmodule "blst"
+loadmodule "call_control"
+loadmodule "call_obj"
+loadmodule "cfgt"
loadmodule "cfgutils"
+loadmodule "corex"
+loadmodule "counters"
+loadmodule "db_flatstore"
loadmodule "dialog"
+loadmodule "dialplan"
loadmodule "dispatcher"
loadmodule "diversion"
+##loadmodule "drouting"
loadmodule "domain"
loadmodule "domainpolicy"
-loadmodule "enum/enum.so"
+loadmodule "enum"
+loadmodule "evrexec"
loadmodule "exec"
-loadmodule "db_flatstore/db_flatstore.so"
loadmodule "group"
loadmodule "htable"
loadmodule "imc"
-loadmodule "maxfwd"
loadmodule "jsonrpcs"
+loadmodule "keepalive"
+loadmodule "kex"
+loadmodule "mangler"
+loadmodule "maxfwd"
+loadmodule "mohqueue"
loadmodule "msilo"
loadmodule "nathelper"
-##loadmodule "nat_traversal"
+loadmodule "nat_traversal"
+loadmodule "nosip"
loadmodule "path"
+loadmodule "pdb"
+loadmodule "pdt"
+loadmodule "permissions"
loadmodule "pike"
+##loadmodule "prefix_route"
loadmodule "ratelimit"
+
loadmodule "rr"
-##loadmodule "seas"
-##loadmodule "siptrace"
+##loadmodule "rtpengine"
+loadmodule "rtpproxy"
+loadmodule "sca"
+loadmodule "seas"
+loadmodule "secfilter"
+loadmodule "sdpops"
+loadmodule "sipdump"
+loadmodule "sipt"
+loadmodule "siptrace"
loadmodule "siputils"
-loadmodule "sl"
loadmodule "sms"
+loadmodule "smsops"
loadmodule "speeddial"
-###loadmodule "sst"
+loadmodule "ss7ops"
+loadmodule "sst"
loadmodule "statistics"
+loadmodule "statsc"
+loadmodule "stun"
+loadmodule "tcpops"
loadmodule "textops"
+loadmodule "timer"
+loadmodule "topoh"
+loadmodule "topos"
+loadmodule "tsilo"
loadmodule "uac"
-##loadmodule "uac_redirect"
+loadmodule "uac_redirect"
loadmodule "uri_db"
-loadmodule "usrloc"
loadmodule "userblacklist"
-loadmodule "registrar"
-loadmodule "permissions"
-loadmodule "pdt"
-loadmodule "pv"
-loadmodule "rtpproxy/rtpproxy.so"
+loadmodule "usrloc"
loadmodule "xlog"
-loadmodule "pdb/pdb.so"
+
+loadmodule "registrar"
modparam("jsonrpcs", "transport", 2)
modparam("jsonrpcs", "fifo_name", "kamailio_rpc.fifo")
@@ -58,9 +96,17 @@ modparam("dialog", "db_mode", 2)
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]")
-###modparam("sst", "sst_flag", 6)
+modparam("sst", "sst_flag", 6)
modparam("usrloc", "nat_bflag", 15)
modparam("uri_db", "use_uri_table", 1)
modparam("uri_db", "db_table", "uri")
modparam("avpops", "avp_table", "usr_preferences")
modparam("pdb", "server", "localhost:10001")
+modparam ("mohqueue", "mohdir", "/tmp")
+modparam("call_obj", "start", 1)
+modparam("call_obj", "end", 99)
+
+event_route[nosip:msg] {
+ xlog("non-sip packet received - content [[$mb]] from [$si:$sp]\n");
+ exit;
+}