I have Kamailio 5.6 on Debian 11.
I need to use the function forward within a routing block in my configuration file:
forward("udp:192.168.28.51:5060");
But when I start the kamailio service I got:
CRITICAL: <core> [core/proxy.c:264]: mk_proxy(): could not resolve hostname: "udp:192.168.28.51:5060"
The same occurs when I use the dns nane :
forward("udp:raspberry3.emtelco.co:5060");
Any ideas ?
Regards
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3467
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3467(a)github.com>
<!-- 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
- [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
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
Update TLS module documentation in regards of deprecation of TLS v1.1 and v1.2. Existing references updated and new reference added.
No code change!
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/3451
-- Commit Summary --
* tls: update documentation (TLS v1.1 & 1.2 deprecation)
-- File Changes --
M src/modules/tls/doc/params.xml (5)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/3451.patchhttps://github.com/kamailio/kamailio/pull/3451.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/3451
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/pull/3451(a)github.com>
Hello,
during my work on the memory allocation topic I think I found a bug in the module (xhttp_prom) in the file (prom_metric.c) at line 823. There is an if else and in both parameters have the same code for shm_malloc() but in the else in the notes it reference for pkg_malloc but is also shm_malloc. If you also think its an error, I will fix it.
//-----------------------------------------------------------------------------code
/* Allocate space for str. */
if (shared_mem) {
/* Shared memory */
/* We left space for zero at the end. */
lb_node->n.s = (char*)shm_malloc(len + 1);
if (lb_node->n.s == NULL) {
SHM_MEM_ERROR;
goto error;
}
memcpy(lb_node->n.s, s, len);
lb_node->n.len = len;
} else {
/* Pkg memory */
/* We left space for zero at the end. */
lb_node->n.s = (char*)shm_malloc(len + 1);//<--TODO--pantelis
if (lb_node->n.s == NULL) {
SHM_MEM_ERROR;
goto error;
}
memcpy(lb_node->n.s, s, len);
lb_node->n.len = len;
} /* if shared_mem */
//-------------------------------------------------------------------------------------------------------
Best Regard
Pantelis Kolatsis
Kamailio v5.7.0 is out – it comes with 4 new modules and a large
set of improvements touching again more than 60 existing modules.
You can read a bit more detailed release notes at:
* https://www.kamailio.org/w/kamailio-v5-7-0-release-notes/
Many thanks to all developers and community members that made possible
this release.
v5.7.0 brings more flexibility and optimizations across many components,
new variables and transformations, expression-based preprocessor values
and conditions,
alternative TLS module using WolfSSL project, improvements to
STIR/SHAKEN, IMS/VoLTE,
more functions exported to KEMI interface, including a new KEMI Python3
interpreter.
... just to list only a few here. Enjoy Kamailio v5.7.0!
Thank you for flying Kamailio!
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - June 5-7, 2023 - www.kamailioworld.com