Module: kamailio
Branch: master
Commit: c64518a25123de77d6104a5c4522eb52ccd6892d
URL: https://github.com/kamailio/kamailio/commit/c64518a25123de77d6104a5c4522eb5…
Author: Jose Luis Verdeguer <pepeluxx(a)gmail.com>
Committer: Jose Luis Verdeguer <pepeluxx(a)gmail.com>
Date: 2019-01-07T14:06:19+01:00
cnxcc: New improvement for the cnxcc module. With this changes it is possible to account the connect cost for the call. This is useful for calls to premium numbers that have connection charges
---
Modified: src/modules/cnxcc/cnxcc_check.c
Modified: src/modules/cnxcc/cnxcc_mod.c
Modified: src/modules/cnxcc/cnxcc_mod.h
Modified: src/modules/cnxcc/cnxcc_rpc.c
Modified: src/modules/cnxcc/doc/cnxcc.xml
Modified: src/modules/cnxcc/doc/cnxcc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/c64518a25123de77d6104a5c4522eb5…
Patch: https://github.com/kamailio/kamailio/commit/c64518a25123de77d6104a5c4522eb5…
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [x] Commit message has the format required by CONTRIBUTING guide
- [x] Commits are split per component (core, individual modules, libs, utils, ...)
- [x] Each component has a single commit (if not, squash them into one commit)
- [x] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
With this changes it is possible to account the connect cost for the call. This is useful for calls to premium numbers that have connection charges.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1785
-- Commit Summary --
* cnxcc: New improvement for the cnxcc module. With this changes it is possible to account the connect cost for the call. This is useful for calls to premium numbers that have connection charges
-- File Changes --
M src/modules/cnxcc/cnxcc_check.c (5)
M src/modules/cnxcc/cnxcc_mod.c (149)
M src/modules/cnxcc/cnxcc_mod.h (2)
M src/modules/cnxcc/cnxcc_rpc.c (3)
M src/modules/cnxcc/doc/cnxcc.xml (13)
M src/modules/cnxcc/doc/cnxcc_admin.xml (23)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1785.patchhttps://github.com/kamailio/kamailio/pull/1785.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1785
- URL: https://github.com/kamailio/kamailio/commit/1133f818461cf2ed6c8bd755543f93b…
Author: Daniel-Constantin Mierla <miconda(a)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/cc51d6c7170ad289c8f521a05470a2e…
Author: Daniel-Constantin Mierla <miconda(a)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/c9eaace851e91aa75bf979f5092f318…
Author: Yasin CANER <caner_yaso(a)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/3a2d9921dc8a3c8133e7e3bacfba944…
Author: Daniel-Constantin Mierla <miconda(a)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/f1a22ec8fb62277b627398daaa54be6…
Author: Daniel-Constantin Mierla <miconda(a)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/8e4a914f3530dc37caec0a70d4b06a2…
Author: Daniel-Constantin Mierla <miconda(a)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/2e81abf1262784e390eb31efa95c5f4…
Author: Daniel-Constantin Mierla <miconda(a)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/306d1590ad00f7518a7b7284768e52d…
Author: Daniel-Constantin Mierla <miconda(a)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/2405ed822068e796caf0ef0f8b04558…
Author: Daniel-Constantin Mierla <miconda(a)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/4b22810de302ef26a7c74cb868c33be…
Author: Daniel-Constantin Mierla <miconda(a)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/7c8d57dfcfbab6d81ed8cb118cab834…
Author: Daniel-Constantin Mierla <miconda(a)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/97c0391a03313622776133f6696ccda…
Author: Daniel-Constantin Mierla <miconda(a)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/b5a46dbffd3b9b2f4a61d57fc6aec2c…
Author: Daniel-Constantin Mierla <miconda(a)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/cad6b2f034b2eea519be14e04f49795…
Author: Daniel-Constantin Mierla <miconda(a)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/959b221282cf22036482d650b55fc07…
Author: Daniel-Constantin Mierla <miconda(a)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/cb98198e595c776ccbf2cd8777e178e…
Author: Daniel-Constantin Mierla <miconda(a)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/6fff557d5354baea8ad5c52d589f0da…
Author: Daniel-Constantin Mierla <miconda(a)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/9ccbcc089e70001dd94136eadb68d27…
Author: Daniel-Constantin Mierla <miconda(a)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/50a60b86d647d6d69f601fe7aa071f9…
Author: Daniel-Constantin Mierla <miconda(a)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/ba1ccab26123e468f7ef4cdee2a74b1…
Author: Daniel-Constantin Mierla <miconda(a)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/d2418ad35ad28cbb8bf875b97886988…
Author: Daniel-Constantin Mierla <miconda(a)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/d83af7701e3f25f68f01cfd0b0602c7…
Author: Daniel-Constantin Mierla <miconda(a)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/a13e067ea162975209f21215ccffd43…
Author: Daniel-Constantin Mierla <miconda(a)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/73eef8626c8f2babe55a6e63e00bfb5…
Author: Daniel-Constantin Mierla <miconda(a)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/75aae8055a8acb2f6e3917fa8349894…
Author: Anthony Messina <amessina(a)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/fc6232f7f9d1c65f436e7ca0db505c6…
Author: Daniel-Constantin Mierla <miconda(a)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/2dc84951b8f0e2503ee4c551b8693de…
Author: Daniel-Constantin Mierla <miconda(a)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/4fe56123b424638a5967832f4ac05d3…
Author: Balajee <balajee(a)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/3a78d068a3678471efe0a7e7f4ea0e7…
Author: Daniel-Constantin Mierla <miconda(a)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/e25b66962ba51e2749a093f96e0cdaa…
Author: Daniel-Constantin Mierla <miconda(a)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/049473bce13cc6994cbde1080d75bb2…
Author: Daniel-Constantin Mierla <miconda(a)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/281d6fa15abc3b5f60c9dfc7cab272f…
Author: Daniel-Constantin Mierla <miconda(a)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/bc602ee8662a440d0fec47a5ec6b660…
Author: Daniel-Constantin Mierla <miconda(a)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/6e8a496a5f0cbf29636ef4379c11ffd…
Author: Victor Seva <linuxmaniac(a)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/3871e87a51290cace879ba61c5e26a9…
Author: Victor Seva <linuxmaniac(a)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/92d7bec4b5dddad2d08b6434ab6b561…
Author: Victor Seva <linuxmaniac(a)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/5067fe22cc16af943126ea88a9ddd35…
Author: Daniel-Constantin Mierla <miconda(a)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/42821df5cf64d71b9b837e2e5c55b2d…
Author: Daniel-Constantin Mierla <miconda(a)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/dff5c0d68bbae1277f8842fd90b001f…
Author: Daniel-Constantin Mierla <miconda(a)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/5bb811d8d7c09c7792206831326c8f6…
Author: Daniel-Constantin Mierla <miconda(a)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/e5a25dd7d9c36ae5353cb2f10665930…
Author: Daniel-Constantin Mierla <miconda(a)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/f62c3cb67c9c2be10393bdeec684eb3…
Author: Daniel-Constantin Mierla <miconda(a)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/260aa34a3d1c9df505f69e0a8c57e49…
Author: Daniel-Constantin Mierla <miconda(a)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/3d9396f0a463e659a94b309e1d2551a…
Author: Daniel-Constantin Mierla <miconda(a)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/f0fd7b36e8a90067facaadc68a38593…
Author: Daniel-Constantin Mierla <miconda(a)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/018c4328c4b1f55be0920e4350066cb…
Author: Daniel-Constantin Mierla <miconda(a)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/83597d2fc2922921e66edeca184b3d5…
Author: Daniel-Constantin Mierla <miconda(a)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/669aaec3ca09f340be776882ffffe60…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-07T12:44:31+01:00
core: pt - added missing #endif due to backport conflict
<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Kamailio topoh module fails to unmask route headers under following scenario
1. uri_prefix_checks disabled
2. mask_ip configured same as public ip of kamailio host
3. interworking between tcp and udp
In this case two record-route headers are added by kamailio for the current host (during tcp to udp conversion). But second record-route is not encoded while sending response to client, but trying to decode second Route on next request from client.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1776
-- Commit Summary --
* topoh: fixed unmask route issue, if maksing fails for one of the routes
-- File Changes --
M src/modules/topoh/th_msg.c (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1776.patchhttps://github.com/kamailio/kamailio/pull/1776.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1776