- URL:
https://github.com/kamailio/kamailio/commit/c271ba62e20993708f7f6a5089206b5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:36:21+02:00
pua: fix typo in matching presence.winfo
- patch by foucse, GH #270
(cherry picked from commit 48f89ed0390a80cc760da5a7ed41dd9c5c5ffc4d)
(cherry picked from commit d88f52cadb2bf6764518c89be852b0534731d82e)
- URL:
https://github.com/kamailio/kamailio/commit/41ebaf86883d8756cb5c07f61f34d5e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:36:56+02:00
drouting: fixed typo in reload cmd response
- reported by GH#275
(cherry picked from commit 6b15a51b016c232fab6665fc03ed01dad09ac8b5)
(cherry picked from commit fb9a01616b407065c318ba204889507d5e4d026b)
- URL:
https://github.com/kamailio/kamailio/commit/c680f2bf70b7f9cd804945f1a44b9e6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:37:33+02:00
sanity: commented priting require header on error level
(cherry picked from commit 9902ca145178498ff47092f0ecdd3bca6650c97c)
(cherry picked from commit 60b2e3e3e66320446541ba92de239fc3f58bc79f)
- URL:
https://github.com/kamailio/kamailio/commit/d0617167f0aebcaf1e12e6c7f77b223…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:37:46+02:00
db_postgres: memset vars to 0 to avoid using invalid values inside
db_postgres_new_connection()
- reported by mading087, GH#292
(cherry picked from commit a16c6108e1f6d1a3f6b6c962bbaaedf37e57a8d2)
(cherry picked from commit 65d4dae702ccd16654fa22c66522516f99751e3e)
- URL:
https://github.com/kamailio/kamailio/commit/8c04e7e86c99c8f8719715e66a89d8e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:38:07+02:00
sanity: adjusted log messages for check_proxy_require()
(cherry picked from commit 0f479b5366fae4c5ad0c78e4c91661b7a421d5e8)
(cherry picked from commit a8c2c53b1175af7bd3c6020cc01e95174b2597e0)
- URL:
https://github.com/kamailio/kamailio/commit/993099f9eeadb2bc84d6cd9c73dd5b0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:39:15+02:00
dialog: set dlg var table as static and rename to avoid name conflicts
(cherry picked from commit cbc0c720e1c239296ff3842d701f75663bead6d9)
(cherry picked from commit 063a9b2a7f6ba6fe60797faa1ebf9f9dd37d2062)
- URL:
https://github.com/kamailio/kamailio/commit/97e97b37fce408eaf2d49d68e3875b9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:40:04+02:00
dialog: dlg var value stored as zero terminated string
- easier to use in std lib operations
(cherry picked from commit 0d9e4adb328dabaf2a34d926bc80e022bee65079)
(cherry picked from commit 3ce973b0c20be7230baaf2cb8d8713e7fce64a06)
- URL:
https://github.com/kamailio/kamailio/commit/8c071fe4e5146cae1d6b014ba28e2f5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:40:21+02:00
jsonrpc-c: free pipe cmd for notifications
- fixes leak reported by GH#296
(cherry picked from commit 79459d3f87731309641794a2b881ee1cacc5e1f2)
(cherry picked from commit bb0194aa9f0963cb77bb1275b8e0a4cae8f60909)
- URL:
https://github.com/kamailio/kamailio/commit/74800f2bf9a11ca138867ea6cdaaa53…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:41:09+02:00
kamcmd: updated default server name references
(cherry picked from commit 8db5eb2b53320d84ded36c531a00f6dfbec27a75)
(cherry picked from commit ee3048e8685f54c35daff699ad64ce9ef5c71f8a)
- URL:
https://github.com/kamailio/kamailio/commit/ebe43e905eac23d86b7a9979a976f08…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:41:23+02:00
kamcmd: lower max size for socket name
- was set to 108 which is common for linux, but mac os x has it 104
- set to 100 now
(cherry picked from commit 3f4c63802194cb83ffb8124e5ae38f85ee315c28)
(cherry picked from commit 05242f6db6edcf32705722dcd0d9d3e3cf7a8340)
- URL:
https://github.com/kamailio/kamailio/commit/b1c4c1966d1b0e727405c1a58099a70…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:41:41+02:00
mem: safety prev free checks for f_malloc extract operation
- following a report by Alex Balashov
(cherry picked from commit a620bfec37cdcdc5c5debcdfb5219b09464065fe)
(cherry picked from commit de7eb56737ca57429dd6ffcb01907b11609318f1)
- URL:
https://github.com/kamailio/kamailio/commit/0948e407adee998de6c820399d64907…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:41:53+02:00
jsonrpc-c: proper error handling for pipe cmd callback
- credits to Hugh Waite for spotting missing return
- free vars if already set when error handling is done
(cherry picked from commit ec0ba37b9f2b6c60303227ea0527d69896f2930e)
(cherry picked from commit 3beb4e9f524956883e2260450ea3593dc553ec6c)
- URL:
https://github.com/kamailio/kamailio/commit/cc1cbf6113c8536b2e6193b51c8e34e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:42:10+02:00
tmrec: more details about duration format for time recurrences
(cherry picked from commit 81006ee1246b8f700ce9ce20814d4522780d7ceb)
(cherry picked from commit c979b991450052f6a77238aef391dd8bb3f13f32)
- URL:
https://github.com/kamailio/kamailio/commit/516adfe9913391590c314561e7a5c53…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:42:32+02:00
drouting: notes about the format of duration attribute
(cherry picked from commit 711144a1fa3e1dfa540cc7ccd0ce1c14faeba42f)
(cherry picked from commit 46af0cfb7cc1fffb22e43ebd41f07fc95947f8e5)
- URL:
https://github.com/kamailio/kamailio/commit/03c9fb0ca0759c58e93c0123882d2e2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:42:44+02:00
tmx: err level replaced with info when getting t reply code pv
(cherry picked from commit aad248fc39279f84879929772e9306fc01473860)
(cherry picked from commit b7aab8f4a019e21f03b3e3323af592bc4af5857c)
- URL:
https://github.com/kamailio/kamailio/commit/9fbb8373ba57d30f3e088e354b159dc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:43:07+02:00
parser: safer function to parse header name stored in short buffer
(cherry picked from commit cbc5034b26189371c2ffb80424414aa8b1b8dea5)
(cherry picked from commit 742f6fbba5b0d5d308ea0434311d811b5cb56e55)
- URL:
https://github.com/kamailio/kamailio/commit/fc6d22c13003fe944ae99b2427f1ba7…
Author: Chris Double <chris.double(a)double.co.nz>
Date: 2015-09-17T16:43:15+02:00
parser: fix overflow access when parsing Reason header stored in short buffer
- it can happen for fixup functions from textops module having header
name as a parameter, with critical impact when using system malloc,
the internal pkg malloc does a roundup of the allocated space
- the issue is caused by the word (4 bytes) read step performed by
parse_hname2() - second 4-byte read in buffer "Reason:" exceeds the
size by 1
- added a safe read macro that reads 1, 2 or 3 bytes if the size of the
buffer is not big enough for a 4 bytes read
(cherry picked from commit 964ed0a5083413eb0a70bd8a952d5a91ee9e9883)
(cherry picked from commit 5425c257ff0726a310aced28282821a4e4b7911c)
- URL:
https://github.com/kamailio/kamailio/commit/bf9a066ec07ba4c68b55a5be9765092…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:43:29+02:00
parser: fixed the name for the new parse_hname2_short() function
(cherry picked from commit ac27d053ce0d9d9295f3ca8052a320e0c0b01699)
(cherry picked from commit db279576832664b5dee2c432c35030047e9e7b6f)
- URL:
https://github.com/kamailio/kamailio/commit/96558987d10928d883f6a70b2400f58…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:43:37+02:00
core: select framework - use safer function to parse header name in short buffer
(cherry picked from commit baf90dba5c12158386e501e73daa266321d9de38)
(cherry picked from commit 5cc4184e64f300319a65ce7f951510222830fbd8)
- URL:
https://github.com/kamailio/kamailio/commit/ff5c661cc0184fb484613b873f54d8f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:43:47+02:00
pv: use safer function to parse header name in short buffer
(cherry picked from commit a9dc0f738f448676b8a92818d442ca7142147f9b)
(cherry picked from commit 5d97276a2586c8c312b6c56542e9b440ef006c28)
- URL:
https://github.com/kamailio/kamailio/commit/a9809db2f504ed8576b54ac19974444…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:43:59+02:00
textops: use safer function to parse header name in short buffer
(cherry picked from commit b62492e2e25984528e4cda7f96d7afee1425ceb3)
(cherry picked from commit 036c1d134e6c20e9e5e394b790abb6fd0fe47695)
- URL:
https://github.com/kamailio/kamailio/commit/26e0a041f3de56dfa02449b05242b09…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:44:17+02:00
textopsx: use safer function to parse header name in short buffer
(cherry picked from commit 2aa013d5fb992be98fc1ec90abdf0d67625ab724)
(cherry picked from commit 5f02824b9dd195a1a94ae0038d4c73aa1ea6da24)
- URL:
https://github.com/kamailio/kamailio/commit/108750dc552ba71b9109be2b33d0564…
Author: vance-od <vance(a)ukr.net>
Date: 2015-09-17T16:44:30+02:00
Update nonce.c
auth: fixed issue when during registration nonce expired, after backwards time shift
(cherry picked from commit 063e32a8fe81b2cfbaac0386e6b51446586e619a)
(cherry picked from commit f02215971667f54c553e10593e370db8feb1aae9)
- URL:
https://github.com/kamailio/kamailio/commit/2df7744c340342bdd28a5cdcff4fe39…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:44:39+02:00
auth: fixed improper whitespacing
(cherry picked from commit 20231f4936b5f79bcb2e3f64985953888391e570)
- URL:
https://github.com/kamailio/kamailio/commit/516f496bcead9785451558063e7ec1d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:44:59+02:00
corex: log messages for memory status/summary rpc commands
(cherry picked from commit 014a62f7546675ffc198d1c169f6bd12b3bdd87d)
(cherry picked from commit 08bd04db6a71a1111e04adbbb85671544b1cd5f2)
- URL:
https://github.com/kamailio/kamailio/commit/7a48d3501a1281e6b6097e41cec808b…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:45:09+02:00
dialog: more debug when storing vars in database
(cherry picked from commit 2962852bf706692bdbc9b51419dbdc2012f34e1b)
(cherry picked from commit 970ef5b844c195ad07cda15027ba99516eae645a)
- URL:
https://github.com/kamailio/kamailio/commit/f2ba1db3abbdedc3490088685b3ab02…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:45:29+02:00
tm: store last received response code before running onreply_route
- otherwise an innapropriate cancel can happen if the current branch got
before an 1xx response, and the script writer enforces another reply
code with t_reply()
- reported by Thomas Sevestre, GH#315
(cherry picked from commit b7c588dff06030a82f305b210573be5bbc961cec)
(cherry picked from commit dca8ff16753639b1f84cd60286142fbad88335c7)
- URL:
https://github.com/kamailio/kamailio/commit/1332a6a3f651c47704c1423284b3fbf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:45:43+02:00
parser: fix start of search for long header names
- in parse_hname2_short(), used only for mod fixups, in the case header
name given as function param was greater than 250 chars
(cherry picked from commit de8ba3900d6fef42e99ca9568044c7aefa44a5ea)
(cherry picked from commit 262d3574790ea3a10c82cb8bc0e4a65429f25540)
- URL:
https://github.com/kamailio/kamailio/commit/c888bcb0040c3da36e47201916ca865…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:45:57+02:00
dialog: lock the slot if old dialog found in state deleted
- no longer a spiral condition and new dialog will be created
(cherry picked from commit 7f9194c416e171c2b723430eb98a55a52b7b5e38)
(cherry picked from commit 061195f6d553bad5edfc30db5c8da28d74421519)
- URL:
https://github.com/kamailio/kamailio/commit/0ac700af6805d427d9ee409bbae3c61…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:46:07+02:00
dialog: safety check not to store dialog vars and data when state initial
- acc callbacks for cdrs can trigger setting dialog vars in initial
state, which then try to save in db, however, initial state might not
have all required fields for a proper db reload, storing being
desinged to be done when all mandatory fields are set
(cherry picked from commit cecdd0817052046e634152d6e512165451b5f6d4)
(cherry picked from commit a58c136c3abad48b2d01a4b54b1e56e0901b8246)
- URL:
https://github.com/kamailio/kamailio/commit/6bfe8156285ab4bad2a0664124ee536…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:47:25+02:00
rls: proper detection of initial subscribe to send notify with full state
- use to-tag conditions, previously was sending only based on db mode
- reported by GH#276
(cherry picked from commit b99e9e96592a5d708ff565343f3c810b2d264577)
(cherry picked from commit 648834a64d63aed64076dacf85ec5af1a5702333)
- URL:
https://github.com/kamailio/kamailio/commit/b96d38944af3ae0d78b1b65255b6659…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:47:37+02:00
dialog: mark slot as lock if dialog found in state deleted for spiral detection
(cherry picked from commit 6a9c892fd0a7a526ec6ced4b40479875477d96db)
(cherry picked from commit 3763f689436b717b323d6d0337317ffc24d180a1)
- URL:
https://github.com/kamailio/kamailio/commit/9469c394f5c4694b7e72d8d7493feeb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:47:47+02:00
parse: more log messages in case of errors in parse_hname2_short()
(cherry picked from commit 3913cc881030cccc9518733e18363402f2dfb18e)
(cherry picked from commit 0b20349c487f9a486db7407b3f712ca06531b9d1)
- URL:
https://github.com/kamailio/kamailio/commit/2845d5a889ba9a22dbecc574005ff3d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:47:58+02:00
textopsx: include : in the value to be parsed as header name inside fixup_hname_param()
- reported by Björn Bylander
(cherry picked from commit 5f301c9e9b3d4b67a11aeaab45c21fd8d8929695)
(cherry picked from commit 637e727484affa52489ff6d7bf2fe06fd6bb1085)
- URL:
https://github.com/kamailio/kamailio/commit/02afaf4f6402c119922f644840eb0b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:48:09+02:00
mem/f_malloc: simplified free frags management
- avoid address referencing to previous free fragments, it can get
invalidated on joins
- straight doubly linked list also speeds join/defrag
(cherry picked from commit 2d0455d9f2266ad67867e03aa652863e37d5a8d2)
(cherry picked from commit 3ddf71b943530e98ba94ad9d9ec37be3a90e1182)
- URL:
https://github.com/kamailio/kamailio/commit/00d5ba4713f557b7ce3d7d983c292ba…
Author: jaybeepee <jason.penton(a)gmail.com>
Date: 2015-09-17T16:48:26+02:00
modules/tm: precent possible seg fault if branch reply is null
(cherry picked from commit aec9850491a8e8fa919396ae0e0f1d99d30c607c)
(cherry picked from commit 7ac3eea0c49872a75d384e94ee0b4380caf440e0)
- URL:
https://github.com/kamailio/kamailio/commit/52ffab7e75274c7cfb4b2f0de8f4108…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:48:36+02:00
mem: removed unused variables
- two old vars not needed anymore after previous commit
(cherry picked from commit 16bcb9d257622a68eed44d6eea5e342f35dbde83)
(cherry picked from commit d6d2474bbbd6a6fd08cbede42ad1cd64cc47dc64)
- URL:
https://github.com/kamailio/kamailio/commit/53b132e69692f8476769f84fa066a6a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:49:09+02:00
auth_db: more log messages when username checks failed
(cherry picked from commit d46d008e0936a01229872df71ac26afb43122f4b)
(cherry picked from commit 978e3b65c7d1d21a69a55492dc156493cc8c28bf)
- URL:
https://github.com/kamailio/kamailio/commit/a8b8e0694cce41a9cad285f3cfe50aa…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:49:21+02:00
tmx: err to work if resuming suspended transaction fails
- it can be a non-suspended transaction id or after expiration
(cherry picked from commit 2682d85657d1caf96961a6153cd82c506fde7d0d)
(cherry picked from commit ce43a14d701ec38276883b863cd81bbb3de3b35a)
- URL:
https://github.com/kamailio/kamailio/commit/f5ec0d06e09e9e73d1d40d04ec808bc…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:49:35+02:00
tm: reset async suspended flag when continuing via failure_route
- suspended transaction can be resumed automatically on timeout, without
t_continue(), ending up in failure_route
(cherry picked from commit 171553ebcac2f00a015191f36f2f228c0d3e483b)
(cherry picked from commit 0c6bed8779024c0c35a9c1bb82dc24255d8f08e2)
- URL:
https://github.com/kamailio/kamailio/commit/46aa50d61e5e8f57a29c4b76a2c1332…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:49:43+02:00
tm: test if transaction was suspended before resuming inside t_continue()
(cherry picked from commit 52c4965bbb4cde5d7bddcf697aa504e7c2202ac1)
(cherry picked from commit c58d4c4471f794944c60164a19ae3aa884fe2ade)
- URL:
https://github.com/kamailio/kamailio/commit/796013054c4c75e461ef80d504358d4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:49:52+02:00
tm: warn in case of transaction is not suspended by a continue is attempted
(cherry picked from commit 33c5449563becd2357b648ec469ef247a6ae2f5d)
(cherry picked from commit 192294cc025f7b39efcd60c2053423ff10861d75)
- URL:
https://github.com/kamailio/kamailio/commit/f1b8044c0d61adc616fbf433c9e65e2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-09-17T16:57:48+02:00
tm: backport of suspended flag to detect resume on a non-suspended transaction