Skip to content

fix: keep the reason a call ended when we are the ones ending it - #98

Merged
FakeShell merged 1 commit into
forkyfrom
feature/forky/fix-hangup-loses-reason
Aug 23, 2026
Merged

fix: keep the reason a call ended when we are the ones ending it#98
FakeShell merged 1 commit into
forkyfrom
feature/forky/fix-hangup-loses-reason

Conversation

@Alaraajavamma

@Alaraajavamma Alaraajavamma commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Calls the user hung up were logged with no reason at all, so the
history could not tell them apart from calls that simply stopped.

Two things caused it. This modem answers Hangup on an answered call
with an error while hanging it up anyway, so the error cannot be read
as the call still being there; the call is given a moment to disappear
on its own and dropped if it has not. And the reason is recorded when
the user asks rather than when the modem replies, because the asking is
what makes it local. Whatever the modem reports afterwards replaces it,
so a call the other end happened to drop at the same moment still says
so.

Hanging up everything at once is marked the same way. It is the same
request with more calls in it, and the reason was being lost on exactly
the paths that end a conference or clean up after a lost window.

Calls the user hung up were logged with no reason at all, so the
history could not tell them apart from calls that simply stopped.

Two things caused it. This modem answers Hangup on an answered call
with an error while hanging it up anyway, so the error cannot be read
as the call still being there; the call is given a moment to disappear
on its own and dropped if it has not. And the reason is recorded when
the user asks rather than when the modem replies, because the asking is
what makes it local. Whatever the modem reports afterwards replaces it,
so a call the other end happened to drop at the same moment still says
so.

Hanging up everything at once is marked the same way. It is the same
request with more calls in it, and the reason was being lost on exactly
the paths that end a conference or clean up after a lost window.
@Alaraajavamma
Alaraajavamma force-pushed the feature/forky/fix-hangup-loses-reason branch from fd07bb0 to 924df0a Compare August 23, 2026 16:49
@Alaraajavamma Alaraajavamma changed the title Queue: fix-hangup-loses-reason fix: keep the reason a call ended when we are the ones ending it Aug 23, 2026
@Alaraajavamma
Alaraajavamma marked this pull request as ready for review August 23, 2026 16:56
@FakeShell
FakeShell merged commit 5875c90 into forky Aug 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants