Re: [sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread Olle E. Johansson
The problem here is migrating a user base. You want this setting to be settable on an account-level basis, both in the subscriber table and by a function or avp in the routing script (for pv-based authentication). We should also note that there is NO rfc supporting this - even though it is a

[sr-dev] git:master:2449f859: http_async_client: workaround for dealing with HTTP Via format in replies

2016-05-17 Thread Federico Cabiddu
Module: kamailio Branch: master Commit: 2449f8591261b207c091f9a44ce6cf40bdb71ab6 URL: https://github.com/kamailio/kamailio/commit/2449f8591261b207c091f9a44ce6cf40bdb71ab6 Author: Federico Cabiddu Committer: Federico Cabiddu Date:

[sr-dev] git:4.4:63dea59a: http_async_client: workaround for dealing with HTTP Via format in replies

2016-05-17 Thread Federico Cabiddu
Module: kamailio Branch: 4.4 Commit: 63dea59a507c1e949c4eb605ca5b56163b25c8d4 URL: https://github.com/kamailio/kamailio/commit/63dea59a507c1e949c4eb605ca5b56163b25c8d4 Author: Federico Cabiddu Committer: Federico Cabiddu Date:

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

2016-05-17 Thread Sunil More
Hi, for the latest test , i was able to get three core files and the output of each in gdb is as follows (gdb) bt #0 0x7f25fec37648 in save_keepalive_state () at nat_traversal.c:1639 #1 0x7f25fec3b5ef in mod_destroy () at nat_traversal.c:1847 #2 0x005af3ac in destroy_modules

Re: [sr-dev] [kamailio/kamailio] auth: Add option to use SHA-256 instead of MD5 in digest authentication (#628)

2016-05-17 Thread Daniel-Constantin Mierla
Thanks for the contribution! Looking at the sequence of operations, only the patch 4a076a0 needs to be reviewed and merged, right? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] compilation warnings (#612)

2016-05-17 Thread Daniel-Constantin Mierla
Closed #612 via #626. --- 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/612#event-663925768___ sr-dev mailing list

Re: [sr-dev] [kamailio/kamailio] lib/srutils: fix gcc warning GH#612 (#626)

2016-05-17 Thread Daniel-Constantin Mierla
Merged #626. --- 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/626#event-663925769___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] lib/srutils: fix gcc warning GH#612 (#626)

2016-05-17 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/626#issuecomment-219926753___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:cfccbfa8: lib/srutils: fix gcc warning GH#612

2016-05-17 Thread Mikko Lehto
Module: kamailio Branch: master Commit: cfccbfa8590dffe9a1282dba6ce757f686f55599 URL: https://github.com/kamailio/kamailio/commit/cfccbfa8590dffe9a1282dba6ce757f686f55599 Author: Mikko Lehto Committer: Mikko Lehto Date: 2016-05-17T15:18:01+03:00 lib/srutils:

[sr-dev] git:master:5261d61f: Merge pull request #626 from mslehto/strict-aliasing

2016-05-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 5261d61f8202689204242c218fdd17ce3b2e461b URL: https://github.com/kamailio/kamailio/commit/5261d61f8202689204242c218fdd17ce3b2e461b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] git:master:aa4c37ab: presence: Add local_log_facility configuration parameter

2016-05-17 Thread Phil Lavin
Module: kamailio Branch: master Commit: aa4c37ab756b42f2aafc2b659d09bbe632f702a2 URL: https://github.com/kamailio/kamailio/commit/aa4c37ab756b42f2aafc2b659d09bbe632f702a2 Author: Phil Lavin Committer: Phil Lavin Date: 2016-05-17T09:46:25+01:00

Re: [sr-dev] [kamailio/kamailio] presence: Add local_log_facility configuration parameter (#625)

2016-05-17 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/625#issuecomment-219926576___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:ca7f6b2e: Merge pull request #625 from phil-lavin/presence-local-log-facility

2016-05-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: ca7f6b2e46158d74cd629260de7276a8dffda943 URL: https://github.com/kamailio/kamailio/commit/ca7f6b2e46158d74cd629260de7276a8dffda943 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

Re: [sr-dev] [kamailio/kamailio] presence: Add local_log_facility configuration parameter (#625)

2016-05-17 Thread Daniel-Constantin Mierla
Merged #625. --- 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/625#event-663924957___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:5169e7da: Examples/IMS: Updated configuration examples for various IMS-Nodes

2016-05-17 Thread Carsten Bock
Module: kamailio Branch: master Commit: 5169e7dae017bdd4cb66dda388e78127efb51aa6 URL: https://github.com/kamailio/kamailio/commit/5169e7dae017bdd4cb66dda388e78127efb51aa6 Author: Carsten Bock Committer: Carsten Bock Date: 2016-05-17T21:41:51+02:00

Re: [sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread AndreasHuber-CH
OK. I propose a solution which puts the new code directly in the auth module: https://github.com/kamailio/kamailio/pull/628 --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] auth: Add option to use SHA-256 instead of MD5 in digest authentication (#628)

2016-05-17 Thread AndreasHuber-CH
This is an alternative solution to pull request: https://github.com/kamailio/kamailio/pull/627 You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/628 -- Commit Summary -- * Merge remote-tracking branch 'refs/remotes/kamailio/master'

Re: [sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread Victor Seva
> Would you prefer this solution ? If yes, I'll propose an implementation. I would say this should to be implemented at auth module. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread AndreasHuber-CH
It could. I proposed different solutions before to the mailing list (without any replies). The impact would be about: - Add a module parameter "algorithm" that allows configuring "SHA-256" instead of "MD5" - Add SHA-256 versions for the functions calc_HA1 and calc_response (similar to

Re: [sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread Alekzander Spiridonov
Can it be a part of auth module with some sort of modparam switching between algorithms? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] lib/srutils: fix gcc warning GH#612 (#626)

2016-05-17 Thread Mikko Lehto
This little test program shows same output before and after patch. ` #include #include "sha256.h" #include "shautils.h" #define BUFSIZE 1024 int main(void) { uint8_t buffer[BUFSIZE]; uint8_t src[2]; src[0]='a'; src[1]=0x0a; compute_sha256((char

[sr-dev] [kamailio/kamailio] Add new module auth_sha256 that can be used inplace of module auth. (#627)

2016-05-17 Thread AndreasHuber-CH
Providing same API and functionality as auth module, but using SHA-256 instead of MD5 for digest authentication. You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/627 -- Commit Summary -- * Merge remote-tracking branch

Re: [sr-dev] [kamailio/kamailio] textops: get_body_part doesn't detect multipart headers ending properly (#564)

2016-05-17 Thread Victor Seva
@foucse can you try this changes? --- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/564#issuecomment-219702915___ sr-dev mailing list

[sr-dev] [kamailio/kamailio] lib/srutils: fix gcc warning GH#612 (#626)

2016-05-17 Thread Mikko Lehto
> sha256.c: In function 'sr_SHA256_Final': > sha256.c:613:3: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing] >*(sha2_word64*)>buffer[SHA256_SHORT_BLOCK_LENGTH] = > context->bitcount; >^ > sha256.c: In function 'SHA512_Last': >

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

2016-05-17 Thread Sunil More
Hello, I am able to reproduce this bt everytime now. Core was generated by `/usr/local/kamailio/sbin/kamailio -f /usr/local/kamailio/etc/kamailio/kamailio.'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x7f104af2a431 in atomic_cmpxchg_int (var=0x7f110007, old=0,

[sr-dev] git:master:e8c7b29e: presence_dialoginfo: fix compiler warnings #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: e8c7b29e1d051619595f2d45276d8c775bc278a3 URL: https://github.com/kamailio/kamailio/commit/e8c7b29e1d051619595f2d45276d8c775bc278a3 Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:08927c98: db2_ldap: fix compiler warnings #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 08927c98edab0c1201138fbd4f9760dcdf3a35c1 URL: https://github.com/kamailio/kamailio/commit/08927c98edab0c1201138fbd4f9760dcdf3a35c1 Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:09470aed: lib/srdb1: fix compiler warning #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 09470aed719b0fad6c600d9c18a339e343550f33 URL: https://github.com/kamailio/kamailio/commit/09470aed719b0fad6c600d9c18a339e343550f33 Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:9f1aa931: presence_xml: fix compiler warning #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 9f1aa931dafc0d654af4d51b5e4ab6a72a71fb0c URL: https://github.com/kamailio/kamailio/commit/9f1aa931dafc0d654af4d51b5e4ab6a72a71fb0c Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:149976aa: fix compiler warning #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 149976aac40e027b9d04a257c063ac1c397d2c0c URL: https://github.com/kamailio/kamailio/commit/149976aac40e027b9d04a257c063ac1c397d2c0c Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:947fe867: xmlrpc: fix compiler warning #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 947fe8673c3014f4d011583bed95d44408b907f4 URL: https://github.com/kamailio/kamailio/commit/947fe8673c3014f4d011583bed95d44408b907f4 Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:3976224f: presence_conference: fix compiler warnings #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 3976224f6bb4b790b1752a00174439a1e2de1665 URL: https://github.com/kamailio/kamailio/commit/3976224f6bb4b790b1752a00174439a1e2de1665 Author: Victor Seva Committer: Victor Seva Date:

[sr-dev] git:master:3c4fa125: db_mysql: fix compile warning #612

2016-05-17 Thread Victor Seva
Module: kamailio Branch: master Commit: 3c4fa1250c8c3de74e9415a064ba75f97e1cbb4f URL: https://github.com/kamailio/kamailio/commit/3c4fa1250c8c3de74e9415a064ba75f97e1cbb4f Author: Victor Seva Committer: Victor Seva Date:

Re: [sr-dev] [kamailio/kamailio] lib/srdb1: fix compiler warning #612 (#620)

2016-05-17 Thread Victor Seva
define both seems a better approach, trying right now --- 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/620#issuecomment-219673463___ sr-dev

Re: [sr-dev] [kamailio/kamailio] lib/srdb1: fix compiler warning #612 (#620)

2016-05-17 Thread Victor Seva
for sure, for clang this doesn't work at all ``` CC (clang) [M db_mysql.so] km_dbase.o CC (clang) [M db_mysql.so] km_val.o CC (clang) [M db_mysql.so] my_fld.o CC (clang) [M db_mysql.so] km_row.o CC (clang) [M db_mysql.so]

Re: [sr-dev] [kamailio/kamailio] lib/srdb1: fix compiler warning #612 (#620)

2016-05-17 Thread Daniel-Constantin Mierla
Is this ok also for older versions of gcc (like in Debian Wheezy)? If yes, it can be merged, if not maybe both can be defined. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:master:e7365749: Merge pull request #623 from phil-lavin/pua-dialoginfo-dialog-publish-log-level

2016-05-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: e7365749b51be3c2590b84623c6a459237e72bf7 URL: https://github.com/kamailio/kamailio/commit/e7365749b51be3c2590b84623c6a459237e72bf7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

Re: [sr-dev] [kamailio/kamailio] pua_dialoginfo: reduce the log level of every call to dialog_publish (#623)

2016-05-17 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/623#issuecomment-219657172___ sr-dev mailing list sr-dev@lists.sip-router.org

Re: [sr-dev] [kamailio/kamailio] pua_dialoginfo: reduce the log level of every call to dialog_publish (#623)

2016-05-17 Thread Daniel-Constantin Mierla
Merged #623. --- 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/623#event-662670677___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:a5e89b42: pua_dialoginfo: reduce the log level of every call to dialog_publish

2016-05-17 Thread Phil Lavin
Module: kamailio Branch: master Commit: a5e89b42151ba3697835cff4a2a379422a9afc46 URL: https://github.com/kamailio/kamailio/commit/a5e89b42151ba3697835cff4a2a379422a9afc46 Author: Phil Lavin Committer: Phil Lavin Date: 2016-05-16T15:20:09+01:00

[sr-dev] [kamailio/kamailio] presence: Add local_log_facility configuration parameter (#625)

2016-05-17 Thread Phil Lavin
Similar to local_log_level - controls the syslog facility of certain log entries You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/625 -- Commit Summary -- * presence: Add local_log_facility configuration parameter -- File Changes --

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

2016-05-17 Thread Daniel-Constantin Mierla
Yesterday was public holiday in most of Europe and next days is the Kamailio World Conference, with many Kamailio people participating, therefore expect lower activity on the forums. The core you got is not the good one, because it is the shutdown procedure. You have to enable one core file

Re: [sr-dev] [kamailio/kamailio] Kamailio 4.3.3 and HUAWEI HG8245. Port 1 call port 2. 481Call/Transaction Does Not Exist. Warning: 399 No Dialog match. (#624)

2016-05-17 Thread Daniel-Constantin Mierla
The discussions about kamailio.cfg are done on mailing list . You can join it and continue the discussion there in order to figure out what is wrong with the configuration file: * http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users The issue tracker is used only for development --

Re: [sr-dev] [kamailio/kamailio] Kamailio 4.3.3 and HUAWEI HG8245. Port 1 call port 2. 481Call/Transaction Does Not Exist. Warning: 399 No Dialog match. (#624)

2016-05-17 Thread Daniel-Constantin Mierla
Closed #624. --- 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/624#event-662556217___ sr-dev mailing list sr-dev@lists.sip-router.org

[sr-dev] git:master:472782d2: cfgutils: added more to docs for route exists functions

2016-05-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 472782d2f094b1971543b4d0c3733058d9086d78 URL: https://github.com/kamailio/kamailio/commit/472782d2f094b1971543b4d0c3733058d9086d78 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] git:4.4:053c522e: cfgutils: proper check for return code looking up routing block in route_exists()

2016-05-17 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 4.4 Commit: 053c522e45fedea8bdb2ed92bd1de0a82331a7bf URL: https://github.com/kamailio/kamailio/commit/053c522e45fedea8bdb2ed92bd1de0a82331a7bf Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date:

[sr-dev] [kamailio/kamailio] Kamailio 4.3.3 and HUAWEI HG8245. Port 1 call port 2. 481Call/Transaction Does Not Exist. Warning: 399 No Dialog match. (#624)

2016-05-17 Thread Max
### Kamailio 4.3.3 and HUAWEI HG8245. Port 1 call port 2. 481 Call/Transaction Does Not Exist. Warning: 399 No Dialog match. In our network we used several ONT Huawei models. But with one model HUAWEI-EchoLife HG8245 / V1R003C00S205 we have the following problem. When connecting to this device