[sr-dev] git: new commits in branch 4.4

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 2 10:48:43 CET 2016


- URL:  https://github.com/kamailio/kamailio/commit/1873b4536e5371e33a7135fafe862c2da81d452f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:16:29+01:00

core: parser - removed level and function prefix from log messages for identity info

(cherry picked from commit d7b0c68b825222f139aaa16a73de23fe2c07312a)

- URL:  https://github.com/kamailio/kamailio/commit/592aad9ad1cb53ae868cb2a9e6f5e010790e6f58
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:17:25+01:00

tm: fixed misleading indentation of block after an IF (reported by gcc 6.2)

(cherry picked from commit b20b076e292fc7720352f64ccabb3caafbfae1d3)

- URL:  https://github.com/kamailio/kamailio/commit/98ffcd408ff536361faa70c91cd1c570f33005f2
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:17:58+01:00

pv: adjusted indentation after if blocks to avoid gcc 6.2 warnings

(cherry picked from commit 8c169ba0919e46222f1732d6ab084f499ea2972b)

- URL:  https://github.com/kamailio/kamailio/commit/0b2d30d79670e473c87d119ee305551723ba2f4a
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:18:28+01:00

ldap: removed unused variable

(cherry picked from commit 564f5c612999d762b24bcaf2047bb063d1d5ecbf)

- URL:  https://github.com/kamailio/kamailio/commit/07a023d03700a73b545a82b9de6930a5e9997e95
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:18:42+01:00

db_perlvdb: fixed warning of using static function inside inline one

(cherry picked from commit 0f791078260f2ccfd22a268831fb8dcfb00b24f3)

- URL:  https://github.com/kamailio/kamailio/commit/4ea04ef7c5c317d30c691915b9790bb3c3279c6f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:18:52+01:00

presence: remove unused variable

- coherent whitespacing

(cherry picked from commit 1014788aa32468e734cd082d9c770adc7daa05e4)

- URL:  https://github.com/kamailio/kamailio/commit/3484127bedefd9ca7dc882ef2b458036b58ce099
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:19:42+01:00

pua_xmpp: fixed misleading missing guard for if block

- coherent whitespacing

(cherry picked from commit 52424c5e3748dbad9802a8c92bfda7c8457a9a62)

- URL:  https://github.com/kamailio/kamailio/commit/a84f0e1ec76a6999d3a5285e6e23007532d8e232
Author: Phil Lavin <phil at lavin.me.uk>
Date:   2016-11-02T10:20:33+01:00

purple: Fix multiple memory leaks in DB code

(cherry picked from commit a361686b2c872cad6493804eb71b8b8e7e151a4f)

- URL:  https://github.com/kamailio/kamailio/commit/c7d59bd0daefd677e70a8ec2b69e8197c46dbe72
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:23:49+01:00

core: print the len for added header in debug message

(cherry picked from commit eb9d4e0fe99b0b81e9f33106e080112be22b28a5)

- URL:  https://github.com/kamailio/kamailio/commit/02f4834bc002717bd0527615b07a5f38946d820e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:24:14+01:00

core: msg parser - relocated static inline functions from header file

- copes beter with latest compiler versions
- coherent whitespacing and indentation

(cherry picked from commit a830e5271c4567073cef4fee0cde65f7c0979176)

- URL:  https://github.com/kamailio/kamailio/commit/4c60c2205923513d15761f248d9e64bdfbe503a4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:24:29+01:00

core: msg parser - more log message for get body function

(cherry picked from commit 69a89021f95b19c803cff3919bf38be2cb1dbbd2)

- URL:  https://github.com/kamailio/kamailio/commit/293c8dbe6fb93162976d4bc8a8f0a654ba3bbdbf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:25:05+01:00

ctl: split the definition of default ctl socket

(cherry picked from commit 26ed56da94fde2df51fa0e12e67a790922116d37)

- URL:  https://github.com/kamailio/kamailio/commit/871f864bd18643f5d5a64d3bbd989fc9fe992ed7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:25:14+01:00

ctl: take in consideration runtime_dir when creation the ctl socket

(cherry picked from commit 99f25469c5ce8070210769f9dfe2a16b7333c14d)

- URL:  https://github.com/kamailio/kamailio/commit/8ded27355991a098f22e1b70f3f5cfaf2e689cef
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:25:26+01:00

Makefile.defs: option to disable raw sockets at compile time

make RAW_SOCKS=no ...

(cherry picked from commit 0f3123426d3c9d8e10b8e74557d0791a6df85648)

- URL:  https://github.com/kamailio/kamailio/commit/cc7b222b2752601648fc512d390aaaf1f79b7008
Author: Chocolatbuddha <chocolatbuddha at gmail.com>
Date:   2016-11-02T10:25:48+01:00

