Open etamme opened 1 year ago
thanks can you attach the sipp scenario file you used for testing
I created sipp_test.zip which contains the test script, test.sh, and the associated scenario files.
We seem to also be having this issue. We noticed requests to a particular FS started using TCP for all of its requests (other FS boxes were still using UDP) and just as mentioned in this article, the VIA shows UDP. Invites to this FS that got into this mode started failing every time.
Tested against v0.8.22
When drachtio-server receives a request of size greater than udp-mtu, it correctly switches the transport to TCP, however it continues sending TCP for all subsequent requests, even though it sets Via headers for UDP. To clarify this is all requests, not just requests associated with the dialog whose request that exceeded udp-mtu.
The test case is simple to replicate with sipp, create a simple offer/answer scenario where the INVITE request size is greater than udp-mtu, and then send a second offer/answer where the INVITE request size is less than udp-mtu. Both requests will be forwarded via TCP, the first request will correctly have a Via header with a tcp transport. The second request will be sent over TCP, but will have a Via header with a udp transport.