From: Sean Bright Date: Thu, 20 Nov 2025 16:31:28 +0000 (-0500) Subject: chan_websocket: Fix crash on DTMF_END event. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed46dd0e3673048f4e48357ba12eda8f09f39d53;p=thirdparty%2Fasterisk.git chan_websocket: Fix crash on DTMF_END event. Resolves: #1604 --- diff --git a/channels/chan_websocket.c b/channels/chan_websocket.c index 0d6e6c9fa3..9b1db22298 100644 --- a/channels/chan_websocket.c +++ b/channels/chan_websocket.c @@ -306,7 +306,7 @@ static char *_create_event_DTMF_END(struct websocket_pvt *instance, struct ast_json *msg = ast_json_pack("{s:s, s:s, s:s#}", "event", "DTMF_END", "channel_id", ast_channel_uniqueid(instance->channel), - "digit", digit, 1 + "digit", &digit, 1 ); if (!msg) { return NULL;