Presence: Fix startup inconsistency in presentity hash table

pres_htable_restore(): Remove check of expired presentity entries when
initially filling the hash table to represent the number of expired +
valid entries. Because hash.c::delete_phtable() decrements publ_count on
removal of _every_ expired DB entry.
get_p_notify_body(): Compensate the fix on hash table restore by
checking for the expires time on building the NOTIFY. This also fixes a
problem when a SUBSCRIBE is received for an expired entry before the
cleaner can remove the entry from the DB.

(cherry picked from commit 1dceaa24ded727aba5870f28fb63e26ed98464f3)

- URL:  https://github.com/kamailio/kamailio/commit/a53c91ccf933a500e1858bac778f192592abe230
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:26:00+01:00

dialog: propre reparse of msg structure when doing cseq refresh ops

- triggering parsing from scratch always resulted in improper
  propagation of parsing flags and failure to detect end of headers
- credits to Jöran Vinzens for assistance with troubleshooting
- GH #819

(cherry picked from commit dd0b7e403404a977707aa1524783111190cc5f3e)

- URL:  https://github.com/kamailio/kamailio/commit/4fb274c9654769468ecd1a7fd386b05bc6123b01
Author: Emmanuel Schmidbauer <emmanuel at getweave.com>
Date:   2016-11-02T10:27:16+01:00

janssonrpc-c: fix memory leak when using janssonrpc_notification

(cherry picked from commit c6b38e437387aba003bef8ef9496d5a7568e9c97)

- URL:  https://github.com/kamailio/kamailio/commit/0d82942a6d7c30c577b60e7eda7e88480512847a
Author: Camille Oudot <camille.oudot at orange.com>
Date:   2016-11-02T10:28:19+01:00

mem: TLSF bit ops cleanup / 64 bits improvement

- remove unsupproted compilers
- use 64 bits __builtin_clzl() instead of twice 32 bits __builtin_clz()

(cherry picked from commit 0683df11e319aa3db45cd9b18af3a3c3b02088a8)

- URL:  https://github.com/kamailio/kamailio/commit/e28a66fb3fd42226f477bc0efc8bbac59e5a2456
Author: Holger Hans Peter Freyther <holger at moiji-mobile.com>
Date:   2016-11-02T10:28:41+01:00

pv: Use memcpy to copy len bytes instead of strcpy

The sipcapture plugin stores bytes with VAR_VAL_STR and when
copying the data it would end up being truncated. Use memcpy
instead of strncpy and assume that the original string already
has the NUL termination (or not as with the hep plugin).

Config example:

	$var(payload) = hep(0x00f)

(cherry picked from commit 2531dd069bc76f945c5c19253e35fe8b1ef9ed15)

- URL:  https://github.com/kamailio/kamailio/commit/402fd315a9239806a669701827e6d47a6df7ddda
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:28:54+01:00

rr: more log details when 2nd rr with r2=on is not matching a local socket

(cherry picked from commit b814c5aadc690ceeca75e6ce25bf850ddfc4b44a)

- URL:  https://github.com/kamailio/kamailio/commit/d8e27514f9f576d4653a15ebe8210f0d2739e661
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:29:06+01:00

rr: fixed typo in log message

- due to previous commit
- reported by Alberto Llamas

(cherry picked from commit e310762f71afd3e290e709f2d6786d44ce15ee1a)

- URL:  https://github.com/kamailio/kamailio/commit/306cf67a03f07f55ec8d7049eaaa623f02b1cfd3
Author: Ovidiu Sas <osas at voipembedded.com>
Date:   2016-11-02T10:29:25+01:00

permissions: update doc with missing MI and RPC commands:
 mi: perm_domain_dump
 rpc: permissions.domainDump

(cherry picked from commit 5b5ac65cc8adcecf940cf9098d99ad7bbaaddc07)

- URL:  https://github.com/kamailio/kamailio/commit/7fdfb649cc4a6992be70a67555aff1f8ef59fc9f
Author: Timmo Verlaan <tverlaan at gmail.com>
Date:   2016-11-02T10:29:49+01:00

rr: use default port for protocol if it is omitted in route header

When using double route headers the selection of the outgoing
socket is only done on IP address if the port is omitted in that
route header. This fix defaults the port to 5060/5061 depending on
protocol so the correct listen socket is chosen. When no socket is
found it will fallback to the current behaviour keeping backwards
interoperability.

(cherry picked from commit aaec127fbf1f3be41e49601330d7eafe7353c53a)

- URL:  https://github.com/kamailio/kamailio/commit/e17aba9e458743c93c5637982afbc62799679719
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:30:15+01:00

lib/srdb1: fix the memset to 0 in util function

