URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3f03a94…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Mar 4 09:43:39 2014 +0100
geoip: for safety checks for the case when geoip_match() is not executed
- but the geoip pv is accessed
- reported by Juha Heinanen
(cherry picked from commit 56ed48bf48c3d78ff5d214833e09a5759f0b5928)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2e1d6ed…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Mar 3 19:15:30 2014 +0100
uac_redirect: select the contacts with highest q when a limit is set
- reported by Stefan Prelle, FS#349
(cherry picked from commit a9b3286a5ace0f66852054634b46c0647c8d1271)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7745bf0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Mar 2 15:40:17 2014 +0100
tm: t_continue() polishing
- variables declared at beginning of function to work on old C standard
compilers
- log messages compacted - function name and log level are prefixed
automatically
- stay under 80 chars per line to fit in text terminals
(cherry picked from commit 47f6cfd76a9d801a83ca14b55926d389f6c3c2da)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c99b81f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Mar 1 10:46:57 2014 +0100
tm: 487 Request Terminated has priority when transaction is cancelled and no reply received from downstream
- for cancel_b_method 1, timeout was sent back even when transaction was
canceled
(cherry picked from commit 6c3725d5535e0b5bff5c63251d37e7139f92321c)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=02c9964…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Feb 27 08:48:42 2014 +0100
geoip: safety check to see if the result structure is filled
- return $null if not
- reported by Juha Heinanen
(cherry picked from commit 721ffe3576e8e7891c27f8578eb244a857ede759)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b6d8aa9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 26 20:30:34 2014 +0100
parser/parse_fline: print offset in log message when failing to parse first line
(cherry picked from commit a111b33ae7b64dbf9486f2fc4b7f3007f4015e77)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1dadf3e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Feb 26 10:45:24 2014 +0100
mtree: enahced docs to specify that the mtree parameter can be set many times
(cherry picked from commit 0b122416932030c9459f16d46438489b115941aa)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f6a050…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Feb 24 19:15:13 2014 +0100
dialog: don't add dialog profiles when loading from db and state is terminated
(cherry picked from commit 9b88eb7ee2d243882383a44f601baa21fd679cd5)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5499306…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Feb 24 18:53:55 2014 +0100
dialog: remove dialog from profile as soon as gets to terminated state
(cherry picked from commit edf61acb57ed5e8ee0ca9ec1f796e43ce993be48)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a0b05cf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Feb 24 18:17:00 2014 +0100
mtree: reset tree statistics upon reload
- related to FS#398, reported by JoshE
(cherry picked from commit 94bad4414b36334061ef0d3ec42747d672eaf058)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b4cf30f…
Author: David M. Lee <dlee(a)digium.com>
Date: Mon Feb 10 15:22:11 2014 -0600
call_control: Passthrough sip_application
Current patches being submitted to CDRTool and the call_control daemon
allow for SIP application type to be specified. This allows audio or
video services to be rated differently, or even different ratings for
application subtypes (audio.inbound vs. audio.outbound).
This patch allows the sip_application value to be passed through to the
call_control daemon.
(cherry picked from commit 0a4519af5c1ea3f61362fba7451eb4acc479d488)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=100b1f0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Feb 21 18:26:34 2014 +0100
topoh: let replies for CANCEL requests be handled
- CANCEL is hop by hop, but can have the call-id hidden when sending out
(cherry picked from commit 376d8b3972d96b70d1e12cc57104475b2ee7ade8)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3eb337b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Feb 21 17:58:19 2014 +0100
topoh: don't encode/decode content for local generated messages
- requests generated by kamailio don't have headers that should be
hidden
- replies to them don't have anything hidden
- update as part of report from FS#390
(cherry picked from commit 41f12e01b20a6b32d26297fbdf6ce17d40823ef2)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=008e43e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Feb 3 11:40:43 2014 +0100
db_cluster: updated the old application name in doc examples
(cherry picked from commit 32f688659fcc6f7c44d9095e585951780e277522)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7ae3db7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jan 30 12:14:48 2014 +0100
core: test the limits of nested select level before accessing array value
(cherry picked from commit b61f173a8dc40592809912e137e42d8ffe1154fa)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=46f2ebd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Jan 30 12:12:44 2014 +0100
utils/db_berkeley: release file description in error cases
(cherry picked from commit e7a0840a1334280650d4abb865843da0072adec6)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=92a0157…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jan 29 22:10:09 2014 +0100
sercmd: memset with proper size
(cherry picked from commit d0ebc7fa4b4b20bee83f57b3f0d0e6e75b5f0b08)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b06c12f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:54:50 2014 +0100
core: avoid warning of using bitwise operator with boolean result
- on a report generated by cppcheck sent by David Binderman
(cherry picked from commit cfb815e440804c2870126c1c098362d5a117f97c)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f8bb8cb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:47:42 2014 +0100
core/parse_methods: removed duplicate check for same characters
- on a report generated by cppcheck sent by David Binderman
(cherry picked from commit 935f06eb8c34fe5fe82588cdd5b4af2f68c51466)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4599ae5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:43:13 2014 +0100
xhttp: check first the possition limits then access the data
- in the eval function for the transformation
- on a report generated by cppcheck sent by David Binderman
(cherry picked from commit 79bfabdc2ae35a5b280c6a23ff611a005dac333c)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=90c7829…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:39:19 2014 +0100
db_postgres: fixed condition checking the parameter for db uri parsing
- on a report generated by cppcheck sent by David Binderman
(cherry picked from commit 480b6d4dfc954fbbb8afb9dbbbf17b80dcdf71ce)
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=75203ca…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Jan 28 18:36:21 2014 +0100
db_mysql: fixed condition checking the parameter for db uri parsing
- on a report generated by cppcheck sent by David Binderman
(cherry picked from commit c0b2e567b2a27d5d29ede39409d6299f7d375d87)
Module: sip-router
Branch: 4.1
Commit: 3c8fe5c1a8f7b4469657199adc4056539fdf47d8
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3c8fe5c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Jan 20 17:24:18 2014 +0100
tm: free from and to display names that can be set for local request from seas module
- reported and patch by Ziad Habchi
(cherry picked from commit 1b53001ad3ad1e9bfd3e64f8e03c35d4e5f54e8d)
---
modules/tm/dlg.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/tm/dlg.c b/modules/tm/dlg.c
index 647e34f..05e7d48 100644
--- a/modules/tm/dlg.c
+++ b/modules/tm/dlg.c
@@ -1216,6 +1216,9 @@ void free_dlg(dlg_t* _d)
if (_d->rem_target.s) shm_free(_d->rem_target.s);
if (_d->dst_uri.s) shm_free(_d->dst_uri.s);
+ if (_d->loc_dname.s) shm_free(_d->loc_dname.s);
+ if (_d->rem_dname.s) shm_free(_d->rem_dname.s);
+
/* Free all routes in the route set */
shm_free_rr(&_d->route_set);
shm_free(_d);
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#404 - Coredump on using jsonrpc_request
User who did this - davy van de moere (davyvdm)
----------
With your patch, I can't get kamailio to crash anymore.
However, I do have an issue with the jsonrpc-c module, perhaps I'm doing it wrong, but just in case it would be a related bug, it might be relevant to touch it:
I added this in the kamailio routing (a bit before pushing it to RELAY):
xlog("L_INFO", "Pre jsonrpc request");
jsonrpc_request("bar.dosmth", "{'ru':'$rU','rb':'$rb'}", "JSONRESPONSE", "JSONERROR", "$var(result)");
xlog("L_INFO","Post jsonrpc request");
In the log file I can see the Pre jsonrpc request being printed, and I can have things executed in the JSONRESPONSE part, and I do see the request go out and be responded, but the processing of the SIP packet stops at the jsonrpc_request. Am I using jsonrpc_request wrongly? Or is smth broken?
grtz,
Davy
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=404#comment1336
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: master
Commit: eb8551205f651263f6c7cdf3afa41ad4b77a87e8
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eb85512…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: Wed Mar 5 13:40:24 2014 +0200
modules/ims_charging: updated documentation for new parameter: single_ro_session_per_dialog
---
modules/ims_charging/doc/ims_charging_admin.xml | 28 ++++++++++++++++++++++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/modules/ims_charging/doc/ims_charging_admin.xml b/modules/ims_charging/doc/ims_charging_admin.xml
index a6ef005..7fd6b89 100644
--- a/modules/ims_charging/doc/ims_charging_admin.xml
+++ b/modules/ims_charging/doc/ims_charging_admin.xml
@@ -338,6 +338,28 @@ modparam("ims_charging", "cdp_event_latency_log", 1)
</section>
<section>
<title>
+ <varname>single_ro_session_per_dialog</varname>(integer)</title>
+ <para>This tells the module whether it should do a single ro session per dialog no matter
+ how many times Ro_send_CCR is called from the config file or initiate an ro session
+ each time Ro_send_CCR is called. It is useful for IMS charging where you might want
+ to charge for on-net originating and off-net originating calls but always have only
+ a single ro session.
+ </para>
+ <para>
+ <emphasis>Default value is 0.</emphasis>
+ </para>
+ <example>
+ <title>
+ <varname>single_ro_session_per_dialog</varname>parameter usage</title>
+ <programlisting format="linespecific">
+...
+modparam("ims_charging", "single_ro_session_per_dialog", 1)
+...
+ </programlisting>
+ </example>
+ </section>
+ <section>
+ <title>
<varname>origin_host</varname>(string)</title>
<para>Origin host to be used in Diameter messages to charging-server.</para>
<para>
@@ -519,7 +541,7 @@ modparam("ims_charging", "service_context_id_release", "262")
<section>
<title>
<function moreinfo="none">Ro_CCR(route_name, direction, charge_type, unit_type,
- reservation_units)</function>
+ reservation_units, domain</function>
</title>
<para>Perform a CCR on Diameter Ro interface for Charging</para>
<para>Meaning of the parameters is as follows:</para>
@@ -549,6 +571,10 @@ modparam("ims_charging", "service_context_id_release", "262")
<emphasis>reservation_units</emphasis>how many units (at the moment seconds) should be
reservated at the moment.</para>
</listitem>
+ <listitem>
+ <para><emphasis>domain</emphasis>- Logical domain within
+ registrar.</para>
+ </listitem>
</itemizedlist>
<para>This function can be used from REQUEST_ROUTE.</para>
<para>This method is executed asynchronously. See example on how to retrieve return
Module: sip-router
Branch: master
Commit: 909a898ab518dc8ca213cfc2e55b8d01b1f8b59b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=909a898…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: Wed Mar 5 13:37:05 2014 +0200
modules/ims_charging: new capability to add dialog data to contact when charging session is created
When charging session is created dialog data is added to contact in usrloc (to be removed if contact is removed)
New exported parameter: single_ro_session_per_dialog allows to call Ro_CCR on term and orig in config file but only 1 charging session is created
---
modules/ims_charging/dialog.c | 121 ++++++++++++++++++++---
modules/ims_charging/dialog.h | 2 +
modules/ims_charging/ims_ro.c | 24 +----
modules/ims_charging/ims_ro.h | 4 +-
modules/ims_charging/mod.c | 170 ++++++++++++++++++++++++++++++--
modules/ims_charging/ro_session_hash.c | 12 ++-
modules/ims_charging/ro_session_hash.h | 11 ++
7 files changed, 297 insertions(+), 47 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=909…