[sr-dev] Jenkins build is still unstable: kamailiodev-nightly-binaries ยป amd64,buster,slave #949

2017-11-03 Thread jenkins
See ___ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailm

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread 00Asgaroth00
Currently our 3 registrar servers are not configured for fail-over at all. When we have a planned/unplanned outage we rely on the proxies dispatcher set to route the message to an available registrar. We also shorten the registration interval to take into account that the nat pings wont be avail

Re: [sr-dev] [kamailio/kamailio] Segfault when trying to write to the DB when it can't (possibly on shutdown) (#1287)

2017-11-03 Thread Anthony Messina
I've patched it in to my build for testing and will report back if I see the issue again. Thank you. -- 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/1287#issuecomment-341791398___

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread Charles Chance
It's a nice idea, but to implement would be quite complex/involved. Firstly, there would likely need to be the concept of a master node along with some mechanism for voting/election. Also, there would need to be changes across all 4 modules (dmq, dmq_usrloc, usrloc and nathelper) to make it work

[sr-dev] git:5.0:1dfe6bdf: htable: fix rpc dump json format

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 1dfe6bdf427fa497508697c91d1f90d586473590 URL: https://github.com/kamailio/kamailio/commit/1dfe6bdf427fa497508697c91d1f90d586473590 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T18:18:51+01:00 htable: fix rpc dump json

[sr-dev] git:master:0956257a: htable: fix rpc dump json format

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0956257ae6fdc0a801ce109017089ac18018e63b URL: https://github.com/kamailio/kamailio/commit/0956257ae6fdc0a801ce109017089ac18018e63b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T18:10:22+01:00 htable: fix rpc dump j

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread 00Asgaroth00
With regards dmq/dmq_usrloc and in-memory replication, doesn't dmq know when a node is down/removed from the bus? If it does, then maybe a background thread could fire to (e|se)lect one of the remaining nodes to take over from the node that is down and manipulate/override aor's of the downed hos

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread Charles Chance
I don't think this is a DMQ issue specifically, but more a question of what should happen in *any* replicated situation (including shared DB). Perhaps the solution is, indeed, for nathelper to compare the received socket on the contact against the local socket(s) and either send or not send the

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: Errors sending ping messages when no default route set on host. (#1297)

2017-11-03 Thread 00Asgaroth00
ahh okay, if you think we can close this one then, sure, we can close it. Originally I was not using udp ping's I just tried it out to see if it would work in this case. I am interested in getting the SIP method pings working (OPTIONS/INFO etc), if the force_socket ticket is the right place to

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: force_socket not being honoured (#1298)

2017-11-03 Thread 00Asgaroth00
Hi, I just set udp4_raw=0 on all 3 registrars and remove udpping_from_path from the settings, but the same behaviour persists. registrar that processed the request (ping is successfull) ``` U 2017/11/03 13:28:33.770754 10.7.0.190:5060 -> 10.7.0.186:5062 OPTIONS sip:example_user@212.2.172.228:39

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread 00Asgaroth00
Thanks for the info, just a quick question, if the same situation was in place when running 3 registrar's in db-only mode, then we can use the server_id and filter_server_id so that only 1 registrar will ping the contact. At lease, that is what I am interpreting in the module documentation. Is t

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: Errors sending ping messages when no default route set on host. (#1297)

2017-11-03 Thread Daniel-Constantin Mierla
I was looking at the error messages related to send_raw. So, if the raw socket case is dismissed, now this seems related to the force socket not be used? If yes, then this issue should be closed, because you opened another one for that specific problem, and continue there. -- You are receiving

[sr-dev] Branching Kamailio v5.1

2017-11-03 Thread Daniel-Constantin Mierla
Hello, I am planning to create the got branch 5.1 (to be used for v5.1.x series) by end of next week (likely on Friday, Nov 10, 2017). After that, the master will be open for new features and fixes will need to be backported to 5.1. Should anyone want a different schedule, reply to the mailing li

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: force_socket not being honoured (#1298)

2017-11-03 Thread Daniel-Constantin Mierla
Can you try setting core parameter: ``` udp4_raw=0 ``` -- 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/1298#issuecomment-341697889___ Ka

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: Errors sending ping messages when no default route set on host. (#1297)

2017-11-03 Thread 00Asgaroth00
Thanks for the opinion. I originally was not running with "udpping_from_path" (it was disabled). Even with it disabled and only using SIP OPTIONS ping method the following log was generated: ``` Nov 1 18:58:01 localhost kam_registrar_1[2896]: ERROR: [core/udp_server.c:591]: udp_send(): raw_ip

[sr-dev] git:master:c7b93907: core: tcp read - removed unused variable

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c7b93907c95c2a9e8d72b6c43668d70d8a2a9025 URL: https://github.com/kamailio/kamailio/commit/c7b93907c95c2a9e8d72b6c43668d70d8a2a9025 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T13:57:24+01:00 core: tcp read - remov

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: Errors sending ping messages when no default route set on host. (#1297)

2017-11-03 Thread Daniel-Constantin Mierla
Socket can be forced when sip ping is used. You have to set appropriate branch flag per register to match the modparam value. You have other settings here, so when you set to send ping from path, the 4-zero-bytes ping is done and it creates UDP raw sockets to fake the source IP. In this case th

Re: [sr-dev] [kamailio/kamailio] v5.0.4: nathelper: dont ping replicated aor's (#1299)

2017-11-03 Thread Daniel-Constantin Mierla
I haven't developed the dmq_usrloc module, so I am not sure what the developer had in mind (or needed), but the idea of full replication is that each node can function independent of the others, with all features on, so if the first node goes down, the clients still get the keepalives. By replic

[sr-dev] git:master:32d1c953: modules: readme files regenerated - usrloc ... [skip ci]

2017-11-03 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 32d1c9530fd64459da33dce60a25f319d65f7cb9 URL: https://github.com/kamailio/kamailio/commit/32d1c9530fd64459da33dce60a25f319d65f7cb9 Author: Kamailio Dev Committer: Kamailio Dev Date: 2017-11-03T13:31:21+01:00 modules: readme files regenerated - usrloc ...

Re: [sr-dev] [kamailio/kamailio] topos and dialog timeout conflict (#1216)

2017-11-03 Thread Daniel-Constantin Mierla
Need to get back to it, went out of my radar due to other tasks that popped up around here ... thanks for the reminder, it is always good to do it! -- 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/

[sr-dev] git:master:7c52ffb9: usrloc: more docs for db_insert_null parameter

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7c52ffb920ec0552a8720833223a54813affe8ee URL: https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a54813affe8ee Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T13:21:11+01:00 usrloc: more docs for

Re: [sr-dev] [kamailio/kamailio] kamailio startup failed when switch to mongodb (#1300)

2017-11-03 Thread Daniel-Constantin Mierla
You have to set the db_insert_null parameter for usrloc module to 1: * https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.db_insert_null If that doesn't solve it, reopen. -- You are receiving this because you are subscribed to this thread. Reply to this email directly

Re: [sr-dev] [kamailio/kamailio] kamailio startup failed when switch to mongodb (#1300)

2017-11-03 Thread Daniel-Constantin Mierla
Closed #1300. -- 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/1300#event-1324749307___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Segfault when trying to write to the DB when it can't (possibly on shutdown) (#1287)

2017-11-03 Thread Daniel-Constantin Mierla
Closed #1287. -- 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/1287#event-1324738963___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Segfault when trying to write to the DB when it can't (possibly on shutdown) (#1287)

2017-11-03 Thread Daniel-Constantin Mierla
I pushed a patch to skip doing operations during shut down, because usrloc does only sync with db at that time, which should not be relevant for the other side. Can you test and see if all works fine now? If still a problem, reopen this issue. -- You are receiving this because you are subscrib

[sr-dev] git:master:db8f664a: pua_usrloc: no publish requests at shutdown time

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: db8f664aa72a4fabc9a5f5c4b06d629fd4c8946a URL: https://github.com/kamailio/kamailio/commit/db8f664aa72a4fabc9a5f5c4b06d629fd4c8946a Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T13:02:05+01:00 pua_usrloc: no publish

Re: [sr-dev] [kamailio/kamailio] kamailio startup failed when switch to mongodb (#1300)

2017-11-03 Thread wavestudio
The version of kamaiio is 5.0.4. -- 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/1300#issuecomment-341677228___ Kamailio (SER) - Developm

[sr-dev] [kamailio/kamailio] kamailio startup failed when switch to mongodb (#1300)

2017-11-03 Thread wavestudio
I have a task to change the backend database of kamailio to mongodb. I have updated the DBURL to a valid URL of mongodb. Kamailio startup successfully firsttime when i insert some documents into the version collection. But after a user registed into kamailio, a location collection will be creat

[sr-dev] git:master:8a56a109: pkg/kamailio/deb: version set to 5.1.0~pre0

2017-11-03 Thread Victor Seva
Module: kamailio Branch: master Commit: 8a56a10903c8c63409e92575d105e1e07f483a69 URL: https://github.com/kamailio/kamailio/commit/8a56a10903c8c63409e92575d105e1e07f483a69 Author: Victor Seva Committer: Victor Seva Date: 2017-11-03T10:11:33+01:00 pkg/kamailio/deb: version set to 5.1.0~pre0 ---

Re: [sr-dev] [kamailio/kamailio] evapi: add module parameter to enable keepalive (#1290)

2017-11-03 Thread Daniel-Constantin Mierla
I went and added this in order to allow coping in such situations, being a limitation in some operation cases, it needed to be fixed somehow. On the other hand, while doing it, I noticed that a close was missing, so it could have been a reason for some connections to stay longer in open state, b

Re: [sr-dev] [kamailio/kamailio] evapi: add module parameter to enable keepalive (#1290)

2017-11-03 Thread Daniel-Constantin Mierla
Closed #1290. -- 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/1290#event-1324442695___ Kamailio (SER) - Development Mailing List sr-dev@l

[sr-dev] git:master:d3405822: evapi: enable tcp keepalive on client connections

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: d340582267174ccb0a5d816049c582fe75d2177b URL: https://github.com/kamailio/kamailio/commit/d340582267174ccb0a5d816049c582fe75d2177b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T09:24:13+01:00 evapi: enable tcp keep

[sr-dev] git:master:9193afeb: modules: readme files regenerated - evapi ... [skip ci]

2017-11-03 Thread Kamailio Dev
Module: kamailio Branch: master Commit: 9193afeb3e4041f16e13d07520b69ed33129db31 URL: https://github.com/kamailio/kamailio/commit/9193afeb3e4041f16e13d07520b69ed33129db31 Author: Kamailio Dev Committer: Kamailio Dev Date: 2017-11-03T09:16:31+01:00 modules: readme files regenerated - evapi ...

[sr-dev] git:master:feb987db: evapi: documentation for max_clients parameter

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: feb987dbb2c761006056136dae24731d957367db URL: https://github.com/kamailio/kamailio/commit/feb987dbb2c761006056136dae24731d957367db Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T09:10:25+01:00 evapi: documentation f

[sr-dev] git:master:4643c510: evapi: allow setting max number of clients via param

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 4643c51032b8d28c1dede12792c1e1737fdb60e8 URL: https://github.com/kamailio/kamailio/commit/4643c51032b8d28c1dede12792c1e1737fdb60e8 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T09:07:55+01:00 evapi: allow setting m

[sr-dev] git:master:bb91d6c4: evapi: do close() on client socket if libev detects it is gone

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: bb91d6c4fa88324c31d3b7a91687057e0ae8bfa0 URL: https://github.com/kamailio/kamailio/commit/bb91d6c4fa88324c31d3b7a91687057e0ae8bfa0 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T08:46:08+01:00 evapi: do close() on c

Re: [sr-dev] [kamailio/kamailio] db_mysql.so fails to build using MariaDB 10.2 (#1296)

2017-11-03 Thread Daniel-Constantin Mierla
Closed #1296. -- 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/1296#event-1324396730___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] db_mysql.so fails to build using MariaDB 10.2 (#1296)

2017-11-03 Thread Daniel-Constantin Mierla
Thanks! Pushed a patch for it in master and 5.0 branches. Reopen if still a problem. -- 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/1296#issuecomment-341636762

[sr-dev] git:5.0:6f9f851c: db_mysql: do not set reconnect field explicitely for newer mysql versions

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.0 Commit: 6f9f851cbd88a1bdd9e9dd2180b498e821a5686b URL: https://github.com/kamailio/kamailio/commit/6f9f851cbd88a1bdd9e9dd2180b498e821a5686b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T08:29:39+01:00 db_mysql: do not set reco

[sr-dev] git:master:95bd694e: evapi: dispatcher worker to send event data directly

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 95bd694e75c250d8b26cac071bff2e48e0eb9062 URL: https://github.com/kamailio/kamailio/commit/95bd694e75c250d8b26cac071bff2e48e0eb9062 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T08:26:36+01:00 evapi: dispatcher work

[sr-dev] git:master:c3153507: db_mysql: do not set reconnect field explicitely for newer mysql versions

2017-11-03 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c31535072a04273b52a5cbc015e7ed1423d5dc33 URL: https://github.com/kamailio/kamailio/commit/c31535072a04273b52a5cbc015e7ed1423d5dc33 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2017-11-03T08:23:29+01:00 db_mysql: do not set r

[sr-dev] msilo Content-Type for picture and video?

2017-11-03 Thread sscc
Hello kamailio folks i am successfully storing and dumping messages for off line users using msilo content type text/plain. i want to store off-line messages for pictures and videos. my particular queries are 1) is msilo store picture and videos? (i have observed blob in silo database table w