Module: kamailio
Branch: 5.6
Commit: 78e181d82e5802e5b96b05cf9f1d9e54dbd1546d
URL: https://github.com/kamailio/kamailio/commit/78e181d82e5802e5b96b05cf9f1d9e5…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-12-15T13:26:53Z
sanity: also add Contact URI check to documentation
(cherry picked from commit b96848689837277d9bc0ec9c1b5524de0f1321e1)
---
Modified: src/modules/sanity/doc/sanity_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/78e181d82e5802e5b96b05cf9f1d9e5…
Patch: https://github.com/kamailio/kamailio/commit/78e181d82e5802e5b96b05cf9f1d9e5…
---
diff --git a/src/modules/sanity/doc/sanity_admin.xml b/src/modules/sanity/doc/sanity_admin.xml
index b5ec247b64..cc3a78630f 100644
--- a/src/modules/sanity/doc/sanity_admin.xml
+++ b/src/modules/sanity/doc/sanity_admin.xml
@@ -180,6 +180,7 @@ modparam("sanity", "default_checks", 1)
<para>
Default value is 7. This resolves to the following list of
parsed URIs: Request URI (1), From URI (2) and To URI (4).
+ Additionally the Contact URI can be also checked (8).
</para>
<example>
<title>Set <varname>uri_checks</varname> parameter</title>
<!-- 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
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3306
-- Commit Summary --
* sanity: Document Contact URI check flag
-- File Changes --
M src/modules/sanity/doc/sanity_admin.xml (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3306.patchhttps://github.com/kamailio/kamailio/pull/3306.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3306
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3306(a)github.com>
Module: kamailio
Branch: master
Commit: b96848689837277d9bc0ec9c1b5524de0f1321e1
URL: https://github.com/kamailio/kamailio/commit/b96848689837277d9bc0ec9c1b5524d…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2022-12-15T13:22:06Z
sanity: also add Contact URI check to documentation
---
Modified: src/modules/sanity/doc/sanity_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/b96848689837277d9bc0ec9c1b5524d…
Patch: https://github.com/kamailio/kamailio/commit/b96848689837277d9bc0ec9c1b5524d…
---
diff --git a/src/modules/sanity/doc/sanity_admin.xml b/src/modules/sanity/doc/sanity_admin.xml
index b5ec247b64..cc3a78630f 100644
--- a/src/modules/sanity/doc/sanity_admin.xml
+++ b/src/modules/sanity/doc/sanity_admin.xml
@@ -180,6 +180,7 @@ modparam("sanity", "default_checks", 1)
<para>
Default value is 7. This resolves to the following list of
parsed URIs: Request URI (1), From URI (2) and To URI (4).
+ Additionally the Contact URI can be also checked (8).
</para>
<example>
<title>Set <varname>uri_checks</varname> parameter</title>
For star Contacts, there are no URIs that can be checked.
<!-- 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 -->
- [x] 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 -->
If Contact URI should be checked, there is no URI if the Contact is a star Contact [1].
[1] https://www.rfc-editor.org/rfc/rfc3261#section-10.2.2
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3307
-- Commit Summary --
* sanity: Prevent segfault
-- File Changes --
M src/modules/sanity/sanity.c (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3307.patchhttps://github.com/kamailio/kamailio/pull/3307.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3307
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3307(a)github.com>
Hello,
not that tomorrow, Dec 14, 2022 starting after 09:00UTC (10:00Berlin),
is planned some maintenance work on kamailio.org server. It will be
unavailable from time to time, hopefully not for long time.
Affected services:
- web site
- mailing lists
- wiki site (alternative use the github repo:
https://github.com/kamailio/kamailio-wiki)
- html version of modules' documentation (text variant README is every
module folder of git clones or on github.org repository)
Short notifications will be sent when it starts and ends.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Module: kamailio
Branch: master
Commit: b7d1470c50cfdb03c6776bb9c8430c70d929e6a9
URL: https://github.com/kamailio/kamailio/commit/b7d1470c50cfdb03c6776bb9c8430c7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-12-14T09:44:30+01:00
app_ruby: added header file with per-process module api
---
Added: src/modules/app_ruby/app_ruby_papi.h
---
Diff: https://github.com/kamailio/kamailio/commit/b7d1470c50cfdb03c6776bb9c8430c7…
Patch: https://github.com/kamailio/kamailio/commit/b7d1470c50cfdb03c6776bb9c8430c7…
---
diff --git a/src/modules/app_ruby/app_ruby_papi.h b/src/modules/app_ruby/app_ruby_papi.h
new file mode 100644
index 0000000000..65d48498a3
--- /dev/null
+++ b/src/modules/app_ruby/app_ruby_papi.h
@@ -0,0 +1,45 @@
+/**
+ * Copyright (C) 2022 Daniel-Constantin Mierla (asipto.com)
+ *
+ * This file is part of Kamailio, a free SIP server.
+ *
+ * This file is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version
+ *
+ *
+ * This file is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+
+#ifndef _APP_RUBY_PAPI_H_
+#define _APP_RUBY_PAPI_H_
+
+#include "../../core/kemi.h"
+
+typedef struct app_ruby_papi {
+ int (*AppRubyInitChild)(void);
+ void (*AppRubyModDestroy)(void);
+ int (*AppRubyRunEx)(sip_msg_t *msg, char *func, char *p1, char *p2,
+ char *p3, int emode);
+ int (*AppRubyOptSetS)(char* optName, str* optVal);
+ int (*AppRubyOptSetN)(char* optName, int optVal);
+ int (*AppRubyOptSetP)(char* optName, void* optVal);
+ int (*AppRubyGetExportSize)(void);
+ sr_kemi_t* (*AppRubyGetExport)(int idx);
+ int (*AppRubyInitialized)(void);
+ int (*AppRubyLocalVersion)(void);
+} app_ruby_papi_t;
+
+typedef int (*app_ruby_proc_bind_f)(app_ruby_papi_t *papi);
+
+#endif /* _APP_RUBY_PAPI_H_ */