Re: [SR-Users] Kazoo like load balancing

2015-07-23 Thread Jurijs Ivolga
Hi, Strange part that my LB receives invite with Route header: U 2015/07/22 10:46:19.531380 10.101.241.55:5060 -> 10.101.237.133:5060 INVITE sip:11 at 10.50.210.9 :50365 SIP/2.0. Record-Route: . Record-Route: . Via: SIP/2.0/UDP 10.10

Re: [SR-Users] Kazoo like load balancing

2015-07-22 Thread Jurijs Ivolga
Hi Daniel, First of all, thank you for your help! Below you can find more detailed info: I have following infrastructure: 22@10.50.210.9:6574 - UAC 11@10.50.210.9:50365 - UAC 10.101.237.133 - Loadbalancer Kamailio 10.101.241.55 - Kamailio Proxy, where UACs are registered So this is how Invite

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 with 407 error. > > > > D

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 Ivolga wrote: > > S

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread 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 error. > > Do you have any ideas why? No, you'll have to debug this the usual way. Run kamailio at a highe debug le

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, I'm still not able to make a call, now I'm getting "SIP/2.0 407 Proxy Authentication Required" from Kamailio server which is behind Load-balancer server. So basically extension 100 sends invite to LB, LB then send invite to Kamailio server and Kamailio server replies with 407 error. D

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread 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 this part too? There you need to use path for regist

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, Thank you a lot! 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? Thank you a lot! With kind regards, Jurijs 2015-07-21 13:12 GMT+03

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread 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 complile working config from short code snippets. :) See attachment

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel, 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 short code snippets. :) You mentioned that you have 2 load-balancer. Does this 2 load-

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 08:36:49 Adam Romanek wrote: > Does this assume that both Kamailios are connected to the same MySQL > database? Yes. > I must admit I don't understand how it should work. What's the > background behind this technique with "path"? RTF RFC: https://tools.ietf.org/html/rfc

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Daniel Tryba
On Tuesday 21 July 2015 11:13:15 Jurijs Ivolga wrote: > My set-up is working as it is with default settings, when 2 servers share > same DB in case if our subscribers do not use NAT. > > If subscribers are behind NAT, then in this case such set-up will not work, > as described here: > > http://kb

Re: [SR-Users] Kazoo like load balancing

2015-07-21 Thread Jurijs Ivolga
Hi Daniel & Adam, First of all I would like to apologies for mess. My set-up is working as it is with default settings, when 2 servers share same DB in case if our subscribers do not use NAT. If subscribers are behind NAT, then in this case such set-up will not work, as described here: http://k

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Adam Romanek
Hi Daniel, Does this assume that both Kamailios are connected to the same MySQL database? I must admit I don't understand how it should work. 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

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Daniel Tryba
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 the save() like in http://lists.sip-router.org/pipermail/sr-users/2015-April/087872.html > Additionally it

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Jurijs Ivolga
Hi, Thank you for your help! In my case i have 2 servers: 192.168.100.1 & 192.168.100.2 Both of this servers have one domain name voip.bla.com No load-balancer is used. I can register to any of this server with user 1...@voip.bla.com and 2...@voip.bla.com Call is failing when I'm trying to cal

Re: [SR-Users] Kazoo like load balancing

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

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 failing, when clients are

Re: [SR-Users] Kazoo like load balancing

2015-07-20 Thread Daniel Tryba
On Monday 20 July 2015 13:48:30 Jurijs Ivolga wrote: > But all my calls are failing, when clients are registered to different > servers with error "404 Not Found". Maybe somebody can give me a hint how > to make this work. Use Path: http://lists.sip-router.org/pipermail/sr-users/2015-April/087872

[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