Module: kamailio
Branch: master
Commit: 15823c3eda3a332d22d9132a873d755aa024892f
URL: https://github.com/kamailio/kamailio/commit/15823c3eda3a332d22d9132a873d755…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-09-12T10:10:33+02:00
core: log message about interface flags made info
- small updates to a couple of error messages
---
Modified: src/core/resolve.c
Modified: src/core/socket_info.c
---
Diff: https://github.com/kamailio/kamailio/commit/15823c3eda3a332d22d9132a873d755…
Patch: https://github.com/kamailio/kamailio/commit/15823c3eda3a332d22d9132a873d755…
---
diff --git a/src/core/resolve.c b/src/core/resolve.c
index da247952fd9..19b05db90ff 100644
--- a/src/core/resolve.c
+++ b/src/core/resolve.c
@@ -1792,7 +1792,8 @@ int str2ipbuf(str *st, ip_addr_t *ipb)
/* just in case that e.g. the VIA parser get confused */
if(unlikely(!st->s || st->len <= 0)) {
- LM_ERR("invalid name, no conversion to IP address possible\n");
+ LM_ERR("invalid name (%p,%d), no conversion to IP address possible\n",
+ st->s, st->len);
return -1;
}
s = (unsigned char *)st->s;
@@ -1902,7 +1903,8 @@ int str2ip6buf(str *st, ip_addr_t *ipb)
/* just in case that e.g. the VIA parser get confused */
if(unlikely(!st->s || st->len <= 0)) {
- LM_ERR("invalid name, no conversion to IP address possible\n");
+ LM_ERR("invalid name (%p,%d), no conversion to IP address possible\n",
+ st->s, st->len);
return -1;
}
/* init */
diff --git a/src/core/socket_info.c b/src/core/socket_info.c
index a2b3c05c641..a181e43dad8 100644
--- a/src/core/socket_info.c
+++ b/src/core/socket_info.c
@@ -1443,7 +1443,7 @@ static int get_flags(int family)
if(nlp->nlmsg_len < NLMSG_LENGTH(sizeof(ifi)))
goto error;
- LM_ERR("Interface with index %d has flags %d\n", ifi->ifi_index,
+ LM_INFO("Interface with index %d has flags %d\n", ifi->ifi_index,
ifi->ifi_flags);
if(ifaces == NULL) {
LM_ERR("get_flags must not be called on empty interface list");
@@ -1769,7 +1769,7 @@ static int fix_hostname(str *name, struct ip_addr *address, str *address_str,
/* get "official hostnames", all the aliases etc. */
he = resolvehost(name->s);
if(he == 0) {
- LM_ERR("could not resolve %s\n", name->s);
+ LM_ERR("could not resolve '%s'\n", name->s);
goto error;
}
/* check if we got the official name */
Hi,
We want our multi-tenant system to integrate with Kamaillio, and we are trying to use json-rpc to interact with Kamaillio. However, it seems that it is not possible to create a domain using a rpc call, according to the docs it's only possible to issue a reload or dump command.
Is it possible to create a domain remotely, preferably using json-RPC?
Regards,
Auke Noppe
Dear Kamailio community,
### Description
Recently, we are testing IMS VoLTE MT call using a Kamailio release 5.8.2,
however the Kamailio service is crashed for several times during handling MT
IMS SIP Call.
We would like to ask if any idea on why getting the "abort error" in
Kamailio (as shown in attached core dump) and also how to solve the issue.
Thanks
Ken