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: <sip:10.101.241.55;lr;nat=yes>.
Record-Route: <sip:10.101.237.133;lr;nat=yes>.
Via: SIP/2.0/UDP 10.101.241.55;branch=z9hG4bK9f82.ae0b52341a6aa41d8f28e7f65ed9fd55.0.
Route: <sip:loadbalancer at 10.101.237.133;lr;received=sip:10.50.210.9:50365>.
Via: SIP/2.0/UDP 10.101.237.133;rport=5060;branch=z9hG4bK9f82.68623c2d6329f689d3ab43fdd3cf83c5.0.
Via: SIP/2.0/UDP 192.168.5.148:55529;received=10.50.210.9;branch=z9hG4bK.jWzhtRBsW;rport=6574.
From: <sip:22 at voipdev.mydomain.net>;tag=AZWk8e87s.
To: sip:11 at voipdev.mydomain.net.
CSeq: 21 INVITE.
Call-ID: LJoKbYM0YY.
Max-Forwards: 69.
Supported: outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO, UPDATE.
Content-Type: application/sdp.
Content-Length: 577.
Contact: <sip:22 at 10.50.210.9:6574>;+sip.instance="<urn:uuid:c1c7dbe5-7dac-4d3f-a496-af9fde38a0e7>".
User-Agent: LinphoneAndroid/2.4.1 (belle-sip/1.4.1).
Path: <sip:loadbalancer at 10.101.237.133;lr;received=sip:10.50.210.9:6574>.
.
v=0.
o=22 4026 1869 IN IP4 10.101.254.33.
s=Talk.
c=IN IP4 10.101.254.33.
b=AS:380.
t=0 0.
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics.
m=audio 46696 RTP/AVP 96 97 98 99 0 8 101 100 102.
a=rtpmap:96 opus/48000/2.
a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0.
a=rtpmap:97 SILK/16000.
a=rtpmap:98 speex/16000.
a=fmtp:98 vbr=on.
a=rtpmap:99 speex/8000.
a=fmtp:99 vbr=on.
a=rtpmap:101 telephone-event/48000.
a=rtpm
But instead of sending this Invite to: received=sip:10.50.210.9:50365 it sends back 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.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