Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-11-07 Thread Jurijs Ivolga
/community/questions/how-to- > upgrade-curl-in-centos6 > > With kind regards, > > Jurijs > > On Tue, Oct 11, 2016 at 2:43 PM, Jurijs Ivolga > wrote: > >> Hi Daniel, >> >> You are correct we are using heavily http_query. >> >> I found foll

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-21 Thread Jurijs Ivolga
kind regards, Jurijs On Wed, Oct 12, 2016 at 4:47 PM, Daniel-Constantin Mierla wrote: > Hello, > > thanks -- coming in my mind now, xcap_client should use also the curl > library. > Cheers, > Daniel > > > On 12/10/16 15:35, Jurijs Ivolga wrote: > > Hi Daniel

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-12 Thread Jurijs Ivolga
ns are welcome, of course! > > Cheers, > Daniel > > On 12/10/16 15:04, Jurijs Ivolga wrote: > > Hi Daniel, > > Thank you a lot, it looks that issue is solved, after updating libcurl. > > I was using following manual for updating libcurl, in case if somebody > wil

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-12 Thread Jurijs Ivolga
, Oct 11, 2016 at 2:43 PM, Jurijs Ivolga wrote: > Hi Daniel, > > You are correct we are using heavily http_query. > > I found following bug report: > > https://bugs.centos.org/view.php?id=9391 > > I will try to update to libcurl 7.44 and check if this help. > > Than

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-11 Thread Jurijs Ivolga
you have utils and I guess you use > http query function from there, is it? > > Cheers, > Daniel > > On 10/10/16 12:06, Jurijs Ivolga wrote: > > Hi Daniel, > > I left valgrind running for little while, not sure if this will be enough. > > Please find attached

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-07 Thread Jurijs Ivolga
OOM. > > Cheers, > Daniel > > On 07/10/16 09:27, Jurijs Ivolga wrote: > > Hi Daniel, > > openssl.x86_64 > 1.0.1e-48.el6_8.1 > CentOS release 6.8 > > With kind regards, > > Jurijs > > On Fri, Oct 7, 2016 at 10:20 AM, Daniel-Constantin Mierla < >

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-07 Thread Jurijs Ivolga
m do you use and what is the > libssl version? > > Cheers, > Daniel > > On 06/10/16 17:43, Jurijs Ivolga wrote: > > Hi Daniel, > > I do not use puke.top rpc command. Maybe this issue related to TLS? > Servers what has this problem are utilizing TLS heavily, se

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
> are you using pike.top rpc command? I noticed in the code that it uses > system malloc, but I haven't investigated further yet, first to see if this > would be a possibility ... > > Cheers, > Daniel > > On 06/10/16 16:33, Jurijs Ivolga wrote: > > Hi Daniel, > &g

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
version of libjansson everywhere? > > Cheers, > Daniel > On 06/10/16 13:46, Jurijs Ivolga wrote: > > Hi Daniel, > > This modules what we are using: > > loadmodule "mi_fifo.so" > loadmodule "kex.so" > loadmodule "corex.so" > l

Re: [SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-06 Thread Jurijs Ivolga
., libxml2) by a kamailio module or because of a problem in the library. > > Can you list the modules used in your config (the loadmodule lines)? I > will try to guess from the list which one relying on external libs with > higher risk of leak issues. > > Also, provide the version of kamail

[SR-Users] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB

2016-10-04 Thread Jurijs Ivolga
Hi, Our Kamailio server is crashing once per week, with following error: Oct 1 06:25:06 kamailio kernel: [26982632.803789] Out of memory in UB 210: OOM killed process 12261 (kamailio) score 0 vm:1614768kB, rss:280200kB, swap:131408kB Core dump was never created, probably it is because of my env

Re: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Jurijs Ivolga
Hi, I'm not sure about Centos 7, but on Centos 6, you need to update kamailio init.d script to make it work. Following lines should be updated: KAM=/usr/local/sbin/kamailio KAMCFG=/usr/local/etc/kamailio/kamailio.cfg PROG=kamailio PID_FILE=/var/run/kamailio/kamailio.pid And you need to create dir

Re: [SR-Users] Kamailio LB: how to get Asterisk to do the RTP

2016-07-26 Thread Jurijs Ivolga
Hi Tickling, Could you please share with us your working config? With kind regards, Jurijs On Wed, Jul 27, 2016 at 8:54 AM, SamyGo wrote: > Hi Again, > > You need to enable NAT handling in your Kamailio (#!define WITH_NAT), then > depending upon how your clients will interact with asterisk yo

Re: [SR-Users] http_client module configuring User-Agent

2016-06-17 Thread Jurijs Ivolga
t"); With kind regards, Jurijs On Fri, Jun 17, 2016 at 9:48 AM, Olle E. Johansson wrote: > > On 16 Jun 2016, at 12:05, Jurijs Ivolga wrote: > > Hi All, > > I tried today new module http_client. I just made GET request using > http_client_query in following way: &

Re: [SR-Users] http_client module configuring User-Agent

2016-06-16 Thread Jurijs Ivolga
Hi, It looks like this is a bug. I created pull request with a fix. With kind regards, Jurijs On Thu, Jun 16, 2016 at 1:05 PM, Jurijs Ivolga wrote: > Hi All, > > I tried today new module http_client. I just made GET request using > http_client_query in following way: > >

[SR-Users] http_client module configuring User-Agent

2016-06-16 Thread Jurijs Ivolga
Hi All, I tried today new module http_client. I just made GET request using http_client_query in following way: http_client_query("http://cool.api.com";, "$var(result)"); It is working, but I can't see User-Agent in request. Below you can find my module options: modparam("http_client", "userage

Re: [SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Jurijs Ivolga
Hi, I would recommend you to take a look on path module: http://kamailio.org/docs/modules/1.4.x/path.html I think this is what you need. With kind regards, Jurijs 2016-03-01 12:02 GMT+02:00 Anton Tonev : > Hello everybody, > > I am a new user of Kamailio (4.3.1), I am working with it since 1-

Re: [SR-Users] Kamailio Cluster

2016-02-03 Thread Jurijs Ivolga
Hi, If you have following: UA A > Kamilio 1 UA B > Kamailio 2 With path you just make sure that all calls are routed to that server where UA initially registered. So if UA A is calling UA B, call will go in such way: UA A=> Kamilio 1 => Kamailio 2 => UA B. I hope I answered your quest

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-02-01 Thread Jurijs Ivolga
ervice entered > failed state. > Hint: Some lines were ellipsized, use -l to show in full. > > On 01 Feb 2016, at 13:13, Jurijs Ivolga wrote: > > systemctl status kamailio.service > > > > ___ > SIP Express Router

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-02-01 Thread Jurijs Ivolga
o.service' and > 'journalctl -xn' for details. > failed! > > I think configuration file contains wrong things. > > Regards. > > On 01 Feb 2016, at 11:42, Jurijs Ivolga wrote: > > > > > > ___ >

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-02-01 Thread Jurijs Ivolga
, 2016-01-29 14:39 GMT+02:00 Barış Şekerciler : > Hello thanks, > > Log file in attachment (I added as Terminal Output) so it contains > daemon.log and syslog in the same file. You can see the terminal commands > with relations. > > Regards. > > > > On 29 Jan 2

Re: [SR-Users] Kamailio Cluster

2016-02-01 Thread Jurijs Ivolga
Hi Alex, You are right. :) With kind regards, 2016-02-01 10:09 GMT+02:00 Alex Balashov : > On 02/01/2016 02:59 AM, Jurijs Ivolga wrote: > > I think you need to make record routing, so it will keep initial(to what >> user registered) Kamailio in signaling path. >> > &

Re: [SR-Users] Kamailio Cluster

2016-02-01 Thread Jurijs Ivolga
Hi, I think you need to make record routing, so it will keep initial(to what user registered) Kamailio in signaling path. I hope it will helps. With kind regards, Jurijs 2016-02-01 9:33 GMT+02:00 Gholamreza Sabery : > Thank you so much Alex. I tried REGISTER replication and DM_MODE 3. But my

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
-freeswitch-1.0.6d-sbc I believe it should work as it is. With kind regards, 2016-01-29 16:11 GMT+02:00 Barış Şekerciler : > Hello Jurijs, > Here the kamailio.cfg file: > http://paste2.org/HZwskVbJ > > So I already added these lines. > > Regards. > > On 29 Jan 2016, at 16:03, J

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
o it contains > daemon.log and syslog in the same file. You can see the terminal commands > with relations. > > Here is the log file content: > http://paste2.org/AwNINLtm > > It was too big and I could not send by mail. > > Regards. > > > On 29 Jan 2016, at 14:25, J

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
ything to do in this case? > > Regards. > > On 29 Jan 2016, at 13:37, Jurijs Ivolga wrote: > > div dir="ltr"> > Hi, > > Kamilio logs should be in standard output, so basically in console, keep > in mind that you need to restart kamailio after updating kamail

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
> +OK console log level set to DEBUG > > And I added #!define WITH_DEBUG line on Kamailio configuration file. So, > where does it write logs? > > Regards. > > On 29 Jan 2016, at 12:59, Jurijs Ivolga wrote: > > Hi Baris, > > On freeswitch: > /usr/local/fr

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
org > Subject: Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest > > Hello Jurjis, thanks for your answer. > > I did not try default IVR with Freeswitch. But I will try and write. > > Regards. > > On 29 Jan 2016, at 11:32, Jurijs Ivolga wrote: > > Hi Baris,

Re: [SR-Users] Kamailio v4.3 and Freeswitch Stable Latest

2016-01-29 Thread Jurijs Ivolga
Hi Baris, Are you able to dial into Freeswitch default IVR(5000 ext)? It will helps if you send logs from Kamailio and freeswitch. With kind regards, 2016-01-29 11:14 GMT+02:00 Barış Şekerciler : > Thanks for answer Phill. Actually I did not apply any different > configuration than digetics in

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2016-01-07 Thread Jurijs Ivolga
rare case, but I think it is a bug. :) Please help. :) Thank you! With kind regards, Jurijs 2015-12-17 12:25 GMT+02:00 Jurijs Ivolga : > Hi, > > Just quick question, before sending some more debug info. > > I just figured out that issue is related to dispatcher list, I'

