From: Dragos Oancea Date: Wed, 10 Jul 2019 15:00:08 +0000 (+0000) Subject: FS-11926: [mod_spandsp] execute_on_fax_detect_close X-Git-Tag: v1.10.0~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=216d84146e8c9ef2317a1616853edfd3c36c0759;p=thirdparty%2Ffreeswitch.git FS-11926: [mod_spandsp] execute_on_fax_detect_close --- diff --git a/src/mod/applications/mod_spandsp/mod_spandsp_fax.c b/src/mod/applications/mod_spandsp/mod_spandsp_fax.c index d0f60326a4..c1b6d123ed 100644 --- a/src/mod/applications/mod_spandsp/mod_spandsp_fax.c +++ b/src/mod/applications/mod_spandsp/mod_spandsp_fax.c @@ -2230,6 +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"); break; case SWITCH_ABC_TYPE_READ_REPLACE: case SWITCH_ABC_TYPE_WRITE_REPLACE: