<!-- 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)
- [ ] New feature (non-breaking change which adds new functionality)
- [x] 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
Updated some issues I found in the KEMI exports while reviewing the implementation. There is some name change there hence the breaking change.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1338
-- Commit Summary --
* dialog: updating the exported expected parameters to match the functions
* path: updating the exported expected parameters to match the functions
* permissions: correcting KEMI allow_address
* rtpengine: updating the exported expected parameters to match the functions
* sipcapture: updating the exported expected parameters to match the functions
* textops: updating the exported expected parameters to match the functions
* textopsx: updating the exported expected parameters to match the functions
* xhttp: updating name of function and parameter type
* debugger: correcting function utilized by KEMI
* kex: updating the exported expected parameters to match the functions
* lcr: updating the exported expected parameters to match the functions
* maxfwd: Updating code formatting
* nathelper: updating the exported expected parameters to match the functions
-- File Changes --
M src/modules/debugger/debugger_mod.c (8)
M src/modules/dialog/dialog.c (6)
M src/modules/kex/kex_mod.c (2)
M src/modules/lcr/lcr_mod.c (2)
M src/modules/maxfwd/maxfwd.c (9)
M src/modules/nathelper/nathelper.c (2)
M src/modules/path/path_mod.c (4)
M src/modules/permissions/permissions.c (2)
M src/modules/rtpengine/rtpengine.c (2)
M src/modules/sipcapture/sipcapture.c (2)
M src/modules/textops/textops.c (4)
M src/modules/textopsx/textopsx.c (2)
M src/modules/xhttp/xhttp_mod.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1338.patchhttps://github.com/kamailio/kamailio/pull/1338.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/1338
clang-format command on debian stretch cannot hand kamailio
.clang-format without errors.
first one is this:
YAML:58:21: error: unknown key 'IncludeIsMainRegex'
IncludeIsMainRegex: '$'
second is this:
YAML:61:19: error: unknown key 'JavaScriptQuotes'
JavaScriptQuotes: Leave
is it OK if I clean the file?
-- Juha
- Updating KEMI exports of certain dialog functions to match the expected quantity of parameters
<!-- 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)
- [ ] 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)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1337
-- Commit Summary --
* dialog: updating the quantity of params for certain kemi exports
-- File Changes --
M src/modules/dialog/dialog.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1337.patchhttps://github.com/kamailio/kamailio/pull/1337.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/1337
- Updating KEMI export of ki_set_dlg_profile_static() since the function only takes one parameter.
<!-- 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)
- [ ] 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)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1336
-- Commit Summary --
* dialog: correcting expectations of parameters
-- File Changes --
M src/modules/dialog/dialog.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1336.patchhttps://github.com/kamailio/kamailio/pull/1336.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/1336
Currently add_contact_alias() works like this:
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing either received ip, port, and transport protocol or those
given as parameters. If called without parameters, “;alias” parameter is
only added if received ip and port differ from those in contact URI.
Now I noticed that a broken UA does not add a proper ;transport param to
contact uri and therefore received transport does not match contact uri
transport. Therefore transport proto does not match, but ip and port do
match.
It would be useful is add_contact_alias() would add ;alias param also if
transports do not match. Is it OK if I make the change?
After that README would read:
Adds an “;alias=ip~port~transport” parameter to the contact URI
containing either received ip, port, and transport protocol or those
given as parameters. If called without parameters, “;alias” parameter
is only added if received ip, port, and transport protocol differ from
those in contact URI.
-- Juha