Juha Heinanen via sr-users writes:
> 2024-06-17T14:48:27.702827+03:00 siika /usr/bin/sip-proxy[297246]: WARNING:
> db_mysql [km_my_con.c:187]: db_mysql_new_connection(): opt_ssl_ca option not
> supported by mysql version (value (null)) - ignoring
Just to clarify, I have not defined o
When I start Kamailio master version that has been build on Debian 12
with default-libmysqlclient-dev depending on libmariadb-dev-compat, I
get several warnings like this:
2024-06-17T14:48:27.702827+03:00 siika /usr/bin/sip-proxy[297246]: WARNING:
db_mysql [km_my_con.c:187]:
If you want to select something based on phone number (longest) prefix,
then mtree module could be useful.
-- Juha
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to
OK, this is the fix:
diff --git a/src/modules/tm/t_msgbuilder.c b/src/modules/tm/t_msgbuilder.c
index 362ff6c5eb..187be7871d 100644
--- a/src/modules/tm/t_msgbuilder.c
+++ b/src/modules/tm/t_msgbuilder.c
@@ -1246,7 +1246,8 @@ char *build_dlg_ack(struct sip_msg *rpl, struct cell
*Trans,
I added some debug to t_msgbuilder.c and found out that
function build_uac_req() where missing Max-Forwards is added, is not
executed when request is ACK. It is executed when request is INVITE or
BYE.
So where should Max-Forwards check for ACK be done?
-- Juha
t_msgbuilder.c build_uac_req() has:
if(headers == NULL || headers->len < 15
|| _strnstr(headers->s, "Max-Forwards:", headers->len)
== NULL) {
maxfwd_len = MAXFWD_HEADER_LEN;
} else {
maxfwd_len = 0;
}
It should add
Kamailio sends INVITE by tm.t_uac_wait RPC command:
INVITE sip:test-0x55e7f1f78e70@192.168.187.215:5022 SIP/2.0
Via: SIP/2.0/UDP
192.168.187.215;branch=z9hG4bK6cf1.f1d087d6.0
To:
From:
;tag=2dd3d4389fe3d66c5cb97dc370ab7d7b-9c5a2a58
CSeq: 1 INVITE
Call-ID:
satyaprakash ch via sr-users writes:
> We are receiving 2 to 3 contact headers in the 200 OK response of the
> registration request. It appears that the `user_location` is updating
> multiple contact headers for the same extension due to network
> disconnections. Please suggest a solution to
Daniel-Constantin Mierla writes:
> I actually replied on you initial email at that time, saying that is
> interesting to add it. My previous email was a follow up of that email.
OK, looks like I missed it. Will prepare PR.
-- Juha
__
Daniel-Constantin Mierla writes:
> are you still planning to add this patch to the repo?
Based on non-existing comments, looks like I'm the only one interested.
So it is not worth to create a PR.
-- Juha
__
Kamailio - Users Mailing List -
Juha Heinanen via sr-users writes:
> I noticed that sql_query does not (anymore) work when called from
> event route:
I created bug issue https://github.com/kamailio/kamailio/issues/3843
about this to GitHub, since it really looks like a bug, because the same
code has worked fine i
I noticed that sql_query does not (anymore) work when called from event route:
event_route [tcp:closed] { # Handle TCP connection close
# Delete possible leftover registration
if ($conid)
sql_query("sip_proxy_cache", "DELETE FROM location WHERE server_id=0
AND
How about this new function that sets the algorithm?
-- Juha
iff --git a/src/modules/auth/auth_mod.c b/src/modules/auth/auth_mod.c
index 534ad9e20f..4e3a584d22 100644
--- a/src/modules/auth/auth_mod.c
+++ b/src/modules/auth/auth_mod.c
@@ -74,6 +74,10 @@ int w_consume_credentials(struct sip_msg
Juha Heinanen via sr-users writes:
> Currently digest authentication hash algorithm (MD5 or SHA-256) is
> selected when auth module is loaded. How about allowing to select it
> also dynamically using the function flags?
Can't be done, since auth_db functions don't have flags parameter.
Currently digest authentication hash algorithm (MD5 or SHA-256) is
selected when auth module is loaded. How about allowing to select it
also dynamically using the function flags?
-- Juha
__
Kamailio - Users Mailing List - Non Commercial
Daniel-Constantin Mierla writes:
> It might be a regression by commit 675f6c02248, can you try with latest
> master or with the patch of the commit:
>
> -
> https://github.com/kamailio/kamailio/commit/4dc37aee853bbcf9d7fdb96245b76aaa8dfa2930
I tried with latest master and it started OK.
Daniel-Constantin Mierla writes:
> what are the operating system and the compiler used?
Sorry, Debian 12 using gcc version 12.2.0.
-- Juha
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to
My SIP proxy didn't start with Kamailio 5.8 using the same config that
starts OK with 5.7. The error is:
2024-03-11T06:56:06.457107+02:00 lohi /usr/bin/sip-proxy[2358954]: DEBUG: acc
[acc_mod.c:362]: parse_failed_filter(): failed_filter 0 = 407
2024-03-11T06:56:06.457265+02:00 lohi
Kamailio 5.8 build generates on my Debian 12 the following warning:
core/mem/q_malloc.c:996:14: warning: 'qm_strnstr' defined but not used
[-Wunused-function]
996 | static void *qm_strnstr(const void *b1, int l1, const void *b2, int l2)
| ^~
Perhaps the definition
Social Boh via sr-users writes:
> so I have 3 lcr_rule_target use the same
> lcr_rule entry but 3 different Gateways and priority. So the order of
> rules would be longest Request-URI (same) and the priority but the
> result is:
>
> added matched_gws[0]=[3, 5, 200, 2193562]
> added
elhar.mohamed--- via sr-users writes:
> Can you please give more explanation ? I'm not sure I understand what
> you want to tell !
Read, for example, this article:
https://nickvsnetworking.com/enum-dns-based-call-routing/
-- Juha
__
elhar.mohamed--- via sr-users writes:
> I'm using the Kamailio version 5.7.x, I didn't find in the module
> "enum.so" any option that allow to connect to a remote ENUM server.
ENUM lookup is normal DNS lookup.
-- Juha
__
Kamailio - Users
22 matches
Mail list logo