Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread marcinkowalczyk
I've tested against latest 5.4 branch and seems issue is fixed. Thank you! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread marcinkowalczyk
Closed #2451. -- 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/2451#event-3688287672___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] db_redis: Failed to allocate memory for match pattern (#2441)

2020-08-24 Thread sergey-safarov
When I added `key` for both tables, then the issue resolved. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] Usrloc race condition when db_mode is set to 2 (#2455)

2020-08-24 Thread Daniel-Constantin Mierla
The delete is from timer process, independent of processing REGISTER requests that are handled in another processes. If you need some delay when removing contact for db_mode=2, look at the parameter: * https://www.kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.rm_expired_delay

Re: [sr-dev] [kamailio/kamailio] Usrloc race condition when db_mode is set to 2 (#2455)

2020-08-24 Thread Daniel-Constantin Mierla
Closed #2455. -- 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/2455#event-3686185161___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:a9807e1f: src/Makefile: update deb rules

2020-08-24 Thread Victor Seva
Module: kamailio Branch: master Commit: a9807e1f58ea1b3b842181c7b5955158900e17ba URL: https://github.com/kamailio/kamailio/commit/a9807e1f58ea1b3b842181c7b5955158900e17ba Author: Victor Seva Committer: Victor Seva Date: 2020-08-24T15:32:25+02:00 src/Makefile: update deb rules * deb-stable

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/deb: libxmlrpc-c3-dev becomes libxmlrpc-core-c3-dev on debian buster (#2432)

2020-08-24 Thread Victor Seva
@khorsmann if you're building from source, it's better to select the flavor you need: ``` # git clone # cd kamailio # git checkout 5.4 # ln -s pkg/kamailio/deb/ debian # make deb ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [sr-dev] [kamailio/kamailio] pkg/kamailio/deb: libxmlrpc-c3-dev becomes libxmlrpc-core-c3-dev on debian buster (#2432)

2020-08-24 Thread Victor Seva
Closed #2432 via a9807e1f58ea1b3b842181c7b5955158900e17ba. -- 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/2432#event-3685455105___

Re: [sr-dev] [kamailio/kamailio] TOPOH error after topology hiding disabling in event_route (#2437)

2020-08-24 Thread Henning Westerholt
The documentation for the event_route needs to be adapted as well, I think. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] [kamailio/kamailio] Usrloc race condition when db_mode is set to 2 (#2455)

2020-08-24 Thread VolodyaIvanets
Hello! There is a ```delete from `location` where `expires`<'XYZ' AND `expires`<>'1970-01-01 03:00:00'``` query that runs before every time when insert, update or delete for location table is executed. The last query from the provided example was unsuccessful before the second last query

[sr-dev] [kamailio/kamailio] sqlops sql_query() function result value has not been documented in README (#2454)

2020-08-24 Thread juha-h
README should tell that: - 1 is returned when query succeeds and result set is not empty - 2 is returned when query succeeds but result set is not empty - 3 is returned when result set is not empty, but result param was not given - -1 is returned in case of error -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] db_redis: Failed to allocate memory for match pattern (#2441)

2020-08-24 Thread Richard Fuchs
First of all, if you have two modules both using the same Redis DB, you should make them use different DB numbers. And then, since Redis is key-value only and doesn't have a DB schema, you need to specify the schema for each DB you want to use through the `keys` modparam to db_redis. Have you

Re: [sr-dev] [kamailio/kamailio] Branch ordering behavior changed between v5.3 and v5.4 (#2449)

2020-08-24 Thread juha-h
Daniel-Constantin Mierla writes: > Also, maybe @juha-h can comment on this issue, being the initial > developer of these functions, to see what is the expected behaviour > and if there is an unwanted change in the last version. Version of tm README before mode param was added tells what the

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread Daniel-Constantin Mierla
Can you try with latest master or branch 5.4? I pushed a commit for it. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[sr-dev] git:5.4:ef86ec4a: dmq_usrloc: do not replicate socket if the field is not set:

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.4 Commit: ef86ec4afefdb1c235e0815c76ce17c63f2d20b6 URL: https://github.com/kamailio/kamailio/commit/ef86ec4afefdb1c235e0815c76ce17c63f2d20b6 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T12:29:29+02:00 dmq_usrloc: do not

[sr-dev] git:master:8891b656: dmq_usrloc: do not replicate socket if the field is not set:

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 8891b656f5d3650b83e4f877ca43068d5d6f7ff7 URL: https://github.com/kamailio/kamailio/commit/8891b656f5d3650b83e4f877ca43068d5d6f7ff7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T12:28:07+02:00 dmq_usrloc: do not

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread marcinkowalczyk
Hi Dan ``` (gdb) frame 0 #0 0x7f3b39dfca38 in usrloc_dmq_send_contact (ptr=0x7f3b3b34bf28, aor=..., action=1, node=0x7f3b3b319868) at usrloc_sync.c:749 749 srjson_AddStrToObject(, jdoc.root, "sock", ptr->sock->sock_str.s, ptr->sock->sock_str.len); (gdb) list 744

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread Daniel-Constantin Mierla
Can you get the output for next gdb commands? ``` frame 0 list p *ptr p*ptr->sock ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread marcinkowalczyk
Hi, I hope now it's ok ``` [root /]# gdb /usr/sbin/kamailio core.70775 GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to

Re: [sr-dev] [kamailio/kamailio] TOPOH error after topology hiding disabling in event_route (#2437)

2020-08-24 Thread Daniel-Constantin Mierla
I pushed a commit to remove that special Via cookie parameter. This week I will backport fixes from maser to branch 5.4 and the plan is to release 5.4.1 in the first part of next week. Reopen if still some issue there. -- You are receiving this because you are subscribed to this thread. Reply

Re: [sr-dev] [kamailio/kamailio] TOPOH error after topology hiding disabling in event_route (#2437)

2020-08-24 Thread Daniel-Constantin Mierla
Closed #2437. -- 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/2437#event-3684313728___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:06a1d20f: topoh: remove the Via cookie when skipping topoh via event route

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 06a1d20fdcae42c8f2130c547c6c6cf5fb6dce26 URL: https://github.com/kamailio/kamailio/commit/06a1d20fdcae42c8f2130c547c6c6cf5fb6dce26 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T10:22:52+02:00 topoh: remove the Via

Re: [sr-dev] [kamailio/kamailio] db_redis: Failed to allocate memory for match pattern (#2441)

2020-08-24 Thread Daniel-Constantin Mierla
Maybe @rfuchs has an opinion on this one, as he develops rtpengine module, but did also commits to db_redis. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] "debug: previous udp send returned non zero" for every log message being sent to remote server with log_custom (#2452)

2020-08-24 Thread Daniel-Constantin Mierla
Closed #2452. -- 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/2452#event-3684247636___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] "debug: previous udp send returned non zero" for every log message being sent to remote server with log_custom (#2452)

2020-08-24 Thread Daniel-Constantin Mierla
Thanks for digging further into it. The change was done to avoid looping back to the same function if the `log_custom` was set as custom logging backend in the core. However, if udp_send() fails for first message, likely to fail for saying the previous execution step failed. So I changed that

[sr-dev] git:5.4:1ecade5c: log_custom: print to stderror if sending log message fails

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: 5.4 Commit: 1ecade5cbd323e1ab45ec6f83236e1d389739d3b URL: https://github.com/kamailio/kamailio/commit/1ecade5cbd323e1ab45ec6f83236e1d389739d3b Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T10:07:27+02:00 log_custom: print to

[sr-dev] git:master:f16d046f: log_custom: print to stderror if sending log message fails

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: f16d046f6330f897b374d9bb7dab3b2ce8eab3a7 URL: https://github.com/kamailio/kamailio/commit/f16d046f6330f897b374d9bb7dab3b2ce8eab3a7 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T10:01:20+02:00 log_custom: print to

[sr-dev] git:master:a9a8aa21: modules: readme files regenerated - keepalive ... [skip ci]

2020-08-24 Thread Kamailio Dev
Module: kamailio Branch: master Commit: a9a8aa21e272d758bd96a234c4e5b98179f8b5ba URL: https://github.com/kamailio/kamailio/commit/a9a8aa21e272d758bd96a234c4e5b98179f8b5ba Author: Kamailio Dev Committer: Kamailio Dev Date: 2020-08-24T09:46:15+02:00 modules: readme files regenerated - keepalive

Re: [sr-dev] [kamailio/kamailio] Branch ordering behavior changed between v5.3 and v5.4 (#2449)

2020-08-24 Thread Daniel-Constantin Mierla
Also, maybe @juha-h can comment on this issue, being the initial developer of these functions, to see what is the expected behaviour and if there is an unwanted change in the last version. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

Re: [sr-dev] [kamailio/kamailio] coredump: dmq_usrloc sync from node in "status: disabled" (#2451)

2020-08-24 Thread Daniel-Constantin Mierla
Can you install the debug symbols package then grab again the backtrace with gdb? Because it will show details about the file and line for each frame of the backtrace. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [sr-dev] [kamailio/kamailio] ka_add_destination, ka_del_destination requires owner param (#2438)

2020-08-24 Thread Daniel-Constantin Mierla
Closed #2438. -- 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/2438#event-3684136116___ Kamailio (SER) - Development Mailing List

Re: [sr-dev] [kamailio/kamailio] ka_add_destination, ka_del_destination requires owner param (#2438)

2020-08-24 Thread Daniel-Constantin Mierla
Corresponding xml file was updated separately. Thanks! -- 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/2438#issuecomment-678963426___

[sr-dev] git:master:7284a611: keepalive: docs - documented owner parameter for add/delete functions

2020-08-24 Thread Daniel-Constantin Mierla
Module: kamailio Branch: master Commit: 7284a61125bb0cacd1adc2289af616061df03258 URL: https://github.com/kamailio/kamailio/commit/7284a61125bb0cacd1adc2289af616061df03258 Author: Daniel-Constantin Mierla Committer: Daniel-Constantin Mierla Date: 2020-08-24T09:35:19+02:00 keepalive: docs -

Re: [sr-dev] [kamailio/kamailio] acc: add to-tag for locally generated replies (#2422)

2020-08-24 Thread Daniel-Constantin Mierla
Merged #2422 into master. -- 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/2422#event-3684079764___ Kamailio (SER) - Development Mailing

Re: [sr-dev] [kamailio/kamailio] acc: add to-tag for locally generated replies (#2422)

2020-08-24 Thread Daniel-Constantin Mierla
Thanks! -- 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/2422#issuecomment-678956243___ Kamailio (SER) - Development Mailing List

[sr-dev] git:master:c5f6ff37: acc: use sent reason phrase for locally generated

2020-08-24 Thread Julien Chavanton
Module: kamailio Branch: master Commit: c5f6ff37f61f99e0ec9322d9dc3c4a48af8f1b59 URL: https://github.com/kamailio/kamailio/commit/c5f6ff37f61f99e0ec9322d9dc3c4a48af8f1b59 Author: Julien Chavanton Committer: Julien Chavanton Date: 2020-08-12T14:40:42-07:00 acc: use sent reason phrase for

[sr-dev] git:master:696df60d: Merge pull request #2422 from kamailio/jchavanton/acc_totag

2020-08-24 Thread GitHub
Module: kamailio Branch: master Commit: 696df60d3b7af852b61d072907417405122e5f1b URL: https://github.com/kamailio/kamailio/commit/696df60d3b7af852b61d072907417405122e5f1b Author: Daniel-Constantin Mierla Committer: GitHub Date: 2020-08-24T09:23:23+02:00 Merge pull request #2422 from

[sr-dev] git:master:051300e0: acc: add to-tag for locally generated replies

2020-08-24 Thread Julien Chavanton
Module: kamailio Branch: master Commit: 051300e04bb6bc24796c03f0b80fda87ab07627f URL: https://github.com/kamailio/kamailio/commit/051300e04bb6bc24796c03f0b80fda87ab07627f Author: Julien Chavanton Committer: Julien Chavanton Date: 2020-08-12T09:16:40-07:00 acc: add to-tag for locally generated