[SR-Users] OPTIONS sent from the wrong IP

David Villasmil david.villasmil.work at gmail.com
Thu Mar 19 15:56:45 CET 2020


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 at 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 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
>>
>> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
>
> --
Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200319/3436a7e7/attachment.html>


More information about the sr-users mailing list