baresip / re

Generic library for real-time communications with async IO support
BSD 3-Clause "New" or "Revised" License
129 stars 80 forks source link

sipsess/reply: terminate session if no (PR)ACK received after 64*T1 #1155

Closed maximilianfridrich closed 1 month ago

maximilianfridrich commented 2 months ago

RFC 3261 section 13.3.1.4:

   If the server retransmits the 2xx response for 64*T1 seconds without
   receiving an ACK, the dialog is confirmed, but the session SHOULD be
   terminated.  This is accomplished with a BYE, as described in Section
   15.

If we never receive an ACK, the sipsess will never be cleaned up.