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

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 7 12:45:36 CET 2019


- URL:  https://github.com/kamailio/kamailio/commit/1133f818461cf2ed6c8bd755543f93b366a02683
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

lib/srdb1: memset db connection structure earlier in db_bind_mod()

(cherry picked from commit 1b014d65e26a99f9f5d4aea1b27949776f083c2d)

- URL:  https://github.com/kamailio/kamailio/commit/cc51d6c7170ad289c8f521a05470a2eacd05f565
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

tm: reply_received() - simplify locking for processing sip response

- leverage the recursive mutex and skip several zones of unlock/lock,
which can lead to races on delayed processing or fast reply
retransmissions
- related to GH #1613 #1744

(cherry picked from commit 39b89a18a8c357151a173ab02dc95dff1f02715d)

- URL:  https://github.com/kamailio/kamailio/commit/c9eaace851e91aa75bf979f5092f31894564c6f1
Author: Yasin CANER <caner_yaso at hotmail.com>
Date:   2019-01-07T12:22:35+01:00

rtpengine : crash is fixed and codec flags added to doc (#1742)

* rtpengine : add information to doc about transcode

rtpengine : add information to doc about transcode parameter

* rtpengine : codec flag crash is fixed
codec-transcode , codec-strip , codec-mask , codec-offer gives crash without codec value.It is fixed and  some logs are added for help.

* rtpengine : codec-transcode and other flags are added to doc

codec-transcode , codec-strip , codec-mask , codec-strip are added to doc with example.

* rtpengine : str_key_val_prefix is fixed for null values
str_key_val_prefix is fixed for null values

* rtpengine : b parameter is changed with via-branch in document
b parameter is changed with via-branch in document

(cherry picked from commit a9a3ec0214227d272338a827ceb4fd12cea94429)

- URL:  https://github.com/kamailio/kamailio/commit/3a2d9921dc8a3c8133e7e3bacfba94468f9bbeb6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

auth_xkeys: clone value before inserting the lump inside auth_xkeys_add()

(cherry picked from commit 01f5ecbc45c236daea62d6638a02c168720c8479)

- URL:  https://github.com/kamailio/kamailio/commit/f1a22ec8fb62277b627398daaa54be60b9c557b5
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/examples: kamailio-basic-kemi-python.py - use functions for method and myself checks

(cherry picked from commit 52c236e6417581b1f0354cc52f2eb5f762bc3b31)

- URL:  https://github.com/kamailio/kamailio/commit/8e4a914f3530dc37caec0a70d4b06a2326efc60f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/examples: sample default config with websocket enabled

(cherry picked from commit 45cecdef62b43ea19a8be607faddbe9918b67f06)

- URL:  https://github.com/kamailio/kamailio/commit/2e81abf1262784e390eb31efa95c5f437bd7051e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

dialog: store call-id, r-uri, f-uri and t-uri with 0-ending char

- can simplify matching with standard string comparison and regexp

(cherry picked from commit f1ab32ee4a0bf64017a0b05f2013b81d37d50208)

- URL:  https://github.com/kamailio/kamailio/commit/306d1590ad00f7518a7b7284768e52d1a35131f7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/example/kemi: merge condition lines in kamailio-basic-kemi-python.py

- fix syntax error

(cherry picked from commit beb99b3e4911506246bdd4eaed9aae582232eb84)

- URL:  https://github.com/kamailio/kamailio/commit/2405ed822068e796caf0ef0f8b04558cdb4a9bfa
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

app_jsdt: updated duktape js engine to v2.3.0

(cherry picked from commit f24487568c76b7e4af70698e246ad67c2cee2f96)

- URL:  https://github.com/kamailio/kamailio/commit/4b22810de302ef26a7c74cb868c33be183e8f114
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/examples/kemi/kamailio-basic-kemi-jsdt.js: use functions to match methods and myself

(cherry picked from commit 3991bcf5541d22d3a7ccaa3f89a9e0d189fd41b8)

- URL:  https://github.com/kamailio/kamailio/commit/7c8d57dfcfbab6d81ed8cb118cab834e3ef2c016
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/examples/kemi/kamailio-basic-kemi-lua.lua: fix condition on user agent

(cherry picked from commit c3f3f088cdcff566970c8af0e07e7ae5abb50504)

- URL:  https://github.com/kamailio/kamailio/commit/97c0391a03313622776133f6696ccdabe7772839
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:35+01:00

misc/examples/kemi/kamailio-basic-kemi-python.py: fix condition on user agent

(cherry picked from commit 323e96dbe5f263d66134183de8b2e8cff268431f)

- URL:  https://github.com/kamailio/kamailio/commit/b5a46dbffd3b9b2f4a61d57fc6aec2c46187b61e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

misc/examples/kemi/kamailio-basic-kemi-jsdt.js: removed extra parenthesis

(cherry picked from commit d9c38917ad0fea678449c41a60d52c68b697f8a1)

- URL:  https://github.com/kamailio/kamailio/commit/cad6b2f034b2eea519be14e04f4979543c80a762
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

misc/examples/kemi/kamailio-basic-kemi-jsdt.js: match from uri myself with function

(cherry picked from commit 856d2e03ea54cab6756dc61c3175df3638af9ce3)

- URL:  https://github.com/kamailio/kamailio/commit/959b221282cf22036482d650b55fc075649e93d7
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

misc/examples/kemi/kamailio-basic-kemi-sqlang.js: use functions to match methods and myself

(cherry picked from commit d196ed8fa1483a1aa7ba24d22b452404ad83ecad)

- URL:  https://github.com/kamailio/kamailio/commit/cb98198e595c776ccbf2cd8777e178eb81e85b58
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

pv: {param.count} accept static string "," as delimiter

(cherry picked from commit 80b3c37557d446bfe9ca5a5f469a42af60648280)

- URL:  https://github.com/kamailio/kamailio/commit/6fff557d5354baea8ad5c52d589f0da53497f876
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

app_ruby: Makefile - fixed libs for darwin os with no pkg-config

- removed -lobj from libs for linux without no pkg-config

(cherry picked from commit fb57ccb9d56991ca10714ffaab307cd02c36542b)

- URL:  https://github.com/kamailio/kamailio/commit/9ccbcc089e70001dd94136eadb68d2711669142f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

tm: error log message about new final reply made info

- can happen due to races of packets on the network

(cherry picked from commit 3d43f546ddff613c50068c9d47521a15b42f1c7b)

- URL:  https://github.com/kamailio/kamailio/commit/50a60b86d647d6d69f601fe7aa071f91c984e2b4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

app_ruby: Makefile - updated how to detect ruby version

- GH #1762

(cherry picked from commit 1569f91121a1ec00a0d59becbba587c923a21c63)

- URL:  https://github.com/kamailio/kamailio/commit/ba1ccab26123e468f7ef4cdee2a74b1068762d9d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

app_ruby: implemented rpc app_ruby.reload command

(cherry picked from commit 28b54dc63c62ddef837a3f580ab97161b55f214e)

- URL:  https://github.com/kamailio/kamailio/commit/d2418ad35ad28cbb8bf875b97886988719436a62
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

app_ruby: print new script version in rpc reload info message

(cherry picked from commit bbabc77a0ac34fbdc4618161360f27efc12ba1dc)

- URL:  https://github.com/kamailio/kamailio/commit/d83af7701e3f25f68f01cfd0b0602c72bc10afa4
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

uac_redirect: docs - added section ids

(cherry picked from commit b6e4ebc666877549796e09b721e1234e011b325e)

- URL:  https://github.com/kamailio/kamailio/commit/a13e067ea162975209f21215ccffd430ea4e6a1e
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

app_ruby: added missing app_ruby.api_list rpc command

(cherry picked from commit 37f664c404c5391181fcb61e2ec2955105c47a4d)

- URL:  https://github.com/kamailio/kamailio/commit/73eef8626c8f2babe55a6e63e00bfb5361589a51
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

uac_redirect: docs - fixed missing space in sectionid

(cherry picked from commit 4c44b1e53a135dc234d6c9cdfbddaefbd938f399)

- URL:  https://github.com/kamailio/kamailio/commit/75aae8055a8acb2f6e3917fa834989440c10197e
Author: Anthony Messina <amessina at messinet.com>
Date:   2019-01-07T12:22:36+01:00

app_python3: fix Python 3.7 deprecation warnings
- check for PY_VERSION_HEX >= 0x03070000

(cherry picked from commit 8bb866895c9260fa91143e892a2a77bb1d3fff4b)

- URL:  https://github.com/kamailio/kamailio/commit/fc6232f7f9d1c65f436e7ca0db505c6e1114145d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

regex: init var to avoid compile warning

(cherry picked from commit dfb872b311cd0acd4a40c810f612c8a23e7c9aca)

- URL:  https://github.com/kamailio/kamailio/commit/2dc84951b8f0e2503ee4c551b8693de36b36ef77
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:22:36+01:00

cplc: init var to avoid compile warning

(cherry picked from commit 0f1b970ae7f47478649b61a8dc43fe42714b2a95)

- URL:  https://github.com/kamailio/kamailio/commit/4fe56123b424638a5967832f4ac05d3e63a13577
Author: Balajee <balajee at Balajees-MacBook-Air.local>
Date:   2019-01-07T12:23:07+01:00

topoh: fixed unmask route issue, if maksing fails for one of the routes

(cherry picked from commit d57f70127c44fd74c459aefc8d2655978b9cb48b)

- URL:  https://github.com/kamailio/kamailio/commit/3a78d068a3678471efe0a7e7f4ea0e7c9bc18675
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:23:17+01:00

topoh: aded debug message for knowing the reason of no decoding rr

(cherry picked from commit cee4941daf56985d9734263c4b99c33f9ef3a149)

- URL:  https://github.com/kamailio/kamailio/commit/e25b66962ba51e2749a093f96e0cdaac8df33a4f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:27:36+01:00

websocket: use the list with ids for ws connections to do ping-pong

- avoid using pointers to ws connections, they can get closed

(cherry picked from commit b5253b62090feb70f08885fb530d894d0bd6ad90)

- URL:  https://github.com/kamailio/kamailio/commit/049473bce13cc6994cbde1080d75bb25565ad5bc
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:28:13+01:00

websocket: fetch ws connections based on keepalive process index

- get the ones with id that matches the index when doing modulo over the
number of keepalive process in order to spread the load of doing the
ping-pong

(cherry picked from commit 71517152e7de26d6c47fd037c25dc854aa37734f)

- URL:  https://github.com/kamailio/kamailio/commit/281d6fa15abc3b5f60c9dfc7cab272fca4e50d44
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:28:22+01:00

websocket: destroy ws connections in dedicated timer process

- avoid races/invalid access when sending data failed and the connection
was removed
- added parameter to control the timer process: interval or running and
delay interval for removing

(cherry picked from commit af09e224dba0c57c23fd58a7f83a24d2ffbaa07c)

- URL:  https://github.com/kamailio/kamailio/commit/bc602ee8662a440d0fec47a5ec6b66021a13d4fa
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:28:32+01:00

websocket: docs for timer_interval and rm_delay_interval params

(cherry picked from commit 3a20bb1ad27b8a85ec932975e14bcec12237437b)

- URL:  https://github.com/kamailio/kamailio/commit/6e8a496a5f0cbf29636ef4379c11ffd55218395d
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   2019-01-07T12:29:05+01:00

ndb_redis: fix compilation warnings

> warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]

(cherry picked from commit 7d9d9fe21a121a38d4a3861ce252a1a485a35c71)

- URL:  https://github.com/kamailio/kamailio/commit/3871e87a51290cace879ba61c5e26a9393b9eed3
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   2019-01-07T12:29:16+01:00

topos_redis: fix compilation warnings

> warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]

(cherry picked from commit da18d99e509c86ac21f04cf36184cadfe16fce83)

- URL:  https://github.com/kamailio/kamailio/commit/92d7bec4b5dddad2d08b6434ab6b561b230ee466
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   2019-01-07T12:29:39+01:00

cnxcc: fix compilation warnings

> warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat]

(cherry picked from commit 89e89e023d923d2dbec694509b9f958bbed6d3ad)

- URL:  https://github.com/kamailio/kamailio/commit/5067fe22cc16af943126ea88a9ddd35281ca8636
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:31:02+01:00

dialog: only write debug messages in case cseq or contact fields are empty

(cherry picked from commit ae4087ef615c1de5b67c8406eab8316300282d8b)

- URL:  https://github.com/kamailio/kamailio/commit/42821df5cf64d71b9b837e2e5c55b2d91392a250
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:31:12+01:00

websocket: removed static from declaration of ws_rm_delay_interval

- it is used as external in another source file
- GH #1771

(cherry picked from commit d5e40d5f05795f3902e5ae51bf4c57345e945a9c)

- URL:  https://github.com/kamailio/kamailio/commit/dff5c0d68bbae1277f8842fd90b001f5074e7551
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:32:44+01:00

db_redis: use safe clist iteration for db_redis_free_tables()

(cherry picked from commit 3ca9765eea980283963a48a9767e93566063057f)

- URL:  https://github.com/kamailio/kamailio/commit/5bb811d8d7c09c7792206831326c8f650eb30f66
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:32:56+01:00

cdp: init pointer to avoid warning on uninitialized use

(cherry picked from commit 7873a653a43070f891dc6cde5c188c81bf5de25d)

- URL:  https://github.com/kamailio/kamailio/commit/e5a25dd7d9c36ae5353cb2f10665930a1a978284
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:33:13+01:00

rtpengine: lock only when db backend is enabled for build_rtpp_socks()

(cherry picked from commit 99250f758e6deb90a5852599f831a53ab394b751)

- URL:  https://github.com/kamailio/kamailio/commit/f62c3cb67c9c2be10393bdeec684eb3dc9325dd6
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:33:29+01:00

auth_db: print db table name when version check fails

(cherry picked from commit a8de371e90ddc8a6921b5bf7464961865804cc06)

- URL:  https://github.com/kamailio/kamailio/commit/260aa34a3d1c9df505f69e0a8c57e49649b5b123
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:35:04+01:00

core: function to detect if all processes were forked

(cherry picked from commit 4c57d02e53deda909cc93b41d613f62921c99a9c)

- URL:  https://github.com/kamailio/kamailio/commit/3d9396f0a463e659a94b309e1d2551af7f84f74d
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:36:29+01:00

core: added function to detect when processes were initialized

- sr_instance_ready() return 1 if all processes finished child_init()

(cherry picked from commit 97af78a5c4dd2b99da5d2f7048ac6fa73db94c1d)

- URL:  https://github.com/kamailio/kamailio/commit/f0fd7b36e8a90067facaadc68a385935edaaeefb
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:36:49+01:00

rtpengine: reworked build of rtpengine sockets to avoid serial initialization

- do not lock during startup, change of the list of rtpengines can be
done only upon reload, which is now disabled until all child processes
did the init
- do rtpengine testing (probing) only in one child, the status is stored
in shared memory, no need to do it from each process.

(cherry picked from commit 3d4813001052497d21804586d643697f7a68aee8)

- URL:  https://github.com/kamailio/kamailio/commit/018c4328c4b1f55be0920e4350066cbd951b16d9
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:37:00+01:00

rtpengine: use version number to track building rtpengine sockets on reload

- check on list size fails if same list is reloaded with different
  attributes
- reload command has a safe interval of 10 seconds between executions to
  allow building internal list of sockets

(cherry picked from commit 785ede5bacfe55e88381ae8f7d672b24ec4b8cf6)

- URL:  https://github.com/kamailio/kamailio/commit/83597d2fc2922921e66edeca184b3d59354407cf
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:37:39+01:00

ims_isc: free variable in case of errors

(cherry picked from commit e7d684ad22d17f3aca58dd66c555e43877d9320a)

- URL:  https://github.com/kamailio/kamailio/commit/669aaec3ca09f340be776882ffffe60498a11ad2
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   2019-01-07T12:44:31+01:00

core: pt - added missing #endif due to backport conflict





More information about the sr-dev mailing list