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.

Do you have any ideas why?

Maybe you can give me more details about config on Kamailio server behind LB?

Additionally I can see that path details are written to DB, so this part is working. :)

Thank you in advance!

With kind regards,

Jurijs


2015-07-21 14:32 GMT+03:00 Daniel Tryba <d.tryba@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 for register and ursloc:

modparam("registrar", "use_path", 1)
modparam("registrar", "path_mode", 1)
modparam("registrar", "path_use_received", 1)

modparam("usrloc", "matching_mode", 2)

The rest is unaltered from my usual config, apart from custom business logic
the only alteration is to force rtpproxy for all calls.

But beware, I'm not using any of this loadbalancing setup yet in production. I
want to do more testing (but haven't gotten around to it yet)

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users