I saw no errors in the log, I suppose there was a timeout, since the gateway was being disabled by the module.

On Thu, 19 Mar 2020 at 13:59, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

so for better knowing what happened -- the keepalives were not sent out before setting the socket field, when using the private socket, were there kamailio errors in the logs? Or the OPTIONS ended up in retransmission timeout?

Cheers,
Daniel

On 18.03.20 19:07, David Villasmil wrote:
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@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
phone: +34669448337

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
--
Regards,

David Villasmil
email: david.villasmil.work@gmail.com
phone: +34669448337