Calls stays active in background when hanging up
Version: Telephone 1.6 from AppStore OS: Sonoma 14.7 on an M3 MacBook What: Hanging up a call does nothing. Remote trunk never receives BYE method. The call (and audio stream) just keeps going.
After inspecting the session closer I see that Telephone does transmit a BYE, but it does so "outside" the session - unlike all other packets in the exchange it decides to send the BYE to the IP address the remote provided in the Contact header, instead of the IP address in the RURI/From where it sends everything else.
These sessions are established inside an IPsec tunnel. Both trunk and Telephone sit inside separate LANs so their RURI/From/To contain private addresses. The calls work fine in all other aspects and whichever side invites. The single exception is when Telephone is the party that ends the session.