FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve

This commit is contained in:
Brian West 2017-01-26 16:19:27 -06:00 committed by Mike Jerris
parent 53290057bb
commit 8822a3a69a

View File

@ -613,6 +613,7 @@ static void phase_e_handler(void *user_data, int result)
}
}
switch_channel_execute_on(channel, "execute_on_fax_success");
switch_channel_api_on(channel, "api_on_fax_success");
} else {
if ((var = switch_channel_get_variable(channel, "system_on_fax_failure"))) {
expanded = switch_channel_expand_variables(channel, var);
@ -622,6 +623,7 @@ static void phase_e_handler(void *user_data, int result)
}
}
switch_channel_execute_on(channel, "execute_on_fax_failure");
switch_channel_api_on(channel, "api_on_fax_failure");
}
}