(cherry picked from commit d7431dd190bb1f4aba8e2373807047ac6fe8db90)

- URL:  https://github.com/kamailio/kamailio/commit/f82b12c5a34c299b7e37c5f1049ed9cac6e493c4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:30:31+01:00

db_postgres: safety check of str buffer pointer before writing

(cherry picked from commit 8ed8d8349dad1e2abd2ac026b4540e9a296c866b)

- URL:  https://github.com/kamailio/kamailio/commit/33aa99a906bf7f352fc6ba1d021348e314ba76b1
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:30:46+01:00

htable: earlier init of jdoc used for dmq for proper clean on error cases

(cherry picked from commit 13ff91b1955d7248f8aaaf350675275e425443dc)

- URL:  https://github.com/kamailio/kamailio/commit/3f7c250a14f77c35e7dc5fd1678513705d859c7d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:31:02+01:00

pua: copy over subs flag in subscribe_cbparam()

(cherry picked from commit 82e22fb36c5155d920b60e8cad689578eec8fb70)

- URL:  https://github.com/kamailio/kamailio/commit/6966751ea1fcf9cde904dc0762f20ff7592ac4df
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:31:10+01:00

pua: one more proper propagation of ua_flags in subs_cbparam_indlg()

(cherry picked from commit 1e2060c0e0aa28fc1c2129d5e5fe3e210827e850)

- URL:  https://github.com/kamailio/kamailio/commit/5f9c8a2966eccf977fd8c17a715446b180fd8ca3
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:31:21+01:00

pua: fix propagation of ua_flag - it is func param, not in subs

(cherry picked from commit 62c5d0d9cbd87a6b47c1a211588230ebc2652b8f)

- URL:  https://github.com/kamailio/kamailio/commit/3b8172225eefcffee04c87851424a58319b3748e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:31:39+01:00

core: parser - use square brakets for log messages of addr-spec parsing

- replace angle brakets, which can mislead because they are part of
  values

(cherry picked from commit 7c43359e3c2ebe9aab8a69717225f83737d18345)

- URL:  https://github.com/kamailio/kamailio/commit/5ae104fcf8753b13cce40b699249038a9ddac071
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:31:47+01:00

core: parse addr spec - removed old style log message prefixes

(cherry picked from commit 1a2918e2d962e2a61a8c185974e49fe9cc09c631)

- URL:  https://github.com/kamailio/kamailio/commit/ac19fef4e452fa7e4e29c41b96527f4a5a70f4ee
Author: albertollamaso <albertollamaso at gmail.com>
Date:   2016-11-02T10:32:12+01:00

permissions: doc typo fixed

(cherry picked from commit 26c41e16512f04b7d83d66432a78f277852a8664)

- URL:  https://github.com/kamailio/kamailio/commit/d506cd01562cb23ddd1fa22d662a17b1ed3a5d86
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:32:24+01:00

uac: coherent indentation of code for replace from/to values

(cherry picked from commit 00571fd1d07edbfb5950ca6786e898ecbc0b33f5)

- URL:  https://github.com/kamailio/kamailio/commit/b38167923bd13abb6bbe4d58a57ed053faa5e68e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:32:35+01:00

uac: safety check for new uri to include only printable characters

- related to GH #833

(cherry picked from commit 49dd3315b7298addeaa85dd1628cd0a25ddef5b1)

- URL:  https://github.com/kamailio/kamailio/commit/5bb035929c81ab16b06694316b67582c599b88ea
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:33:14+01:00

ndb_redis: get the srv structure after checking parameter sanity

(cherry picked from commit c5681600a5fdd650a4830e77aca2b4804766ccfa)

- URL:  https://github.com/kamailio/kamailio/commit/eb63cc8639e10a9fe413b6a29c31ab5d07a028eb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:33:54+01:00

lib/srutils: removed valueint field from json struct

- numbers are stored in the valuedouble
- helper macros added to retrivie fixed type numbers

(cherry picked from commit ecd22245336f2d3d6d2f9404ebfdd4369f19bd97)

- URL:  https://github.com/kamailio/kamailio/commit/e443eba3010a24a02bb73d15f1f7d55cf826b777
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:34:04+01:00

dialog: converted to use json helper macros for dlg profile

(cherry picked from commit d7653eb9e7e6ffe21988f2a616deae0c01083c57)

- URL:  https://github.com/kamailio/kamailio/commit/2a37ae7f9c712951034d41107ab2aa9aec1be736
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:34:17+01:00

dmq_usrloc: use usigned int for contact info values

- switched to using json helper macros for numbers

(cherry picked from commit f68f0864c77e8556e48db4d5681ba8dc3ea06f62)

- URL:  https://github.com/kamailio/kamailio/commit/d6daa134c5b908a7c202af213758cff12ba4517e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:34:29+01:00

