Re: [SR-Users] Failed to find command http_client_query

2017-12-11 Thread Daniel-Constantin Mierla
Hello, I looked at some point but couldn't find a reason, then I was caught with other tasks and couldn't get back to check more. Anyhow, in master and 5.1 branches I added more details in the logs messages when the query fails. Can you test with 5.1 and see if it can be reproduced and if yes,

Re: [SR-Users] Failed to find command http_client_query

2017-12-04 Thread Alexandru Covalschi
Hello, Wanted to ask if you found something Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 24 нояб. 2017 г., в 22:19, Alexandru Covalschi <568...@gmail.com> написал(а): > > Hello, sharing whole config except vars.cfg file,

Re: [SR-Users] Failed to find command http_client_query

2017-11-24 Thread Daniel-Constantin Mierla
Hello, can you provide here all the http_client_query(...) you have in your config and list in which route block are they used (like request_route, failure_route, ...)? You can replace IP addresses, usernames, passwords with other strings, but if you use any kamailio variables (e.g. $rU), let

Re: [SR-Users] Failed to find command http_client_query

2017-11-23 Thread Alexandru Covalschi
sip:172.21.0.14:5060 is the local address of the server, it seems like a bug in http_client, as I don't have such http_query call anywhere :/ just re-checked Also the fact that it works perfectly on 4.4.6 tells that it's not a configuration issue Alexandru

Re: [SR-Users] Failed to find command http_client_query

2017-11-23 Thread Daniel-Constantin Mierla
There was a mistake in the exports structure, the name of the function with 4 parameter was http_query instead of http_client_query. I pushed a patch to fix it. Then, related to the issue with cannot resolve the host, the debug messages show an invalid http url being used: Nov 21 04:18:20 ast1

Re: [SR-Users] Failed to find command http_client_query

2017-11-22 Thread Alexandru Covalschi
Just wanted to ask if you need my help to test/check/etc. Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 21 нояб. 2017 г., в 11:58, Alexandru Covalschi <568...@gmail.com> написал(а): > > Kamailio is actually starting, please

Re: [SR-Users] Failed to find command http_client_query

2017-11-21 Thread Alexandru Covalschi
Kamailio is actually starting, please take a look at that debug=4 log file: https://filebin.net/r54y3jkmzdyk9zak/syslog_http_client_query_failed.txt at line 1042 http_client module is successfully loading, but at line

Re: [SR-Users] Failed to find command http_client_query

2017-11-21 Thread Daniel-Constantin Mierla
But then kamailio is not starting, or? Can you provide all the error message as they are printed in syslog file? File, line and other details are part of the logs message, allowing to identify the location in the source code where that happens ... Cheers, Daniel On 21.11.17 09:38, Alexandru

Re: [SR-Users] Failed to find command http_client_query

2017-11-21 Thread Alexandru Covalschi
It is still one of the issues Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 21 нояб. 2017 г., в 9:40, Daniel-Constantin Mierla > написал(а): > > Hello, > > in your email in this thread, you said: > > >

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Daniel-Constantin Mierla
Hello, in your email in this thread, you said: > When I try to change http_query to http_client_query it fails to load with  error "failed to find command http_client_query". Is it still the case, or that was sorted out? Cheers, Daniel On 20.11.17 22:43, Alexandru Covalschi wrote: > Works ok

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
Works ok on 4.4.6. So I suppose it's a weird 5.0.4 + my environment bug. I'm rolling back to 4.4.6 right now, will keep one 5.0.4 machine for testing (on debian 9) Let me know if I can provide any dumps/cores etc. Alexandru Covalschi VoIP Engineer and System

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
So the weirdest thing is Kamailio actually sends the request, but it returns curl error 6 in the answer variable. I have a plenty of clonned servers and same behaviour is on all of them, also just now tried on a fresh debian 9 - same result. I'm inside a virtual machine (vmware), but not sure

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
I often get WARNING: http_client [functions.c:281]: curL_query_url(): Couldn't resolve host, while I don't even use hostnames. After I changed IP address to hostname (which I've added into /etc/hosts) nothing changed. It seems like a weird bug, but I've no idea - is it CURL or kamailio, but

Re: [SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
To be specific - it actually loads with http_client, but works not really well - I get empty body even when I see there's a body in sngrep Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 20 нояб. 2017 г., в 21:58, Alexandru

[SR-Users] Failed to find command http_client_query

2017-11-20 Thread Alexandru Covalschi
Hello everyone, Updated to 5.0.4 from repo, up-to-date debian 8, http_client.so is certainly loaded. When I try to change http_query to http_client_query it fails to load with error "failed to find command http_client_query". Any ideas? It is same on all my test servers.