Module: sip-router Branch: kamailio_3.0 Commit: 5adb83ef2c7e6f1e07a2df1f7f26e6933f7f34ab URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5adb83ef...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Wed Oct 28 21:53:27 2009 +0100
kamaili.cfg: basic updates to make it work with SR core
---
etc/kamailio.cfg | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg index fc90e95..256645c 100644 --- a/etc/kamailio.cfg +++ b/etc/kamailio.cfg @@ -4,6 +4,7 @@ # Kamailio (OpenSER) SIP Server - basic configuration script # - web: http://www.kamailio.org # - svn: http://openser.svn.sourceforge.net/viewvc/openser/ +# - git: http://sip-router.org # # Direct your questions about this file to: users@lists.kamailio.org # @@ -57,6 +58,8 @@ ####### Global Parameters #########
debug=3 +memdbg=5 +memlog=5 log_stderror=no log_facility=LOG_LOCAL0
@@ -110,8 +113,10 @@ mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/" /* uncomment next line for MySQL DB support */ #m#loadmodule "db_mysql.so" loadmodule "mi_fifo.so" +loadmodule "kex.so" loadmodule "sl.so" loadmodule "tm.so" +loadmodule "tmx.so" loadmodule "rr.so" loadmodule "pv.so" loadmodule "maxfwd.so" @@ -345,7 +350,7 @@ route{ exit; }
- if ($rU==NULL) { + if ($rU==$null) { # request with no Username in RURI sl_send_reply("484","Address Incomplete"); exit; @@ -355,7 +360,7 @@ route{ ##alias_db_lookup("dbaliases");
if (!lookup("location")) { - switch ($retcode) { + switch ($rc) { case -1: case -3: t_newtran(); @@ -420,7 +425,7 @@ route[2] #p# exit; # if presence enabled, this part will not be executed - if (is_method("PUBLISH") || $rU==null) + if (is_method("PUBLISH") || $rU==$null) { sl_send_reply("404", "Not here"); exit; @@ -523,7 +528,7 @@ failure_route[1] { #n# unforce_rtp_proxy(); #n# }
- if (t_was_cancelled()) { + if (t_is_canceled()) { exit; }