Hello,
based on a previous discussion on mailing lists, I just renamed the
dialog_ng to ims_dialog in order to reflect better its purpose nowadays
(use together with the other ims modules) and avoid confusion that it is
something that includes the features of dialog module and some new stuff.
Functions and params are not renamed, being anyhow overlapping a lot
with dialog module, but they are not intended to be used at the same time.
Perhaps some examples still need to be updated (contributions are
welcome here if you identify such places). If any other issue is
discovered to the ims modules, write here to get it fixed.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
these new commits on top of those proposed in issue #461 now define 3 modes for the `tcp:closed` event route:
- **0**: globally disabled
- **1**: globally enabled
- **2**: manual (enabled when `tcp_enable_closed_event()` was applied)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/504
-- Commit Summary --
* tcp: define new flag to control tcpop's tcp:closed
* tcpops: per-connection control over tcp:closed
* tcpops: add "disabled mode" to closed_event param
* tcpops: update README
-- File Changes --
M modules/tcpops/README (97)
M modules/tcpops/doc/functions.xml (43)
M modules/tcpops/doc/params.xml (29)
M modules/tcpops/tcpops.c (10)
M modules/tcpops/tcpops.h (2)
M modules/tcpops/tcpops_mod.c (64)
M tcp_conn.h (1)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/504.patchhttps://github.com/kamailio/kamailio/pull/504.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/504
With latest rtpengine module, rtpengine_offer generates to syslog:
Feb 9 03:05:03 lohi /usr/bin/sip-proxy[11835]: NOTICE: rtpengine [rtpengine.c:2792]: select_rtpp_node_old(): rtpengine hash table lookup failed to find node for calllen=16 callid=48e2ba8176be0f4a viabranch=z9hG4bK9c06a007a1197f4b0
Why such a message? Looking at the code, it seems to be OK that the
node is not found on a first call of rtpengine_offer:
-- Juha
// lookup node
node = select_rtpp_node_old(callid, viabranch, do_test);
// check node
if (!node) {
// run the selection algorithm
node = select_rtpp_node_new(callid, viabranch, do_test);
// check node
if (!node) {
LM_ERR("rtpengine failed to select new for calllen=%d callid=%.*s\n",
callid.len, callid.len, callid.s);
return NULL;
}
}
Module: kamailio
Branch: master
Commit: 8eb9f9278c98a7bdb09d1c6d2748ab5bcd4519b1
URL: https://github.com/kamailio/kamailio/commit/8eb9f9278c98a7bdb09d1c6d2748ab5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-02-09T08:36:24+01:00
etc/kamailio.cfg: small polishings
- drop silently traffic from scanners
- removed fork=yes (it is default value)
---
Modified: etc/kamailio.cfg
---
Diff: https://github.com/kamailio/kamailio/commit/8eb9f9278c98a7bdb09d1c6d2748ab5…
Patch: https://github.com/kamailio/kamailio/commit/8eb9f9278c98a7bdb09d1c6d2748ab5…
---
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index e48d729..cd7dd27 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -1,6 +1,6 @@
#!KAMAILIO
#
-# Kamailio (OpenSER) SIP Server v4.3 - default configuration script
+# Kamailio (OpenSER) SIP Server v4.4 - default configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
@@ -11,10 +11,10 @@
#
# Several features can be enabled using '#!define WITH_FEATURE' directives:
#
-# *** To run in debug mode:
+# *** To run in debug mode:
# - define WITH_DEBUG
#
-# *** To enable mysql:
+# *** To enable mysql:
# - define WITH_MYSQL
#
# *** To enable authentication execute:
@@ -147,8 +147,8 @@ memlog=5
log_facility=LOG_LOCAL0
-fork=yes
-children=4
+# number of SIP routing processes
+children=8
/* uncomment the next line to disable TCP (default on) */
#disable_tcp=yes
@@ -160,13 +160,12 @@ children=4
/* add local domain aliases */
#alias="sip.mydomain.com"
-/* uncomment and configure the following line if you want Kamailio to
+/* uncomment and configure the following line if you want Kamailio to
bind on a specific interface/port/proto (default bind on all available) */
#listen=udp:10.0.0.10:5060
-/* port to listen to
- * - can be specified more than once if needed to listen on many ports */
-port=5060
+/* port to listen to */
+#port=5060
#!ifdef WITH_TLS
enable_tls=yes
@@ -333,7 +332,7 @@ modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
-modparam("acc", "log_extra",
+modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;src_ip=$si;"
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
@@ -561,8 +560,9 @@ route[REQINIT] {
exit;
}
}
- if($ua =~ "friendly-scanner") {
- sl_send_reply("200", "OK");
+ if($ua =~ "friendly-scanner|sipcli") {
+ # silent drop for scanners - uncomment next line if want to reply
+ # sl_send_reply("200", "OK");
exit;
}
#!endif
@@ -712,7 +712,7 @@ route[PRESENCE] {
}
exit;
#!endif
-
+
# if presence enabled, this part will not be executed
if (is_method("PUBLISH") || $rU==$null) {
sl_send_reply("404", "Not here");