mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
[Unit-tests] Fix previously defined AM_* in tests.
This commit is contained in:
@@ -811,11 +811,12 @@ static switch_status_t fst_init_core_and_modload(const char *confdir, const char
|
||||
*/
|
||||
#define fst_sched_recv_dtmf(when, digits) \
|
||||
{ \
|
||||
switch_status_t api_result; \
|
||||
switch_stream_handle_t stream = { 0 }; \
|
||||
SWITCH_STANDARD_STREAM(stream); \
|
||||
fst_requires(fst_core > 1); \
|
||||
fst_requires_module("mod_commands"); \
|
||||
switch_status_t api_result = switch_api_execute("sched_api", switch_core_session_sprintf(fst_session, "%s none uuid_recv_dtmf %s %s", when, switch_core_session_get_uuid(fst_session), digits), NULL, &stream); \
|
||||
api_result = switch_api_execute("sched_api", switch_core_session_sprintf(fst_session, "%s none uuid_recv_dtmf %s %s", when, switch_core_session_get_uuid(fst_session), digits), NULL, &stream); \
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(fst_session), SWITCH_LOG_INFO, "Injecting DTMF %s at %s\n", digits, when); \
|
||||
fst_requires(api_result == SWITCH_STATUS_SUCCESS); \
|
||||
switch_safe_free(stream.data); \
|
||||
|
||||
Reference in New Issue
Block a user