Good evening.
Sorry for the delay. It has been hard to me to find what was happening.
Found 2 errors on this patch.
1.- On notify.c on "process_contact" function we've forgotten one
"return".
2.- On notify.c on "process_body" there is an "uri" string unassigned
and we think "if clause" based on "reginfo_use_domain" var is not
necessary.
diff master_branch_corrected.c master_branch.c
137,140c137
< if (VALID_CONTACT(ul_contact, time(0))){
< ret = RESULT_CONTACTS_FOUND;
< goto done;
< }
---
> if (VALID_CONTACT(ul_contact, time(0))) return
> RESULT_CONTACTS_FOUND;
222a220
> char uri[MAX_URI_SIZE];
276,277c274,278
< aor_key.s = parsed_aor.user.s;
<
---
> if (reginfo_use_domain) {
> aor_key.s = uri;
> } else {
> aor_key.s = parsed_aor.user.s;
> }
We could also simplify this code leaving prior "process_contact"
function as it was before and round it with "pua_reginfo_update_self_op"
function as:
...
/* Add to Usrloc: */
pua_reginfo_update_self_op(1);
result = process_contact(domain,
&ul_record, aor_key, callid, cseq, expires, event, contact_uri);
pua_reginfo_update_self_op(0);
...
I'll send you our changes to "path", "received", "ua" and son on
"Contact" header params when we finish to test them.
Thanks and best regards.
Eduardo Lejarreta.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#492 - kamctl warning when greadlink does not exist
User who did this - Morten Tryfoss (mtryfoss)
----------
I was a bit too quick. Try this instead:
— utils/kamctl/kamctl 2014-11-11 13:48:48.000000000 +0100
+++ utils/kamctl/kamctl 2014-11-17 14:14:36.389779782 +0100
@@ -16,12 +16,12 @@
### include config files
# check for rc file at same location with kamctl
-which greadlink > /dev/null
+which greadlink &> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(greadlink -f “$0”)
else
- which readlink > /dev/null
+ which readlink &> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(readlink -f “$0”)
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=492#comment1694
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 - Morten Tryfoss (mtryfoss)
Attached to Project - sip-router
Summary - Fix kamalio.spec for Centos
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - See attached patch. Changed rtpproxy-ng to rtpengine and added new modules to be packed.
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=493
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 - Morten Tryfoss (mtryfoss)
Attached to Project - sip-router
Summary - kamctl warning when greadlink does not exist
Task Type - Bug Report
Category - utils
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - 4.2
Due in Version - Undecided
Due Date - Undecided
Details - kamctl prints:
/usr/bin/which: no greadlink in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
Causes pacemaker monitoring to fail.
I think this will be ok:
--- utils/kamctl/kamctl 2014-11-11 13:48:48.000000000 +0100
+++ utils/kamctl/kamctl 2014-11-17 14:14:36.389779782 +0100
@@ -16,12 +16,12 @@
### include config files
# check for rc file at same location with kamctl
-which greadlink > /dev/null
+which greadlink 2> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(greadlink -f "$0")
else
- which readlink > /dev/null
+ which readlink 2> /dev/null
ret=$?
if [ $ret -eq 0 ] ; then
KAMCTLFULLPATH=$(readlink -f "$0")
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=492
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.
Hi all!
Module DMQ_SYNC:
The module add replication between multiple servers via DMQ module.
Currently only usrloc replications.
TODO:
1. dialog replications.
2. bugfixes.
Patch fo DMQ:
1. add find_dmq_node_uri function to API
dmq_node_t* find_dmq_node_uri(str* uri)
2. add init_callback to dmq_peer
int init_callback()
______________________________
Andrey Rybkin
JID: rybkin.a(a)bks.tv
E-Mail: rybkin.a(a)bks.tv