Files
jambonz-feature-server/lib/session
xquanluuandClaude Opus 5 20210563f9 fix: end the call when dial finishes with no actionHook, or a failed one
- a websocket application was parked in _awaitCommandsOrHangup after a dial
  it was never asked about: no actionHook at all, or one whose request
  failed. An http application already ends the call here simply by running
  out of verbs; a websocket one sat in dead air until timeLimit
- TaskDial._endSessionUnlessHandedOff -> CallSession.expectNoFurtherVerbs
  suppresses the await for that one task iteration, so the loop falls out
  and the call tears down normally
- verbs still queued are unaffected: the flag is read behind the
  tasks.length === 0 test, so the next verb always runs
- skipped for a nested dial, and when the application already took the call
  elsewhere (KillReason.Replaced / ReferComplete)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-26 17:14:16 +07:00
..
2020-10-09 08:00:17 -04:00