# Description
Trying to avoid getting this warning:
Nov 22 20:36:35 test COPS[25531]: WARNING: db_redis [redis_dbase.c:1098]: db_redis_perform_query(): performing full table scan on table 'dispatcher' while performing query
### Troubleshooting
Having:
```
modparam("db_redis", "keys", "version=entry:table_name")
modparam("db_redis", "keys", "dispatcher=entry:id")
```
And debug logs showing the key being found:
```
#### Reproduction
<!--
If the issue can be reproduced, describe how it can be done.
-->
zzzzzzzzzz
#### Debugging Data
<!--
If you got a core dump, use gdb to extract troubleshooting data - full backtrace,
local variables and the list of the code at the issue location.
gdb /path/to/kamailio /path/to/corefile
bt full
info locals
list
If you are familiar with gdb, feel free to attach more of what you consider to
be relevant.
-->
```
(paste your debugging data here)
```
#### Log Messages
<!--
Check the syslog file and if there are relevant log messages printed by Kamailio, add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
(paste your log messages here)
```
#### SIP Traffic
<!--
If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
```
(paste your sip traffic here)
```
### Possible Solutions
<!--
If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix.
-->
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
(paste your output here)
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
(paste your output here)
```
--
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/2149
Can kamailio enforce client to REGISTER with AKAv1?
Here our setup:
1. kamailio version 4.3.4 for IMS
2. Boghe IMS client v1.0.58.550
3. scscf.cfg is configure with:
#!define REG_AUTH_DEFAULT_ALG "AKAv1-MD5"
a. First REGISTER fails with 401 Unauthorized
b. Second REGISTER 200 OK, but the REGISTER is MD5 and not AKAv1
Authorization:
Digest username="bob(a)net1.test",
realm="net1.test",
nonce="XdzPaF3czjz0oMKPeNLScpKAfb9prE7x",
uri="sip:net1.test",
response="854d9c2f3fe3dd3c96c14f8a2d20c2f9",
algorithm=MD5
Thank you,
--
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/2150
Module: kamailio
Branch: master
Commit: 0cc8a34d3ddf2239fa8b9585d2b4432fe8362116
URL: https://github.com/kamailio/kamailio/commit/0cc8a34d3ddf2239fa8b9585d2b4432…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-11-25T20:45:46+01:00
nathelper: small spelling fix in docs
---
Modified: src/modules/nathelper/doc/nathelper_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/0cc8a34d3ddf2239fa8b9585d2b4432…
Patch: https://github.com/kamailio/kamailio/commit/0cc8a34d3ddf2239fa8b9585d2b4432…
---
diff --git a/src/modules/nathelper/doc/nathelper_admin.xml b/src/modules/nathelper/doc/nathelper_admin.xml
index 8c3245c5b8..732a617396 100644
--- a/src/modules/nathelper/doc/nathelper_admin.xml
+++ b/src/modules/nathelper/doc/nathelper_admin.xml
@@ -829,7 +829,7 @@ if(is_rfc1918("$rd")) {
</title>
<para>
Reads <quote>;alias=ip~port~transport</quote> from Contact header then
- writes to target avp as a sip uri.
+ writes to target pseudo-variable as a sip uri.
</para>
<para>
This function can be used from
<!-- 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
- [x] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
new function that read alias from Contact header then write to given avp as sip uri
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2124
-- Commit Summary --
* parse_uri : added new function proto type int to str
* nathelper : added new function set_alias_to_avp
* nathelper : added description of set_alias_to_avp function
-- File Changes --
M src/core/parser/parse_uri.c (23)
M src/core/parser/parse_uri.h (2)
M src/modules/nathelper/nathelper.c (176)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2124.patchhttps://github.com/kamailio/kamailio/pull/2124.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/2124