debug=2

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 "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"
loadmodule "evrexec"
loadmodule "exec"
loadmodule "group"
loadmodule "htable"
loadmodule "imc"
loadmodule "jsonrpcs"
loadmodule "keepalive"
loadmodule "kex"
loadmodule "mangler"
loadmodule "maxfwd"
loadmodule "mohqueue"
loadmodule "msilo"
loadmodule "nathelper"
loadmodule "nat_traversal"
loadmodule "nosip"
loadmodule "path"
loadmodule "pdb"
loadmodule "pdt"
loadmodule "permissions"
loadmodule "pike"
##loadmodule "prefix_route"
loadmodule "ratelimit"

loadmodule "rr"
##loadmodule "rtpengine"
loadmodule "rtpproxy"
loadmodule "sca"
loadmodule "seas"
loadmodule "secfilter"
loadmodule "sdpops"
loadmodule "sipdump"
loadmodule "sipt"
loadmodule "siptrace"
loadmodule "siputils"
loadmodule "sms"
loadmodule "smsops"
loadmodule "speeddial"
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 "uri_db"
loadmodule "userblacklist"
loadmodule "usrloc"
loadmodule "xlog"

loadmodule "registrar"

modparam("jsonrpcs", "transport", 2)
modparam("jsonrpcs", "fifo_name", "kamailio_rpc.fifo")
modparam("dialog", "dlg_flag", 10)
modparam("dialog", "db_mode", 2)
##modparam("tm", "fr_inv_timer_avp", "$avp(i:704)")
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("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;
}
