Moves an agent-session row to Closed, recording why. A row that is already closed (or missing) is left alone. Never throws: closing is bookkeeping at the end of a call and must not turn a clean hang-up into an error.
Closed
Moves an agent-session row to
Closed, recording why. A row that is already closed (or missing) is left alone. Never throws: closing is bookkeeping at the end of a call and must not turn a clean hang-up into an error.