mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve
This commit is contained in:
1 parent
e5cfaf5db8
commit
8b01c8cc1a
1 file changed
+2
@@ -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_execute_on(channel, "execute_on_fax_success");
|
||||||
|
switch_channel_api_on(channel, "api_on_fax_success");
|
||||||
} else {
|
} else {
|
||||||
if ((var = switch_channel_get_variable(channel, "system_on_fax_failure"))) {
|
if ((var = switch_channel_get_variable(channel, "system_on_fax_failure"))) {
|
||||||
expanded = switch_channel_expand_variables(channel, var);
|
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_execute_on(channel, "execute_on_fax_failure");
|
||||||
|
switch_channel_api_on(channel, "api_on_fax_failure");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user