mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-07 07:59:49 +00:00
freetdm: Override regular media with ringback in E&M when a ringback file is specified
This commit is contained in:
parent
626dd2551a
commit
bd4a5914dc
@ -722,7 +722,9 @@ static void *ftdm_analog_em_channel_run(ftdm_thread_t *me, void *obj)
|
|||||||
if (analog_data->ringback_during_collect && ringback_f &&
|
if (analog_data->ringback_during_collect && ringback_f &&
|
||||||
(ftdmchan->state == FTDM_CHANNEL_STATE_COLLECT ||
|
(ftdmchan->state == FTDM_CHANNEL_STATE_COLLECT ||
|
||||||
ftdmchan->state == FTDM_CHANNEL_STATE_RING ||
|
ftdmchan->state == FTDM_CHANNEL_STATE_RING ||
|
||||||
ftdmchan->state == FTDM_CHANNEL_STATE_RINGING
|
ftdmchan->state == FTDM_CHANNEL_STATE_RINGING ||
|
||||||
|
ftdmchan->state == FTDM_CHANNEL_STATE_PROGRESS ||
|
||||||
|
ftdmchan->state == FTDM_CHANNEL_STATE_PROGRESS_MEDIA
|
||||||
)) {
|
)) {
|
||||||
indicate = 1;
|
indicate = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user