FS-11926: [mod_spandsp] execute_on_fax_detect_close

This commit is contained in:
Dragos Oancea 2019-07-10 15:00:08 +00:00 committed by Andrey Volk
parent b81cbcba3c
commit 216d84146e
1 changed files with 1 additions and 0 deletions

View File

@ -2230,6 +2230,7 @@ static switch_bool_t tone_detect_callback(switch_media_bug_t *bug, void *user_da
} }
break; break;
case SWITCH_ABC_TYPE_CLOSE: case SWITCH_ABC_TYPE_CLOSE:
switch_channel_execute_on(switch_core_session_get_channel(cont->session), "execute_on_fax_detect_close");
break; break;
case SWITCH_ABC_TYPE_READ_REPLACE: case SWITCH_ABC_TYPE_READ_REPLACE:
case SWITCH_ABC_TYPE_WRITE_REPLACE: case SWITCH_ABC_TYPE_WRITE_REPLACE: