- URL: https://github.com/kamailio/kamailio/commit/480eeb1a659ee7e0e672803d93347fb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:05:37+02:00
tls: docs - some updates to sample tls.cfg
(cherry picked from commit 957b43ddea8dad434736e800a16581d49ccb2478)
(cherry picked from commit 57d8b5287d27fe32b302442c2b18a17642dd6898)
- URL: https://github.com/kamailio/kamailio/commit/3f49306210915844348d05e03b05dfd…
Author: Roman Romanchenko <rromanchenko(a)sipwise.com>
Date: 2019-04-03T12:05:55+02:00
tm: crash on memcpy fix
- in some cases tag is not initialized and lead to crash.
Memory pointer check before writing to added.
(cherry picked from commit db3b9dbd48f7bb74abf08b0e97bcac15015df719)
(cherry picked from commit 6815f91eba33216102f7e8ebb0a67e74d0594e2a)
- URL: https://github.com/kamailio/kamailio/commit/ecab9a9d1dd7ee644b3cff2694816da…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:06:05+02:00
core: Makefiles - catch unavailbility of docbook2man tool
- print an info message instead of ending up in execution error of
Makefile rule trying to generate man pages from xml files
- DOCBOOK var renamed to DOCBOOKMAN to be more suggestive for its
purpose
- related to GH #1624
(cherry picked from commit 35aef078dfbcb92de9591eea2841b3ba0f9682f6)
(cherry picked from commit 2ce4f035be25c8d43a96d24331a5673a0e574eb9)
- URL: https://github.com/kamailio/kamailio/commit/11c6bbc9c2b9f4e0eaccc6bbe3c64a1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:06:16+02:00
core: xavp - more debug details when printing xavp
(cherry picked from commit 3fef2b3c18f83add1af13c2b84303b507e27aeca)
(cherry picked from commit 7417602f16f17495bad935e87ef504aadc6595b3)
- URL: https://github.com/kamailio/kamailio/commit/ce0fed98594201f4e5d0a6c49f761bc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:06:27+02:00
pv: increased transformation buffer slots from 4 to 8
(cherry picked from commit d68c1bcb350bce2f1951b604f97e246734e43b84)
(cherry picked from commit 290073feb2ebf94bfa64be8071cf4cc60c8618c1)
- URL: https://github.com/kamailio/kamailio/commit/625ea7be57952942a4130dab2c5ef8a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:06:40+02:00
tcpops: more debug messages when executing event route
(cherry picked from commit d453bdd36a6cd569978a1d19e41d55b28c2b4e13)
(cherry picked from commit e6676483116cac28a958d5dc5edeea3fc07be102)
- URL: https://github.com/kamailio/kamailio/commit/0b10f994db5fd4f9710b9233cdbc71e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:06:56+02:00
core: tcp - improved safety check for available byte in tcp read buffer
(cherry picked from commit 2fc11f183d8fcedeb35559c5236ad7159a6a5864)
(cherry picked from commit ce5fd6f415e504f967e00820d6c57ec3b450e53e)
- URL: https://github.com/kamailio/kamailio/commit/1d5272c408094e0ce212d265204180a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:07:05+02:00
core: tcp - more safety check to avoid jumping out if receive buf for ws proto
(cherry picked from commit db00d11d6a30cb779cecfae73487de6d05b6b915)
(cherry picked from commit aec30b799256fc3c1aeac537d111ecf2a60ff5a1)
- URL: https://github.com/kamailio/kamailio/commit/3d50b948534273ccb7eb68ca4b08174…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:07:15+02:00
tls: cast to usigned for computing available size for read
(cherry picked from commit 1e67fdd53a1c6dc3964d25e891caad24029b7887)
(cherry picked from commit aa7d8921eac1379f3d31648f99f71388f761b430)
- URL: https://github.com/kamailio/kamailio/commit/74341c54d4b66ebc1f53f1c154d3b9e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:07:25+02:00
rtpengine: safety check for tm uas.request field
(cherry picked from commit 75040f62238d6181dc9aec977588c63d15dc5cbc)
(cherry picked from commit d877cd62175dd31d8eb7a1fbcabb32b9d7b3683f)
- URL: https://github.com/kamailio/kamailio/commit/ee25118fcb367d6e3e432df35ec87da…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:08:02+02:00
tm: update uas rb activ_type when overwriting realyed_code
- otherwise could end up skipping the execution for TMCB_RESPONSE_OUT tm
callback, affecting acc, ...
(cherry picked from commit 5b223a2e8a92f351b8eab756f5256fda7645ff21)
(cherry picked from commit 5195a700241650a1407f4e663db4c6ec85a068af)
- URL: https://github.com/kamailio/kamailio/commit/e1ca85d48b4d9f6345b7d1a616ccea1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:08:13+02:00
tm: activ_type field renamed to rbtype in struct retr_buf
- better matching the purpose and do not use a typo word
- field t_active changed from char to short for better mem align
(cherry picked from commit 1aad02edc6b9ffb104900cbc624f0853166ae926)
(cherry picked from commit c9b1410c13fb8d70d4785779b4998987f8f5f19d)
- URL: https://github.com/kamailio/kamailio/commit/f77b6f4ff0ef94535a9f1e0e7b745b0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:08:31+02:00
tm: typedefs renamed to match better module and common pattern
- were not used so far
(cherry picked from commit 0ea62995ab026737411f3106a4584ba4ba640426)
(cherry picked from commit 7438c7511c4ee151d5126ee34748e49a492da868)
- URL: https://github.com/kamailio/kamailio/commit/95526438757d3f108be59c779c05f97…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:08:42+02:00
tm: set uas rb type along with the buffer when relaying replies
- ensure it is same reply code used in outgoing buffer
(cherry picked from commit 35dec4c20d78f49ba242229c877894d70c94705c)
(cherry picked from commit ebcffdb917b2c2c0a1b6d85cbf9c46e7a6afac4f)
- URL: https://github.com/kamailio/kamailio/commit/f54a659a9181d85bb0dd8cbb09fa5c7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:08:58+02:00
tls: proper upper limit for tls connection lifetime
- GH #1639
(cherry picked from commit deb2904d73a7a540f8eb6e2e8722185b7f0a9a99)
(cherry picked from commit 3c4f242fff1171fbe9c19472b8d9430bd7fb1edb)
- URL: https://github.com/kamailio/kamailio/commit/5159572be2f4fb3ef7f5db350e54674…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:09:13+02:00
jsonrpcs: print flags in error message when rpc reply is not initialized
(cherry picked from commit 1501e20b65f63c64a89b84196dc925cef79b7c76)
(cherry picked from commit 9ff43b7f8017fb68681a49379ab92736386be1e9)
- URL: https://github.com/kamailio/kamailio/commit/ceb4442fd7adf69b57249cf5001518c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:09:24+02:00
jsonrpcs: set global active context to delayed value for async commands
- GH #1640
(cherry picked from commit 1db7dc4de6588131b4340390b5996141940b7ef0)
(cherry picked from commit 780e44b9045e6051fc7f41a34db24187f80045a6)
- URL: https://github.com/kamailio/kamailio/commit/610d86de5258df7a7f498138e1ef32f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:10:35+02:00
core: more info in log message when sendto() fails
(cherry picked from commit 317701dc3d1ddb27395ded873a3055af2d029a5a)
(cherry picked from commit fdc74217580a526b1848406b308c6563b6700e85)
- URL: https://github.com/kamailio/kamailio/commit/0e05a987f719d56c750d518425fd33b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:10:48+02:00
usrloc: use sruid_next_safe()
(cherry picked from commit fd30ccf4473d43d98cfb0d896c47d4824c089bce)
(cherry picked from commit bff608273684aa472547fb9bfccded24adb361b0)
- URL: https://github.com/kamailio/kamailio/commit/d2ae034cc9d271b0219f1561dc6cffe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:10:59+02:00
registrar: use sruid_next_safe()
(cherry picked from commit 89676b9774ecc0f72272b7027821a9531dc1a6ea)
(cherry picked from commit 592438a1991f5b2f4dca977032d0a2c24d2a128f)
- URL: https://github.com/kamailio/kamailio/commit/c73ca0214ca2a17ce1c7a5af3f4a254…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:11:30+02:00
core: use parentesis to surround condtion on raw_ipip header size
(cherry picked from commit 55575264332e07611c269873c9ce0b5a63c35454)
(cherry picked from commit 8b8fccedeaede8e1d4828e4ccdd380b48bdddb1a)
- URL: https://github.com/kamailio/kamailio/commit/94f9146069d34296464ebad098b4a29…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:12:01+02:00
tls: update to default session id value to reflect major version
(cherry picked from commit 491e19eb47384162cba64fd9f043e77574ce5017)
(cherry picked from commit 5f1178f090916054aeccfe57db22e042be1bc76c)
- URL: https://github.com/kamailio/kamailio/commit/e02566882bd0acb24372ad97293cff7…
Author: Mikko Lehto <mslehto(a)iki.fi>
Date: 2019-04-03T12:12:20+02:00
src: Fix misspelled Kamailio
(cherry picked from commit 62790cc279550fef9ce3f7a6c0ee8dcc055f9625)
(cherry picked from commit 1d86c8c858aa6362c0f7bd10d513573e73cbf8b5)
- URL: https://github.com/kamailio/kamailio/commit/72f497893a28e065acd21165a31c34f…
Author: Mikko Lehto <mslehto(a)iki.fi>
Date: 2019-04-03T12:12:33+02:00
rtpproxy: fix comment typo
(cherry picked from commit f7ac556e699d323e816c14a554122c87d38b3a83)
(cherry picked from commit 5c5cfcf379cf9ecf74a3d2646bfaa9137c3ea3f8)
- URL: https://github.com/kamailio/kamailio/commit/11f86ff170095dd324d403f95a2c262…
Author: Mikko Lehto <mslehto(a)iki.fi>
Date: 2019-04-03T12:12:45+02:00
uac_redirect: fix documentation typo
(cherry picked from commit f788766522cb0f9bb8bca42954337889198462ee)
(cherry picked from commit 09ea75e9100405a48ea7f2c9285b36045d9f8de8)
- URL: https://github.com/kamailio/kamailio/commit/1607d329fec856e955a1356d65fb7b2…
Author: Mikko Lehto <mslehto(a)iki.fi>
Date: 2019-04-03T12:12:57+02:00
core: fix comment typo
(cherry picked from commit 37fb1b68675c637c4d9bbfbc27572b2c748ad673)
(cherry picked from commit 8dda2f02b4bfdac65f73834d92513855788ff60f)
- URL: https://github.com/kamailio/kamailio/commit/1c33ad56877365fe130599a1ad2c601…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:14:12+02:00
tm: reset the tm cell content during free
(cherry picked from commit fe19995ba150beca0acf6f4bdc1bb92f3c8348e1)
(cherry picked from commit 837dc3e07fb71e217706f6233f6d789256dd7dd6)
- URL: https://github.com/kamailio/kamailio/commit/6a40d5eca9b68ae885f88d3f6248c8b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:14:22+02:00
tm: macro to define the ptr address for tm cell uac field
(cherry picked from commit cb984a53016762cb0932ed4dec4c75edb8997c0f)
(cherry picked from commit 275ff956e460af769cb4f659a21162317e653695)
- URL: https://github.com/kamailio/kamailio/commit/038a44fcf4a995780062409b1472676…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:14:49+02:00
Makefile.defs: enabled clang compile warning flags -Wunused-variable -Wuninitialized
(cherry picked from commit d63548dc311df5f2550e788fc026d9ec7c7dd2f4)
(cherry picked from commit 1252ae2523d16edda0465cfb441eaedd2de62d27)
- URL: https://github.com/kamailio/kamailio/commit/eef5eb20579e84837737f0f02869077…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:15:05+02:00
siputils: note that is_first_hop() works only for IP addresses in record route
- this is done for reply handling
(cherry picked from commit 840d8edc3cae5a921aaa14e62f170613bc8da844)
(cherry picked from commit 38379247e653bd17711f980aa977080b004ad272)
- URL: https://github.com/kamailio/kamailio/commit/25f1004754281fa91c7a97f9fa2089e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:15:24+02:00
Makefile.defs: detect gcc v8.x
(cherry picked from commit e3134724116c89caaa795b5d20612fd4a4b30d7e)
(cherry picked from commit 800e7394c1b7b71bccbf6b1898a039e6de6384e9)
- URL: https://github.com/kamailio/kamailio/commit/348ee9a755ce9c71f8b229848fadafa…
Author: Sebastian Kemper <sebastian_ml(a)gmx.net>
Date: 2019-04-03T12:16:07+02:00
kamctl: make jsonrpc filter portable
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]+[ ]*}$': Invalid contents of {}
root@hank2:~#
To fix this enclose the character in square brackets. This always
matches for a literal '{' and is portable.
Signed-off-by: Sebastian Kemper <sebastian_ml(a)gmx.net>
(cherry picked from commit 59d287586f502a8df71c2e91899fde49594e072e)
(cherry picked from commit b43fbb18acb86b97ff86bd867ab46c25747b2cf0)
- URL: https://github.com/kamailio/kamailio/commit/71fd31992a2d97839e17bb84d607d13…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:16:31+02:00
dialplan: note and example for prefixing string param with s: for rpc dialplan.translate
(cherry picked from commit a169b298018f08a57da8e7a8c116560ee4fff006)
(cherry picked from commit 3d203d97f28e8d5eefb5ea63c0f3ff12b3cb9d2f)
- URL: https://github.com/kamailio/kamailio/commit/d3fa280c1fc82ff23022d227099d60e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:16:45+02:00
utils/kamcmd: man page - note about the suto-conversion of number parameters
(cherry picked from commit c998a7cc2d265d6e3c0e10facc280866495d827e)
(cherry picked from commit 3733918a287af1f9aa323b0b4e454c2db409ac9a)
- URL: https://github.com/kamailio/kamailio/commit/19dc455e38d05a65bbd0c657fed4a01…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:16:58+02:00
kamctl: man page - note about prefixing number params with 's:' to enforce string
(cherry picked from commit 48048b0e372eabdde14460cb539b3e1ecbc13ae5)
(cherry picked from commit df1f0cc707255e848e8b5defd4c3ec43a7eab3f7)
- URL: https://github.com/kamailio/kamailio/commit/de1513046149737dc76267c677744c1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:17:09+02:00
core: info log at startup with number of precesses, pkg and shm sizes
- useful to see if needed to troubleshoot by analyzing log messages
(cherry picked from commit f057e844ba407333ad8d876daa1f6ee49bd41c86)
(cherry picked from commit df62658bb3af88b69c4dc4d019b4814967f9f8e3)
- URL: https://github.com/kamailio/kamailio/commit/4d8dd58922327fcb5b25f44e22a3e9d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:17:40+02:00
core: fake msg - added sip schema to From/To URIs
(cherry picked from commit 044cdefcadf5c7949945544dce30becb2d84c56e)
(cherry picked from commit 552d90b8a0c649917eedf7a6af47f03980b7b77f)
- URL: https://github.com/kamailio/kamailio/commit/e01a1b71b625ace9a118f3bc7b03663…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:17:54+02:00
core: init cfg framework before executing event_route[core:worker-one-init]
(cherry picked from commit a4b6a5cb1dda7576b265a23c91321b7f2a034658)
(cherry picked from commit e178b8c620c991635d74c01e14b837e0080b1eea)
- URL: https://github.com/kamailio/kamailio/commit/d0d4ba7909ddf475bc77263c1676ca6…
Author: Claudiu Boriga <paul.boriga(a)1and1.ro>
Date: 2019-04-03T12:19:37+02:00
presence: test if event is dialog to avoid unnecessary xml parsing
(cherry picked from commit 6d0f8994611b50faa7ef7d1299acf0c390a2eed1)
(cherry picked from commit 4ffe23dc473b170ec21ba9c6c32acfbc8b09016e)
- URL: https://github.com/kamailio/kamailio/commit/81a34710bbca9d8457366f3092c5e12…
Author: dnadares <dnadares(a)gmail.com>
Date: 2019-04-03T12:20:14+02:00
evapi: minor fix in tag length compare
It was assigning the length instead of comparing it.
(cherry picked from commit 3da3aa0c9ee3fcd5aadd3924ee883666d2a15ac6)
(cherry picked from commit d2a6728c6d7fd39d009150ddfa4c5980e8142cab)
- URL: https://github.com/kamailio/kamailio/commit/8f434d086a2ecace80ef50769e3692e…
Author: mtirpak <miklos.tirpak(a)gmail.com>
Date: 2019-04-03T12:20:28+02:00
core: variables declared in the config file could cause memory corruption
The config variables that are declared in the config file were recorded
in the reverse order as their padding was calculated, which could cause
the allocated memory block to be smaller as required at the end.
Credits go to vinesinha.
(cherry picked from commit 2ecf601c472bb81b9cf4ffd5b1ac17c4dfd742f2)
(cherry picked from commit 00720d55c2f838486a68b799e8f92abcebf8dba0)
- URL: https://github.com/kamailio/kamailio/commit/67152d75636adff5df282ea89726018…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:21:11+02:00
uac: test if qop field has a list of values for remote auth challenge
- GH #1684
(cherry picked from commit 6e6a2f442e06a23aa180f07c2a954068dfc58843)
(cherry picked from commit 64afdf27e7ea8e2ef38211af1233d780102ab4c3)
- URL: https://github.com/kamailio/kamailio/commit/fb6b0b2f8869355e721564b93c54fa7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:21:30+02:00
dialog: handle alias in contact address for local bye only when no route headers
- GH #1689
(cherry picked from commit 810d84981b4ed83b11e4090740a36653ec10ef16)
(cherry picked from commit 9bad6f16ce9b21b3f298eb03bb6c8ef1911d6fc2)
- URL: https://github.com/kamailio/kamailio/commit/22d92aee87636ce02a5bbcedadadd24…
Author: Lucian Balaceanu <lucian.balaceanu(a)1and1.ro>
Date: 2019-04-03T12:21:48+02:00
pdb: fix SIGABRT in case of too long uris
buf in pdb_msg_dbg should correctly accomodate for pdb_bdy size
pdb_hdr + pdb_bdy should add to pdb_hdr.length (max 255)
(cherry picked from commit 783763e8accef47aa563cd17d1e170250268751c)
(cherry picked from commit 5ca5ee2beed67efd5ab8a973367e754d23883db7)
- URL: https://github.com/kamailio/kamailio/commit/e08fbc71af311fa340d563fc44bf238…
Author: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-04-03T12:22:05+02:00
core: add helper function for flag reset
- add helper function for flag reset (needed for bugfix in #GH1674)
- patch from: Julien Chavanton jchavanton at gmail dot com
(cherry picked from commit 253d35c84bc1886c9eae774a731452f5d2f521cd)
(cherry picked from commit d2b805d335c283ef5570c6cb5d61bd561e0de996)
- URL: https://github.com/kamailio/kamailio/commit/1230164755b23bd833f9bd7b0297644…
Author: Henning Westerholt <hw(a)kamailio.org>
Date: 2019-04-03T12:22:14+02:00
acc: fix generating duplicates for missed calls
- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com
(cherry picked from commit a7525829309427fbb9357e0104b9dba1016f6777)
(cherry picked from commit f8ebc379063e316badf09faf368bd9a373a82822)
- URL: https://github.com/kamailio/kamailio/commit/2afb35b17607712aab29606c97e9fe2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:23:37+02:00
regex: fixed section ids for functions
- removed trailing whitespaces
(cherry picked from commit e8aec6d15bcef95f628108398e682571763464c5)
(cherry picked from commit afa6eecd1587d4fc566aaa29dc7f902def771a55)
- URL: https://github.com/kamailio/kamailio/commit/b98c669c41d8d7357e268b839fb71f8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:23:54+02:00
cfgutils: error log message mentioning the param lock_set_size
(cherry picked from commit 55347626b189cd009c29b0e058949ed7671ae0d0)
(cherry picked from commit 9374328bb2c05955658042fbf31807bd060a04de)
(cherry picked from commit 0c2ddea18d6c5a7d309cfffce4163d491fd05e83)
- URL: https://github.com/kamailio/kamailio/commit/646802c4998b6418fd27b2910e802a4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:24:06+02:00
tmx: use branch index for $T_rpl() cache invalidation
(cherry picked from commit e2ca5516ae086cf33c61dbb9e653a5484cca2074)
(cherry picked from commit 0305e2773a07472f442ab8cf4fbecdc0bffaf32b)
(cherry picked from commit 9883fbc438da48ea399d0f107e4bdc846ff16818)
- URL: https://github.com/kamailio/kamailio/commit/ee123666d9d7405c3db90507d05a859…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:24:19+02:00
websocket: aligned example statements
- few more details about return code of handshake process
(cherry picked from commit d33ee59bc807acf95b07838d24b888b14a286ddd)
(cherry picked from commit 0327674281bcd27ef72bf617215f8e6e8f85a0a4)
(cherry picked from commit 35204e8eec1f5830b89a331dac274b45e2ce3933)
- URL: https://github.com/kamailio/kamailio/commit/df5a84541f1ca7e0307336e8a8edbef…
Author: Yasin CANER <ycaner06(a)users.noreply.github.com>
Date: 2019-04-03T12:24:59+02:00
core : add word to log get_boundary function
added word to log for more understanding
(cherry picked from commit 2daa351dd0cf716284ff90cd57d2241ee97f165d)
(cherry picked from commit a1a95ab27911ce0ff02c3a7ec7c9286cfee82894)
(cherry picked from commit f876ce5b5aba544495abb982f56fb009fb8eedd1)
- URL: https://github.com/kamailio/kamailio/commit/f757d8b9cd41bfddcdb4f5d38e7da5f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:25:09+02:00
core: function to test if a msg structure is faked request
(cherry picked from commit ab72c5e7188266baef0da70f1aa7d7d28b6d077c)
(cherry picked from commit e2ffc481a3f6673debf45f45abb7914e679c9f1b)
(cherry picked from commit 2820a9620e31de907185d33de272773e62df770c)
- URL: https://github.com/kamailio/kamailio/commit/6ba028796529b6fd4f991cc0e1a492c…
Author: Surendra Tiwari <surendratiwari3(a)gmail.com>
Date: 2019-04-03T12:26:05+02:00
rtpengine: print command in log message on timeout
- few indentation fixes
- GH #1732
(cherry picked from commit 9d1e8e256e49968776f7abb740a6d02739547ec2)
(cherry picked from commit e9320c09738766d80fae2fe2b1704facbce6221a)
(cherry picked from commit 1a6dc025088f5a74e0f8593f930b5362f57441a5)
- URL: https://github.com/kamailio/kamailio/commit/5d67e4fdddf954d53ae26f4fc67d375…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:26:32+02:00
topoh: safety checks for couple of mandatory headers
- first via and call-id
- GH #1735
(cherry picked from commit 97da6b1a5f656db4a91c8909167706fc8ec3d932)
(cherry picked from commit 01828ecdff3e048845ee0cee58cfe1ffbceb761f)
(cherry picked from commit 6e1c4b6807e2b31e8e7400bc358a7b689989c8d8)
- URL: https://github.com/kamailio/kamailio/commit/1dbad33f22c81ab40b740d1af18c1bc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:26:48+02:00
presence: test if event is dialog when attempting to delete old records
(cherry picked from commit 55c7f781be7cc40d0cd161640a47244aad60c0e7)
(cherry picked from commit 8b6665b5d27fa8c36764078b9ae615075486a4b3)
(cherry picked from commit 03c971d27b235b71d343e2771b87a34d9c397b11)
- URL: https://github.com/kamailio/kamailio/commit/5c565d10662561df4bf9121766c3ea6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:26:59+02:00
core: parse body - debug instead of error log message when mime mismatch
- GH #1746
(cherry picked from commit 08820db104c7dbfce36af0f59dfcc28f97cffbd0)
(cherry picked from commit 81f328095f6c06b5ca7cb18b6cdcfad430fb7359)
(cherry picked from commit 24064631d8de14a9af89ad0748eff9939c16da03)
- URL: https://github.com/kamailio/kamailio/commit/1b1d17f1ffe07bb6e9018b3f7002a33…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:27:14+02:00
dialog: safety checks for local cseq and contact vars
- avoid crash on systems not printing null string of length 0
- GH #1717
(cherry picked from commit 46401e465d88495d510d2cb36dc36ec86978c53e)
(cherry picked from commit 79946bbb6d1731f503fc378ae38311b630e55999)
(cherry picked from commit 893562c7e698e001f6fe883ea7e5497e67c6eee7)
- URL: https://github.com/kamailio/kamailio/commit/5c9b35535e04837c48827da0a9ba93c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:28:42+02:00
dialog: check for cseq value only when getting it for caller/request
(cherry picked from commit 740bc8ce88da612ac30a73db0145908355cab192)
(cherry picked from commit b66ebc658b22b992c4b0c6ecad7915b217b344a1)
- URL: https://github.com/kamailio/kamailio/commit/85edb217ea5d2ad39f39ce7b2e1b468…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:29:24+02:00
lib/srdb1: memset db connection structure earlier in db_bind_mod()
(cherry picked from commit 1b014d65e26a99f9f5d4aea1b27949776f083c2d)
(cherry picked from commit 1133f818461cf2ed6c8bd755543f93b366a02683)
(cherry picked from commit 3bf230b75b181dd213b08a7cc133fe188b5fcfa5)
- URL: https://github.com/kamailio/kamailio/commit/68cb3012dc3b7b30dfe63bcbcb9a143…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:29:53+02:00
auth_xkeys: clone value before inserting the lump inside auth_xkeys_add()
(cherry picked from commit 01f5ecbc45c236daea62d6638a02c168720c8479)
(cherry picked from commit 3a2d9921dc8a3c8133e7e3bacfba94468f9bbeb6)
(cherry picked from commit 3e6f951c070291b0b2e9df6cde3f287625995aac)
- URL: https://github.com/kamailio/kamailio/commit/ad93e3cb93cf7cd6561e8d7e974d112…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:30:08+02: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)
(cherry picked from commit 2e81abf1262784e390eb31efa95c5f437bd7051e)
(cherry picked from commit 67657f5ceef6528fab2371bfea386d3a9fb3cfb8)
- URL: https://github.com/kamailio/kamailio/commit/fae7a7f5e0f4a39cbe01af683f76bd1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:30:20+02:00
pv: {param.count} accept static string "," as delimiter
(cherry picked from commit 80b3c37557d446bfe9ca5a5f469a42af60648280)
(cherry picked from commit cb98198e595c776ccbf2cd8777e178eb81e85b58)
(cherry picked from commit e3eb15272e5940222ceb40c0119e1f7897d3054b)
- URL: https://github.com/kamailio/kamailio/commit/d8084c8c0654211b36174be1cd83e0e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:30:34+02: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)
(cherry picked from commit 9ccbcc089e70001dd94136eadb68d2711669142f)
(cherry picked from commit 4942d5cecc310f516d20594f58bc7b83eec67028)
- URL: https://github.com/kamailio/kamailio/commit/7ea27e6d1bb7b9dc480b69507f80402…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:31:11+02:00
cplc: init var to avoid compile warning
(cherry picked from commit 0f1b970ae7f47478649b61a8dc43fe42714b2a95)
(cherry picked from commit 2dc84951b8f0e2503ee4c551b8693de36b36ef77)
(cherry picked from commit 44666e217420dda4bda31ae7ffb46ca8fc63d455)
- URL: https://github.com/kamailio/kamailio/commit/850394460fea79d669cecd4b42a7f95…
Author: Balajee <balajee(a)Balajees-MacBook-Air.local>
Date: 2019-04-03T12:31:20+02:00
topoh: fixed unmask route issue, if maksing fails for one of the routes
(cherry picked from commit d57f70127c44fd74c459aefc8d2655978b9cb48b)
(cherry picked from commit 4fe56123b424638a5967832f4ac05d3e63a13577)
(cherry picked from commit ab850a6ad3373dea409eed96fe87da305fda09b7)
- URL: https://github.com/kamailio/kamailio/commit/1d53bbb2dd27d9c10f0b6fbf73fe55b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:31:33+02:00
topoh: aded debug message for knowing the reason of no decoding rr
(cherry picked from commit cee4941daf56985d9734263c4b99c33f9ef3a149)
(cherry picked from commit 3a78d068a3678471efe0a7e7f4ea0e7c9bc18675)
(cherry picked from commit 91763e1661c575db1f0ffb1916188a370a8fc143)
- URL: https://github.com/kamailio/kamailio/commit/b9ebd1487679ec0b8f83fb9d6295d94…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:32:40+02:00
dialog: only write debug messages in case cseq or contact fields are empty
(cherry picked from commit ae4087ef615c1de5b67c8406eab8316300282d8b)
(cherry picked from commit 5067fe22cc16af943126ea88a9ddd35281ca8636)
(cherry picked from commit 19f585b4a32673ee15a9fe50f2edc1211bee44c5)
- URL: https://github.com/kamailio/kamailio/commit/9eb508dd7ecd06998915ccdaec0b399…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:33:17+02:00
auth_db: print db table name when version check fails
(cherry picked from commit a8de371e90ddc8a6921b5bf7464961865804cc06)
(cherry picked from commit f62c3cb67c9c2be10393bdeec684eb3dc9325dd6)
(cherry picked from commit d498c3ca48ad2e0538d29e13eb283f480a352916)
- URL: https://github.com/kamailio/kamailio/commit/5c46a4fe5288c3bb63de2effff433bb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:33:33+02:00
dialog: docs - more info about using the flag and dlg_manage()
(cherry picked from commit e4dfe3587943d69d556b15df3492cf38c3b21a5f)
(cherry picked from commit 3dd154faeead29f54145843d14367c5b28a4fb7b)
(cherry picked from commit aadd286fe15ddd121580f2770c3c29f56fab36ec)
- URL: https://github.com/kamailio/kamailio/commit/e60e413e3abdc7a00089527df6a319e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:33:48+02:00
dialog: do not require dlg_flag parameter to be set
- using dlg_manage() should be enough for tracking dialogs
(cherry picked from commit 404f403786478a917637186446bb285e8e32cc59)
(cherry picked from commit 563f1d6af3123485ed25cc58bb3badd68e7793a4)
(cherry picked from commit 3720283674cc783bceb64987ec8f27a54a1e1d47)
- URL: https://github.com/kamailio/kamailio/commit/82262031cf19653ff77b471cf106ab3…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2019-04-03T12:33:58+02:00
tsilo: add check for empty aor
Fix: #1775
(cherry picked from commit 5a5d742eb459249995114eb6a3642f99c6770496)
(cherry picked from commit 23a5c07e924a2feb5f09b727f4ad0faf6c5af349)
(cherry picked from commit f9e7ea0a35d4115f2437d285a8e27aceaf74a5fd)
- URL: https://github.com/kamailio/kamailio/commit/869c62e033a9d941b63ddd4602296e9…
Author: Federico Cabiddu <fcabiddu(a)libon.com>
Date: 2019-04-03T12:34:11+02:00
tsilo: fixed ts_append example in the doc
(cherry picked from commit 18ef9da4c029fefd5089aed484cd8f32ddb0fb17)
(cherry picked from commit f727b05ad76c1b22ddba8b3aed311084c260c588)
- URL: https://github.com/kamailio/kamailio/commit/d2bc6dcff707151d0c475ddaba0932e…
Author: Alex Hermann <alex(a)hexla.nl>
Date: 2019-04-03T12:34:45+02:00
jsonrpcs: Fix memleak with srjson_doc_t
(cherry picked from commit 8e5742ff1657bdb2adce357fc6f1a2e04fd913c6)
(cherry picked from commit 0a885dab3dd4a54dd7a6948bf25629fd6681770a)
- URL: https://github.com/kamailio/kamailio/commit/650293548b0aafeb6f5108b492a7386…
Author: Alex Hermann <alex(a)hexla.nl>
Date: 2019-04-03T12:35:04+02:00
siputils: Return true if options_reply() succeeds
(cherry picked from commit 73d29ddde2b38cfea2c9ca4a84f4b8a246b7da50)
(cherry picked from commit 3de32c77ae628bfa11f8a826e5eb4607a435a828)
- URL: https://github.com/kamailio/kamailio/commit/5da494161af68e359a4874928e97ed5…
Author: Alex Hermann <alex(a)hexla.nl>
Date: 2019-04-03T12:35:16+02:00
jansson: Fix reverse logic for JSON boolean
(cherry picked from commit 0125c1c8d8c1179670def9dc4b3e66d6a8e58360)
(cherry picked from commit 26cfea05082fbd2c4236510397986ace2b495b0f)
- URL: https://github.com/kamailio/kamailio/commit/a1ab1d61592796f240a1dc54151b014…
Author: Sean Bright <sean.bright(a)gmail.com>
Date: 2019-04-03T12:36:52+02:00
utils: Fix copy/paste of 'database port'
(cherry picked from commit 21ae69c83759f344492078db756a08cd554bf04c)
(cherry picked from commit 417c75f2848f942a6ce0670d5c57096dadf54400)
- URL: https://github.com/kamailio/kamailio/commit/60d7c56da8e28e9cf6d5547c2f5fcbe…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:37:35+02:00
kamctl: shift only when expecting more parameters for rpc command
(cherry picked from commit 8b1458e97270a4094085226dce1108d8ea5ca7af)
(cherry picked from commit c8b65f5f562db763b013ab945cba7caadb9f6535)
(cherry picked from commit 53ea4bc3c760637390ff0f51ce10e7c53be25240)
- URL: https://github.com/kamailio/kamailio/commit/156b6ac8ff8e1c0addc0b96195896ed…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:37:46+02:00
kamctl: also shift only on params when printing rpc command
(cherry picked from commit 6de8d942b626b05dff8dd5a4f20776db632eba19)
(cherry picked from commit cd3bf5c2721385f80e5343f32d576b8fc9a0c672)
(cherry picked from commit 709f99c20b1945c03018711d2c652b95e8d36749)
- URL: https://github.com/kamailio/kamailio/commit/5d1d4a88c63eba937e4500ee17d7ee6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:37:58+02:00
kamctl: updates to trap command to work with pretty printed jsonrpc
(cherry picked from commit 4349c4f9bdd82ae099aadb5b626366deb7ef1109)
(cherry picked from commit 69ec6f2248dfda10c1c38df3a8a1c3c432b7d0d5)
(cherry picked from commit 1c48bddfebe7ce441a9e529b9b6de475d5b5d7c7)
- URL: https://github.com/kamailio/kamailio/commit/dbc209042eb6c1d4972b9a8a1bed2a2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:38:09+02:00
doc/tutorials/tcp_tunning: note about network buffers size
- they may need tunning when dealing with large data
(cherry picked from commit 38a696fff66f0a453e54c92c93e8c459a1b4e77d)
(cherry picked from commit d44cf2168b45ec24926ca9a4bc5d2558b2b85f8c)
(cherry picked from commit bd6dffa696e8ecc4ac52f34178c26acd0c1cc57d)
- URL: https://github.com/kamailio/kamailio/commit/f780066c79e1f1c8bc177bed127152a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:38:43+02:00
presence_mwi: small improvement to error log message
(cherry picked from commit 91c0e1434d743b8af7bcaa7d993029b6a3c15cb8)
(cherry picked from commit a7e227ffe1675d1f47f2209541c15a395d9d6474)
(cherry picked from commit 288fd8e118804097087805d2059db6940c2d11a9)
- URL: https://github.com/kamailio/kamailio/commit/71708b910394ae2a0b8ffaadf6d9c29…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:39:10+02:00
pike: init head list and safety check
- related to GH #1822
(cherry picked from commit a055214404b86d6418b7b6797e789773f1f42adb)
(cherry picked from commit b310509c7eed3b057a4e126538ed646f39af0351)
(cherry picked from commit df0337787713bc1bbd9bc380be9c7b2baca9e9e5)
- URL: https://github.com/kamailio/kamailio/commit/7bfd01694eabab9b311ecdd3e362761…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:39:31+02:00
mqueue: added missing license header, removed svn ids
(cherry picked from commit 065b1d64453d8b5709069f50cfd705901206feb3)
(cherry picked from commit 7c64052b4b101846c9334ea4193a0df63fae49d8)
(cherry picked from commit 6fe5067f99334fbd0160ae4afbd10d5011aa25af)
- URL: https://github.com/kamailio/kamailio/commit/d860aa06be35e787735ee8435eff11c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:40:01+02:00
app_lua: docs - added note about KSR KEMI exports for register parameter
- mention that old 'sr' Lua module might be obsoleted soon
(cherry picked from commit bf13f41a642752602c49d090a06a615a19f84ee5)
(cherry picked from commit 5e3cdf062b1f1e1a9aae34f4804cf4aad5989630)
(cherry picked from commit 32abd7aaf8a2b4a93910da85564eff17928a689c)
- URL: https://github.com/kamailio/kamailio/commit/db3913e6cf4b214c3a3a79a24c954e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:40:17+02:00
tm: debug message when matching a skip method for transaction lookup
(cherry picked from commit 0374a573604dfac337d69f8db38cca0e3ef30300)
(cherry picked from commit a909e7d9213ee071917c785f10d883ea6a06fc39)
(cherry picked from commit 1c9d31aaa9d1c5478762770fddc4bf70d2f8e216)
- URL: https://github.com/kamailio/kamailio/commit/975dbe0ca69865dab26b0acd3adf33d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:40:37+02:00
core: log printed size, current token size and buffer size for pv printf overflow
(cherry picked from commit 44e48809a608d4de46d61198137cd669c6a4763f)
(cherry picked from commit 88d4e86bccd252717329e75924a44dd5c2cc7955)
(cherry picked from commit 90e88674f88225ba5b43bdb5a6946b1e30cd6f6c)
- URL: https://github.com/kamailio/kamailio/commit/847d860d36a78884896170ed165e86d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:41:06+02:00
core: set msg->pid when building local sip_msg_t from buf
(cherry picked from commit b5f3a21d919f44f8842c2d85fb9447072b0f1889)
(cherry picked from commit 58261d83f454e9f3ad259532d35ca2ca150d2076)
(cherry picked from commit 92ac558f300829a060f3cfa5a50cb3bf5ca4d975)
- URL: https://github.com/kamailio/kamailio/commit/e9ecbdc3287ad0572dd2525710b371d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:42:12+02:00
dialplan: basic safety for concurent rpc reload
- reported by GH #1874
(cherry picked from commit 99d5da8d595961063249f871a5d150474fa6f317)
(cherry picked from commit 567c5b91ff0de3237d4dc98138675f19e152bcf5)
(cherry picked from commit 6b7a4735339bbb0cfa7919d160d064f3729e8e97)
- URL: https://github.com/kamailio/kamailio/commit/bacc0cba98e1a65a0c66c2493f6afce…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:42:23+02:00
dialplan: docs - note about limiting to max 1 rpc reload in 5 seconds
(cherry picked from commit 34f928427ecf315f638cd59fa512d59f4c64f22e)
(cherry picked from commit e1116aca38ad55305593c8936fcacff0d00cf668)
(cherry picked from commit 4a8a1e858afb2ea88442d7fa82ea38b2df47c532)
- URL: https://github.com/kamailio/kamailio/commit/8333006fb80971b22897a633df5e3a8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:42:54+02:00
core: tcp - more details in debug messages
(cherry picked from commit 60f7ff60a95ab5dd8192391f50f760e802d11e07)
(cherry picked from commit efbf7aa7b8b3af03be43d926c6e0fc23c2349e87)
(cherry picked from commit ca1adbf32bc8a20c8199bad7f769c2a80d70eff5)
- URL: https://github.com/kamailio/kamailio/commit/3198cfaad5d1fdbe3a1aed937573ca4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:43:07+02:00
tm: more debug to track decision to relay reply or not
(cherry picked from commit b292adb668528340fca381925724540afc7f13e8)
(cherry picked from commit 56802275b4b4cc77b85b7ef9460134265974e455)
(cherry picked from commit b0477d9a77d0f08e298da81d78d23a8f13c19910)
- URL: https://github.com/kamailio/kamailio/commit/0c2054114b568c6807f4a5a63d6ce87…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:43:18+02:00
topoh: check returned pointer when decoding call-id
(cherry picked from commit b5ce9d8f9a1b1fd705ad4b533e7cbc9166a3f577)
(cherry picked from commit 77eebed8be1930fdb03f4fce0a1caac1bd45c583)
(cherry picked from commit c14bb3cb8ff6ba7df81f1955f629ee169da0edd6)
- URL: https://github.com/kamailio/kamailio/commit/68ec32ac47d4479da95865e244608ee…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:43:29+02:00
usrloc: docs - fixes for some param types
(cherry picked from commit 0c2815aec9068511c1abbfd3fa0f1c89b66c57ce)
(cherry picked from commit 73c1fde7932a39a74e43013994525ac2a4473366)
(cherry picked from commit 95ef9ddcf41e1522a78ac9eca14460c069562018)
- URL: https://github.com/kamailio/kamailio/commit/4b9e97b38fb23807d70c7581fcdcea4…
Author: sergey-safarov <s.safarov(a)gmail.com>
Date: 2019-04-03T12:43:45+02:00
ipops: Fixed mask for 172.16.0.0/12 network (#1907)
(cherry picked from commit 1b6332fe565d97695a1eb84172e6f19f26381101)
(cherry picked from commit de2364784f5c7b257ff796a83d12f3bb2d130308)
- URL: https://github.com/kamailio/kamailio/commit/90b709c7b8043ff208641475efe6b66…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:44:08+02:00
tcpops: set tcp keepalive values when available per option
- cover macos and *bsd for couple of options
(cherry picked from commit 278fd5a892c14f23e9f2b8d1f3fd3232c1d319f3)
(cherry picked from commit eb5f2096282e93b14fecfc64f22aba0db467dec5)
(cherry picked from commit 37f847af805ec20762348898c6427c8df8d02025)
- URL: https://github.com/kamailio/kamailio/commit/fc2bf318622154a9530e63a8063b71c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T12:44:19+02:00
lib/srdb1: use the proper field for latency db limit
(cherry picked from commit 7560edb8aac6b60a5c4392db21c16e4096bf529d)
(cherry picked from commit 8d1996ac6c6c7b1445bcb8f4589bfc3b1cfed805)
(cherry picked from commit c3132d81f52197938b9be5616233d59ddc7126f2)
Module: kamailio
Branch: 5.1
Commit: 37f847af805ec20762348898c6427c8df8d02025
URL: https://github.com/kamailio/kamailio/commit/37f847af805ec20762348898c6427c8…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-04-03T11:54:56+02:00
tcpops: set tcp keepalive values when available per option
- cover macos and *bsd for couple of options
(cherry picked from commit 278fd5a892c14f23e9f2b8d1f3fd3232c1d319f3)
(cherry picked from commit eb5f2096282e93b14fecfc64f22aba0db467dec5)
---
Modified: src/modules/tcpops/tcpops.c
---
Diff: https://github.com/kamailio/kamailio/commit/37f847af805ec20762348898c6427c8…
Patch: https://github.com/kamailio/kamailio/commit/37f847af805ec20762348898c6427c8…
---
diff --git a/src/modules/tcpops/tcpops.c b/src/modules/tcpops/tcpops.c
index 6815bf4897..9bf4eaa8e0 100644
--- a/src/modules/tcpops/tcpops.c
+++ b/src/modules/tcpops/tcpops.c
@@ -107,8 +107,13 @@ int tcpops_acquire_fd_from_tcpmain(int conid, int *fd)
return 0;
}
-#if !defined(HAVE_SO_KEEPALIVE) || !defined(HAVE_TCP_KEEPIDLE) || !defined(HAVE_TCP_KEEPCNT) || !defined(HAVE_TCP_KEEPINTVL)
- #warning "TCP keepalive is not fully supported by your platform"
+#if !defined(HAVE_SO_KEEPALIVE) || !defined(HAVE_TCP_KEEPCNT) || !defined(HAVE_TCP_KEEPINTVL)
+ #define KSR_TCPOPS_NOKEEPALIVE
+#endif
+
+#ifdef KSR_TCPOPS_NOKEEPALIVE
+
+#warning "TCP keepalive options not supported by this platform"
int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int closefd)
{
@@ -121,6 +126,7 @@ int tcpops_keepalive_disable(int fd, int closefd)
LM_ERR("tcp_keepalive_disable() failed: this module does not support your platform\n");
return -1;
}
+
#else
int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int closefd)
@@ -133,11 +139,15 @@ int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int close
LM_ERR("failed to enable SO_KEEPALIVE: %s\n", strerror(errno));
return -1;
} else {
-
+#ifdef HAVE_TCP_KEEPIDLE
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &idle,
sizeof(idle))<0){
LM_ERR("failed to set keepalive idle interval: %s\n", strerror(errno));
}
+#else
+ #warning "TCP_KEEPIDLE option not supported by this platform"
+ LM_DBG("TCP_KEEPIDLE option not available - ignoring\n");
+#endif
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &count,
sizeof(count))<0){