THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#102 - Segfault in allow_trusted2
User who did this - Daniel-Constantin Mierla (miconda)
----------
I spotted some other potential issues with the types of parameters used in fixup so I did a bigger patch that should fix also the problem you reported. Can you test the patch from the following commit I did on master branch on v3.1?
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=18e67ca…
If all ok, I will backport. Thanks!
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=102#comment133
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#103 - $snd(name) pvar contains local instead of remote socket info
User who did this - Alex Hermann (axlh)
http://sip-router.org/tracker/index.php?do=details&task_id=103
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Alex Hermann (axlh)
Attached to Project - sip-router
Summary - $snd(name) pvar contains local instead of remote socket info
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - The following fragment
<code>
onsend_route {
xlog("Sending request to $snd(proto):$snd(af):$snd(ip):$snd(port) len: $ml");
return;
}
</code>
always logs the local listen ip and port of kamailio. Documentation says:
"$snd(name) - return attributes of the address where the request is going to be sent."
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=103
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#102 - Segfault in allow_trusted2
User who did this - Alex Hermann (axlh)
http://sip-router.org/tracker/index.php?do=details&task_id=102
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Alex Hermann (axlh)
Attached to Project - sip-router
Summary - Segfault in allow_trusted2
Task Type - Bug Report
Category - Modules kamailio
Status - Assigned
Assigned To - Daniel-Constantin Mierla
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - if (allow_trusted("$si", "$proto"))
Will cause a segfault.
$proto is returned from the following code fragment in pv_core.c:
int pv_get_proto(struct sip_msg *msg, pv_param_t *param,
pv_value_t *res)
{
str s;
if(msg==NULL)
return -1;
switch(msg->rcv.proto)
{
case PROTO_UDP:
s.s = "udp";
s.len = 3;
break;
The "udp" string is allocated by the compiler in the TEXT segment, which by its nature is not writable. The tolower() which allow_trusted2() tries to do later is rewarded with a segfault.
Attached patch fixes the segfault.
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=102
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#101 - [regression] proxy_authorize function is missing return values
User who did this - Alex Hermann (axlh)
http://sip-router.org/tracker/index.php?do=details&task_id=101
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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Alex Hermann (axlh)
Attached to Project - sip-router
Summary - [regression] proxy_authorize function is missing return values
Task Type - Bug Report
Category - Modules kamailio
Status - Assigned
Assigned To - Daniel-Constantin Mierla
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 3.1
Due in Version - Undecided
Due Date - Undecided
Details - In kamailio 1.5 the various _authorize functions return a lot more info on failed authorization attempts. In 3.1 this functionalitity is missing.
Attached patch is a first attempt to restore this functionality.
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=101
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: 3.1
Commit: 7340a8d0d02e22c2541b6e1d0dc82fb194a90c87
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7340a8d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 12 12:26:26 2010 +0100
dispatcher(k): note about disabling MI ds_reload
- the MI command ds_reload is disabled for call load based dispatching
(algorithm 10)
(cherry picked from commit e1371192357f889c35003ea28d0eb2351e27f84d)
---
modules_k/dispatcher/README | 5 ++++-
modules_k/dispatcher/doc/dispatcher_admin.xml | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/modules_k/dispatcher/README b/modules_k/dispatcher/README
index 781e499..1c747c9 100644
--- a/modules_k/dispatcher/README
+++ b/modules_k/dispatcher/README
@@ -857,7 +857,10 @@ onreply_route {
5.3. ds_reload
- It reloads the groups and included destinations.
+ It reloads the groups and included destinations. The command is
+ disabled for call load based dispatching (algorithm 10) since removal
+ of destinations may leave the list of active calls with broken
+ references.
Name: ds_reload
diff --git a/modules_k/dispatcher/doc/dispatcher_admin.xml b/modules_k/dispatcher/doc/dispatcher_admin.xml
index b05403a..ae857fd 100644
--- a/modules_k/dispatcher/doc/dispatcher_admin.xml
+++ b/modules_k/dispatcher/doc/dispatcher_admin.xml
@@ -1069,7 +1069,10 @@ onreply_route {
<function moreinfo="none">ds_reload</function>
</title>
<para>
- It reloads the groups and included destinations.
+ It reloads the groups and included destinations. The command is
+ disabled for call load based dispatching (algorithm 10) since
+ removal of destinations may leave the list of active
+ calls with broken references.
</para>
<para>
Name: <emphasis>ds_reload</emphasis>