mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
add a debug log
This commit is contained in:
parent
8865b693ad
commit
5afdc24bf7
@ -3810,6 +3810,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
|
||||
uint32_t msec = atoi(delay);
|
||||
|
||||
if (msec) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(channel->session), SWITCH_LOG_DEBUG, "Answer delay for %u msec\n", msec);
|
||||
switch_ivr_sleep(channel->session, msec, SWITCH_TRUE, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user