[Spce-user] mr4.1.1 ¿Problem between LB and Proxy?

Andreas Granig agranig at sipwise.com
Fri Jan 29 10:31:43 EST 2016


Hi,

You'd need to post the 401 you captured on the wire between proxy and lb
for us to see how the lb is supposed to behave.

Since the lb is acting totally stateless, it needs the correct
information where to forward a reply to in the sip message, as it
doesn't store any states.

Usually replies are routed according to the Via header, but certain
information like telling the lb which socket to use for sending the
reply is encoded in other headers. We'd need to see the message to tell
you what's going on.

Andreas

On 01/28/2016 10:31 PM, Sergio Serrano wrote:
> I'm sorry but I can't explain well. response are correct from
> 12.0.0.1:5062(Proxy) and 127.0.0.1:5060(LB) but then there is no traffic
> from public IP address of LB and public IP of subscriber. It's something
> like this:
> 
> A.A.A.A(subscriber)  -REGISTER-> B.B.B.B.(LB)
> 127.0.0.1:5060(LB) -REGISTER-> 127.0.0.1:5062(PROXY)
> 127.0.0.1:5062(PROXY) -100 TRYING-> 127.0.0.1:5062(LB)
> Here, LB doesn't send 100 TRYING to subscriber
> 127.0.0.1:5062(PROXY) -401 Unauthorized-> 127.0.0.1:5062(LB)
> Here, LB doesn't send 401 Unauthorized to subscriber
> Then subscriber resend REGISTER again
> 
> and this loop is forever. 
> 
> In kamailio-lb log I can see the message
> 2016-01-28T18:23:16.178771+01:00 sbc lb[14381]: DEBUG: <core>
> [forward.c:835]: do_forward_reply(): reply forwarded to A.A.A.A:5060,
> but LB never send reply to subscriber.
> 
> it could be possible?
> 
> Regards
> 
> Sergio
> 
> 
> El jue, 28-01-2016 a las 21:20 +0000, Marco Teixeira escribió:
>> Hi,
>>
>> Traffic between lb and proxy is on 127.0.0.1
>> Sure you can't see it with "ngrep-sip br" ?
>>
>>
>>
>> ---
>> Cumprimentos / Best regards
>>
>> Marco
>> ---
>>
>>
>> On Thu, Jan 28, 2016 at 6:27 PM, Sergio Serrano
>> <sergio.serrano at avanzada7.com <mailto:sergio.serrano at avanzada7.com>>
>> wrote:
>>> We have an installation with a extrange problem. Some subscribers,
>>> send a REGISTER from A.A.A.A, LB receive REGISTER and resend REGISTER
>>> to Proxy, the proxy send 100 Trying and 401 but with sngrep,
>>> ngrep-sip or something else I can't view responses from LB to
>>> subscriber, but in the log of LB I can see
>>> 2016-01-28T18:23:16.178771+01:00 sbc lb[14381]: DEBUG: <core> [forward.c:835]: do_forward_reply(): reply forwarded to A.A.A.A:5060
>>>
>>> It's so extrange but I trust more in tshark, ngrep than the kamailio-lb log. Anyone know if there are some configuration or bug for this behaviour?
>>>
>>> If someone could help me I will be pleasant because I can't see which is the problem.
>>>
>>> Thanks,
>>>
>>> Sergio
>>>
>>> _______________________________________________
>>> Spce-user mailing list
>>> Spce-user at lists.sipwise.com <mailto:Spce-user at lists.sipwise.com>
>>> https://lists.sipwise.com/listinfo/spce-user
>>>
>>
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://lists.sipwise.com/listinfo/spce-user
> 



More information about the Spce-user mailing list