Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
! With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba d.tr...@pocos.nl: 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 error. Do you have any

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
...@pocos.nl: 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 this part too? There you need to use path

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 d.tr...@pocos.nl: 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, 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 d.tr...@pocos.nl: On Tuesday 21 July 2015 17:59:53 Jurijs

Re: [SR-Users] Kazoo like load balancing

2015-07-23 Thread Jurijs Ivolga
to Kamailio Proxy(10.101.241.55), even if I have following line in my config. modparam(path, use_received, 1) Maybe somebody have any idea why? Thank you in advance! With kind regards, Jurijs 2015-07-21 19:18 GMT+03:00 Daniel Tryba d.tr...@pocos.nl: On Tuesday 21 July 2015 17:59:53 Jurijs Ivolga

[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

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 d.tr...@pocos.nl: On Monday 20 July 2015 13:48:30 Jurijs Ivolga wrote: But all my calls are failing, when

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
: 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 for user lookups/registration http://kamailio.org/docs/modules/stable/modules/usrloc.html#usrloc.p.matching_mode

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
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 where exactly I need to add path header? I'm using default config, with almost no changes. Just before

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
+03:00 Daniel Tryba d.tr...@pocos.nl: 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 complile working config from

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
-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 d.tr...@pocos.nl: On Tuesday 21 July 2015 11:13:15 Jurijs Ivolga wrote: My set-up

[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 =

[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

[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]:

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

2015-12-17 Thread Jurijs Ivolga
mited' executed 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 wrote:

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: [SR-Users] Kamailio crashing after comparing AVP with string

2016-01-07 Thread Jurijs Ivolga
this is 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 <jurij@gmail.com>: > Hi, > > Just quick question, before sending some more debug info. > > I just figured out that issue is related to

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 Ivolga

[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",

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

2016-06-17 Thread Jurijs Ivolga
With kind regards, Jurijs On Fri, Jun 17, 2016 at 9:48 AM, Olle E. Johansson <o...@edvina.net> wrote: > > On 16 Jun 2016, at 12:05, Jurijs Ivolga <jurijs.ivo...@gmail.com> wrote: > > Hi All, > > I tried today new module http_client. I just made GET request us

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 <jurijs.ivo...@gmail.com> wrote: > Hi All, > > I tried today new module http_client. I just made GET request using > http_client_quer

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

2016-01-29 Thread Jurijs Ivolga
gt; > On 29 Jan 2016, at 16:03, Jurijs Ivolga <jurij@gmail.com> wrote: > > Hi Baris, > > Could you please send full Kamailio config file? As I see call is not > routed to Freeswitch for some reason. Maybe you don't have following lines > in your config: > > #!i

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

2016-01-29 Thread Jurijs Ivolga
I added as Terminal Output) so 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. >

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

2016-01-29 Thread Jurijs Ivolga
t; To: sr-users@lists.sip-router.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

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

2016-01-29 Thread Jurijs Ivolga
loglevel 7 > +OK log level 7 [7] > +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 <jurij@gmail.com> wrote: &

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

2016-01-29 Thread Jurijs Ivolga
t nothing found. > > Is there anything to do in this case? > > Regards. > > On 29 Jan 2016, at 13:37, Jurijs Ivolga <jurij@gmail.com> wrote: > > div dir="ltr"> > Hi, > > Kamilio logs should be in standard output, so basically in console, keep >

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 >

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

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 <abalas...@evaristesys.com>: > 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) Kamai

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

2016-02-01 Thread Jurijs Ivolga
> > > On 29 Jan 2016, at 14:25, Jurijs Ivolga <jurij@gmail.com> wrote: > > Hi Baris, > > Standard output means your screen where you putting your commands, like > reboot. > > http://www.linfo.org/standard_output.html > > Kamilio writes logs, when not i

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

2016-02-01 Thread Jurijs Ivolga
ice failed. See 'systemctl status kamailio.service' and > 'journalctl -xn' for details. > failed! > > I think configuration file contains wrong things. > > Regards. > > On 01 Feb 2016, at 11:42, Jurijs Ivolga <jurij@gmail.com> wrote: > > > > > > __

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

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

2016-02-01 Thread Jurijs Ivolga
lio systemd[1]: Unit kamailio.service entered > failed state. > Hint: Some lines were ellipsized, use -l to show in full. > > On 01 Feb 2016, at 13:13, Jurijs Ivolga <jurij@gmail.com> wrote: > > systemctl status kamailio.service > > > >

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

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

2016-07-27 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

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

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
rary > (e.g., 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, provid

[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

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
get the 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
l for libssl. What operating system 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 ar

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 > same 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 "

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
wrote: > Hello, > > 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: > >

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
gt; 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 > will have same issue. > > ht

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
regards, Jurijs On Wed, Oct 12, 2016 at 4:47 PM, Daniel-Constantin Mierla <mico...@gmail.com > 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 wrot

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
ave 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 log

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 <jurijs.ivo...@gmail.com> 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

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
l requests or other suggestions 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 updatin