mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
freetdm: Fix hangup supervision on inbound calls for Analog E&M
This commit is contained in:
parent
7a3cc7c9af
commit
d0f18e4a2c
@ -642,7 +642,7 @@ static void *ftdm_analog_em_channel_run(ftdm_thread_t *me, void *obj)
|
||||
case FTDM_CHANNEL_STATE_RING:
|
||||
{
|
||||
ftdm_sleep(interval);
|
||||
if (ftdmchan->state == FTDM_CHANNEL_STATE_UP && cas_answer) {
|
||||
if (ftdmchan->state == FTDM_CHANNEL_STATE_UP) {
|
||||
cas_bits = 0;
|
||||
ftdm_channel_command(ftdmchan, FTDM_COMMAND_GET_CAS_BITS, &cas_bits);
|
||||
if (!(state_counter % 5000)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user