Re: [sr-dev] [kamailio/kamailio] DB Postgres BLOB conversion for presence (#1255)

2018-10-07 Thread sergey-safarov
I created patch for postgres module and will test soon. ``` diff --git a/src/modules/db_postgres/km_pg_con.c b/src/modules/db_postgres/km_pg_con.c index 5a7225c..b66a94a 100644 --- a/src/modules/db_postgres/km_pg_con.c +++ b/src/modules/db_postgres/km_pg_con.c @@ -52,6 +52,7 @@ struct pg_con *db_p

[sr-dev] git:master:cdfd0d46: Makefile.defs: improve and extend comment about compilation mode

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: cdfd0d460fbfe7a2cd2343b3829d3df88a943cd8 URL: https://github.com/kamailio/kamailio/commit/cdfd0d460fbfe7a2cd2343b3829d3df88a943cd8 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T22:49:58+02:00 Makefile.defs: improve and extend

Re: [sr-dev] [kamailio/kamailio] DB Postgres BLOB conversion for presence (#1255)

2018-10-07 Thread sergey-safarov
Hello Daniel Think i found way how to properly escape blob strings. need to execute `SET bytea_output=escape;` command when connection created This maybe done in function [`db_postgres_new_connection`](https://github.com/kamailio/kamailio/blob/master/src/modules/db_postgres/km_pg_con.c#L48-L152).

[sr-dev] [kamailio/kamailio] kamctl: make jsonrpc filter portable (#1669)

2018-10-07 Thread micmac1
The filter has a regex looking for a literal '{' in the beginning of a line. Some awk implementations interpret this as a meta character, so the regex is deemed broken. Example with busybox awk (POSIX): `root@hank2:~# kamctl ps` `awk: bad regex '^{.+"id"[ ]*:[]*[0-9]+[ ]*}$': Invali

[sr-dev] git:master:58325bb8: core: remove obselete parse_hostport functionality, deactivated since 2003

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 58325bb8ae28ff291d594782bc3bfdd8e811d0a9 URL: https://github.com/kamailio/kamailio/commit/58325bb8ae28ff291d594782bc3bfdd8e811d0a9 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T10:29:46+02:00 core: remove obselete parse_hostpo

[sr-dev] git:master:884ec6ba: enum: remove old and not compiling code block, deactivated with #ifdef since 2006

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 884ec6baf85414d2f92681cd6e61a5d611fd0428 URL: https://github.com/kamailio/kamailio/commit/884ec6baf85414d2f92681cd6e61a5d611fd0428 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T10:02:03+02:00 enum: remove old and not compiling

[sr-dev] git:master:b64a2587: core: remove old code for BRANCH_IGNORE_3261_VIA and BRANCH_INCLUDE_FROMTO_BODY

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: b64a25874e376c00ce60570117d33550af568497 URL: https://github.com/kamailio/kamailio/commit/b64a25874e376c00ce60570117d33550af568497 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:56:59+02:00 core: remove old code for BRANCH_I

[sr-dev] git:master:b5f2aabb: core: remove a code block related to hash functions, deactivated with #ifdef since 2002

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: b5f2aabbc692dedff4788e4470ea534d90c7cab4 URL: https://github.com/kamailio/kamailio/commit/b5f2aabbc692dedff4788e4470ea534d90c7cab4 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:48:05+02:00 core: remove a code block related

[sr-dev] git:master:a9a47c22: core: remove old and not working function, deactivated with an #ifdef since 2003

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: a9a47c2295f55fbb9928e7798994e9aad0590055 URL: https://github.com/kamailio/kamailio/commit/a9a47c2295f55fbb9928e7798994e9aad0590055 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:38:24+02:00 core: remove old and not working f

[sr-dev] git:master:a94a7e03: cdp: remove a SER_MOD_INTERFACE usage, cleanup after commit #1f70d062b0b9cf1e

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: a94a7e0360b30d05f48720d81b7ba4268b6384f6 URL: https://github.com/kamailio/kamailio/commit/a94a7e0360b30d05f48720d81b7ba4268b6384f6 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:25:44+02:00 cdp: remove a SER_MOD_INTERFACE us

[sr-dev] git:master:2b8c4f1d: Makefile.modules: SER_MOD_INTERFACE/KAMAILIO_MOD_INTERFACE cleanup after commit #1f70d062b0b9cf1e

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 2b8c4f1d4f5e5110ad1ed15b2a228a76122eb8f7 URL: https://github.com/kamailio/kamailio/commit/2b8c4f1d4f5e5110ad1ed15b2a228a76122eb8f7 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:27:30+02:00 Makefile.modules: SER_MOD_INTERFAC

[sr-dev] git:master:aae3dcec: core: MOD_KAMAILIO/MOD_SER DB URL defines, cleanup after commit #1f70d062b0b9cf1e

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: aae3dcec8d755c5da601a515be1725abe5e4cc3c URL: https://github.com/kamailio/kamailio/commit/aae3dcec8d755c5da601a515be1725abe5e4cc3c Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:28:39+02:00 core: MOD_KAMAILIO/MOD_SER DB URL

[sr-dev] git:master:9dcab6fc: kam_to_sr.sh: add a note that this script is now obselete

2018-10-07 Thread Henning Westerholt
Module: kamailio Branch: master Commit: 9dcab6fcc9e40253e3f9b451af533fe02b96a7c3 URL: https://github.com/kamailio/kamailio/commit/9dcab6fcc9e40253e3f9b451af533fe02b96a7c3 Author: Henning Westerholt Committer: Henning Westerholt Date: 2018-10-07T09:16:20+02:00 kam_to_sr.sh: add a note that this