make forked dials return the first chan to get early media, add ignore_early_media=true to dial string to get previous behaviour
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8934 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
0606f993fd
commit
21acf46d10
|
@ -193,7 +193,7 @@ static uint8_t check_channel_status(switch_channel_t **peer_channels,
|
|||
) {
|
||||
(*hups)++;
|
||||
} else if ((switch_channel_test_flag(peer_channels[i], CF_ANSWERED) ||
|
||||
(early_ok && len == 1 && switch_channel_test_flag(peer_channels[i], CF_EARLY_MEDIA)) ||
|
||||
(early_ok && switch_channel_test_flag(peer_channels[i], CF_EARLY_MEDIA)) ||
|
||||
(*ring_ready && return_ring_ready && len == 1 && switch_channel_test_flag(peer_channels[i], CF_RING_READY))
|
||||
)
|
||||
&& !switch_channel_test_flag(peer_channels[i], CF_TAGGED)
|
||||
|
|
Loading…
Reference in New Issue