Re: [SR-Users] kamailio as simple sip forwarder / gateway / proxy

2015-12-17 Thread Jurijs Ivolga
Hi Peter, I created simple config for freeswitch+kamailio set-up, where everything including registration is handled by Freeswitch(PBX) and you can try to use it, maybe this is what you need. https://github.com/os11k/dispatcher I never tested in in prod, so use it on your own risk. With kind re

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
Hi Daniel, Please find attached backtrace. I believe something is wrong with attributes, when I'm using text file for dispatcher list. When there is nothing in attributes, everything work fine. Please let me know if you need anything else. Thank you! 2015-12-17 12:25 GMT+02:00 Jurijs I

Re: [SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
in the terminal > before starting kamailio. You should get a corefile and then get the output > of 'bt full' in the gdb (gdb /path/to/kamailio /path/to/corefile). Send the > output here to investigate it. > > Cheers, > Daniel > > On 17/12/15 09:41, Jurijs Ivolga wr

[SR-Users] Kamailio crashing after comparing AVP with string

2015-12-17 Thread Jurijs Ivolga
Hi, I have weird behavior, when I'm trying to compare AVP with string: if ($avp(AVP_ATTRS) != "bla") { ds_next_dst(); } $avp(AVP_ATTRS) contains Dispatcher attribute. Kamailio crashes: Dec 17 03:39:30 /usr/local/sbin/kamailio[4844]: CRITICAL: [pass_fd.c:275]: receive_f

[SR-Users] Installing 4.3 version from git

2015-12-07 Thread Jurijs Ivolga
Hi all, I'm trying to install 4.3 version from git as described here: http://www.kamailio.org/wiki/install/4.3.x/git As far as I understood latest stable version is 4.3.3, but after installing from git I'm getting 4.3.4 version which is I believe is development version. kamailio -version versio

[SR-Users] If we print out $fu, $fU & $fd on onsend_route, it prints out incorrect values.

2015-12-04 Thread Jurijs Ivolga
Hi all, I opened a bug here: https://github.com/kamailio/kamailio/issues/430 But then I was advised to write to mailing list. In nutshell: I'm running Kamailio 4.3.3. When I'm trying to update $ru, $fu & $fd in Kamailio conf: $rU = "1000"; $fu = "sip:someth...@mydomain.com"; $fd = "newdomain.

Re: [SR-Users] Kazoo like load balancing

2015-07-23 Thread Jurijs Ivolga
idea why? Thank you in advance! With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > > So basically extension 100 sends invite to LB, LB then send invite to > > Kamailio server and Kamailio server replies with

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
achment. Thank you! With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > > So basically extension 100 sends invite to LB, LB then send invite to > > Kamailio server and Kamailio server replies with 407

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi, And attachment. :) With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga wrote: > > So basically extension 100 sends invite to LB, LB then send invite to > > Kamailio server and Kamailio server replies

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi, Please find my config in attachment. I'm using default config, with minor changes. Please let me know if you need any additional info for debugging this issue. With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 17:59:53 Jurijs Ivol

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Daniel Tryba : > On Tuesday 21 July 2015 14:14:29 Jurijs Ivolga wrote: > > I believe I need to add some config to my Kamailio servers what are > behind > > Load-balancer too, so all communication should be send via Loadbalancer. > > > > Maybe you can give me a hint about

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
+03:00 Daniel Tryba : > On Tuesday 21 July 2015 12:45:02 Jurijs Ivolga wrote: > > Maybe you can share with me full config of your load-balancer? It will be > > really nice if I can take a look on it. I'm very new in kamailio and for > me > > is very difficult to compl

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
load-balancers share one domain-name? I was thinking to use dispatcher module for load balancing. Do you use dispatcher module in your config? With kind regards, Jurijs 2015-07-21 12:25 GMT+03:00 Daniel Tryba : > On Tuesday 21 July 2015 11:13:15 Jurijs Ivolga wrote: > > My set-up is

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
. What's the background > behind this technique with "path"? > > Best regards, > Adam Romanek > > On 20.07.2015 18:15, Daniel Tryba wrote: > >> On Monday 20 July 2015 17:11:38 Jurijs Ivolga wrote: >> >>> Could you please let me know

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
you! 2015-07-20 16:31 GMT+03:00 Daniel Tryba : > On Monday 20 July 2015 16:02:00 Jurijs Ivolga wrote: > > But could you please provide more info? > > > > Should I add add_path() before if (!save("location"))? > > Path is a module you can use fo

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, I'm very sorry. :) But could you please provide more info? Should I add add_path() before if (!save("location"))? With kind regards, Jurijs 2015-07-20 14:04 GMT+03:00 Daniel Tryba : > On Monday 20 July 2015 13:48:30 Jurijs Ivolga wrote: > > But all my calls are f

[SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, First of all I would like to mention, that I'm very new to Kamailio. :) My target is to create simple load-balancing similar what have Kazoo, basically 2 servers will share same domain name. I installed 2 Kamailio 4.3 servers and configured this 2 servers with one domain address. I used almost