htable: switched to json macros for numbers in dmq operations

(cherry picked from commit 114ec80c58f06c876fc76d884b73095c5dcc8bff)

- URL:  https://github.com/kamailio/kamailio/commit/704a21b462dcc740cd8763c1c80229304edc0241
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:34:40+01:00

rtjson: use json macros to retrieve int values

(cherry picked from commit b8d6b99a36e57b65f7b7d9fba321e2088032178b)

- URL:  https://github.com/kamailio/kamailio/commit/7e85486f93c101f69df8aec97492ea36a14bd2f8
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:34:53+01:00

jsonrpc-s: switched to use json helper macros for numbers

(cherry picked from commit 2853500cc73a5dfc66654e6f3555c1c40e072817)

- URL:  https://github.com/kamailio/kamailio/commit/e94ff2a8f9347e3d61bb1b5e7e9fdd2f33800a44
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:35:06+01:00

lib/srutils: srjson - init number value for null, true and false

(cherry picked from commit 2c22664610de2a007bbb881fead5640048ed24ba)

- URL:  https://github.com/kamailio/kamailio/commit/e3b8f63bfe3f6e220672c5cb9de1ee8e8150ffa2
Author: Mikko Lehto <mslehto at iki.fi>
Date:   2016-11-02T10:35:29+01:00

modules/nathelper: fix small typo in documentation

(cherry picked from commit 90781fc664ab3b843390c67f6367240a513828c0)

- URL:  https://github.com/kamailio/kamailio/commit/2e7869c8dfd059f4cf5d5d0f7d31fd8a2b2692f0
Author: Mikko Lehto <mslehto at iki.fi>
Date:   2016-11-02T10:35:38+01:00

modules/sanity: fix small typo in documentation

(cherry picked from commit 463569b8b0c2e29da1c82683e8edab0c2f67a9da)

- URL:  https://github.com/kamailio/kamailio/commit/c54fc3126fb5f4139b41e016aaf320a954c2f9ab
Author: Mikko Lehto <mslehto at iki.fi>
Date:   2016-11-02T10:35:47+01:00

modules/dispatcher: fix small typo in documentation

(cherry picked from commit 02482d1b71dc618467978b060bc23bfedaa502fb)

- URL:  https://github.com/kamailio/kamailio/commit/fd5b6e83ffac3137d43792edd5feef9e4ff7f74c
Author: Mikko Lehto <mslehto at iki.fi>
Date:   2016-11-02T10:35:57+01:00

modules/crypto: fix small typo in documentation

(cherry picked from commit bb62b0f32543e6961972679cfe34c48091329a63)

- URL:  https://github.com/kamailio/kamailio/commit/2cffb6ffd4e6b082098301cf584f613df1b8072f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:36:17+01:00

domain: fixed typo in the log message

- fixed warning on allocating hash_table with a different size than the
  content of the pointer
- coherent indentation and whitespacing

(cherry picked from commit 96fea675022cc923e4f253454b5095fa810ab313)

- URL:  https://github.com/kamailio/kamailio/commit/b813a47ea5aa8ee322f238e529fc008d1acbcfff
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:36:27+01:00

mi_datagram: safety check so the length of mi socket doesn't result in overflow

(cherry picked from commit d4f3c96cdf2efc8db8fa115a35f7ea9545ea4c9f)

- URL:  https://github.com/kamailio/kamailio/commit/36c939dfe75cec797cfdd7caa3f9aed83d554a28
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:36:49+01:00

core: parser/sdp - init pf variable to avoid compile time warnings

(cherry picked from commit d7871cd82e22bfe8444e2d150b38565265343223)

- URL:  https://github.com/kamailio/kamailio/commit/05a7e71cca01325095cfcd2315f6ea66d5c21913
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:37:09+01:00

rr: removed unused assignment

(cherry picked from commit 6b1d18c3ba184b60a7be567f23ba4cda6efee4af)

- URL:  https://github.com/kamailio/kamailio/commit/d4169f1b598c6e92a470d2f12259333cec7a5d56
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:37:26+01:00

janssonrpc-c: declare variables at beginning of netstring_read_fd()

(cherry picked from commit 30cdc11f30e10bca5821609d86d31ffc1b5bd3c8)

- URL:  https://github.com/kamailio/kamailio/commit/e20230bb36f0ca63cdb0dd81c1d6a87279fe40bf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2016-11-02T10:37:43+01:00

core: parser/parse_diversion - allow comma separated bodies

- still only the first body is cacshed in msg->diversion
- reported by GH #841

(cherry picked from commit 47f1ff4d31101c8a8d16a08b3c2f1069b85b3d47)





More information about the sr-dev mailing list