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 travels

Invite (1)22@10.50.210.9:6574 => 10.101.237.133 - Loadbalancer
Invite (2)10.101.237.133 - Loadbalancer => 10.101.241.55 - Kamailio Proxy
Invite (3)10.101.241.55 - Kamailio Proxy => 10.101.237.133 - Loadbalancer
Invite (4)10.101.237.133 - Loadbalancer => 10.101.241.55 - Kamailio Proxy
407 Error (5)10.101.241.55 - Kamailio Proxy => 10.101.237.133 - Loadbalancer

So invite get stuck at LB 10.101.237.133, it should send invite to 11@10.50.210.9:50365 at step (4) but it sends to Proxy back instead. After this proxy replies with 407 error.

Please find full SIP trace in attachment.

Thank you!

With kind regards,

Jurijs

2015-07-21 19:18 GMT+03:00 Daniel Tryba <d.tryba@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 ideas why?

No, you'll have to debug this the usual way. Run kamailio at a highe debug
level to see what it is doing and log queries to the database. You'll have to
make captures to see how the flow op sip messages is and who is requiring
authentication.

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

The config is equal to standard in this regard. Show us your config for the
backend regarding authentication and registration.

_______________________________________________
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