mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
freetdm: only set ec call end when the HANGUP state is confirmed
This commit is contained in:
@@ -83,6 +83,8 @@ FT_DECLARE(ftdm_status_t) _ftdm_channel_complete_state(const char *file, const c
|
||||
msg.channel = fchan;
|
||||
msg.event_id = FTDM_SIGEVENT_DIALING;
|
||||
ftdm_span_send_signal(fchan->span, &msg);
|
||||
} else if (state == FTDM_CHANNEL_STATE_HANGUP) {
|
||||
ftdm_set_echocancel_call_end(fchan);
|
||||
}
|
||||
|
||||
/* MAINTENANCE WARNING
|
||||
|
Reference in New Issue
Block a user