[SR-Users] answer back from wrong IP / Interface

Mihaly Zachar zmihaly at gmail.com
Sat Jun 27 23:53:20 CEST 2015


Hi Gents,

It turned out that it ran with a wrong config and it was bounded to 0.0.0.0.

In this case the source IP is based on the routing decision, I can
reproduce it.

I think Kamailio should be smarter in this case.

Thanks anyway.

Cheers,
Mitya


On 06/26/2015 07:22 PM, Mihaly Zachar wrote:
> Hi Gents,
> 
> We have a redirect server based on Kamailio (4.2.3).
> 
> The server has multiple IPs, but Kamailio is bound to only one address:
> 
> http://view.xscreenshot.com/9dfdf449a387bdc6f9a719eae3620416
> 
> 
> *Sometimes* it answers back from a wrong IP address, here is the proof:
> 
> http://view.xscreenshot.com/ac661d6b303eda6653b37be7cf65aa65
> 
> The interesting thing is that if I do:
> 
> root at tralab-route-01:~# ip ro get 10.121.24.51
> 10.121.24.51 via 10.121.43.30 dev vlan486  src 10.121.43.17
>     cache  ipid 0x05ad
> root at tralab-route-01:~#
> 
> So the 10.121.43.17 IP is selected, but I *do* expect that Kamailio send
> back the answer from the same socket where it got the request.
> 
> What could be the issue ?
> Why does it do that *sometimes* ? In the majority of the time it works
> well..
> I am not sure why this happens...
> 
> Thanks,
> Mitya
> 




More information about the sr-users mailing list