mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-21 02:47:01 +00:00
freetdm: Override regular media with ringback in E&M when a ringback file is specified
This commit is contained in:
parent
a55b5347ba
commit
c0fe9c9cd3
@ -719,7 +719,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