Hi, using Kamailio 3.2.0-dev5 (x86_64/linux) 552425.
Related conf:
------------------------------
modparam("registrar", "use_path", 1)
modparam("registrar", "path_mode", 1)
modparam("nathelper", "natping_interval", 10)
modparam("nathelper", "sipping_method", "OPTIONS")
# No flag is set for NAT pinging...
------------------------------
REGISTER arrives coming from an outbound proxy which added Path header:
------------------
REGISTER sip:REGISTRAR SIP/2.0
Path: <sip:PROXY;transport=udp;lr>
Contact: <sip:pepe@192.168.1.232:23652;transport=udp>;expires=3600
-----------------
Registration is performed, and since that, Kamailio starts sending
ugly UDP datagrams to the Contact URI of the REGISTER:
U 2011/08/31 13:32:21.558022 REGISTRAR -> 192.168.1.232:45329
\x00\x00\x00\x00
So first question is: why is the UDP "ping" sent to the REGISTER
Contact URI instead of sending it to the Path URI?
NOTE: I know that I can add custom/propietary ";received" param in
Path URI and set in the registrar server:
modparam("registrar", "path_use_received", 1)
but honestly that should be non needed.
Second question. Wouldn't be better if the UDP "ping" contains
CRLF+CRLF rather than \x00\x00\x00\x00 ? At least, CRLF+CRLF is
already defined as a SIP TCP ping.
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
Hi,
I'm having some strange compile problems with the malloc_test and tm module.
The core compiles correctly but when I do make modules I get:
*CC (gcc) [M malloc_test.so] malloc_test.o*
*/var/tmp//cc2iaGsC.s: Assembler messages:*
*/var/tmp//cc2iaGsC.s:1280: Error: suffix or operands invalid for `xadd'*
*/var/tmp//cc2iaGsC.s:1813: Error: suffix or operands invalid for `xadd'*
*/var/tmp//cc2iaGsC.s:2331: Error: suffix or operands invalid for `xadd'*
*make[1]: *** [malloc_test.o] Error 1*
If I remove the malloc_test module from compliation (As I am not using it)
when I do make modules I get:
*CC (gcc) [M tm.so] t_cancel.o*
*/var/tmp//ccWeaWKH.s: Assembler messages:*
*/var/tmp//ccWeaWKH.s:105: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:155: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:241: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:259: Error: suffix or operands invalid for `cmpxchg'*
*/var/tmp//ccWeaWKH.s:570: Error: suffix or operands invalid for `cmpxchg'*
*make[1]: *** [t_cancel.o] Error 1*
My machine is: SunOS HOST_NAME 5.11 snv_151a i86pc i386 i86pc Solaris and my
gcc version is gcc version 3.4.3 (csl-sol210-3_4-20050802)
I have successfully compiled and run this on an identical Solaris setup with
the same Makefile configuration.
Has anyone had a similar problem?
Regards
Richard.
Hi!
If you haven't noticed yet, SER (the mother of the SIP proxy projects
Openser, Kamailio, sip-router, opensips, ....) is celebrating their 10th
year. There will be a main event happening in Berlin
(http://sip-router.org/10-years-ser/).
For those who can not travel to this event, there will be some smaller
events around the world.
In Vienna, this will happen on the 8th September at 7pm in the evening,
organized by Andreas Granig and myself. We do not plan to have a big
event with speaker, it is just an informal come together to meet with
other SER-interested[1] guys, having some techie talks, maybe getting
some business contacts and drinking some beers. Drinks will be sponsored
by http://www.ipcom.at/ and http://www.sipwise.com/.
The event will happen in the city center of Vienna. The location is not
fixed yet, it depends on how many people are going to attend. Thus,
please let us know if you going to attend (send us a short e-mail) and
spread this e-mail to interested people you know.
Cheers
Andreas and Klaus
[1] User's of all SER-flavors are welcome
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Andrew Pogrebennyk (marduk)
Attached to Project - sip-router
Summary - typo in parser/parse_param.c
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - There is a small typo in parser/parse_param.c:
static inline void parse_contact_class(param_hooks_t* _h, param_t* _p)
{
if (!_p->name.s) {
LOG(L_ERR, "ERROR: parse_contact_class: empty value\n");
return;
}
if (!_h) {
LOG(L_CRIT, "BUG: parse_uri_class: NULL param hook pointer\n");
return;
}
in the second LOG statement, which looks like a copy&paste error (parse_uri_class vs parse_contact_class). Just thought it's good to let you know..
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=147
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#147 - typo in parser/parse_param.c
User who did this - Andrew Pogrebennyk (marduk)
http://sip-router.org/tracker/index.php?do=details&task_id=147
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: 8e400e86fe48202b05dd4e439a208945bb233353
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8e400e8…
Author: Timo Reimann <timo.reimann(a)1und1.de>
Committer: Timo Reimann <timo.reimann(a)1und1.de>
Date: Mon Aug 29 18:09:51 2011 +0200
modules_k/dialog: Show error message and return from function
prematurely if trying to remove a non-existing dialog variable.
- Fixes a segfaulting bug.
---
modules_k/dialog/dlg_var.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/modules_k/dialog/dlg_var.c b/modules_k/dialog/dlg_var.c
index 6483233..51ce8eb 100644
--- a/modules_k/dialog/dlg_var.c
+++ b/modules_k/dialog/dlg_var.c
@@ -149,9 +149,14 @@ int set_dlg_variable_unsafe(struct dlg_cell *dlg, str *key, str *val, int new)
}
}
- /* not found -> simply add a new one */
+ /* not found: */
- /* insert at the beginning of the list */
+ if (!var) {
+ LM_ERR("dialog variable <%.*s> does not exist in variable list\n", key->len, key->s);
+ return -1;
+ }
+
+ /* insert a new one at the beginning of the list */
var->next = *var_list;
*var_list = var;
Module: sip-router
Branch: jh/mtree
Commit: 7bab7bfcbe51089d3db3d9b611c96f5d8ae78c05
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7bab7bf…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: Sun Aug 28 19:45:09 2011 +0300
lib/srdb1/schema/mtrees.xml: increased version number due to index change
---
lib/srdb1/schema/mtrees.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/srdb1/schema/mtrees.xml b/lib/srdb1/schema/mtrees.xml
index 6913766..eb3f1ab 100644
--- a/lib/srdb1/schema/mtrees.xml
+++ b/lib/srdb1/schema/mtrees.xml
@@ -9,7 +9,7 @@
<table id="mtrees" xmlns:db="http://docbook.org/ns/docbook">
<name>mtrees</name>
- <version>1</version>
+ <version>2</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>This table is used by the mtree module to load values in shared memory trees at start up. More information about the mtree module can be found at: &KAMAILIO_MOD_DOC;mtree.html