I'm working on capturing the SIP dialog and the database queries and will try to report back later today.
Meanwhile, I have observed the following which seems to intermittently happen when hanging up on an established call:
``` -> Request: BYE sip:btpsh-58af2eee-8ef-1@1.2.3.180 <- Request: BYE sip:1.2.3.177:5065;lr=on ```
When this happens, the far end replies 404 and keeps the session open until it's session timer fires and the reINVITE fails.
When it works, I see this:
``` -> BYE sip:atpsh-58af2eee-8f6-2@1.2.3.180 <- BYE sip:250xxxxxxx@4.5.6.224:5060 ```
These two calls were placed back to back within a few minutes of each other, NO changes to configuration (topos loaded for both).
I can provide the full SIP dialog for these examples if you'd like but I don't have the database entries for them.