Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-03-03 Thread Liviu Chircu
I have committed the above-mentioned patch. It basically forces you to do a modparam("db_http", "cap_raw_query", 1), otherwise OpenSIPS won't start. If there are any more issues, please re-open this thread. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensi

Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-03-03 Thread Liviu Chircu
Closed #405. --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/405#event-245262432___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-02-23 Thread Liviu Chircu
UPDATE (this will be funny, fixed in OpenSIPS 2.1): Make sure "loadmodule db_http.so" and its modparams are placed before "loadmodule avpops.so". This should at least provide a crash-free environment! --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/iss

Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-02-23 Thread Liviu Chircu
The bug is apparently obvious, and a fix is on its way. Before applying the fix however, could you please re-test this: "modparam("db_http", "cap_raw_query", 1)" It really should solve the problem. Although it's masking the real issue underneath, it should at least prevent the crash from hap

Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-02-21 Thread apsaras
Hello Bogdan No I do not have. The problem solved by changing at db_http.c the line int cap_raw_query = 0; to int cap_raw_query = 1; Even if I set raw query at the opensips.conf it seems to be ignored. Regards --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/

Re: [OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-02-03 Thread Bogdan Andrei IANCU
Hi @apsaras , do you get any core file on this crash ? --- Reply to this email directly or view it on GitHub: https://github.com/OpenSIPS/opensips/issues/405#issuecomment-72695370___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/c

[OpenSIPS-Devel] [opensips] OpenSIPs Crash when using db_http module (#405)

2015-01-29 Thread apsaras
Hi I have the following env Debian 64bit OpenSIPs 1.11.3-notls I am using MemCached and db_http in order to resolve number portability with the following script modparam("avpops", "db_url", "5 http://x.x.x.x/services";) modparam("avpops","avp_table","GetNumberRouting") modparam("cachedb_memcach