mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
FS-9981: [mod_spandsp] add api_on_fax_success api_on_fax_failure #resolve
This commit is contained in:
parent
e5cfaf5db8
commit
8b01c8cc1a
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user