]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11926: rename chan var to 'execute_on_fax_close_detect' to prevent it collide...
authorDragos Oancea <dragos@signalwire.com>
Mon, 15 Jul 2019 13:25:12 +0000 (13:25 +0000)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 20:57:34 +0000 (00:57 +0400)
(switch_channel_execute_on() would have run them both)

src/mod/applications/mod_spandsp/mod_spandsp_fax.c

index c1b6d123ed55f75b9438142ffda94914f22d02d0..62b7ce99a1a1d199a3b480fe5f7f4fd29c50e9c5 100644 (file)
@@ -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: