[SR-Users] OPTIONS sent from the wrong IP

David Villasmil david.villasmil.work at gmail.com
Wed Mar 18 19:07:17 CET 2020


Hello Daniel,

No, there’s no routing to public from the private IP. It should go out via
the public.

I have not tried that, never had the need :)

Using the socket worked nicely, thanks!

David



On Wed, 18 Mar 2020 at 16:15, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Hello,
>
> do you have IP routes from the first IP to the destination? Or the
> keepalive fails, not being sent out?
>
> Also, have you tried setting the socket attribute per destination?
>
> Cheers,
> Daniel
> On 18.03.20 17:09, David Villasmil wrote:
>
> Hello,
>
> It seems kamailio is selecting the local ip wrongly when selecting the
> socket with which to send out OPTIONS.
>
> This is 5.2.3, and i have multiple IPs
>
> Listen=ip1 (private)
> Listen=ip2 (public)
>
> And when the options goes out, it goes via the first ip instead of the one
> through which it can reach the OPTIONS destination (public IP). I have
> mhomed=1 set
>
> This is using dispatcher.
>
> Has anyone seen this behaviour?
>
> Thanks all
>
> David
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> phone: +34669448337
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200318/5d15a29e/attachment.html>


More information about the sr-users mailing list