<div dir="ltr"><div><div>Hi Daniel,<br><br></div>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.<br><br></div><div>So basically extension 100 sends invite to LB, LB then send invite to Kamailio server and Kamailio server replies with 407 error.<br></div><div><br></div><div>Do you have any ideas why?<br><br></div><div>Maybe you can give me more details about config on Kamailio server behind LB?<br><br></div><div>Additionally I can see that path details are written to DB, so this part is working. :)<br><br></div><div>Thank you in advance!<br><br></div><div>With kind regards,<br><br></div><div>Jurijs<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-21 14:32 GMT+03:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday 21 July 2015 14:14:29 Jurijs Ivolga wrote:<br>
> I believe I need to add some config to my Kamailio servers what are behind<br>
> Load-balancer too, so all communication should be send via Loadbalancer.<br>
><br>
> Maybe you can give me a hint about this part too?<br>
<br>
There you need to use path for register and ursloc:<br>
<br>
modparam("registrar", "use_path", 1)<br>
modparam("registrar", "path_mode", 1)<br>
modparam("registrar", "path_use_received", 1)<br>
<br>
modparam("usrloc", "matching_mode", 2)<br>
<br>
The rest is unaltered from my usual config, apart from custom business logic<br>
the only alteration is to force rtpproxy for all calls.<br>
<br>
But beware, I'm not using any of this loadbalancing setup yet in production. I<br>
want to do more testing (but haven't gotten around to it yet)<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>