Module: kamailio
Branch: master
Commit: 01ec5207c0fd6c01e05568397754e1880c4ab4c5
URL: https://github.com/kamailio/kamailio/commit/01ec5207c0fd6c01e05568397754e18…
Author: jaybeepee <jason.penton(a)gmail.com>
Committer: jaybeepee <jason.penton(a)gmail.com>
Date: 2016-04-14T12:31:07+02:00
modules/ims_registrar_scscf: reset t pointer if tx not found - avoid crash
---
Modified: modules/ims_registrar_scscf/cxdx_sar.c
---
Diff: https://github.com/kamailio/kamailio/commit/01ec5207c0fd6c01e05568397754e18…
Patch: https://github.com/kamailio/kamailio/commit/01ec5207c0fd6c01e05568397754e18…
---
diff --git a/modules/ims_registrar_scscf/cxdx_sar.c b/modules/ims_registrar_scscf/cxdx_sar.c
index c2bb291..eac67fc 100644
--- a/modules/ims_registrar_scscf/cxdx_sar.c
+++ b/modules/ims_registrar_scscf/cxdx_sar.c
@@ -141,7 +141,8 @@ void async_cdp_callback(int is_timeout, void *param, AAAMessage *saa, long elaps
LM_DBG("There is transaction data this must have been called from save or assign server unreg");
data = (saved_transaction_t*) param;
if (tmb.t_lookup_ident(&t, data->tindex, data->tlabel) < 0) {
- LM_ERR("t_continue: transaction not found\n");
+ LM_ERR("t_continue: transaction not found and t is now pointing to %p and will be set to NULL\n", t);
+ t = NULL;
rerrno = R_SAR_FAILED;
goto error_no_send;
}
Module: kamailio
Branch: master
Commit: f85ea36269a1234bd85a6b6afbd2590e6e566060
URL: https://github.com/kamailio/kamailio/commit/f85ea36269a1234bd85a6b6afbd2590…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2016-04-14T10:07:53+02:00
tm Add improved documentation for t_replicate
---
Modified: modules/tm/README
Modified: modules/tm/doc/functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/f85ea36269a1234bd85a6b6afbd2590…
Patch: https://github.com/kamailio/kamailio/commit/f85ea36269a1234bd85a6b6afbd2590…
---
diff --git a/modules/tm/README b/modules/tm/README
index 9b31ebc..40cee22 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -2585,7 +2585,9 @@ if(!t_relay()) {
5.46. t_replicate([params])
- Replicate the SIP request to a specific address.
+ Replicate the SIP request to a specific address. Return values are the
+ same as for t_relay(). Note that responses to the replicated request
+ are suppressed and will not show up in any reply_route.
There are several function prototypes:
* t_replicate([uri]),
diff --git a/modules/tm/doc/functions.xml b/modules/tm/doc/functions.xml
index b022fd9..4ad34fc 100644
--- a/modules/tm/doc/functions.xml
+++ b/modules/tm/doc/functions.xml
@@ -1508,7 +1508,10 @@ if(!t_relay()) {
<function>t_replicate([params])</function>
</title>
<para>
- Replicate the SIP request to a specific address.
+ Replicate the SIP request to a specific address. Return
+ values are the same as for <function>t_relay()</function>.
+ Note that responses to the replicated request are suppressed
+ and will not show up in any reply_route.
</para>
<para>
There are several function prototypes: