mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
Added debugging to confirm echo_cancel event works
This commit is contained in:
@@ -39,13 +39,13 @@ SWITCH_STANDARD_APP(mg_notify_function)
|
||||
if (!strcmp(data, "cng")) {
|
||||
mg_send_t38_cng_notify(term->profile, term->name);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Sent CNG notify\n");
|
||||
/* Disable echo cancellation */
|
||||
mg_term_set_ec(term, 0);
|
||||
/* Disable echo cancellation */
|
||||
mg_term_set_ec(term, 0);
|
||||
} else if (!strcmp(data, "ced")) {
|
||||
mg_send_t38_ans_notify(term->profile, term->name);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Sent CED notify\n");
|
||||
/* Disable echo cancellation */
|
||||
mg_term_set_ec(term, 0);
|
||||
mg_send_t38_ans_notify(term->profile, term->name);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Sent CED notify\n");
|
||||
/* Disable echo cancellation */
|
||||
mg_term_set_ec(term, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user