Work in progress - no longer use sip2.linphone.org as outbound proxy. This is causing issues.
Indeed, many tester are using sip.example.org and REGISTER to this domain. However, the flexisip server advertises itself as "sip2.linphone.org" in Record-Routes. This causes ACK to be delayed, because a DNS resolution is requested and a new TCP/TLS connection will be made for it. This is unefficient for nothing (the use case of having a proxy that doesn't advertises itself the same way as the client knows them is unusual). In practice, this problem was causing the failure of many tests in "Call recovery" suite, because these tests were simulating network disconnections just after call establishment. Due to the time needed for the ACK to be send, the ACK was never sent because network was cut before.
Showing with 1635 additions and 1168 deletions