Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-20 Thread Olle E. Johansson
Since both modules are using CURL they need similar names. Since they should not be used at the same time, this should be documented. We can still rename the CURL module before release. A big difference is that the curl module use a connection configuration, much like SQLops. Stubbornly I sti

Re: [sr-dev] RFC: removing (disabling) fork=no

2016-01-20 Thread Olle E. Johansson
> On 20 Jan 2016, at 09:19, Daniel-Constantin Mierla wrote: > > Hello, > > wondering if anyone is using fork=no -- some old docs suggest it is > suitable for debugging, but actually kamailio doesn't work properly in > this mode, leading to more troubles than benefits (e.g., having reports > of

[sr-dev] git:master:1d28d1fd: curl Small TODO update based on e-mail to sr-dev

2016-01-20 Thread Olle E . Johansson
Module: kamailio Branch: master Commit: 1d28d1fd5485895cd8d7895a3ab410814d57b6bb URL: https://github.com/kamailio/kamailio/commit/1d28d1fd5485895cd8d7895a3ab410814d57b6bb Author: Olle E. Johansson Committer: Olle E. Johansson Date: 2016-01-21T08:44:49+01:00 curl Small TODO update based on e-ma

Re: [sr-dev] [kamailio] curl: Add client key/certificate to curl_connect (#481)

2016-01-20 Thread Olle E. Johansson
Client certs (and possibly cipher suites) needs to be per connection. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/481#issuecomment-173485121___ sr-dev mailing list sr-dev@lists.sip-router.org http://li

Re: [sr-dev] [kamailio] curl: Add client key/certificate to curl_connect (#481)

2016-01-20 Thread Olle E. Johansson
The configuration issue seems like we need to redesign a bit. I'll think about it. At some point, as you say, the one-liner doesn't work any more and we should probably look into having a separate config file, like the TLS module one, when needed. That may give us other possibilities. --- Reply

[sr-dev] git:master:7b67ab46: debugger: Restrict dbg_sip_msg() to REQUEST/ONSEND

2016-01-20 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 7b67ab4623f63cbf823be47a35135ba052278c9e URL: https://github.com/kamailio/kamailio/commit/7b67ab4623f63cbf823be47a35135ba052278c9e Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2016-01-15T13:08:29+02:00 debugger: Restrict dbg_sip_msg() to REQU

[sr-dev] Load balancing between two kamailio using third party load balancer

2016-01-20 Thread kaushik parmar
Hi, I am developing one system which is using baraccuda load balancer to balance load between two kamailio server. Now issue is with distribution of packet. I have two user A and B. Both are able to register on kamailio1 and kamailio2 server respectively. But when i call user A to user B it failin

[sr-dev] git:master:5a2c0437: debugger: Update doku

2016-01-20 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 5a2c0437693cd2ee08290892d15c8b64a8003784 URL: https://github.com/kamailio/kamailio/commit/5a2c0437693cd2ee08290892d15c8b64a8003784 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2016-01-15T14:10:48+02:00 debugger: Update doku Document why debu

Re: [sr-dev] [kamailio] debugger: fix segfault when dbg_sip_msg() is called with no params (#478)

2016-01-20 Thread Stefan Mititelu
Merged #478. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/478#event-521353634___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:b2973bb9: Merge pull request #478 from smititelu/master

2016-01-20 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: b2973bb9860a541f9b1459ea4260fb5b0dec0327 URL: https://github.com/kamailio/kamailio/commit/b2973bb9860a541f9b1459ea4260fb5b0dec0327 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2016-01-21T09:36:30+02:00 Merge pull request #478 from smititelu/m

[sr-dev] git:master:8e8a71cc: debugger: Fix dbg_sip_msg() segfault

2016-01-20 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 8e8a71cc0b589bb881f56bbef370a1d19863d038 URL: https://github.com/kamailio/kamailio/commit/8e8a71cc0b589bb881f56bbef370a1d19863d038 Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2016-01-15T13:07:55+02:00 debugger: Fix dbg_sip_msg() segfault Fi

[sr-dev] git:master:21a7ce6f: debugger: debugger_mod.c indentation

2016-01-20 Thread Stefan Mititelu
Module: kamailio Branch: master Commit: 21a7ce6fe07c2e645519603eaff908dfd96be3cc URL: https://github.com/kamailio/kamailio/commit/21a7ce6fe07c2e645519603eaff908dfd96be3cc Author: Stefan Mititelu Committer: Stefan Mititelu Date: 2016-01-15T13:08:29+02:00 debugger: debugger_mod.c indentation Ta

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-20 Thread Federico Cabiddu
Thanks Hugh for the feedback! On Wed, Jan 20, 2016 at 5:34 PM, Hugh Waite wrote: > Thanks for this module - a very useful feature! > I have a couple of use cases for curl/async_http which are possibly off > topic (major enhancements), I mention them here so that if any > redesign/code sharing h

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-20 Thread Federico Cabiddu
Thanks for the feedback Daniel. I just pushed 2 commits from Camille to implement pv module api and use it in the new module. I'll also add a note on the documentation about the conflict with the curl module. About the name, http_client could be a good one, the current one having been chosen mainly

[sr-dev] git:master:2d612982: Makefile.groups: added crypto module to tls group

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 2d612982966d87ed1cc6f56b10886fe89a1c10c4 URL: https://github.com/kamailio/kamailio/commit/2d612982966d87ed1cc6f56b10886fe89a1c10c4 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T23:35:49+01:00 Makefile.groups: added

[sr-dev] git:master:760c1d55: crypto: new module offering various cryptographic functions

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 760c1d55dfa53e09ab1d6b87e157ea61fba24c24 URL: https://github.com/kamailio/kamailio/commit/760c1d55dfa53e09ab1d6b87e157ea61fba24c24 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T23:32:58+01:00 crypto: new module off

[sr-dev] git:master:edb11dd0: utils: bock indentations fixed

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: edb11dd06b895e0b532c81ddc703420f7e5e81a1 URL: https://github.com/kamailio/kamailio/commit/edb11dd06b895e0b532c81ddc703420f7e5e81a1 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T22:46:14+01:00 utils: bock indentatio

Re: [sr-dev] [kamailio] Database timeout over SSL? (#406)

2016-01-20 Thread Daniel-Constantin Mierla
Timer process can write acc for failed transactions. Wondering if there are new observations in the past month. Couldn't find other tricks for adding in the c code... --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/406#issuecomment-173338971

Re: [sr-dev] [kamailio] failed to send the BYE request to callee. (#444)

2016-01-20 Thread Daniel-Constantin Mierla
Can you make a github pull request with the patch you did? Then it will run through the travis ci and spot any compile time issue on many platforms, being also better to review and comment when needed. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/is

Re: [sr-dev] [kamailio] Makefile System hangs the computer (#479)

2016-01-20 Thread Daniel-Constantin Mierla
But was the step 3. with 'CPU= '? Can you attach with gdb to the make using lot of cpu and do bt to see what is doing? --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/479#issuecomment-173334680___ sr-d

[sr-dev] git:master:0ce66908: topoh: proper detection of cancel reply for processing

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 0ce66908ee9da74806e2fa506ef98b5f9043e47c URL: https://github.com/kamailio/kamailio/commit/0ce66908ee9da74806e2fa506ef98b5f9043e47c Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T18:30:30+01:00 topoh: proper detectio

Re: [sr-dev] Freezing the development for next major version 4.4

2016-01-20 Thread Yuriy Gorlichenko
Hello Daniel. Please commit changes at webrtc module for the 4.3 version because 4.3 version not works correctly woth open ssl 1.0.2 but it needs now for support chrome webrtc endpoints. Chrome starts to work only with dtls 1.2 but only openssl 1.0.2 supports it. To resolve these issues I use mast

Re: [sr-dev] [kamailio] Makefile System hangs the computer (#479)

2016-01-20 Thread tanton81
Hi, here is what I get: CPU sprod 8129 97.8 25.4 1647684 1002300 pts/9 R+ 17:43 0:04 make CPU= -d include_modules=”evapi sctp jansson rtjson” cfg sprod 8173 0.0 0.0 26664 1552 pts/15 R+ 17:43 0:00 ps auxw root 13266 0.0 0.0 87668 1928 ?Ss

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-20 Thread Hugh Waite
Thanks for this module - a very useful feature! I have a couple of use cases for curl/async_http which are possibly off topic (major enhancements), I mention them here so that if any redesign/code sharing happens they are taken into account. * Sending asynchronous queries without suspending main

[sr-dev] A new edition of Kamailio Development Workshop

2016-01-20 Thread Daniel-Constantin Mierla
Hello, last edition of Kamailio Development Workshop happened about three years ago. As I got requests about it from time to time, I thought of trying to organize a new edition. Rather short term by now due to various constraints, so the plan is to do it again in Alicante, Spain, during February 1

Re: [sr-dev] [kamailio] Makefile System hangs the computer (#479)

2016-01-20 Thread Daniel-Constantin Mierla
When it hangs, is cpu usage go high? Can you do a 'ps auxw' and see if you can spot a make or shell command that looks like looping? I just noticed via someone using SuSE enterprise server that the CPU variable is preset in the environment, can you try: ``` make CPU= include_modules="..." cfg

Re: [sr-dev] [kamailio] Use C99 boolean (#477)

2016-01-20 Thread Daniel-Constantin Mierla
Merged #477. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/477#event-520339665___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:8d2a7a9d: Merge pull request #477 from mslehto/stdbool

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8d2a7a9d9ce530112a52d7489185710914c8cc67 URL: https://github.com/kamailio/kamailio/commit/8d2a7a9d9ce530112a52d7489185710914c8cc67 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T14:10:08+01:00 Merge pull request #47

[sr-dev] git:master:5d2d7237: modules/statsd: use C99 boolean

2016-01-20 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 5d2d7237ac0d64689b3ff4d6be256ff4bd74cef7 URL: https://github.com/kamailio/kamailio/commit/5d2d7237ac0d64689b3ff4d6be256ff4bd74cef7 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-01-15T02:48:11+02:00 modules/statsd: use C99 boolean --- Modified:

Re: [sr-dev] [kamailio] Use C99 boolean (#477)

2016-01-20 Thread Daniel-Constantin Mierla
Thanks! --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/477#issuecomment-173198595___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:648d95e1: modules/nat_traversal: use C99 boolean

2016-01-20 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 648d95e126a13986684db94136dc47d69a7cc27c URL: https://github.com/kamailio/kamailio/commit/648d95e126a13986684db94136dc47d69a7cc27c Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-01-15T02:48:39+02:00 modules/nat_traversal: use C99 boolean --- Mod

Re: [sr-dev] [kamailio] modules/ndb_mongodb: fixes documentation typo (#476)

2016-01-20 Thread Daniel-Constantin Mierla
Merged #476. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/476#event-520339359___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:4de2390a: modules/ndb_mongodb: fixes documentation typo

2016-01-20 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 4de2390a4071530e808eddd86ee8926ec51524eb URL: https://github.com/kamailio/kamailio/commit/4de2390a4071530e808eddd86ee8926ec51524eb Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-01-15T01:28:12+02:00 modules/ndb_mongodb: fixes documentation typo -

Re: [sr-dev] [kamailio] modules/ndb_mongodb: fixes documentation typo (#476)

2016-01-20 Thread Daniel-Constantin Mierla
Thanks. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/476#issuecomment-173198540___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

[sr-dev] git:master:79fb4e9c: Merge pull request #476 from mslehto/mongodoc

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 79fb4e9c6fb433a5df546944a00e275f37648f17 URL: https://github.com/kamailio/kamailio/commit/79fb4e9c6fb433a5df546944a00e275f37648f17 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T14:09:50+01:00 Merge pull request #47

Re: [sr-dev] [kamailio] curl: Add client key/certificate to curl_connect (#481)

2016-01-20 Thread Daniel-Constantin Mierla
Just my opinion, not specific for this case - maybe is good to keep the same name and mention that in the docs so people can dig into the curl/lib docs if then need additional info. Anyhow, renaming can be done afterwards, with another commit. The feature is important for proper security, so I

Re: [sr-dev] [kamailio] Setting per module debug level causes deadlock (#482)

2016-01-20 Thread Hugh Waite
Indeed it was fixed in #463 . Sorry for the noise. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/482#issuecomment-173189643___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.or

Re: [sr-dev] [kamailio] Setting per module debug level causes deadlock (#482)

2016-01-20 Thread Hugh Waite
Closed #482. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/482#event-520302647___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Re: [sr-dev] [kamailio] async_http: non-blocking HTTP client module (#480)

2016-01-20 Thread Daniel-Constantin Mierla
I am ok with many modules targeting to offer similar functionality, if they have different approach -- like lcr can be achieved with couple of modules. If there is a conflict with another module, that needs to be documented. Some remarks: * using functions from pv module must be done via inte

Re: [sr-dev] [kamailio] debugger: fix segfault when dbg_sip_msg() is called with no params (#478)

2016-01-20 Thread Daniel-Constantin Mierla
Thanks, it can be merged. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/478#issuecomment-173185062___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/

Re: [sr-dev] [kamailio] Setting per module debug level causes deadlock (#482)

2016-01-20 Thread Daniel-Constantin Mierla
What version are you using? There was a fix recently on same kind of report. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/482#issuecomment-173184813___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] [kamailio] Setting per module debug level causes deadlock (#482)

2016-01-20 Thread Hugh Waite
If kamailio is compiled with DBG_QM_MALLOC, debug is printed in `mem/q_mallocc:405` When the set_mod_level RPC function is called, memory is allocated while the lock is held `debugger/debugger_apic:1224` This will cause a deadlock when setting the value of 'core' --- Reply to this email directly

[sr-dev] git:master:35e71ff8: modules/ims_qos: missing return statement

2016-01-20 Thread jaybeepee
Module: kamailio Branch: master Commit: 35e71ff8ae434e90baae00801985bdfebcb07d0d URL: https://github.com/kamailio/kamailio/commit/35e71ff8ae434e90baae00801985bdfebcb07d0d Author: jaybeepee Committer: jaybeepee Date: 2016-01-20T12:07:56+02:00 modules/ims_qos: missing return statement --- Modi

Re: [sr-dev] [kamailio] curl: Add client key/certificate to curl_connect (#481)

2016-01-20 Thread Hugh Waite
Is 'verifyserver' the best name for this parameter? The curl options are verifypeer and verifyhost for checking the certificate chain and common name/SAN (respectively). Should the curl module preserve that naming in the modparams? --- Reply to this email directly or view it on GitHub: https://g

[sr-dev] git:master:8effb18c: modules/ims_charging: removed unused code linking to ims_usrloc_scscf

2016-01-20 Thread jaybeepee
Module: kamailio Branch: master Commit: 8effb18ca9ce7b1da257fc804d7bef0ec79297f3 URL: https://github.com/kamailio/kamailio/commit/8effb18ca9ce7b1da257fc804d7bef0ec79297f3 Author: jaybeepee Committer: jaybeepee Date: 2016-01-20T10:50:04+02:00 modules/ims_charging: removed unused code linking to

[sr-dev] git:master:e0107368: modules/ims_charging: added ability to send vendor-specific charge information

2016-01-20 Thread jaybeepee
Module: kamailio Branch: master Commit: e010736858bb04766b5871fc6ede0b1279d84132 URL: https://github.com/kamailio/kamailio/commit/e010736858bb04766b5871fc6ede0b1279d84132 Author: jaybeepee Committer: jaybeepee Date: 2016-01-20T10:36:53+02:00 modules/ims_charging: added ability to send vendor-s

[sr-dev] git:master:c084e0b3: modules/ims_charging: fixed charging stats

2016-01-20 Thread jaybeepee
Module: kamailio Branch: master Commit: c084e0b389cb63134f2752053e30529f2605c39b URL: https://github.com/kamailio/kamailio/commit/c084e0b389cb63134f2752053e30529f2605c39b Author: jaybeepee Committer: jaybeepee Date: 2016-01-20T10:32:34+02:00 modules/ims_charging: fixed charging stats --- Mod

[sr-dev] RFC: removing (disabling) fork=no

2016-01-20 Thread Daniel-Constantin Mierla
Hello, wondering if anyone is using fork=no -- some old docs suggest it is suitable for debugging, but actually kamailio doesn't work properly in this mode, leading to more troubles than benefits (e.g., having reports of invalid issues, like tcp not working in this mode). In first phase I would d

[sr-dev] git:master:368f9ccd: uac: notes about the flags of remote registration profiles

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 368f9ccdfefb9f9261c1b32f271c1d5838cb8fff URL: https://github.com/kamailio/kamailio/commit/368f9ccdfefb9f9261c1b32f271c1d5838cb8fff Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T09:10:22+01:00 uac: notes about the f

[sr-dev] git:master:f1cf7f99: uac: documentation of flags returned via rpc command

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f1cf7f99caca99c379f4785ebb449e7b1b5d30aa URL: https://github.com/kamailio/kamailio/commit/f1cf7f99caca99c379f4785ebb449e7b1b5d30aa Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T09:10:22+01:00 uac: documentation of

[sr-dev] git:master:475a2444: uac: refresh content of readme

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 475a2444c36a8255c5c7ca068721566346919b4a URL: https://github.com/kamailio/kamailio/commit/475a2444c36a8255c5c7ca068721566346919b4a Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T09:10:22+01:00 uac: refresh content o

[sr-dev] git:master:49d41444: uac: reset the $uac_req(...) fields when assigning $null

2016-01-20 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 49d4144480c463a94a8b56ed222c32d6075813f6 URL: https://github.com/kamailio/kamailio/commit/49d4144480c463a94a8b56ed222c32d6075813f6 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-01-20T09:10:22+01:00 uac: reset the $uac_re

[sr-dev] Freezing the development for next major version 4.4

2016-01-20 Thread Daniel-Constantin Mierla
Hello, as a follow up to previous discussions on the mailing list, I would like to propose Wednesday, Feb 3, 2016 as the day to freeze the development for next major release. It will allow the people going at Fosdem to chat and do last minute tunings before freezing. Other suggestions or comments