[sr-dev] [kamailio/kamailio] uac: added uac_event_callback for kemi (#2445)

2020-08-17 Thread tao-communications
!-- 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 youre unsure about any of these, dont 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 # (replace  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/2445

-- Commit Summary --

  * uac: added uac_event_callback for kemi

-- File Changes --

M src/modules/uac/doc/uac_admin.xml (32)
M src/modules/uac/uac.c (3)
M src/modules/uac/uac_send.c (40)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2445.patch
https://github.com/kamailio/kamailio/pull/2445.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/2445
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] uac: added uac_event_callback for kemi (#2444)

2020-08-17 Thread tao-communications
Closed #2444.

-- 
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/2444#event-3662058125___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] uac: added uac_event_callback for kemi (#2444)

2020-08-17 Thread tao-communications
!-- 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 youre unsure about any of these, dont 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, 
...)
- [ ] 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 # (replace  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/2444

-- Commit Summary --

  * uac: added uac_event_callback for kemi

-- File Changes --

M src/modules/uac/uac.c (3)
M src/modules/uac/uac_send.c (40)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2444.patch
https://github.com/kamailio/kamailio/pull/2444.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/2444
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] Restructure module docs

2020-08-17 Thread Olle E. Johansson
Hi!

Some READMEs have grown and some lists over modparams and/or functions are long 
and not ordered in any logical way - new items are added below the rest and it 
has become a bit messy in my humble point of view.

Would anyone have anything against me starting to reorganise a few - or join in 
- so that they are easier to go through? Alfabetical or some logical grouping. 
Sorting by alfabetical will split apart groups like database table name 
settings, so one has to be careful ;-) Maybe we can add subheaders when there 
are more than X modparams?

Or shall we leave them the way they are?

/O
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] parameter ka_logmsg not found in module usrloc (#2440)

2020-08-17 Thread Daniel-Constantin Mierla
Closed #2440.

-- 
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/issues/2440#event-3661077277___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] parameter ka_logmsg not found in module usrloc (#2440)

2020-08-17 Thread Daniel-Constantin Mierla
Indeed the line exporting the modparam was missing. Should be now fixed in 
master and 5.4 branches.

-- 
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/issues/2440#issuecomment-674779511___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:5.4:b8a8b0db: usrloc: export the ka_logmsg parameter

2020-08-17 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: 5.4
Commit: b8a8b0dba15b186fb255307084848b918da378d0
URL: 
https://github.com/kamailio/kamailio/commit/b8a8b0dba15b186fb255307084848b918da378d0

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2020-08-17T11:46:13+02:00

usrloc: export the ka_logmsg parameter

- GH #2440

(cherry picked from commit d74ab3652eadb34b708755522048468ca8f0b2e8)

---

Modified: src/modules/usrloc/usrloc_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/b8a8b0dba15b186fb255307084848b918da378d0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/b8a8b0dba15b186fb255307084848b918da378d0.patch

---

diff --git a/src/modules/usrloc/usrloc_mod.c b/src/modules/usrloc/usrloc_mod.c
index faaa6c8265..7aecb318a1 100644
--- a/src/modules/usrloc/usrloc_mod.c
+++ b/src/modules/usrloc/usrloc_mod.c
@@ -259,6 +259,7 @@ static param_export_t params[] = {
{"ka_method",   PARAM_STR, _ka_method},
{"ka_filter",   PARAM_INT, _ka_filter},
{"ka_loglevel", PARAM_INT, _ka_loglevel},
+   {"ka_logmsg",   PARAM_STR, _ka_logmsg},
{0, 0, 0}
 };
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:d74ab365: usrloc: export the ka_logmsg parameter

2020-08-17 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: d74ab3652eadb34b708755522048468ca8f0b2e8
URL: 
https://github.com/kamailio/kamailio/commit/d74ab3652eadb34b708755522048468ca8f0b2e8

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2020-08-17T11:45:10+02:00

usrloc: export the ka_logmsg parameter

- GH #2440

---

Modified: src/modules/usrloc/usrloc_mod.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/d74ab3652eadb34b708755522048468ca8f0b2e8.diff
Patch: 
https://github.com/kamailio/kamailio/commit/d74ab3652eadb34b708755522048468ca8f0b2e8.patch

---

diff --git a/src/modules/usrloc/usrloc_mod.c b/src/modules/usrloc/usrloc_mod.c
index faaa6c8265..7aecb318a1 100644
--- a/src/modules/usrloc/usrloc_mod.c
+++ b/src/modules/usrloc/usrloc_mod.c
@@ -259,6 +259,7 @@ static param_export_t params[] = {
{"ka_method",   PARAM_STR, _ka_method},
{"ka_filter",   PARAM_INT, _ka_filter},
{"ka_loglevel", PARAM_INT, _ka_loglevel},
+   {"ka_logmsg",   PARAM_STR, _ka_logmsg},
{0, 0, 0}
 };
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Makefile.defs: Fixed libs option for FreeBSD (#2442)

2020-08-17 Thread Daniel-Constantin Mierla
Merged #2442 into master.

-- 
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/2442#event-3660994430___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] Makefile.defs: Fixed libs option for FreeBSD (#2442)

2020-08-17 Thread Daniel-Constantin Mierla
Thanks!

-- 
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/2442#issuecomment-674768524___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:40ecbb12: Merge pull request #2442 from dwagin/master

2020-08-17 Thread GitHub
Module: kamailio
Branch: master
Commit: 40ecbb120c25ed147466c2342e1b49e6c5dda8e0
URL: 
https://github.com/kamailio/kamailio/commit/40ecbb120c25ed147466c2342e1b49e6c5dda8e0

Author: Daniel-Constantin Mierla 
Committer: GitHub 
Date: 2020-08-17T11:25:27+02:00

Merge pull request #2442 from dwagin/master

Makefile.defs: Fixed libs option for FreeBSD

---

Modified: src/Makefile.defs

---

Diff:  
https://github.com/kamailio/kamailio/commit/40ecbb120c25ed147466c2342e1b49e6c5dda8e0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/40ecbb120c25ed147466c2342e1b49e6c5dda8e0.patch

---

diff --git a/src/Makefile.defs b/src/Makefile.defs
index 44fb9d665f..1094593b15 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -1981,12 +1981,11 @@ ifeq ($(OS), freebsd)
ifeq ($(RAW_SOCKS), yes)
C_DEFS+= -DUSE_RAW_SOCKS
endif
+   LIBS= -lm   # resolv and dlopen is in libc
ifneq ($(found_lock_method), yes)
C_DEFS+= -DUSE_PTHREAD_MUTEX  # try pthread sems
found_lock_method=yes
-   LIBS+= -pthread   #dlopen is in libc
-   else
-   LIBS=   #dlopen is in libc
+   LIBS+= -pthread
endif
# check for ver >= 4.1
ifeq ($(shell [ $(OSREL_N) -gt 4001 ] && echo has_kqueue), has_kqueue)


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] Ims ipsec delete unused tunnels (#2443)

2020-08-17 Thread alexyosifov
!-- 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 youre unsure about any of these, dont 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 # (replace  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/2443

-- Commit Summary --

  * ims_ipsec_pcscf: delete unused tunnels
  * ims_usrloc_pcscf: changes in get_all_mem_ucontacts

-- File Changes --

M src/modules/ims_ipsec_pcscf/cmd.c (42)
M src/modules/ims_ipsec_pcscf/cmd.h (2)
M src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml (7)
M src/modules/ims_ipsec_pcscf/ims_ipsec_pcscf_mod.c (23)
M src/modules/ims_ipsec_pcscf/ipsec.c (477)
M src/modules/ims_ipsec_pcscf/ipsec.h (2)
M src/modules/ims_usrloc_pcscf/dlist.c (116)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/2443.patch
https://github.com/kamailio/kamailio/pull/2443.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/2443
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev