Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-06 Thread Emmanuel BUU
Le 2018-02-03 à 08:10, Timmo Verlaan a écrit : Upon inspection I think you should set enable_double_rr to value '2'. It will always add two record route headers. It is a small line in documentation. Interesting. I don't see how loose_route can be fixed if you only have 1 route header. It w

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Timmo Verlaan
Upon inspection I think you should set enable_double_rr to value '2'. It will always add two record route headers. It is a small line in documentation. I don't see how loose_route can be fixed if you only have 1 route header. It won't be compatible with multi homed kamailio. Kind regards, Timmo V

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Emmanuel BUU
Le 2018-02-02 à 23:12, Timmo Verlaan a écrit : Hi Emmanuel, I now understand what you're dealing with. No, we always go out over a different interface so a double header is always present. Although I'd say that enable_double_rr should always add two route headers. Even if both route headers

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Timmo Verlaan
Hi Emmanuel, I now understand what you're dealing with. No, we always go out over a different interface so a double header is always present. Although I'd say that enable_double_rr should always add two route headers. Even if both route headers are equal. As a workaround you could add the route h

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Emmanuel BUU
Hi Timmo, We do have *enable_double_rr* set to 1 but the route set added by the proxy when record_route() on the INVITE consists in a single route. This is because Alice and Bob are BOTH registered with the alternate port 5066 on the same interfacec and using the same protocol (UDP). To us, t

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Timmo Verlaan
Hi Thomas, We have a similar situation but we use double route headers so the correct egress socket is chosen. You can enable this by setting a modparam: enable_double_rr. Would this be a solution for you? Kind regards, Timmo Verlaan On 2 Feb 2018 13:57, "Thomas Carvello" wrote: > Thank you fo

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-02-02 Thread Thomas Carvello
Thank you for you answer. We have tried to change the local port for Bob, but it doesnt change anything. And the contact value in 200 OK message has no influence in this case. In fact, we have made a further investigation regarding the socket selection *and read the code. *The issue seems to

Re: [SR-Users] Issue with Socket selection on Forwarding ACK message

2018-01-26 Thread Евгений Голей
Hi Could it be because of Bob happend to use 5060 as local port? Yes, the port and the address in the ACK are indicated by what the value in Contact was in reply 200 Ok. Look at the message 200 Ok >Четверг, 25 января 2018, 13:00 +03:00 от Thomas Carvello >: > > >Hello, >i have an issue with my