<!-- 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
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
some kemi exports for ims_qos and ims_dialog. Currently testing them, will add comment afterwards.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3544
-- Commit Summary --
* ims_qos: kemi export
* ims_dialog: kemi export some functions
-- File Changes --
M src/modules/ims_dialog/ims_dialog.c (96)
M src/modules/ims_qos/ims_qos_mod.c (72)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3544.patchhttps://github.com/kamailio/kamailio/pull/3544.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3544
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3544(a)github.com>
A user reached me to add a way to add the custom labels into the statsd
module, so a better way to report metrics to the observability platform.
I keep the same old functions and add a new parameter to the statsd
modules to both interfaces cfg and kemi.
The full documentation can be found here:
https://docs.datadoghq.com/developers/dogstatsd/datagram_shell/?tab=metrics
So, each function can be used like this: ``` statsd_set("fooo", 1,
"inbound"); statsd_gauge("NotFound", "+1", "outbound,carrierFoo");
statsd_gauge("AuthFailed", "+1", "carrier=foo,priority=10"); ```
Signed-off-by: Eloy Coto <eloy.coto(a)acalustra.com>
Tested-by: Alex Antonevych <alex.antonevych(a)replicant.ai>
<!-- Kamailio Pull Request Template -->
#### Pre-Submission Checklist
- [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:
- [ ] PR should be backported to stable branches
- [x] Tested changes locally
I'm waiting until first review on function arguments to create the docs
changes.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3529
-- Commit Summary --
* statsd: Add labels to metrics.
-- File Changes --
M src/modules/statsd/lib_statsd.c (102)
M src/modules/statsd/lib_statsd.h (10)
M src/modules/statsd/statsd.c (129)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3529.patchhttps://github.com/kamailio/kamailio/pull/3529.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3529
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3529(a)github.com>
- the function call will suceed even if the prefix being inserted already exists in the tree
<!-- 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
- [x] 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
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
PDT module initialization currently fails if you try to insert a prefix multiple times. We use kamailio as a loadbalancer and have had this change out in the field for quite some time now as our database often contains a prefix multiple times (associated with the same domain). Would it make sense to change the behavior in this case ?
Thanks,
Vladimir.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3485
-- Commit Summary --
* pdt: make add_to_tree() idempotent
-- File Changes --
M src/modules/pdt/pdtree.c (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3485.patchhttps://github.com/kamailio/kamailio/pull/3485.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3485
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3485(a)github.com>
<!-- 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
- [x] Related to issue #2946
#### Description
migrate lcr to pcre2
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3545
-- Commit Summary --
* lcr: pcre2 migration
-- File Changes --
M src/modules/lcr/Makefile (12)
M src/modules/lcr/hash.c (24)
M src/modules/lcr/hash.h (10)
M src/modules/lcr/lcr_mod.c (187)
M src/modules/lcr/lcr_mod.h (8)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3545.patchhttps://github.com/kamailio/kamailio/pull/3545.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3545
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3545(a)github.com>
<!-- 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
- [x] Related to issue #2946
#### Description
migrate dialplan to pcre2
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3543
-- Commit Summary --
* regex: migration to pcre2
* dialplan: migrate to pcre2
-- File Changes --
M src/modules/dialplan/Makefile (11)
M src/modules/dialplan/dialplan.c (5)
M src/modules/dialplan/dialplan.h (21)
M src/modules/dialplan/dp_db.c (103)
M src/modules/dialplan/dp_repl.c (56)
M src/modules/regex/Makefile (11)
M src/modules/regex/regex_mod.c (240)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3543.patchhttps://github.com/kamailio/kamailio/pull/3543.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3543
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3543(a)github.com>
<!-- 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)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3551
-- Commit Summary --
* smsops: fixes as per static code analyzer report
-- File Changes --
M src/modules/smsops/smsops_impl.c (12)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3551.patchhttps://github.com/kamailio/kamailio/pull/3551.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3551
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3551(a)github.com>
I have been trying to replace the SDP connection IP with some other IP using module `mangler` (`Kamailio v5.7.0`). But It seem like its malfunctioning
```
if ($rs == 200) {
xlog("L_INFO", "200 $rm Detected");
sdp_mangle_ip("192.168.0.132/24","8.8.8.8");
}
```
and results I received are like this below
```
v=0 o=- 107808851201429815 2 IN IP4 192.168.0.132
s=- t=0 0
m=audio 24794 RTP/AVP 0 8 101
c=IN IP4 192.168.0.1328.8.8.8
a=mid:audio
a=sendrecv
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ssrc:822878909 cname:0ZfUBhl8cMeHaeVl
a=nortpproxy:yes
```
I first ask the same question in mailing list `sr-users(a)lists.kamailio.org` but after waiting for some time (>24hrs) i cant see my question on on forum, that why I open a ticket here.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3554
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3554(a)github.com>
Halo Experts,
So sorry to disturb you for the kamailio start failure issue I faced recently when doing patching from version 5.5.4 to 5.5.6. Really appreciated if you could give me some assistance on it ! And attached is the start log. Thanks.
Best regards,
Louis LIU
Senior Software Engineer (Cloud Platform && Audio/Video Intercom) M +86 18575580920 8F-A CES Building,No.3099
Global Offer Innovation E bin.liu2(a)se.com<mailto:bin.liu2@se.com> Keyuan South Road, Nanshan District
Home & Distribution Division, Energy Management Shenzhen, China
[cid:image001.png@01D9CAE5.A472D190]
Download mySchneider app<https://www.se.com/ww/en/work/support/myschneider-app/> 24/7 support Mobile catalog. Acces to expert help.
Internal