Module: kamailio
Branch: master
Commit: c4bd6709cf3abb1fb0685fc89641d85c6752eb34
URL: https://github.com/kamailio/kamailio/commit/c4bd6709cf3abb1fb0685fc89641d85…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-09-06T20:46:22+02:00
modules: readme files regenerated - lcr ... [skip ci]
---
Modified: src/modules/lcr/README
---
Diff: https://github.com/kamailio/kamailio/commit/c4bd6709cf3abb1fb0685fc89641d85…
Patch: https://github.com/kamailio/kamailio/commit/c4bd6709cf3abb1fb0685fc89641d85…
---
diff --git a/src/modules/lcr/README b/src/modules/lcr/README
index 3ac0c7a185..aca7e6d6a2 100644
--- a/src/modules/lcr/README
+++ b/src/modules/lcr/README
@@ -571,8 +571,8 @@ modparam("lcr", "lcr_rule_table", "rules")
3.17. prefix_column (string)
- Name of the column holding prefix of Request-URI user part and prefix
- of gateway.
+ Name of the column in lcr_rule and lcr_gw tables holding prefix of
+ Request-URI user part and prefix of gateway, respectively.
Default value is “prefix”.
Module: kamailio
Branch: master
Commit: b0f941e1ef9a013472ea42bade3c8ecae9111768
URL: https://github.com/kamailio/kamailio/commit/b0f941e1ef9a013472ea42bade3c8ec…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: 2017-09-06T21:34:56+03:00
modules/lcr: improved description of prefix_column param
---
Modified: src/modules/lcr/doc/lcr_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/b0f941e1ef9a013472ea42bade3c8ec…
Patch: https://github.com/kamailio/kamailio/commit/b0f941e1ef9a013472ea42bade3c8ec…
---
diff --git a/src/modules/lcr/doc/lcr_admin.xml b/src/modules/lcr/doc/lcr_admin.xml
index 8c4552d1ba..5d1d92c99a 100644
--- a/src/modules/lcr/doc/lcr_admin.xml
+++ b/src/modules/lcr/doc/lcr_admin.xml
@@ -519,8 +519,8 @@ modparam("lcr", "lcr_rule_table", "rules")
<section>
<title><varname>prefix_column</varname> (string)</title>
<para>
- Name of the column holding prefix of Request-URI user
- part and prefix of gateway.
+ Name of the column in lcr_rule and lcr_gw tables holding prefix
+ of Request-URI user part and prefix of gateway, respectively.
</para>
<para>
<emphasis>
Module: kamailio
Branch: master
Commit: b672d8ef63715cf816390a05ce7a441377c3e468
URL: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a441…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-09-06T11:13:16+02:00
tm: reset T_ASYNC_CONTINUE once t_continue() callback is executed
- by having it still set, the reply field was not reset, causing to free
an invalid pointer when transaction was destroyed, reported by Vitaliy
Aleksandrov
- set reply of suspended request branch to FAKED_REPLY on continue,
the code was already set to 500 - make it coherent with the local
replied transactions
- reset cloned reply under lock for suspended reply branch and free it
later via backup pointer - safer if someone risks to access the
suspended reply branch (should happen now, just future proof)
---
Modified: src/modules/tm/t_suspend.c
---
Diff: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a441…
Patch: https://github.com/kamailio/kamailio/commit/b672d8ef63715cf816390a05ce7a441…
Module: kamailio
Branch: 5.0
Commit: d5f89eb46c6d463d162dab0af1a7b56af513549c
URL: https://github.com/kamailio/kamailio/commit/d5f89eb46c6d463d162dab0af1a7b56…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-09-06T09:15:14+02:00
tm: more info in some log messages
(cherry picked from commit 8599f6fca16367a3e2a0dd4a638c667459482cd5)
---
Modified: src/modules/tm/t_lookup.c
---
Diff: https://github.com/kamailio/kamailio/commit/d5f89eb46c6d463d162dab0af1a7b56…
Patch: https://github.com/kamailio/kamailio/commit/d5f89eb46c6d463d162dab0af1a7b56…
---
diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 265633ca69..474ad63cbe 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -930,7 +930,7 @@ int t_reply_matching( struct sip_msg *p_msg , int *p_branch )
*p_branch =(int) branch_id;
REF_UNSAFE( T );
UNLOCK_HASH(hash_index);
- LM_DBG("reply matched (T=%p)!\n",T);
+ LM_DBG("reply (%p) matched an active transaction (T=%p)!\n", p_msg, T);
if(likely(!(p_msg->msg_flags&FL_TM_RPL_MATCHED))) {
/* if this is a 200 for INVITE, we will wish to store to-tags to be
* able to distinguish retransmissions later and not to call
@@ -997,8 +997,8 @@ int t_check_msg( struct sip_msg* p_msg , int *param_branch )
ret=0;
/* is T still up-to-date ? */
- LM_DBG("msg id=%d global id=%d T start=%p\n",
- p_msg->id,global_msg_id,T);
+ LM_DBG("msg (%p) id=%d global id=%d T start=%p\n",
+ p_msg,p_msg->id,global_msg_id,T);
if ( p_msg->id != global_msg_id || T==T_UNDEFINED )
{
global_msg_id = p_msg->id;
@@ -1063,17 +1063,17 @@ int t_check_msg( struct sip_msg* p_msg , int *param_branch )
if ( T && T!=T_UNDEFINED && T->flags & (T_IN_AGONY)) {
LM_WARN("transaction %p scheduled for deletion "
"and called from t_check_msg (flags=%x) (but it might be ok)"
- "\n", T, T->flags);
+ " (msg %p)\n", T, T->flags, p_msg);
}
#endif
- LM_DBG("msg id=%d global id=%d T end=%p\n",
- p_msg->id,global_msg_id,T);
+ LM_DBG("msg (%p) id=%d global id=%d T end=%p\n",
+ p_msg,p_msg->id,global_msg_id,T);
} else { /* ( p_msg->id == global_msg_id && T!=T_UNDEFINED ) */
if (T){
- LM_DBG("T already found!\n");
+ LM_DBG("T (%p) already found for msg (%p)!\n", T, p_msg);
ret=1;
}else{
- LM_DBG("T previously sought and not found\n");
+ LM_DBG("T previously sought and not found for msg (%p)\n", p_msg);
ret=-1;
}
if (likely(param_branch))
Module: kamailio
Branch: master
Commit: 8599f6fca16367a3e2a0dd4a638c667459482cd5
URL: https://github.com/kamailio/kamailio/commit/8599f6fca16367a3e2a0dd4a638c667…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-09-06T09:09:13+02:00
tm: more info in some log messages
---
Modified: src/modules/tm/t_lookup.c
---
Diff: https://github.com/kamailio/kamailio/commit/8599f6fca16367a3e2a0dd4a638c667…
Patch: https://github.com/kamailio/kamailio/commit/8599f6fca16367a3e2a0dd4a638c667…
---
diff --git a/src/modules/tm/t_lookup.c b/src/modules/tm/t_lookup.c
index 94787f1965..1fff011dee 100644
--- a/src/modules/tm/t_lookup.c
+++ b/src/modules/tm/t_lookup.c
@@ -930,7 +930,7 @@ int t_reply_matching( struct sip_msg *p_msg , int *p_branch )
*p_branch =(int) branch_id;
REF_UNSAFE( T );
UNLOCK_HASH(hash_index);
- LM_DBG("reply matched (T=%p)!\n",T);
+ LM_DBG("reply (%p) matched an active transaction (T=%p)!\n", p_msg, T);
if(likely(!(p_msg->msg_flags&FL_TM_RPL_MATCHED))) {
/* if this is a 200 for INVITE, we will wish to store to-tags to be
* able to distinguish retransmissions later and not to call
@@ -997,8 +997,8 @@ int t_check_msg( struct sip_msg* p_msg , int *param_branch )
ret=0;
/* is T still up-to-date ? */
- LM_DBG("msg id=%d global id=%d T start=%p\n",
- p_msg->id,global_msg_id,T);
+ LM_DBG("msg (%p) id=%d global id=%d T start=%p\n",
+ p_msg,p_msg->id,global_msg_id,T);
if ( p_msg->id != global_msg_id || T==T_UNDEFINED )
{
global_msg_id = p_msg->id;
@@ -1063,17 +1063,17 @@ int t_check_msg( struct sip_msg* p_msg , int *param_branch )
if ( T && T!=T_UNDEFINED && T->flags & (T_IN_AGONY)) {
LM_WARN("transaction %p scheduled for deletion "
"and called from t_check_msg (flags=%x) (but it might be ok)"
- "\n", T, T->flags);
+ " (msg %p)\n", T, T->flags, p_msg);
}
#endif
- LM_DBG("msg id=%d global id=%d T end=%p\n",
- p_msg->id,global_msg_id,T);
+ LM_DBG("msg (%p) id=%d global id=%d T end=%p\n",
+ p_msg,p_msg->id,global_msg_id,T);
} else { /* ( p_msg->id == global_msg_id && T!=T_UNDEFINED ) */
if (T){
- LM_DBG("T already found!\n");
+ LM_DBG("T (%p) already found for msg (%p)!\n", T, p_msg);
ret=1;
}else{
- LM_DBG("T previously sought and not found\n");
+ LM_DBG("T previously sought and not found for msg (%p)\n", p_msg);
ret=-1;
}
if (likely(param_branch))
Module: kamailio
Branch: master
Commit: 303294547399610a4eedcd382631e7d442fd76ad
URL: https://github.com/kamailio/kamailio/commit/303294547399610a4eedcd382631e7d…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-09-05T08:01:33+02:00
modules: readme files regenerated - presence_xml ... [skip ci]
---
Modified: src/modules/presence_xml/README
---
Diff: https://github.com/kamailio/kamailio/commit/303294547399610a4eedcd382631e7d…
Patch: https://github.com/kamailio/kamailio/commit/303294547399610a4eedcd382631e7d…
---
diff --git a/src/modules/presence_xml/README b/src/modules/presence_xml/README
index 4b26628d6a..045edce2d9 100644
--- a/src/modules/presence_xml/README
+++ b/src/modules/presence_xml/README
@@ -119,8 +119,8 @@ Chapter 1. Admin Guide
* presence.
* sl.
* xcap_client.
- Only compulsory if not using an integrated xcap server (if
- 'integrated_xcap_server' parameter is not set).
+ Needed only when not using the integrated xcap server (if
+ 'integrated_xcap_server' parameter is set to 0).
2.2. External Libraries or Applications
@@ -223,15 +223,15 @@ modparam("presence_xml", "force_active", 1)
This parameter is a flag for the type of XCAP servers used. If the XCAP
server is integrated with Kamailio presence_xml module and access the
same database tables directly, like the embedded XCAP server
- implemented in xcap_server module, the parameter should be set to a
- positive value. Apart from updating in xcap table, if the integrated
- server is not running on the same Kamailio instance, it must send an
- RPC command presence.refreshWatchers [pres_uri] [event] when a user
- modifies a rules document, to instruct the presence_xml module to
- update states from the database and, if needed, send NOTIFY updates.
-
- Otherwise, it uses xcap_client module to fetch documents from the XCAP
- servers with HTTP requests.
+ implemented in xcap_server module, the parameter has to be set to 1.
+ Apart from updating in xcap table, if the integrated server is not
+ running on the same Kamailio instance, it must send an RPC command
+ presence.refreshWatchers [pres_uri] [event] when a user modifies a
+ rules document, to instruct the presence_xml module to update states
+ from the database and, if needed, send NOTIFY updates.
+
+ Otherwise (if set to 0) it uses xcap_client module to fetch documents
+ from the XCAP servers with HTTP requests.
Default value is “0”.