The SBC is dual-homed: one interface on the local LAN and another interface directly on the Internet/WAN (real public IP).
Everything works fine, EXCEPT if the remote end (the side on the WAN/Internet) hangs up first. If they do, the BYE never makes it past Kamailio to the local PBX and/or phone.