Re: [sr-dev] [kamailio/kamailio] "flags" and "reg_delay" uacreg columns not read if database lacks DB_CAP_FETCH capability (#640)

2016-05-25 Thread Daniel-Constantin Mierla
Can push a pull request with the change you detailed above? it makes it easier to review and merge the fix. --- 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/640#issuecomment-2217850

Re: [sr-dev] [kamailio/kamailio] sca module (#580)

2016-05-25 Thread Kevin Scott Adams
Thank you Olle. --- 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/580#issuecomment-221743397___ sr-dev mailing list sr-dev@lists.sip-router

[sr-dev] Errored: kamailio/kamailio#2475 (master - e50e3ba)

2016-05-25 Thread Travis CI
Build Update for kamailio/kamailio - Build: #2475 Status: Errored Duration: 26 minutes and 15 seconds Commit: e50e3ba (master) Author: Daniel-Constantin Mierla Message: Merge pull request #638 from mslehto/NULL Fix variable initialization and NULL pointer dere

Re: [sr-dev] [kamailio/kamailio] Add support for Authentication-Info header in auth module (#639)

2016-05-25 Thread Daniel-Constantin Mierla
Merged #639. --- 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/639#event-672275848___ sr-dev mailing list sr-dev@lists.sip-router.org http://

[sr-dev] git:master:c8ac7f99: Merge pull request #639 from AndreasHuber-CH/authinfo_hdr

2016-05-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: c8ac7f99a31e77e10abcdbccf14c8731fb068bc3 URL: https://github.com/kamailio/kamailio/commit/c8ac7f99a31e77e10abcdbccf14c8731fb068bc3 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-05-25T21:42:14+02:00 Merge pull request #63

[sr-dev] git:master:5ad94e15: auth_radius: add NULL for ha1 parameter in auth_api.post_auth

2016-05-25 Thread AndreasHuber-CH
Module: kamailio Branch: master Commit: 5ad94e15c2de70c2e0054ed55e8b8b25e27ad76e URL: https://github.com/kamailio/kamailio/commit/5ad94e15c2de70c2e0054ed55e8b8b25e27ad76e Author: AndreasHuber-CH Committer: AndreasHuber-CH Date: 2016-05-25T15:44:01+02:00 auth_radius: add NULL for ha1 parameter

[sr-dev] git:master:32ef6dfc: auth_ephemeral: add ha1 parameter in auth_api.post_auth

2016-05-25 Thread AndreasHuber-CH
Module: kamailio Branch: master Commit: 32ef6dfc9b8f02a7c57b653c033592b2e02056a5 URL: https://github.com/kamailio/kamailio/commit/32ef6dfc9b8f02a7c57b653c033592b2e02056a5 Author: AndreasHuber-CH Committer: AndreasHuber-CH Date: 2016-05-25T15:37:41+02:00 auth_ephemeral: add ha1 parameter in aut

[sr-dev] git:master:d415dd70: auth_db: add ha1 parameter in auth_api.post_auth

2016-05-25 Thread AndreasHuber-CH
Module: kamailio Branch: master Commit: d415dd70c56ed88489856a7888cb4acae76615db URL: https://github.com/kamailio/kamailio/commit/d415dd70c56ed88489856a7888cb4acae76615db Author: AndreasHuber-CH Committer: AndreasHuber-CH Date: 2016-05-25T15:37:30+02:00 auth_db: add ha1 parameter in auth_api.p

[sr-dev] git:master:2a91141e: uid_auth_db: add ha1 parameter in auth_api.post_auth

2016-05-25 Thread AndreasHuber-CH
Module: kamailio Branch: master Commit: 2a91141eba2f7870767c9a16e635171f011dc717 URL: https://github.com/kamailio/kamailio/commit/2a91141eba2f7870767c9a16e635171f011dc717 Author: AndreasHuber-CH Committer: AndreasHuber-CH Date: 2016-05-25T15:42:29+02:00 uid_auth_db: add ha1 parameter in auth_a

[sr-dev] git:master:e2ee8b57: auth: add support for Authentication-Info header

2016-05-25 Thread AndreasHuber-CH
Module: kamailio Branch: master Commit: e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f URL: https://github.com/kamailio/kamailio/commit/e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f Author: AndreasHuber-CH Committer: AndreasHuber-CH Date: 2016-05-25T15:30:03+02:00 auth: add support for Authentication-Inf

Re: [sr-dev] [kamailio/kamailio] Add support for Authentication-Info header in auth module (#639)

2016-05-25 Thread Daniel-Constantin Mierla
Thanks, useful addition, so the client can now authenticate the server as well. --- 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/639#issuecomment-221684627_

Re: [sr-dev] [kamailio/kamailio] Fix or silence warnings given by Clang (#637)

2016-05-25 Thread Daniel-Constantin Mierla
For the commit 94b4c25, is it handling properly the value 0? Not dug much into the code, so this is more like a safety check to see that the return code or the parameter was not supposed to be negative in case of error or missing expires header. Given those patches are related to ims modules, m

Re: [sr-dev] [kamailio/kamailio] Fix variable initialization and NULL pointer dereference issues (#638)

2016-05-25 Thread Daniel-Constantin Mierla
Merged #638. --- 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/638#event-672265445___ sr-dev mailing list sr-dev@lists.sip-router.org http://

[sr-dev] git:master:c00867e5: modules/rr: initialize to NULL

2016-05-25 Thread Mikko Lehto
Module: kamailio Branch: master Commit: c00867e50de1c7855fed8a05745086092fef38a5 URL: https://github.com/kamailio/kamailio/commit/c00867e50de1c7855fed8a05745086092fef38a5 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-24T13:21:25+03:00 modules/rr: initialize to NULL --- Modified: m

Re: [sr-dev] [kamailio/kamailio] Fix variable initialization and NULL pointer dereference issues (#638)

2016-05-25 Thread Daniel-Constantin Mierla
Thanks! --- 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/638#issuecomment-221682253___ sr-dev mailing list sr-dev@lists.sip-router.org http:

[sr-dev] git:master:e50e3bad: Merge pull request #638 from mslehto/NULL

2016-05-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e50e3badc79776a6fa5ab225978df7bff14d26e7 URL: https://github.com/kamailio/kamailio/commit/e50e3badc79776a6fa5ab225978df7bff14d26e7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-05-25T21:33:28+02:00 Merge pull request #63

[sr-dev] git:master:700b334b: modules/[call_control|mediaproxy]: proper assigment to NULL pointer

2016-05-25 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 700b334b51b39056c4c0004451ca41304510f164 URL: https://github.com/kamailio/kamailio/commit/700b334b51b39056c4c0004451ca41304510f164 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-24T13:23:45+03:00 modules/[call_control|mediaproxy]: proper assigm

[sr-dev] git:master:a9cce177: modules/sipcapture: fix possible NULL pointer dereference

2016-05-25 Thread Mikko Lehto
Module: kamailio Branch: master Commit: a9cce1772d25e1f03cec3ee291ae5fb4a945f82f URL: https://github.com/kamailio/kamailio/commit/a9cce1772d25e1f03cec3ee291ae5fb4a945f82f Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-24T13:23:10+03:00 modules/sipcapture: fix possible NULL pointer de

[sr-dev] git:master:19dcb95c: modules/http_client: fix NULL pointer dereference

2016-05-25 Thread Mikko Lehto
Module: kamailio Branch: master Commit: 19dcb95c3b18be7cf538d38673c17a06583fd0e9 URL: https://github.com/kamailio/kamailio/commit/19dcb95c3b18be7cf538d38673c17a06583fd0e9 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-24T13:20:04+03:00 modules/http_client: fix NULL pointer dereferenc

[sr-dev] git:master:e6a3f660: modules/uid_domain: initialize variables

2016-05-25 Thread Mikko Lehto
Module: kamailio Branch: master Commit: e6a3f6605f50d16f673724a2dc6cf22fc47bc717 URL: https://github.com/kamailio/kamailio/commit/e6a3f6605f50d16f673724a2dc6cf22fc47bc717 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-24T13:22:28+03:00 modules/uid_domain: initialize variables --- M

Re: [sr-dev] [kamailio/kamailio] Enable compilation with gcc-6.1.1 (#633)

2016-05-25 Thread Daniel-Constantin Mierla
Ohh, the push failed at that moment and I didn't check the output in the terminal tab. Re-done now and looks ok. --- 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/633#issuecomment-22

[sr-dev] git:4.4:6a01019b: Makefile.defs: detect gcc 6.x

2016-05-25 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 6a01019bf63cf897d2430d6ada085cd23465fa79 URL: https://github.com/kamailio/kamailio/commit/6a01019bf63cf897d2430d6ada085cd23465fa79 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2016-05-25T20:42:14+02:00 Makefile.defs: detect gcc

Re: [sr-dev] [kamailio/kamailio] Enable compilation with gcc-6.1.1 (#633)

2016-05-25 Thread Anthony Messina
@miconda, I don't see this in the 4.4 branch. --- 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/633#issuecomment-221666308___ sr-dev mailin

Re: [sr-dev] [kamailio/kamailio] Kamailio Crash (#619)

2016-05-25 Thread Victor Seva
@WhoSunilMore please, again, use the format to insert a quote! --- 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/619#issuecomment-221659059

[sr-dev] [kamailio/kamailio] "flags" and "reg_delay" uacreg columns not read if database lacks DB_CAP_FETCH capability (#640)

2016-05-25 Thread AndyJRobinson
In both 4.4.1 and master, the recently added "flags" and "reg_delay" columns are not read if the database lacks DB_CAP_FETCH capability. uac.reg_dump shows them as some large random values. The issue is in uac_reg.c:uac_reg_load_db(). ` if (DB_CAPABILITY(reg_dbf, DB_CAP_FETCH)) {

[sr-dev] modules linked to db_flatstore cause core on db_check_table_version function call

2016-05-25 Thread Eduardo Lejarreta
Good evening. INTRODUCTION: - We've traced an error, in our case, db_flatstore and siptrace combination causes crash core. siptrace module tries to check siptrace table version on a DB which has no query capabilities and that causes the crash core. This happens from kamailio-4.

Re: [sr-dev] [kamailio/kamailio] Kamailio Crash (#619)

2016-05-25 Thread Sunil More
Here is the output of the above commands., (gdb) p nat_table $1 = (HashTable *) 0x7f26028d7bc8 (gdb) p *nat_table $2 = {slots = 0x7f26, size = 512} (gdb) --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://githu

[sr-dev] [kamailio/kamailio] Add support for Authentication-Info header in auth module (#639)

2016-05-25 Thread AndreasHuber-CH
The Authentication-Info header is already supported by the ims_auth module. This pull requsts proposes an implementation for auth module. The Authentication-Info header is added in the function "post_auth" (if "add_authinfo_hdr" is configured.) Modules depending on "auth" are adapted slightly to

[sr-dev] [kamailio/kamailio] Fix variable initialization and NULL pointer dereference issues (#638)

2016-05-25 Thread Mikko Lehto
Most found with Clang 3.8 static analyzer. Full results here: http://mslehto.iki.fi/clang-static-analyzer/kamailio/01/modules/ You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/638 -- Commit Summary -- * modules/http_client: fix NULL p

[sr-dev] [kamailio/kamailio] Fix or slience warnings given by Clang (#637)

2016-05-25 Thread Mikko Lehto
``` CC (clang38) [M ims_dialog.so] dlg_hash.o dlg_hash.c:674:37: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((d_entry_out->first == d_entry_out->last)) { ~~~^~~~ dlg_hash.c:674:37: note:

Re: [sr-dev] [kamailio/kamailio] Suspected design flaw in SNMPstats - shm memory slowly being allocated (#636)

2016-05-25 Thread Daniel-Constantin Mierla
I think that documentation should be ok to consider this closed. Adding a flushing mechanism might be seen as an improvement, but also should be carefully designed not to conflict with the interval of pulling the records, so should be some params to set there either on mem size or time interval

Re: [sr-dev] [kamailio/kamailio] db_cassandra can't find table version (#618)

2016-05-25 Thread Daniel-Constantin Mierla
Do you have other modules connecting to cassandra? Are they loaded before the userblacklist module? --- 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/618#issuecomment-221522833__

Re: [sr-dev] [kamailio/kamailio] Kamailio Crash (#619)

2016-05-25 Thread Daniel-Constantin Mierla
So the slot is not a valid pinter. Can you print in the same frame 2: ``` p nat_table p *nat_table ``` --- 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/619#issuecomment-221521584___