From 9485b1465b91aee0fe3872ce7a9a8f31e09391f9 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Mon, 15 Jul 2019 13:25:12 +0000 Subject: [PATCH] FS-11926: rename chan var to 'execute_on_fax_close_detect' to prevent it collide with 'execute_on_fax_detect' (switch_channel_execute_on() would have run them both) --- src/mod/applications/mod_spandsp/mod_spandsp_fax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_fax.c b/src/mod/applications/mod_spandsp/mod_spandsp_fax.c index c1b6d123ed..62b7ce99a1 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp_fax.c +++ b/src/mod/applications/mod_spandsp/mod_spandsp_fax.c @@ -2230,7 +2230,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da } break; case SWITCH_ABC_TYPE_CLOSE: - switch_channel_execute_on(switch_core_session_get_channel(cont->session), "execute_on_fax_detect_close"); + switch_channel_execute_on(switch_core_session_get_channel(cont->session), "execute_on_fax_close_detect"); break; case SWITCH_ABC_TYPE_READ_REPLACE: case SWITCH_ABC_TYPE_WRITE_REPLACE: