<!-- 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
- [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 -->
- [x] PR should be backported to stable branches
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Adds the possibility to call uac_auth* functions from the t_branch_on_failure event route
Useful in case of MID_REGISTRAR implementation, especially when REGISTER forked to multiple registrars and each one requests authentication requests separately
Result example:
![image](https://user-images.githubusercontent.com/8499399/216847091-17f8b9f0-1a08-47d1-89ee-978007cef36b.png)
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3360
-- Commit Summary --
* uac: allow uac_auth* functions call from t_on_branch_failure event route
-- File Changes --
M src/modules/uac/doc/uac_admin.xml (4)
M src/modules/uac/uac.c (9)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3360.patchhttps://github.com/kamailio/kamailio/pull/3360.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3360
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3360(a)github.com>
https://kamailio.org/docs/db-tables/kamailio-db-devel.html#idm9040 contains:
* thay instead of they, (UID_AUTH_DB Module)
* `,if` without comma in between (in UAC Module)
* for table "uacreg" column realm is described as “Remote username”, it should be Remote realm
For table dbaliases indexes contains:
* alias_user_idx on column alias_username
* alias_idx composite index on columns alias_username and alias_domain
I would say the composite index will also be used on queries only on the alias_username column, so the index alias_user_idx is redundant and should be deleted.
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3361
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3361(a)github.com>
I run Kamailio with
```
log_stderror=yes
/* LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR, ... */
debug=-1
```
and inspect the output. Some messages from the websocket module are logged repeatedly at ERROR-level, but they are in no way errors. This changes moves such periodially logged no-error messages to debug-level INFO.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3349
-- Commit Summary --
* websocket: move some logging from ERROR to INFO
-- File Changes --
M src/modules/websocket/doc/websocket_admin.xml (2)
M src/modules/websocket/utf8_decode.h (2)
M src/modules/websocket/ws_frame.c (6)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3349.patchhttps://github.com/kamailio/kamailio/pull/3349.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3349
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3349(a)github.com>
Module: kamailio
Branch: master
Commit: d7ef61788fcf84ff86b000f972aff99a300c5237
URL: https://github.com/kamailio/kamailio/commit/d7ef61788fcf84ff86b000f972aff99…
Author: �������������������� �������������������������������� <git-dpa(a)aegee.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-02-03T18:46:40+01:00
websocket: typos
---
Modified: src/modules/websocket/doc/websocket_admin.xml
Modified: src/modules/websocket/utf8_decode.h
---
Diff: https://github.com/kamailio/kamailio/commit/d7ef61788fcf84ff86b000f972aff99…
Patch: https://github.com/kamailio/kamailio/commit/d7ef61788fcf84ff86b000f972aff99…
---
diff --git a/src/modules/websocket/doc/websocket_admin.xml b/src/modules/websocket/doc/websocket_admin.xml
index 5d33184a85..8ce006c0f8 100644
--- a/src/modules/websocket/doc/websocket_admin.xml
+++ b/src/modules/websocket/doc/websocket_admin.xml
@@ -488,7 +488,7 @@ end
</para>
<para><emphasis>Default value is 1.</emphasis></para>
<example>
- <title>Set <varname>timer_interval</varname>parameter</title>
+ <title>Set <varname>timer_interval</varname> parameter</title>
<programlisting format="linespecific">
...
modparam("websocket", "timer_interval", 5)
diff --git a/src/modules/websocket/utf8_decode.h b/src/modules/websocket/utf8_decode.h
index 33c0ccf55f..76b378e742 100644
--- a/src/modules/websocket/utf8_decode.h
+++ b/src/modules/websocket/utf8_decode.h
@@ -47,7 +47,7 @@ static const uint8_t utf8d[] = {
10,3,3,3,3,3,3,3,3,3,3,3,3,4,3,3, 11,6,6,6,5,8,8,8,8,8,8,8,8,8,8,8,
// The second part is a transition table that maps a combination
- // of a state of the automaton and a character class to a state.
+ // of a state of the automation and a character class to a state.
0, 12,24,36,60,96,84,12,12,12,48,72, 12,12,12,12,12,12,12,12,12,12,12,12,
12, 0,12,12,12,12,12, 0,12, 0,12,12, 12,24,12,12,12,12,12,24,12,24,12,12,
12,12,12,12,12,12,12,24,12,12,12,12, 12,24,12,12,12,12,12,12,12,24,12,12,
In src/core/ccopts.sh:98 there is “acroos”. This could be macros or across.
Likewise in 2× src/Makefile.defs
In src/core/dst_blocklist.c:625 `taget` could be `target` or `tagged`.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3354
-- Commit Summary --
* core: typos
-- File Changes --
M src/core/action.c (4)
M src/core/atomic/atomic_alpha.h (2)
M src/core/atomic/atomic_ppc.h (2)
M src/core/atomic/atomic_sparc64.h (4)
M src/core/atomic/atomic_unknown.h (4)
M src/core/atomic_ops.h (2)
M src/core/atomic_ops_init.h (2)
M src/core/basex.c (2)
M src/core/basex.h (4)
M src/core/bit_count.h (2)
M src/core/bit_scan.h (2)
M src/core/ccopts.sh (4)
M src/core/cfg.y (6)
M src/core/cfg/cfg.c (4)
M src/core/cfg/cfg_ctx.c (12)
M src/core/cfg/cfg_ctx.h (2)
M src/core/cfg/cfg_struct.c (4)
M src/core/cfg/cfg_struct.h (2)
M src/core/counters.c (6)
M src/core/daemonize.c (4)
M src/core/dns_cache.c (26)
M src/core/dns_cache.h (2)
M src/core/dprint.c (2)
M src/core/dprint.h (2)
M src/core/dst_blocklist.c (10)
M src/core/endianness.h (6)
M src/core/error.c (2)
M src/core/fix_lumps.h (2)
M src/core/forward.c (2)
M src/core/hashes.h (2)
M src/core/io_wait.h (14)
M src/core/ip_addr.c (2)
M src/core/kemi.c (4)
M src/core/local_timer.c (2)
M src/core/lock_ops.h (4)
M src/core/mem/dl_malloc.c (6)
M src/core/mem/ll_malloc.c (2)
M src/core/mem/sf_malloc.c (2)
M src/core/mod_fix.c (4)
M src/core/msg_translator.h (2)
M src/core/onsend.c (4)
M src/core/parser/digest/digest_parser.c (4)
M src/core/parser/digest/digest_parser.h (2)
M src/core/parser/hf.c (2)
M src/core/parser/hf.h (2)
M src/core/parser/msg_parser.c (2)
M src/core/parser/msg_parser.h (4)
M src/core/parser/parse_body.c (18)
M src/core/parser/parse_content.c (10)
M src/core/parser/parse_content.h (4)
M src/core/parser/parse_diversion.c (2)
M src/core/parser/parse_expires.c (2)
M src/core/parser/parse_param.c (2)
M src/core/parser/parse_uri.c (2)
M src/core/parser/parse_uri.h (2)
M src/core/parser/parse_via.c (6)
M src/core/parser/sdp/sdp.c (6)
M src/core/parser/sdp/sdp_helpr_funcs.c (2)
M src/core/pass_fd.c (2)
M src/core/rand/fortuna/fortuna.c (2)
M src/core/raw_sock.c (4)
M src/core/resolve.c (10)
M src/core/rpc.h (2)
M src/core/rvalue.c (12)
M src/core/rvalue.h (2)
M src/core/select.c (2)
M src/core/select.h (4)
M src/core/select_core.c (16)
M src/core/ser_time.h (2)
M src/core/signals.c (2)
M src/core/sip_msg_clone.c (2)
M src/core/socket_info.c (2)
M src/core/sr_module.c (10)
M src/core/strutils.c (2)
M src/core/switch.c (8)
M src/core/tcp_conn.h (2)
M src/core/tcp_init.h (2)
M src/core/tcp_main.c (14)
M src/core/tcp_options.c (2)
M src/core/tcp_read.c (8)
M src/core/timer.c (8)
M src/core/timer.h (2)
M src/core/timer_funcs.h (2)
M src/core/timer_proc.c (10)
M src/core/timer_proc.h (4)
M src/core/timer_ticks.h (2)
M src/core/usr_avp.c (2)
M src/core/ut.c (2)
M src/core/ut.h (4)
M src/core/utils/srjson.c (2)
M src/core/utils/tmrec.c (2)
M src/core/ver.c (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3354.patchhttps://github.com/kamailio/kamailio/pull/3354.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3354
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3354(a)github.com>