[sr-dev] dmq server address question

2018-02-19 Thread Juha Heinanen
I tried to configure dmq module according to README, but got this kind
of error:

Feb 20 07:32:55 rautu /usr/bin/pres-serv[17983]: ERROR: dmq [dmq.c:228]: 
mod_init(): server_uri is not a socket the proxy is listening on

In the config I have:

modparam("dmq", "server_address", "sip:192.26.133.10:5080")

and just above the error message there is this in syslog:

Feb 20 07:32:55 rautu pres-serv[17959]: Listening on
Feb 20 07:32:55 rautu pres-serv[17959]: tcp: 192.26.133.10 [192.26.133.10]:5080

i.e., server is listening on the same ip/port as in server_address.

I tried also by configuring

modparam("dmq", "server_address", "tcp:192.26.133.10:5080")

since "sip" is not a transport protocol of a socket, but that was
rejected with "server address invalid" error message.

It is confusing that error message refers to server_uri, when modparam
is called server_address.

I must be missing something. Any ideas what it is?

-- Juha

___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] compiler warnings in master's siptrace

2018-02-19 Thread Juha Heinanen
CC (gcc) [M siptrace.so]siptrace.o
siptrace.c: In function 'trace_onreply_out':
siptrace.c:1227:6: warning: unused variable 'len' [-Wunused-variable]
  int len;
  ^~~
siptrace.c: In function 'siptrace_net_data_recv':
siptrace.c:1477:1: warning: label 'error' defined but not used [-Wunused-label]
 error:
 ^
siptrace.c:1436:6: warning: unused variable 'olen' [-Wunused-variable]
  int olen;
  ^~~~
siptrace.c:1435:8: warning: unused variable 'cp' [-Wunused-variable]
  char *cp;
^~
siptrace.c: In function 'siptrace_net_data_send':
siptrace.c:1491:6: warning: unused variable 'olen' [-Wunused-variable]
  int olen;
  ^~~~
siptrace.c:1490:8: warning: unused variable 'p0' [-Wunused-variable]
  char *p0;
^~
siptrace.c:1489:8: warning: unused variable 'cp' [-Wunused-variable]
  char *cp;
^~

___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] rtpengine: setting tos value for the control commands (#1442)

2018-02-19 Thread Richard Fuchs
rfuchs commented on this pull request.



> @@ -1675,6 +1677,20 @@ static int build_rtpp_socks() {
LM_WARN("Failed enable set MTU discovery socket 
option\n");
 #endif
 
+   if((0 <= control_cmd_tos) && (control_cmd_tos < 256)) {
+   unsigned char tos = control_cmd_tos;
+   if (pnode->rn_umode == 6) {
+   setsockopt(rtpp_socks[pnode->idx], 
IPPROTO_IPV6,
+   IPV6_TCLASS, ,
+   sizeof(tos));

Sorry, I guess I should have been more clear. The argument to the IPv6 version 
IPV6_TCLASS is in fact an int. It's just the IPv4 IP_TOS that takes an unsigned 
char.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1442#pullrequestreview-97636509___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] rtpengine: setting tos value for the control commands (#1442)

2018-02-19 Thread hdikme
hdikme commented on this pull request.



> @@ -1675,6 +1677,19 @@ static int build_rtpp_socks() {
LM_WARN("Failed enable set MTU discovery socket 
option\n");
 #endif
 
+   if((0 <= control_cmd_tos) && (control_cmd_tos < 256)) {
+   if (pnode->rn_umode == 6) {
+   setsockopt(rtpp_socks[pnode->idx], 
IPPROTO_IPV6,
+   IPV6_TCLASS, 
_cmd_tos,
+   
sizeof(control_cmd_tos));
+
+   } else {
+   setsockopt(rtpp_socks[pnode->idx], 
IPPROTO_IP,
+   IP_TOS, 
_cmd_tos,
+   
sizeof(control_cmd_tos));

I have updated the code based on your review, if anything needs to be changed 
let me know please. Thanks for the review.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1442#discussion_r169117591___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] ims_isc module does not deliver to AS after asynchronous SAR to HSS (distinct PSI) (#1168)

2018-02-19 Thread Christoph VALENTIN
For fast solution, we did a local workaround for this problem.
If we can help to assert the validity, please tell us. We would be interested 
in a final solution, too.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1168#issuecomment-366680966___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dispatch: change log level to debug for rpc list empty list (#1448)

2018-02-19 Thread lazedo
@miconda hey, Daniel, can this be backported ?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1448#issuecomment-366680294___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:285c9e09: db_redis: doc - fixed docentities in xml files

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 285c9e091ebf74f29fe6e9f9c8e808604bc6da35
URL: 
https://github.com/kamailio/kamailio/commit/285c9e091ebf74f29fe6e9f9c8e808604bc6da35

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T12:45:40+01:00

db_redis: doc - fixed docentities in xml files

---

Modified: src/modules/db_redis/doc/db_redis.xml
Modified: src/modules/db_redis/doc/db_redis_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/285c9e091ebf74f29fe6e9f9c8e808604bc6da35.diff
Patch: 
https://github.com/kamailio/kamailio/commit/285c9e091ebf74f29fe6e9f9c8e808604bc6da35.patch

---

diff --git a/src/modules/db_redis/doc/db_redis.xml 
b/src/modules/db_redis/doc/db_redis.xml
index c1733594bb..7c3e958518 100644
--- a/src/modules/db_redis/doc/db_redis.xml
+++ b/src/modules/db_redis/doc/db_redis.xml
@@ -3,7 +3,7 @@
 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; [
 
 
-
+
 %docentities;
 
 ]>
diff --git a/src/modules/db_redis/doc/db_redis_admin.xml 
b/src/modules/db_redis/doc/db_redis_admin.xml
index 31eb07d2f9..730c270847 100644
--- a/src/modules/db_redis/doc/db_redis_admin.xml
+++ b/src/modules/db_redis/doc/db_redis_admin.xml
@@ -3,7 +3,7 @@
 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd; [
 
 
-
+
 %docentities;
 
 ]>


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:20692fac: db_redis: doc - fixed value for docbook_dir in makefile

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 20692facbc01c3528a5dc0bca45bcfcccf1057a8
URL: 
https://github.com/kamailio/kamailio/commit/20692facbc01c3528a5dc0bca45bcfcccf1057a8

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T12:41:09+01:00

db_redis: doc - fixed value for docbook_dir in makefile

---

Modified: src/modules/db_redis/doc/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/20692facbc01c3528a5dc0bca45bcfcccf1057a8.diff
Patch: 
https://github.com/kamailio/kamailio/commit/20692facbc01c3528a5dc0bca45bcfcccf1057a8.patch

---

diff --git a/src/modules/db_redis/doc/Makefile 
b/src/modules/db_redis/doc/Makefile
index 0a27b79b14..206ba6fe7b 100644
--- a/src/modules/db_redis/doc/Makefile
+++ b/src/modules/db_redis/doc/Makefile
@@ -1,4 +1,4 @@
 docs = db_redis.xml
 
-docbook_dir = ../../../docbook
+docbook_dir = ../../../../doc/docbook
 include $(docbook_dir)/Makefile.module


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:2a88f6e8: pua_json: docs - fixed pua_json.xml name in makefile

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 2a88f6e832fb75813884373303fc493294dca09b
URL: 
https://github.com/kamailio/kamailio/commit/2a88f6e832fb75813884373303fc493294dca09b

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T12:31:44+01:00

pua_json: docs - fixed pua_json.xml name in makefile

---

Modified: src/modules/pua_json/doc/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/2a88f6e832fb75813884373303fc493294dca09b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/2a88f6e832fb75813884373303fc493294dca09b.patch

---

diff --git a/src/modules/pua_json/doc/Makefile 
b/src/modules/pua_json/doc/Makefile
index 253a1aa1f4..a9d0804381 100644
--- a/src/modules/pua_json/doc/Makefile
+++ b/src/modules/pua_json/doc/Makefile
@@ -1,4 +1,4 @@
-docs = json_pua.xml
+docs = pua_json.xml
 
 docbook_dir = ../../../../doc/docbook
 include $(docbook_dir)/Makefile.module


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:44023e7e: presence: use instead of < in xml docs

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 44023e7eb8ff6a23bc57b69f8695466e910bed4a
URL: 
https://github.com/kamailio/kamailio/commit/44023e7eb8ff6a23bc57b69f8695466e910bed4a

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T12:24:39+01:00

presence: use  instead of < in xml docs

---

Modified: src/modules/presence/doc/presence_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/44023e7eb8ff6a23bc57b69f8695466e910bed4a.diff
Patch: 
https://github.com/kamailio/kamailio/commit/44023e7eb8ff6a23bc57b69f8695466e910bed4a.patch

---

diff --git a/src/modules/presence/doc/presence_admin.xml 
b/src/modules/presence/doc/presence_admin.xml
index aa10dff34c..d081a1c6f2 100644
--- a/src/modules/presence/doc/presence_admin.xml
+++ b/src/modules/presence/doc/presence_admin.xml
@@ -906,7 +906,7 @@ modparam("presence", "retrieve_order_by", "priority, 
received_time")
enable_dmq (integer)

If set to 1, will enable DMQ replication of presentities 
between nodes. Use this instead of a shared DB
-   to share state across a cluster and update local watchers in 
realtime (subs_db_mode < 3) or on next
+   to share state across a cluster and update local watchers in 
realtime (subs_db_mode  3) or on next
notifier run (subs_db_mode = 3).




___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

2018-02-19 Thread Daniel-Constantin Mierla
My work was to get it at least work as before of 839cf89. I do not have time 
for any further work, so anyone else willing to do it is more than welcome.

You can open a PR when you start the work and ask for review/suggestions if you 
get stuck.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#issuecomment-366648433___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

2018-02-19 Thread Vasiliy Ganchev
Hi, Daniel!
I did more testing and provided change works. 
What do you think regarding proper solution with comparing call-id (as you 
mentioned in the beginning)?
Because current change improve the situation, but it is not what is expected by 
RFC.

Anyway - I think this changes should be committed. 

Regarding the following work, should we create another task, or leave this 
thread open? 
(I have plans to work on the task following weeks, and possibly will need 
advice/review)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#issuecomment-366646317___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] app_python3: first release (#1449)

2018-02-19 Thread aalba6675
Thanks @miconda! I'll wait until it is merged to rebase and follow-up.

The immediate tasks will be to fix documentation, and have a go at reload. 

Will gather more developer and community feedback before proposing any
refactoring.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1449#issuecomment-366641361___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Crash on receiving incorrect REGISTER request? (#1420)

2018-02-19 Thread Daniel-Constantin Mierla
Closed #1420.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1420#event-1480199077___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] ims_isc module does not deliver to AS after asynchronous SAR to HSS (distinct PSI) (#1168)

2018-02-19 Thread Daniel-Constantin Mierla
Any update on this issue? I know IMS modules got quite a lot of commits during 
the past half year, so not sure if this is till actual or not. Maybe @ngvoice 
can assert its validity at this moment.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1168#issuecomment-366638660___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Crash on receiving incorrect REGISTER request? (#1420)

2018-02-19 Thread Daniel-Constantin Mierla
OK, closing it then. Reopen or create a new item if something wrongs pops up 
again.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1420#issuecomment-366638904___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Transactions kept in memory, shared memory runs out and Kamailio gives up hope of life. (#1220)

2018-02-19 Thread Daniel-Constantin Mierla
Closing it for now. If something new related appears, reopen or create a new 
item.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1220#issuecomment-366637925___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Transactions kept in memory, shared memory runs out and Kamailio gives up hope of life. (#1220)

2018-02-19 Thread Daniel-Constantin Mierla
Closed #1220.

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1220#event-1480191863___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] registrar: function "registered(...)" different workers integrity (#1267)

2018-02-19 Thread Daniel-Constantin Mierla
Thanks! Pushed the change to master and it will be backported.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1267#issuecomment-366637697___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] registrar: function "registered(...)" different workers integrity (#1267)

2018-02-19 Thread Daniel-Constantin Mierla
Closed #1267.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1267#event-1480190224___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:5b5d55bd: registrar: set current time before checking registered() conditions

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 5b5d55bd377b0572efaceeb0feb164bf5dd26bf0
URL: 
https://github.com/kamailio/kamailio/commit/5b5d55bd377b0572efaceeb0feb164bf5dd26bf0

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T10:31:08+01:00

registrar: set current time before checking registered() conditions

- patch by Dmitri Savolainen, closes GH #1267

---

Modified: src/modules/registrar/lookup.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/5b5d55bd377b0572efaceeb0feb164bf5dd26bf0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/5b5d55bd377b0572efaceeb0feb164bf5dd26bf0.patch

---

diff --git a/src/modules/registrar/lookup.c b/src/modules/registrar/lookup.c
index b18fe993aa..84c0f40208 100644
--- a/src/modules/registrar/lookup.c
+++ b/src/modules/registrar/lookup.c
@@ -759,6 +759,7 @@ int registered4(struct sip_msg* _m, udomain_t* _d, str* 
_uri, int match_flag,
}
}
 
+   get_act_time();
for (ptr = r->contacts; ptr; ptr = ptr->next) {
if(!VALID_CONTACT(ptr, act_time)) continue;
if (match_callid.s && /* optionally enforce tighter 
matching w/ Call-ID */


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

2018-02-19 Thread Daniel-Constantin Mierla
Thanks, reopen (if related) or create a new item (if different) when something 
wrong pops up.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#issuecomment-366631994___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] presence: incorrect dialog state for multiple dialogs xml body (#1427)

2018-02-19 Thread Daniel-Constantin Mierla
Closed #1427.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1427#event-1480150056___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] app_python3: first release (#1449)

2018-02-19 Thread Daniel-Constantin Mierla
Thanks for this work!

There are some bits that still need to be updated, as I could spot in the 
documentation the name of the module is app_python, but it should be 
app_python3.

Since we are here discussing about a new app_python implementation, I wonder if 
still make sense to keep the old modules like Router, Logger (not sure if there 
are other). The should be now redundant with the KSR, which has lot more 
methods exported. I am not a Python user, so I cannot assert if something in 
old modules is missing in KSR, but in long term, we should remove the old ones 
anyhow, adding whatever is missing to KSR.

As you are working on this these days, would you be able to make the RPC 
command to reload the script working? I did a poor attempt to implement it, but 
it fails badly.

Another aspect I wanted to discuss with the people being familiar with the 
Python and its embedded API is whether it makes sense to create a SIP msg 
object each time there is a SIP request/reply handled by Kamailio. It feels 
like adding a bit of overhead in terms of performances. The alternative is to 
have KSR as a static/global object, so it doesn't need a constructor to 
initialize for each SIP message. Then the KEMI callback functions like 
ksr_request_route() to be global, not part of an object. Again, just an idea, 
not sure it matches how Python interpreter can be embedded or how it fits with 
its object oriented model. But Python seems rather popular in the context of 
Kemi, so I am throwing some ideas that could improve the performances.

Anyhow, I think the way to go is:

  * I am going to merge this PR, so if someone wants to keep using old modules, 
have a chance to revert if we go in a different direction
  * you will follow up with commits that will make `app_python3` be used 
everywhere it should be the module name
  * based on what people find acceptable/possible to implement, next steps will 
be to remove old modules and switch from a dynamic object for each SIP message 
to use of a static Kemi/KSR package.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1449#issuecomment-366631736___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:04406cc5: pkg/kamailio/deb: set version to 5.2.0~dev4

2018-02-19 Thread Victor Seva
Module: kamailio
Branch: master
Commit: 04406cc5b46b86ba6cb4642c45020aa7861f5ffa
URL: 
https://github.com/kamailio/kamailio/commit/04406cc5b46b86ba6cb4642c45020aa7861f5ffa

Author: Victor Seva 
Committer: Victor Seva 
Date: 2018-02-19T10:18:25+01:00

pkg/kamailio/deb: set version to 5.2.0~dev4

---

Modified: pkg/kamailio/deb/buster/changelog
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog

---

Diff:  
https://github.com/kamailio/kamailio/commit/04406cc5b46b86ba6cb4642c45020aa7861f5ffa.diff
Patch: 
https://github.com/kamailio/kamailio/commit/04406cc5b46b86ba6cb4642c45020aa7861f5ffa.patch

---

diff --git a/pkg/kamailio/deb/buster/changelog 
b/pkg/kamailio/deb/buster/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/buster/changelog
+++ b/pkg/kamailio/deb/buster/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/debian/changelog 
b/pkg/kamailio/deb/debian/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/jessie/changelog 
b/pkg/kamailio/deb/jessie/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/precise/changelog 
b/pkg/kamailio/deb/precise/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/stretch/changelog 
b/pkg/kamailio/deb/stretch/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/trusty/changelog 
b/pkg/kamailio/deb/trusty/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/wheezy/changelog 
b/pkg/kamailio/deb/wheezy/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 5.2.0-dev3
diff --git a/pkg/kamailio/deb/xenial/changelog 
b/pkg/kamailio/deb/xenial/changelog
index 245c051ac2..38fdee4027 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.2.0~dev4) unstable; urgency=medium
+
+  * version set 5.2.0-dev4
+
+ -- Victor Seva   Mon, 19 Feb 2018 10:16:07 +0100
+
 kamailio (5.2.0~dev3) unstable; urgency=medium
 
   * version set to 

[sr-dev] git:master:ca230986: dispatch: change log level to debug for rpc list empty list

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: ca230986b7f4ea84746c47df177ac21b19fd70a3
URL: 
https://github.com/kamailio/kamailio/commit/ca230986b7f4ea84746c47df177ac21b19fd70a3

Author: lazedo 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T10:07:36+01:00

dispatch: change log level to debug for rpc list empty list


when dynamically loading/querying the dispatcher list at runtime, empty dslist 
logs as error which misleads log monitoring tools looking for real errors

---

Modified: src/modules/dispatcher/dispatcher.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/ca230986b7f4ea84746c47df177ac21b19fd70a3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/ca230986b7f4ea84746c47df177ac21b19fd70a3.patch

---

diff --git a/src/modules/dispatcher/dispatcher.c 
b/src/modules/dispatcher/dispatcher.c
index efb3a18001..fd3d129df9 100644
--- a/src/modules/dispatcher/dispatcher.c
+++ b/src/modules/dispatcher/dispatcher.c
@@ -1291,7 +1291,7 @@ static void dispatcher_rpc_list(rpc_t *rpc, void *ctx)
int ds_list_nr = ds_get_list_nr();
 
if(ds_list == NULL || ds_list_nr <= 0) {
-   LM_ERR("no destination sets\n");
+   LM_DBG("no destination sets\n");
rpc->fault(ctx, 500, "No Destination Sets");
return;
}


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] dispatch: change log level to debug for rpc list empty list (#1448)

2018-02-19 Thread Daniel-Constantin Mierla
Merged #1448.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1448#event-1480119365___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:c3d98c5d: Makefile.defs: version set to 5.2.0-dev4

2018-02-19 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: c3d98c5dedd055e013faf64f2dee5ce69b914a3d
URL: 
https://github.com/kamailio/kamailio/commit/c3d98c5dedd055e013faf64f2dee5ce69b914a3d

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2018-02-19T10:05:52+01:00

Makefile.defs: version set to 5.2.0-dev4

---

Modified: src/Makefile.defs

---

Diff:  
https://github.com/kamailio/kamailio/commit/c3d98c5dedd055e013faf64f2dee5ce69b914a3d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c3d98c5dedd055e013faf64f2dee5ce69b914a3d.patch

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index 2355d8b3df..076e4e9192 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -107,7 +107,7 @@ INSTALL_FLAVOUR=$(FLAVOUR)
 VERSION = 5
 PATCHLEVEL = 2
 SUBLEVEL =  0
-EXTRAVERSION = -dev3
+EXTRAVERSION = -dev4
 
 # memory manager switcher
 # 0 - f_malloc (fast malloc)


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev