diff --git a/internal/serve/serve.go b/internal/serve/serve.go index 43632ee..5a8a15f 100644 --- a/internal/serve/serve.go +++ b/internal/serve/serve.go @@ -90,6 +90,8 @@ func serve(ctx context.Context, conn *websocket.Conn, debug bool) int { switch evt.Type { case "StasisStart": handleStart(payload) + case "ChannelHangupRequest": + fallthrough case "StasisEnd": handleEnd(payload) default: