Module: kamailio
Branch: master
Commit: 145659f9b81a0d489548fa8a0f75c0bd05660e2e
URL: https://github.com/kamailio/kamailio/commit/145659f9b81a0d489548fa8a0f75c0b…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2023-11-22T14:50:21+01:00
github: set ``expired`` label when closing PR or issues automatically [skip ci]
---
Modified: .github/workflows/issue_management.yml
---
Diff: https://github.com/kamailio/kamailio/commit/145659f9b81a0d489548fa8a0f75c0b…
Patch: https://github.com/kamailio/kamailio/commit/145659f9b81a0d489548fa8a0f75c0b…
---
diff --git a/.github/workflows/issue_management.yml b/.github/workflows/issue_management.yml
index 063df358c62..0d0b2ef9aa5 100644
--- a/.github/workflows/issue_management.yml
+++ b/.github/workflows/issue_management.yml
@@ -17,6 +17,8 @@ jobs:
stale-pr-message: 'This PR is stale because it has been open 6 weeks with no activity. Remove stale label or comment or this will be closed in 2 weeks.'
days-before-stale: 42
days-before-close: 14
+ close-issue-label: expired
+ close-pr-label: expired
exempt-issue-labels: bug
remove-stale-when-updated: true
operations-per-run: 500
<!-- 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
- [X] Related to issue #3570
#### Description
<!-- Describe your changes in detail -->
Added optional AoR argument to ipsec_destroy(); to permit insertion of a real AoR from a cfg script. Otherwise, ipsec_destroy() uses the dummy AoR you(a)kamailio.org. The dummy AoR does not identify the IPSec SA of any UE present in the registrar, so no IPSec SA can be torn down.
The real AoR, if present as an argument to ipsec_destroy() replaces the dummy AoR in m->first_line.u.request.uri.s, before calling fill_contact() (see changes to cmd.c / cmd.h).
All other changes address ims_ipsec_pcscf_mod.c only, as required to implement the ipsec_destroy() optional argument.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3645
-- Commit Summary --
* Add AoR argument to ims_ipsec_pcscf ipsec_destroy()
-- File Changes --
M src/modules/ims_ipsec_pcscf/cmd.c (8)
M src/modules/ims_ipsec_pcscf/cmd.h (2)
M src/modules/ims_ipsec_pcscf/ims_ipsec_pcscf_mod.c (52)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3645.patchhttps://github.com/kamailio/kamailio/pull/3645.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3645
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3645(a)github.com>
Module: kamailio
Branch: master
Commit: e59c4415707f0995a0d5315b5601ae518b4f1ed5
URL: https://github.com/kamailio/kamailio/commit/e59c4415707f0995a0d5315b5601ae5…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2023-11-22T10:17:01+01:00
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
---
Modified: src/modules/ims_ipsec_pcscf/README
---
Diff: https://github.com/kamailio/kamailio/commit/e59c4415707f0995a0d5315b5601ae5…
Patch: https://github.com/kamailio/kamailio/commit/e59c4415707f0995a0d5315b5601ae5…
---
diff --git a/src/modules/ims_ipsec_pcscf/README b/src/modules/ims_ipsec_pcscf/README
index 81c0cb4cb99..f94669509f1 100644
--- a/src/modules/ims_ipsec_pcscf/README
+++ b/src/modules/ims_ipsec_pcscf/README
@@ -58,7 +58,7 @@ Tsvetomir Dimitrov
4.1. ipsec_create(domain)
4.2. ipsec_forward(domain, flags)
- 4.3. ipsec_destroy(domain)
+ 4.3. ipsec_destroy(domain [, aor])
List of Examples
@@ -103,7 +103,7 @@ Chapter 1. Admin Guide
4.1. ipsec_create(domain)
4.2. ipsec_forward(domain, flags)
- 4.3. ipsec_destroy(domain)
+ 4.3. ipsec_destroy(domain [, aor])
1. Overview
@@ -270,7 +270,7 @@ modparam("ims_ipsec_pcscf", "ipsec_preferred_ealg", "aes-cbc")
4.1. ipsec_create(domain)
4.2. ipsec_forward(domain, flags)
- 4.3. ipsec_destroy(domain)
+ 4.3. ipsec_destroy(domain [, aor])
4.1. ipsec_create(domain)
@@ -325,13 +325,15 @@ ipsec_forward("location");
ipsec_forward("location", "1");
...
-4.3. ipsec_destroy(domain)
+4.3. ipsec_destroy(domain [, aor])
The function destroys IPSec tunnel, created with ipsec_create.
Meaning of the parameters is as follows:
* domain - Logical domain within the registrar. If a database is used
then this must be name of the table which stores the contacts.
+ aor - SIP URI to match the record. If not provided, then R-URI is
+ used.
Example 1.13. ipsec_destroy
...
Module: kamailio
Branch: master
Commit: ef3f50db619490509f127eba87b75190a98a1b3e
URL: https://github.com/kamailio/kamailio/commit/ef3f50db619490509f127eba87b7519…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-22T10:09:16+01:00
ims_ipsec_pcscf: docs updated for ipsec_destroy()
---
Modified: src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/ef3f50db619490509f127eba87b7519…
Patch: https://github.com/kamailio/kamailio/commit/ef3f50db619490509f127eba87b7519…
---
diff --git a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
index 982df9bbb14..d50c66ed45a 100644
--- a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
+++ b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
@@ -345,7 +345,7 @@ ipsec_forward("location", "1");
</section>
<section>
- <title><function moreinfo="none">ipsec_destroy(domain)</function></title>
+ <title><function moreinfo="none">ipsec_destroy(domain [, aor])</function></title>
<para>The function destroys IPSec tunnel, created with ipsec_create.</para>
<para>Meaning of the parameters is as follows:</para>
<itemizedlist>
@@ -355,6 +355,10 @@ ipsec_forward("location", "1");
If a database is used then this must be name of the table which
stores the contacts.
</para>
+ <para>
+ <emphasis>aor</emphasis> - SIP URI to match the record. If not
+ provided, then R-URI is used.
+ </para>
</listitem>
</itemizedlist>
<example>