Re: [SR-Users] command out of sync with db_cluster and db_mysql

2019-04-11 Thread Boden Garman
Hi Simone, Not really an answer to the db_cluster issue but I use MariaDB's Maxscale for managing connections to the a Galera cluster, maybe you can try that instead if you can't solve the problem. On Thu, 11 Apr 2019, at 10:31 PM, Simone Lazzaris wrote: > Hi everybody; > I'm trying to use

[SR-Users] kamailio, asterisk and BLF seems its only using json?

2019-04-11 Thread PICCORO McKAY Lenz
hi, i try to follow the how to in the wiki https://kb.asipto.com/kamailio:presence:k43-blf and configure my two only phones.. but for any states only one led its blinking, the busy state.. no other state work, (if i connect directly to asterisk all work perfeclty, i using asterisk 13 with

[SR-Users] Via shows wrong protocol of Kamailio

2019-04-11 Thread Andrew Chen
Hi all, Got another anomaly in 4.1.5. I have this block of code which does t_relay_tcp: if ($var(isTpgw) == 1) { xlog("L_INFO","[$ci][$mi][CSeq $cs] isTpgw = $var(isTpgw)"); if (!t_relay_to_tcp()) {

[SR-Users] having issue updating $td

2019-04-11 Thread Andrew Chen
Hey guys, Question. I have this block of code at the beginning of route block: if(is_ip($td)) { xlog("L_INFO", "[$ci][$mi][CSeq $cs] IP detected in To domain. Resolving. \n"); exec_avp("host $td | awk '{print substr($$5, 1, length($$5)-1)}'",

Re: [SR-Users] [sr-dev] Kamailio stop to process incoming SIP traffic via TCP.

2019-04-11 Thread Daniel-Constantin Mierla
Hello, thanks for working on this and providing the workaround solution with preloaded symbols. I would suggest that you push it to master, to make it easier to deploy and test. There is a change I would do: install the openssl_mutex_shared via Makefile from tls module, not from the main

Re: [SR-Users] Kamailio stop to process incoming SIP traffic via TCP.

2019-04-11 Thread Richard Fuchs
Hi, (X-posted to sr-dev as this is getting into the nitty gritty) As a short-term workaround for this, I've been playing with the preloaded library approach to hijack the pthread mutex calls and force them to provide process-shared mutexes. AFAICT this seems to be working and only has the

Re: [SR-Users] command out of sync with db_cluster and db_mysql

2019-04-11 Thread Simone Lazzaris
In data giovedì 11 aprile 2019 14:29:22 CEST, Simone Lazzaris ha scritto: > > Apr 11 14:21:31 ERROR: db_mysql [km_dbase.c:127]: db_mysql_submit_query(): > driver error on query: Commands out of sync; you can't run this command now > (2014) Apr 11 14:21:31 ERROR: [db_query.c:132]: >

[SR-Users] command out of sync with db_cluster and db_mysql

2019-04-11 Thread Simone Lazzaris
Hi everybody; I'm trying to use db_cluster to connect my kamailio installation to a mariadb galera cluster, and it's driving me crazy. In my lab it works without issues, but when I try the setup in the production node, I get some strange errors: Apr 11 14:21:31 ERROR: db_mysql

[SR-Users] Kamailio v5.1.8 Released

2019-04-11 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v5.1.8 stable release is out. This is a maintenance release of the previous stable branch, 5.1, that includes fixes since the release of v5.1.7. There is no change to database schema or configuration language structure that you have to do on previous installations of

Re: [SR-Users] Releasing Kamailio v5.1.8

2019-04-11 Thread Daniel-Constantin Mierla
Hello, short note to remind that 5.1.8 will be released today. Any commits to branch 5.1 should be announced on sr-dev mailing list or irc channel to avoid conflicts with release build process. Once the announcement is out, commits can go in the branch as ususal. Cheers, Daniel On 09.04.19